Amount due for payment does not reconcile
What it means
The amount due (BT-115) must equal the total with VAT, minus any prepaid amount, plus any rounding amount. Prepayments are the field most often left out of this calculation.
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 as total with VAT minus prepaid amount plus rounding amount, using the values already in the document.
Where it applies
| UBL | /Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount |
|---|
Check your own invoice
curl -X POST https://einvoice.mgsoft.sk/v1/validate \
-H 'Content-Type: application/xml' \
--data-binary @invoice.xml