ibr-173-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.
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:AccountingSupplierParty/cac:Party
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")))
Checked with PINT UAE Invoice, PINT UAE Credit Note