DIAN API
catalogo-vpfe.dian.gov.co
Colombia's DIAN electronic invoicing portal (facturacion electronica).
- Actions
- 1
- Category
- Government
- Login
- Not required
- Output
- JSON
Call the DIAN API
Submit a task, then poll the job until it settles. This example runs dian_documents.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "dian_documents",
"params": {
"cert_p12_base64": "",
"cert_password": "",
"rep_id": ""
}
}'1 action on catalogo-vpfe.dian.gov.co
Read
DIAN Electronic Documents (received/sent)
dian_documentsread5 credits / callRead a Colombian taxpayer's DIAN electronic invoicing ledger (received or sent documents) using their digital certificate, and optionally download each document's PDF and UBL XML.
- cert_p12_base64
- string · required
- cert_password
- string · required
- rep_id
- string · required
- kind
- string
- start_date
- string
- end_date
- string
- include_files
- boolean
- max_files
- integer
DIAN API questions
- Is there an API for DIAN?
- DIAN does not offer a public data API for this, but Anakin Wire provides 1 maintained endpoint for catalogo-vpfe.dian.gov.co. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape DIAN data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when catalogo-vpfe.dian.gov.co changes its markup, Anakin updates the action.
- Do I need a DIAN account?
- No. Every DIAN action listed here runs anonymously — no account and no credentials required.
- What does the DIAN API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.