> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cufea.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Closed documents

> What a closed document is and how to reissue it.

`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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.