BR-CO-15fatal

How to fix BR-CO-15

Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).

What this rule checks

This cross-check rule ensures that the total amount with VAT equals the sum of the net total and the VAT amount. It catches arithmetic errors in the invoice totals. The three values must be consistent: TaxInclusiveAmount = TaxExclusiveAmount + TaxAmount. Even a one-cent rounding difference will trigger this error.

Referenced business terms

This rule references the following EN 16931 business terms. Click through for the full definition, the UBL XPath and the cardinality.

How to fix it

Recalculate <cbc:TaxInclusiveAmount> = TaxExclusiveAmount + TaxAmount (from the <cac:TaxTotal> with the document currency).

Common causes

  • A rounding error causes the three totals to not add up exactly.
  • The VAT amount was calculated on individual lines and the sum differs from the document-level VAT total.
  • One of the three amounts was manually overridden to an incorrect value.
  • Currency amounts use more than two decimal places, causing precision mismatches.

Example: before (broken)

<cac:LegalMonetaryTotal>
  <cbc:TaxExclusiveAmount currencyID="EUR">1000.00</cbc:TaxExclusiveAmount>
  <cbc:TaxInclusiveAmount currencyID="EUR">1200.00</cbc:TaxInclusiveAmount>
  <cbc:PayableAmount currencyID="EUR">1200.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:TaxTotal>
  <cbc:TaxAmount currencyID="EUR">210.00</cbc:TaxAmount>
</cac:TaxTotal>
<!-- Error: 1000.00 + 210.00 = 1210.00, not 1200.00 -->

Example: after (fixed)

<cac:LegalMonetaryTotal>
  <cbc:TaxExclusiveAmount currencyID="EUR">1000.00</cbc:TaxExclusiveAmount>
  <cbc:TaxInclusiveAmount currencyID="EUR">1210.00</cbc:TaxInclusiveAmount>
  <cbc:PayableAmount currencyID="EUR">1210.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:TaxTotal>
  <cbc:TaxAmount currencyID="EUR">210.00</cbc:TaxAmount>
</cac:TaxTotal>
<!-- Correct: 1000.00 + 210.00 = 1210.00 -->

Related rules

Validate your invoice

Upload your corrected invoice to check it passes BR-CO-15 and all other EN 16931 and Peppol BIS 3.0 rules. Free, instant, no signup.