Skip to content

document_not_authorized

Document not authorized

HTTP status409 Conflict
Returned byInvoicing API (/v1, API keys)
typeEnglish (default): https://flashpi.com.ec/docs/en/errors/document_not_authorized
Spanish (Accept-Language: es): https://flashpi.com.ec/docs/errors/document_not_authorized
It 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 for authorized (or the *.authorized webhook) 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.

Languagetitledetail
English (default)Document not authorizedOnly a document the SRI authorized can be emailed. See its status.
Spanish (Accept-Language: es)Comprobante no autorizadoSolo se puede enviar por correo un comprobante autorizado por el SRI. Revisa su estado.