← All rule codes

BR-CO-17

Error (blocking) EN 16931 (UBL)EN 16931 (CII)

Official rule text

[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.

What it means

Each VAT breakdown entry must satisfy BT-117 = BT-116 x BT-119 / 100, rounded to two decimals. The rule fires when the category tax amount is obtained by summing per-line VAT amounts - rounding accumulates line by line and ends up a cent away from the product computed on the aggregated base.

How to fix it

For every cac:TaxSubtotal, recompute cbc:TaxAmount (BT-117) from cbc:TaxableAmount (BT-116) x cbc:Percent (BT-119) / 100 and round once at the end; if your ERP total differs by a cent, adjust via the taxable base or a rounding amount, not by forcing BT-117.

Business terms involved: BT-117BT-116BT-119

🇫🇷 En français

Chaque ligne de la ventilation TVA doit vérifier BT-117 = BT-116 x BT-119 / 100, arrondi à deux décimales. La règle tombe quand le montant de TVA de la catégorie est obtenu en sommant la TVA ligne à ligne - les arrondis s'accumulent et finissent à un centime du produit calculé sur la base agrégée.

Correction : Pour chaque cac:TaxSubtotal, recalculez cbc:TaxAmount (BT-117) = cbc:TaxableAmount (BT-116) x cbc:Percent (BT-119) / 100 avec un arrondi unique en fin de calcul ; si le total ERP diffère d'un centime, ajustez la base ou un montant d'arrondi, pas le BT-117.

Seeing BR-CO-17 in a rejection?

Run your file through the free validator to see every violation at once — or let NormDrift watch your reference invoices so the next ruleset release never surprises you.