All rules · en16931 · error
BR-S-01
An invoice with any standard-rated line, allowance or charge must have exactly one standard-rated entry in the VAT breakdown.
Reviewed
Why this rule exists
The VAT breakdown is what the tax authority reads. One entry per category, aggregating everything in that category, is what makes the breakdown reconcilable against the lines.
Why it usually happens
- Emitting one TaxSubtotal per line rather than one per category
- Splitting a category across two subtotals because the lines were processed in separate batches
How to fix it
Group lines by (category code, rate), then emit exactly one TaxSubtotal per group.
The official rule
An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "Standard rated" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "Standard rated".
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
((count(//cac:AllowanceCharge/cac:TaxCategory[normalize-space(cbc:ID) = 'S']) + count(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'S'])) > 0 and count(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'S']) > 0) or ((count(//cac:AllowanceCharge/cac:TaxCategory[normalize-space(cbc:ID) = 'S']) + count(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'S'])) = 0 and count(cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'S']) = 0)
Applied to nodes matching /ubl:Invoice | /cn:CreditNote
Rule-pack versions
| Rule-pack | Layer | Severity | Applies to |
|---|---|---|---|
| pint-eu-1.1.1 | en16931 | error | billing/creditnote, billing/invoice |
Related rules
aligned-ibrp-s-08 · ibr-145-ae
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