Skip to main content
Resolves records published by DIAN (Dirección de Impuestos y Aduanas Nacionales): the electronic-invoice registry, and the compilation of tax doctrine (oficios, conceptos) with the norms and rulings compiled alongside it.

Electronic document

POST /co/dian/electronic-document/v1
The response returns the document’s parties, totals, current legitimate holder, validations, and events:
This lookup can take longer than a typical request. It’s an async job. By default the request waits inline and returns { data }, or you can poll / use a callback_url.
POST /co/dian/doctrina-search/v1 Full-text search over DIAN’s published doctrine and the legal compilation kept with it: oficios, conceptos, decretos, resoluciones, leyes, and high-court rulings.
Pass a result’s document_id to the lookup below to read the full text. The id is the document’s own identifier and does not always match its visible label, so always take it from a search result rather than composing it.

Doctrine document

POST /co/dian/doctrina/v1
Most oficios and conceptos fit in a single response. Compiled norms run to millions of characters, so the body comes back in ranges: read content.total_length for the full size, and while content.has_more is true request the next range with offset set to content.next_offset.

Full reference

Full schema and an interactive playground.