All explained rules

BR-CO-17: The tax amount does not match the tax rate. How to fix it

The VAT amount (BT-117) does not equal the taxable amount (BT-116) times the rate (BT-119).

Error: the invoice is refusedFrom the European norm EN 16931

The rule, in its own words

VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals.

Fields involved: BT-117, BT-116, BT-119

What the rule checks

The rule does the arithmetic per rate: taxable amount times rate divided by a hundred, rounded to two decimals. The rounding is part of the rule, not a tolerance on top of it.

Why files fail it

  • The tax was worked out per line and then added up, rather than applied once to the taxable amount. That regularly lands a cent out.
  • The rate is stated wrongly, for example 19 where 7 applies.
  • Lines at different rates were collapsed into a single tax group.
  • The tax amount was typed by hand.

How to fix it

  1. Make one group per rate and apply the rate once to that group's taxable amount.
  2. Round at the end of the group, not per line.
  3. Check that the stated rate matches the lines in that group.

Check your file

Upload your invoice. It runs through the same official validator that applies this rule, and you see immediately whether it passes now.

Check an invoice

or drop it here

XRechnung XML, or a ZUGFeRD / Factur-X PDF. Up to 10 MB.

  • Run against the official EN 16931 and XRechnung rules
  • Your file is deleted the moment the result appears
  • No sign-up, and a result in seconds

What to do next

An invoice with errors will be rejected. Build a compliant one from the PDF you already have, or enter the details yourself. Either way you get a file that passes.