BR-CO-16: Amount due does not match the invoice total
BR-CO-16 reports that the amount due (BT-115) is not equal to the gross total minus prepayment plus rounding. BR-CO-15 reports that the gross total (BT-112) is not equal to the net total plus tax. It is almost always rounding or an amount that is calculated separately from the others.
Reproduced on 21 Nov 2026 with the KoSIT validator 1.6.3 (XRechnung 3.0.2, configuration of 31 Aug 2026) on our sample invoice. Written by Marwan Saleh (Development). Technical explanation, not tax advice.
The message in the validation report
This is the literal wording in the validator's report.
BR-CO-16Error
Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114).
BR-CO-15Error
Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).
How we reproduced the error
The starting point was our correct sample invoice, which the validator accepts with 0 errors and 0 warnings. Then we changed exactly one thing:
Two runs: changed the amount due from 485.23 to 495.23 (BR-CO-16), changed the gross total from 485.23 to 490.00 (BR-CO-15 and BR-CO-16).
Result: rejected with BR-CO-16, BR-CO-15.
The correct sample invoice and its validation report are publicly available, see validation evidence.
Common causes
- The amount due comes from a different field than the totals, for example after vouchers or shipping costs.
- Rounding happens at a different point than for the subtotals.
- Calculating with floating point numbers instead of fixed two decimal places.
How to fix the error
- 1Calculate all totals from the same line data in one step.
- 2Calculate with decimal numbers and commercial rounding to two places.
- 3Show prepayments in cbc:PrepaidAmount and rounding in cbc:PayableRoundingAmount instead of changing the amount due.
This is how the spot looks in our accepted sample invoice:
<cac:LegalMonetaryTotal> <cbc:LineExtensionAmount currencyID="EUR">415.80</cbc:LineExtensionAmount> <cbc:TaxExclusiveAmount currencyID="EUR">415.80</cbc:TaxExclusiveAmount> <cbc:TaxInclusiveAmount currencyID="EUR">485.23</cbc:TaxInclusiveAmount> <cbc:PayableAmount currencyID="EUR">485.23</cbc:PayableAmount> </cac:LegalMonetaryTotal>
After the correction: validate the file for free with the KoSIT validator, without sign-up, the file is not stored.
The error comes from your shop or your software?
Then the cause usually lies at the point where the invoice is generated. We check where the data comes from and adjust the output. The feasibility check costs €290 net and is credited if you place the order.
Sources
- KoSIT: XRechnung validator configuration (validation rules). release v2026-08-31, containing XRechnung 3.0.2
- KoSIT: validator. version 1.6.3
- Federal Ministry of Finance (Bundesministerium der Finanzen): questions and answers on e-invoicing (in German)
Validation run of 21 Nov 2026. Technical explanation, not tax advice.


