IBR-132-AE
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. For IBT-031, IBT-048 and IBT-063 this applies when the country code of the party is 'AE'.
About
- ID
ibr-132-ae- Flag
- fatal
- Context
cac:Party[cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'AE']/cac:PartyTaxScheme[cac:TaxScheme/normalize-space(upper-case(cbc:ID)) = 'VAT']/cbc:CompanyID | cac:TaxRepresentativeParty[cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'AE']/cac:PartyTaxScheme[cac:TaxScheme/normalize-space(upper-case(cbc:ID)) = 'VAT']/cbc:CompanyID | cac:SellerSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID- Test
string-length(.) = 15 and starts-with(., "1") and ends-with(., "03") and matches(., "^[0-9]+$")