Skip to main content
closed is a final state, and the document is never accepted. The DIAN closed it without validating it (StatusCode 2), for example the habilitación document whose answer reported “Set de prueba … se encuentra Aceptado”, or a “SoftwareID … no autorizado”.
  • Read dian_status_description (and dian_errors) on the document to see why.
  • Fix what it says (for a software authorisation, the tenant’s configuration).
  • Reissue it as a new document: a new create, with a new Idempotency-Key and a new reference, which takes a new number. Calling /send or /refresh on the closed document does not make it accepted.