PEPPOL-EN16931-R053: Only one tax total with tax subtotals MUST be provided
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[PEPPOL-EN16931-R053]-Only one tax total with tax subtotals MUST be provided.
count(cac:TaxTotal[cac:TaxSubtotal]) = 1PEPPOL-EN16931-R053 is a fatal rule in the format layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.
What this rule requires
The rule requires that in a UBL invoice or credit note, exactly one cac:TaxTotal element contains at least one cac:TaxSubtotal. The test counts only those cac:TaxTotal elements that have a cac:TaxSubtotal child, and this count must equal 1. A document fails if there is no such tax total, or if more than one cac:TaxTotal contains a cac:TaxSubtotal.
How to fix
Ensure the document has exactly one cac:TaxTotal that includes at least one cac:TaxSubtotal. If no such cac:TaxTotal exists, add one with the required tax subtotal. If several cac:TaxTotal elements contain cac:TaxSubtotal, remove or merge the extra ones so that only one remains. cac:TaxTotal elements without cac:TaxSubtotal are not counted by this rule.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to PEPPOL-EN16931-R053.
Validate an invoice against these rules · All release changes