All rules · en16931 · error

BR-S-09

For a standard-rated VAT breakdown entry, the tax amount must equal the taxable amount times the rate, rounded to two decimals.

Reviewed

Why this rule exists

This is the arithmetic that proves the tax charged follows from the supply invoiced. It is checked per category, so an error in one rate cannot be hidden by another.

Why it usually happens

How to fix it

Compute tax = round(taxable x rate / 100, 2) once per category, from the taxable amount you are emitting.

Wrong
<cbc:TaxableAmount currencyID="AED">1000.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="AED">50.50</cbc:TaxAmount>
<cbc:Percent>5</cbc:Percent>
Right
<cbc:TaxableAmount currencyID="AED">1000.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="AED">50.00</cbc:TaxAmount>
<cbc:Percent>5</cbc:Percent>

The official rule

The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Standard rated" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119).

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

(abs(xs:decimal(../cbc:TaxAmount)) - 1 <  round((abs(xs:decimal(../cbc:TaxableAmount)) * (xs:decimal(cbc:Percent) div 100)) * 10 * 10) div 100 ) and (abs(xs:decimal(../cbc:TaxAmount)) + 1 >  round((abs(xs:decimal(../cbc:TaxableAmount)) * (xs:decimal(cbc:Percent) div 100)) * 10 * 10) div 100 )

Applied to nodes matching /*/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'S'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']

Rule-pack versions

Rule-packLayerSeverityApplies to
pint-eu-1.1.1en16931errorbilling/creditnote, billing/invoice

Related rules

aligned-ibrp-s-08 · ibr-co-14

Check your own invoice

Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.

Open the validator