BR-CO-13: Total without VAT does not add up
The total without VAT must equal the sum of the line amounts, minus document level allowances, plus document level charges.
- 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-109 Invoice total amount without VAT · BT-106 Sum of Invoice line net amount · BT-107 Sum of allowances on document level · BT-108 Sum of charges on document level · BT-131 Invoice line net amount
Official rule text
Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108).
What the rule checks
The rule computes BT-106 − BT-107 + BT-108, rounds to two decimals and compares it exactly with cbc:TaxExclusiveAmount. Only document level allowances and charges count here; line level ones are already inside the line amounts.
If the allowance or charge total is missing, it counts as zero. A document level cac:AllowanceCharge without cbc:AllowanceTotalAmount therefore usually fails a second rule as well (BR-CO-11 or BR-CO-12).
Common causes
- A document discount is shown in cbc:AllowanceTotalAmount but not subtracted from the total without VAT.
- A shipping or packaging charge is added to the total but missing from cbc:ChargeTotalAmount.
- The total is taken from the gross amounts in the software.
How to fix it
Set cbc:TaxExclusiveAmount to cbc:LineExtensionAmount − cbc:AllowanceTotalAmount + cbc:ChargeTotalAmount. Then recompute the VAT breakdown on the reduced base, the total with VAT and the amount due.
In CII the total is ram:TaxBasisTotalAmount, the allowance and charge totals are ram:AllowanceTotalAmount and ram:ChargeTotalAmount.
<!-- document level cac:AllowanceCharge: ChargeIndicator false, Amount 10.00, VAT S 19 % -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">150.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">150.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">178.50</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="EUR">10.00</cbc:AllowanceTotalAmount>
<cbc:PayableAmount currencyID="EUR">178.50</cbc:PayableAmount>
</cac:LegalMonetaryTotal><!-- VAT breakdown recomputed on 140.00: VAT 26.60 -->
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">150.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">140.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">166.60</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="EUR">10.00</cbc:AllowanceTotalAmount>
<cbc:PayableAmount currencyID="EUR">166.60</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.taxExclusive
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