PintLint

Rules / IBR-173-AE

IBR-173-AE error

The value in Seller legal registration identifier type scheme identifier should either…

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 statement above is true. 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 an invoice