BR-CO-14: Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117)
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[BR-CO-14]-Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).
(xs:decimal(child::cbc:TaxAmount)= round((sum(cac:TaxSubtotal/xs:decimal(cbc:TaxAmount)) * 10 * 10)) div 100) or not(cac:TaxSubtotal)BR-CO-14 is a fatal rule in the business layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected. It refers to BT-110, BT-117.
What this rule requires
The rule requires that the invoice total VAT amount (BT-110) equals the sum of the VAT category tax amounts (BT-117). In UBL, when cac:TaxSubtotal elements exist, cac:TaxTotal/cbc:TaxAmount must equal the sum of cac:TaxSubtotal/cbc:TaxAmount, rounded to two decimal places; if no cac:TaxSubtotal exists, the condition passes. In CII, ram:TaxTotalAmount must equal the sum of all ram:ApplicableTradeTax/ram:CalculatedAmount, rounded to two decimals. This is a fatal rule, so a mismatch causes the document to fail validation.
How to fix
For UBL, update cac:TaxTotal/cbc:TaxAmount to the rounded sum of all cac:TaxSubtotal/cbc:TaxAmount values; if there are no subtotals, no change is required by this rule. For CII, set ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount to the rounded sum of all ram:ApplicableTradeTax/ram:CalculatedAmount. Check for a rounding or totalling error in the invoice or generating system.
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 BR-CO-14.
Validate an invoice against these rules · All release changes