Quickstart
A first sandbox invoice and a verified webhook in minutes.
API reference
Every endpoint, generated from the OpenAPI contract, with a playground.
Get a sandbox key
Sign up in the developer console.
Changelog
What changed in each version of the contract.
Three stages
Every API key drives one stage, and a key sees only the documents of its own stage:
Every tenant gets a sandbox key from sign-up. See Authentication.
Base URL
/v1. Requests and answers are JSON; errors are
application/problem+json (see Errors).
Who owns what
Cufea owns the DIAN logic: XML generation, CUFE and CUDE, signing, submission, status tracking, numbering, credit and debit notes and RADIAN events. It keeps a minimal registry (numbering, event chain, state, signed XML and DIAN responses) and always returns the signed XML. You own your business data (customers, products, accounting), your RUT, your numbering resolution and your DIAN habilitación. The DIAN rules cited in these docs (FAK07, FAN04, …) are those of the Anexo Técnico Factura Electrónica de Venta v1.9.For AI agents
This site publishesllms.txt and a Markdown version of every page, so an agent
can read the documentation without the HTML. The MCP server lets an agent issue
sandbox invoices directly.