fatalPeppol BIS Billing 3.0profileCIIUBL
Only one tax total with tax subtotals MUST be provided.
More than one TaxTotal carrying tax subtotals is present.
Keep a single cac:TaxTotal that holds all the TaxSubtotal groups. A second TaxTotal is only allowed for the VAT amount in the accounting currency, and it must carry no subtotals.
CII — context —
count(ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID = $documentCurrencyCode]) <=1
UBL — context —
count(cac:TaxTotal[cac:TaxSubtotal]) = 1