DIAN Electronic Invoices
Read the electronic invoices issued to the connected DIAN account holder in one tax year (2023 onward): issuer, dates, invoiced and net amounts, deductible amount, payment method, invoice number and CUFE, with totals. Persons only: runs as your organization's own DIAN connection signed in on its own behalf.
Supports async delivery: set Prefer: wait=N for an inline result, pass callback_url to receive a POST when ready, or poll GET /jobs/{id}.
Request
- Base URL: https://api.croma.run
- URL: https://api.croma.run/co/dian-muisca/electronic-invoices/v1
- Auth: HTTP bearer
Headers
Optional client-chosen key for this request (any string up to 255 characters, e.g. a UUID). Every Croma operation is an idempotent lookup: repeating a request with the same body returns the same result and creates nothing, so retrying after a timeout or network failure is always safe. The key is echoed back in the Idempotency-Key response header so you can correlate a retry with its first attempt. Each attempt that reaches the API counts against the rate limit.
Set wait=N to hold the connection up to N seconds for an inline result. If the job finishes in time you get the normal 200 body; otherwise a 202 with a status_url to poll.
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.