PintLint

Rules / IBR-183-AE

IBR-183-AE error

The value in Buyer legal registration identifier type should either be…

The value in Buyer legal registration identifier type [BTAE-16] should either be 'Commercial/Trade license' or 'Emirates ID' or 'Passport' or 'Cabinet decision' when Buyer legal registration identifier (IBT-047) is provided and scheme identifier (IBT-049-1) is '0235' and buyer electronic address (IBT-049) is not '1XXXXXXXXX'.

Fails when this is false

not(cac:PartyLegalEntity/cbc:CompanyID) or not(cbc:EndpointID[@schemeID = "0235"]) or  matches(normalize-space(cbc:EndpointID), "^[19]") or cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyID = ("TL","CL", "EID", "PAS", "CD")

The schematron test, verbatim. Context: cac:AccountingCustomerParty/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