ibr-183-ae
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'.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
cac:AccountingCustomerParty/cac:Party
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")
Checked with PINT UAE Invoice, PINT UAE Credit Note