BR-CO-15: Total with VAT is not total without VAT plus VAT
The total with VAT must equal the total without VAT plus the total VAT amount, to the cent.
- Severity
- Error the invoice fails validation.
- Rule set
- EN 16931 (CEN/TC 434)
- Where it applies
- EN 16931 invoices in UBL and CII, in every EU country
- XRechnung 3.0 in UBL and CII (Germany)
- Peppol BIS Billing 3.0
- ZUGFeRD / Factur-X, profile EN 16931 and above
- Business terms
- BT-112 Invoice total amount with VAT · BT-109 Invoice total amount without VAT · BT-110 Invoice total VAT amount
Official rule text
Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).
What the rule checks
The rule adds cbc:TaxExclusiveAmount and the cbc:TaxAmount of the cac:TaxTotal in the invoice currency, rounds to two decimals and compares the result exactly with cbc:TaxInclusiveAmount.
It also requires exactly one total VAT amount in the invoice currency; a second cac:TaxTotal in the same currency fails the rule even when the amounts are right.
Common causes
- A rounding difference was absorbed into the total with VAT instead of being stated as a rounding amount (BT-114).
- The total with VAT already subtracts a prepayment, which belongs in the paid amount (BT-113).
- A total upstream (BT-109 or BT-110) was corrected and this one was not.
How to fix it
Set cbc:TaxInclusiveAmount to cbc:TaxExclusiveAmount plus the total VAT. Put any rounding into cbc:PayableRoundingAmount and any prepayment into cbc:PrepaidAmount, and let the amount due carry them (BR-CO-16).
In CII the total is ram:GrandTotalAmount.
<!-- cac:TaxTotal/cbc:TaxAmount 19.00 -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">120.00</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">120.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal><!-- cac:TaxTotal/cbc:TaxAmount 19.00 -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">100.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">119.00</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">119.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>UBL excerpts; elements that play no part in the rule are left out.
Can the fix page repair it?
Yes, with your confirmation. The fix page proposes the recomputed amount from the invoice's own figures. Because it changes money, it is applied only after you confirm it, and the corrected file is validated again before you download it.
Field on the fix page: totals.taxInclusive
Repair a rejected invoiceGuide: BR-CO-16 and BR-CO-15 errors: why e-invoice totals don't add up
Check your invoice against the official rules
Upload an XML or PDF invoice. You get every failing rule with an explanation, the fix and the line in the file. Free, without sign-up; the check on this page stores nothing.
Processed in memory and not stored. No sign-up needed.
E-Invoicing API