PintLint

Rules / IBR-173-AE

The value in Seller legal registration identifier type scheme identifier should either be 'Commercial/Trade license' or 'Emirates ID' or 'Passport' or 'Cabinet decision' when the value in Seller legal registration identifier is provided and scheme identifier is '0235' and the Seller country code is AE

The value in Seller legal registration identifier type [BTAE-15] scheme identifier [IBT-030-1] should either be 'Commercial/Trade license' or 'Emirates ID' or 'Passport' or 'Cabinet decision' when the value in Seller legal registration identifier (IBT-030) is provided and scheme identifier (IBT-034-1) is '0235' and the Seller country code (IBT-055) is AE.

Fails when this is false

not(cac:PartyLegalEntity/cbc:CompanyID and  cbc:EndpointID/@schemeID = "0235" and cac:PostalAddress/cac:Country/cbc:IdentificationCode = "AE" and  not(cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyID = ("TL", "EID", "PAS", "CD")))

The schematron test, verbatim. Context: cac:AccountingSupplierParty/cac:Party

Fix

Change the data so the condition below holds. It reads cac:Country, cac:PartyLegalEntity, cac:PostalAddress, cbc:CompanyID. Paste the invoice into the validator to see the exact element that fails.

Official · PINT AE (UAE) rules. Severity: error. Runs on UBL XML.

Check your invoice for this rule