More than one tax total with subtotals
What it means
Peppol permits exactly one TaxTotal element containing VAT breakdown subtotals. Generators that emit a separate TaxTotal per VAT category produce several, which Peppol rejects — the breakdown belongs inside one TaxTotal as multiple TaxSubtotal elements.
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
Merge the subtotals into a single TaxTotal and recompute its tax amount as the sum of them. The per-category figures are preserved.
Where it applies
| CII | //ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount |
|---|---|
| UBL | /Invoice/cac:TaxTotal |
Check your own invoice
curl -X POST https://einvoice.mgsoft.sk/v1/validate \
-H 'Content-Type: application/xml' \
--data-binary @invoice.xml