ErrorCalculation rules (EN 16931)
BR-CO-15: Gross total does not match
Last updated: · XRechnung 3.0.2 · KoSIT validation configuration of 2026-08-31
What does the message mean?
Total with VAT (BT-112) must equal the net total (BT-109) plus the VAT total (BT-110).
The invoice is invalid under this rule and the recipient may reject it.
Typical causes
- The gross total was taken from the amount due although a prepayment was deducted.
- The gross total lacks VAT, e.g. because net and gross are swapped.
How to fix it
- Check: net total (BT-109) + VAT total (BT-110) = gross total (BT-112).
- Prepayments do not reduce the gross total; they belong in “paid amount” (BT-113).
- Then generate the e-invoice again and re-validate it.
Example (XRechnung, UBL syntax)
Shortened excerpt from an official KoSIT test invoice. We tested with the official rules that the faulty version triggers exactly this message and the corrected one does not.
<cbc:TaxInclusiveAmount currencyID="EUR">314.86</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">314.86</cbc:PayableAmount><cbc:TaxInclusiveAmount currencyID="EUR">336.9</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">336.9</cbc:PayableAmount>Official rule text
BR-CO-15: Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).
Source: KoSIT/CEN validation rules (XRechnung 3.0.2 · KoSIT validation configuration of 2026-08-31).