All rules · pint-base · error

ibr-co-14

The total VAT amount must equal the sum of the tax amounts in the VAT breakdown.

Reviewed

Why this rule exists

The breakdown is the detail and the total is the summary. When they disagree, the tax authority cannot tell how much tax was actually charged.

Why it usually happens

How to fix it

Sum the TaxSubtotal amounts you emitted, and serialize that sum as the total.

Wrong
<!-- breakdown has 50.00 + 0.00, but: -->
<cac:TaxTotal><cbc:TaxAmount currencyID="AED">52.50</cbc:TaxAmount></cac:TaxTotal>
Right
<cac:TaxTotal><cbc:TaxAmount currencyID="AED">50.00</cbc:TaxAmount></cac:TaxTotal>

The official rule

Invoice total Tax amount (ibt-110) = Σ Tax category tax amount (ibt-117).

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

Schematron test

(xs:decimal(child::cbc:TaxAmount)= round((sum(cac:TaxSubtotal/xs:decimal(cbc:TaxAmount)) * 10 * 10)) div 100) or not(cac:TaxSubtotal)

Applied to nodes matching /ubl:Invoice/cac:TaxTotal | /cn:CreditNote/cac:Taxtotal

Rule-pack versions

Rule-packLayerSeverityApplies to
pint-om-1.0.1pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-ae-2026.5pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-eu-1.1.1pint-baseerrorbilling/creditnote, billing/invoice
pint-ae-2026.3pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-om-1.0.0pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice

Related rules

ibr-co-15 · aligned-ibrp-s-08 · aligned-ibrp-s-09

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