document_schema_invalid
Document does not match the SRI schema
| HTTP status | 422 Unprocessable Content |
|---|---|
| Returned by | Invoicing API (/v1, API keys) |
type | English (default): https://flashpi.com.ec/docs/en/errors/document_schema_invalidSpanish ( Accept-Language: es): https://flashpi.com.ec/docs/errors/document_schema_invalidIt 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
- The document passed Flashpi’s validation, but the XML built from it does not match the SRI schema. That is a gap in Flashpi’s validation, not something you did wrong. Nothing was issued.
- Contact support with the
requestIdso Flashpi can fix it.
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 does not match the SRI schema | The document passed validation but its XML does not match the SRI schema. Nothing was issued; contact support with the requestId. |
Spanish (Accept-Language: es) | El comprobante no cumple el esquema del SRI | El comprobante pasó la validación, pero su XML no cumple el esquema del SRI. No se emitió nada; contacta a soporte con el requestId. |