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
- Computing the total VAT from the tax-exclusive total times the rate, rather than by summing the breakdown
- Rounding each category and then rounding the total again from unrounded inputs
- A category present in the breakdown but omitted from the total, typically a nil one
How to fix it
Sum the TaxSubtotal amounts you emitted, and serialize that sum as the total.
<!-- breakdown has 50.00 + 0.00, but: --> <cac:TaxTotal><cbc:TaxAmount currencyID="AED">52.50</cbc:TaxAmount></cac:TaxTotal>
<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-pack | Layer | Severity | Applies to |
|---|---|---|---|
| pint-om-1.0.1 | pint-base | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
| pint-ae-2026.5 | pint-base | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
| pint-eu-1.1.1 | pint-base | error | billing/creditnote, billing/invoice |
| pint-ae-2026.3 | pint-base | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
| pint-om-1.0.0 | pint-base | error | billing/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