Allowance or charge amount does not match its percentage
What it means
When an allowance or charge states both a base amount and a percentage, the amount must equal base × percentage ÷ 100. A mismatch usually means the percentage was changed without recalculating, or the amount was rounded at a different precision.
Can it be fixed automatically?
Nothing about your business is needed to fix this — the correct value is a constant, a code list entry, or is already present in the document.
This one can be repaired automatically. The API applies the fix, re-validates, and reports exactly what changed with before and after values.
How to fix it
Recompute the amount from the base amount and percentage already present on the allowance or charge.
Where it applies
| UBL | /Invoice/cac:AllowanceCharge/cbc:Amount |
|---|
Check your own invoice
curl -X POST https://einvoice.mgsoft.sk/v1/validate \
-H 'Content-Type: application/xml' \
--data-binary @invoice.xml