Error code BR-CO-15
The invoice total doesn't add up
The total with VAT (BT-112) must equal the total without VAT (BT-109) plus the total VAT (BT-110).
The official rule
“Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).”
Official text, in the language the rule set publishes it in.
Fields named: BT-112 · BT-109 · BT-110
Common causes
- Rounding differences between the lines, the VAT and the total.
- The total was typed in or changed by hand.
- Text recognition misread an amount on a scanned PDF.
How to fix it
- Let your software recalculate the totals.
- Make sure amounts have at most two decimals.
Wrong vs. right (UBL)
Wrong
<cac:LegalMonetaryTotal> <cbc:TaxExclusiveAmount currencyID="EUR">1787.50</cbc:TaxExclusiveAmount> <cbc:TaxInclusiveAmount currencyID="EUR">2172.88</cbc:TaxInclusiveAmount> … </cac:LegalMonetaryTotal> <!-- 1787.50 + 375.38 = 2162.88 -->
Right
<cac:LegalMonetaryTotal> <cbc:TaxExclusiveAmount currencyID="EUR">1787.50</cbc:TaxExclusiveAmount> <cbc:TaxInclusiveAmount currencyID="EUR">2162.88</cbc:TaxInclusiveAmount> … </cac:LegalMonetaryTotal> <!-- 1787.50 + 375.38 = 2162.88 -->