E-invoice validation error codes (EN 16931 / XRechnung) → BR-CO-17
BR-CO-17
VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals.
Field
BT-117 — VAT category tax amount (cac:TaxSubtotal/cbc:TaxAmount)
What it means
For each VAT rate used on the invoice, the VAT amount for that rate must equal the taxable amount times the rate, rounded to 2 decimals.
Typical cause
The VAT was computed per line and rounded individually, then summed — small rounding differences accumulate and no longer match taxable × rate at the category level.
How to fix it
Compute VAT per VAT-category subtotal (taxable amount × rate / 100), round once to 2 decimals, not per line.
Example
Wrong
<!-- taxable 100.00 at 19% -->
<cbc:TaxAmount currencyID="EUR">18.00</cbc:TaxAmount>
Right
<cbc:TaxAmount currencyID="EUR">19.00</cbc:TaxAmount>