ibr-181-ae
When scheme identifier (IBT-034-1) is '0235' and Seller legal registration identifier (ibt-030) is provided, then Seller legal registration identifier type (BTAE-15) MUST be present
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(cbc:EndpointID[@schemeID = "0235"]) or not(cac:PartyLegalEntity/cbc:CompanyID) or cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyID
Checked with PINT UAE Invoice, PINT UAE Credit Note, PINT UAE Self-Billing Invoice, PINT UAE Self-Billing Credit Note