total_mismatch
Total mismatch
| HTTP status | 422 Unprocessable Content |
|---|---|
| Returned by | Invoicing API (/v1, API keys) |
type | English (default): https://flashpi.com.ec/docs/en/errors/total_mismatchSpanish ( Accept-Language: es): https://flashpi.com.ec/docs/errors/total_mismatchIt 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
- You sent
expectedTotal, and the total Flashpi computed with the SRI rounding rules is different. The answer carries both,expectedTotalandcomputedTotal. Nothing was issued. - Compare your lines, discounts and tax rates with the rules in totals, or leave
expectedTotalout to accept Flashpi’s total.
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) | Total mismatch | The total Flashpi computed ({computedTotal}) does not match expectedTotal ({expectedTotal}). |
Spanish (Accept-Language: es) | El total no coincide | El total que calculó Flashpi ({computedTotal}) no coincide con expectedTotal ({expectedTotal}). |