When tax currency code is provided, two instances of the tax total must be present, but only one with tax subtotal.

Namespace
cac urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
Child elements
Card Name Description
1..1 cbc:TaxAmount

Invoice total VAT amount, Invoice total VAT amount in accounting currency
The total VAT amount for the Invoice or the VAT total amount expressed in the accounting currency accepted or required in the country of the Seller. Must be rounded to maximum 2 decimals

Example value: 486.25

0..n cac:TaxSubtotal

VAT BREAKDOWN
A group of business terms providing information about VAT breakdown by different categories, rates and exemption reasons

Rules
Identifier/Error message Flag
PEPPOL-EN16931-R054
Only one tax total without tax subtotals MUST be provided when tax currency code is provided.
fatal