How to fix BR-CO-17
VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) × (VAT category rate (BT-119) / 100), rounded to two decimals.
What this rule checks
The tax amount in a VAT breakdown does not equal the taxable amount multiplied by the rate. The most common cause is incorrect rounding: the spec requires rounding the final result to 2 decimals, not truncating.
Referenced business terms
This rule references the following EN 16931 business terms. Click through for the full definition, the UBL XPath and the cardinality.
How to fix it
For each <cac:TaxSubtotal>, recalculate <cbc:TaxAmount> = round(TaxableAmount × Percent ÷ 100, 2). Use banker’s rounding (round half to even) for consistent results.
Related rules
Validate your invoice
Upload your corrected invoice to check it passes BR-CO-17 and all other EN 16931 and Peppol BIS 3.0 rules. Free, instant, no signup.