Wrong number of tax totals for the accounting currency
What it means
When a tax currency code is present, exactly one TaxTotal without subtotals must carry the VAT amount in accounting currency (BT-111). Having none, or several, means the accounting-currency reporting is ambiguous.
Can it be fixed automatically?
This needs a decision only the issuer can make. Guessing it would produce an invoice that validates and is wrong, which is worse than one that fails.
How to fix it
Provide exactly one accounting-currency VAT total. The amount depends on the exchange rate you are reporting at, which only you know.
Where it applies
| UBL | /Invoice/cac:TaxTotal[not(cac:TaxSubtotal)] |
|---|
Check your own invoice
curl -X POST https://einvoice.mgsoft.sk/v1/validate \
-H 'Content-Type: application/xml' \
--data-binary @invoice.xml