All rules · pint-ae · error

ibr-132-ae

A Tax Registration Number must be exactly 15 digits, start with 1, and end with 03 — with no spaces, dashes, or 'TRN' prefix.

Reviewed

Why this rule exists

The FTA matches the TRN against its taxpayer registry. Any formatting variation fails the lookup and the invoice is rejected downstream even though it looks correct to a human reading it.

Why it usually happens

How to fix it

Strip every non-digit character immediately before serialization, then assert the result is 15 digits.

Wrong
<cbc:CompanyID>TRN 100-123456789-00003</cbc:CompanyID>
Right
<cbc:CompanyID>100123456789003</cbc:CompanyID>

The official rule

VAT identifier [IBT-031, IBT-048, IBT-063, BTAE-14] should be TRN [VAT registration number] and must be 15 digits, starting with 1, ending with 03.

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

Schematron test

string-length(.) = 15 and starts-with(., "1") and ends-with(., "03") and matches(., "^[0-9]+$")

Applied to nodes matching cac:Party[cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'AE']/cac:PartyTaxScheme[cac:TaxScheme/normalize-space(upper-case(cbc:ID)) = 'VAT']/cbc:CompanyID

Rule-pack versions

Rule-packLayerSeverityApplies to
pint-ae-2026.5pint-aeerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-ae-2026.3pint-aeerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice

Related rules

ibr-134-ae · ibr-150-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