All rules · pint-ae · error
ibr-133-ae
Where a VAT scheme code is given alongside a tax identifier, it must be the expected scheme value.
Reviewed
Why this rule exists
The scheme code says what kind of identifier the number is. A TRN labelled as something else will not be looked up as a TRN, and the invoice is rejected downstream.
Why it usually happens
- Emitting a local scheme name rather than the coded value
- Setting the tax scheme id to something other than 'VAT' on a VAT identifier
How to fix it
Emit cac:TaxScheme/cbc:ID as 'VAT' for VAT identifiers, from a constant rather than from data.
<cac:TaxScheme> <cbc:ID>VAT</cbc:ID> </cac:TaxScheme>
The official rule
VAT scheme code, if provided in (IBT-095-1) or (IBT-031-1) or (IBT-048-1) or (IBT-063-1) or (IBT-102-1) or (IBT-118-1) shall be 'VAT' except when Seller tax registration identifier (IBT-032) is provided.
Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.
Schematron test
. = "VAT" or exists(//cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID[ string-length(normalize-space(.)) = 10 and starts-with(normalize-space(.), "1") and translate(normalize-space(.), "0123456789", "") = ""])
Applied to nodes matching cac:TaxScheme/cbc:ID
Rule-pack versions
| Rule-pack | Layer | Severity | Applies to |
|---|---|---|---|
| pint-ae-2026.5 | pint-ae | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
| pint-ae-2026.3 | pint-ae | error | billing/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice |
Related rules
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