Skip to content

BR-CO-17: VAT amount does not match base times rate

In each VAT breakdown, the VAT amount must match the taxable amount multiplied by the rate.

Severity
Error the invoice fails validation.
Rule set
EN 16931 (CEN/TC 434)
Where it applies
  • EN 16931 invoices in UBL and CII, in every EU country
  • XRechnung 3.0 in UBL and CII (Germany)
  • Peppol BIS Billing 3.0
  • ZUGFeRD / Factur-X, profile EN 16931 and above
Business terms
BT-117 VAT category tax amount · BT-116 VAT category taxable amount · BT-119 VAT category rate

Official rule text

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

What the rule checks

The rule computes cbc:TaxableAmount × cbc:Percent / 100, rounds it to two decimals and compares it with cbc:TaxAmount of the same cac:TaxSubtotal. The published Schematron accepts a difference of less than one currency unit, so a rounding difference of a few cents passes; a wrong rate or a wrong base does not.

For a rate of 0 the VAT amount must be 0.

Common causes

  • The breakdown shows the rate of one category but the VAT amount of another, for example 19 % with the amount computed at 7 %.
  • The taxable amount was reduced by a document discount, but the VAT amount was not recomputed.
  • VAT for two rates is merged into one breakdown.

How to fix it

Recompute the VAT amount from the taxable amount and the rate of that breakdown, one breakdown per category and rate. Then update the total VAT (BR-CO-14) and the totals after it.

In CII the fields are ram:BasisAmount, ram:RateApplicablePercent and ram:CalculatedAmount in ram:ApplicableTradeTax.

Rejected
<cac:TaxSubtotal>
  <cbc:TaxableAmount currencyID="EUR">1000.00</cbc:TaxableAmount>
  <cbc:TaxAmount currencyID="EUR">70.00</cbc:TaxAmount>
  <cac:TaxCategory>
    <cbc:ID>S</cbc:ID>
    <cbc:Percent>19</cbc:Percent>
    <cac:TaxScheme>
      <cbc:ID>VAT</cbc:ID>
    </cac:TaxScheme>
  </cac:TaxCategory>
</cac:TaxSubtotal>
Passes
<cac:TaxSubtotal>
  <cbc:TaxableAmount currencyID="EUR">1000.00</cbc:TaxableAmount>
  <cbc:TaxAmount currencyID="EUR">190.00</cbc:TaxAmount>
  <cac:TaxCategory>
    <cbc:ID>S</cbc:ID>
    <cbc:Percent>19</cbc:Percent>
    <cac:TaxScheme>
      <cbc:ID>VAT</cbc:ID>
    </cac:TaxScheme>
  </cac:TaxCategory>
</cac:TaxSubtotal>

UBL excerpts; elements that play no part in the rule are left out.

Can the fix page repair it?

Yes, once you supply the value and confirm it. You enter the correct value; because it changes amounts or VAT data, it is applied only after you confirm. Fields inside lists go into the free field with an index, as shown below.

Field on the fix page: vatBreakdown[0].taxAmount

Repair a rejected invoiceGuide: BR-CO-16 and BR-CO-15 errors: why e-invoice totals don't add up

Check your invoice against the official rules

Upload an XML or PDF invoice. You get every failing rule with an explanation, the fix and the line in the file. Free, without sign-up; the check on this page stores nothing.

Drop an invoice hereXRechnung, EN 16931 or Peppol (UBL / CII), a ZUGFeRD / Factur-X PDF, Facturae or KSeF FA(3). Up to 2 MB.
No invoice at hand?

Processed in memory and not stored. No sign-up needed.