document_not_authorized
Document not authorized
| HTTP status | 409 Conflict |
|---|---|
| Returned by | Invoicing API (/v1, API keys) |
type | English (default): https://flashpi.com.ec/docs/en/errors/document_not_authorizedSpanish ( Accept-Language: es): https://flashpi.com.ec/docs/errors/document_not_authorizedIt changes with the language of the answer: branch on code. |
| Retry? | No: the same request gets the same answer. Change the request, or the state of what it acts on, first. |
What to do
- Only a document the SRI authorized can be emailed. The answer carries its
documentStatus: wait forauthorized(or the*.authorizedwebhook) before you email it. See Document lifecycle.
Texts of the answer
The title and detail of the answer, in English by default and in Spanish when the Accept-Language entry with the highest priority (q) is es or es- plus a region, such as es-EC. A detail can be more specific than this one, and {name} marks a value of each occurrence.
| Language | title | detail |
|---|---|---|
| English (default) | Document not authorized | Only a document the SRI authorized can be emailed. See its status. |
Spanish (Accept-Language: es) | Comprobante no autorizado | Solo se puede enviar por correo un comprobante autorizado por el SRI. Revisa su estado. |