Skip to content

document_schema_invalid

Document does not match the SRI schema

HTTP status422 Unprocessable Content
Returned byInvoicing API (/v1, API keys)
typeEnglish (default): https://flashpi.com.ec/docs/en/errors/document_schema_invalid
Spanish (Accept-Language: es): https://flashpi.com.ec/docs/errors/document_schema_invalid
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

  • 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 requestId so 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.

Languagetitledetail
English (default)Document does not match the SRI schemaThe 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 SRIEl comprobante pasó la validación, pero su XML no cumple el esquema del SRI. No se emitió nada; contacta a soporte con el requestId.