ibr-150-ae

The Seller legal registration identifier (IBT-030) MUST be provided when the scheme identifier (IBT-034-1) is '0235'

error: the document is invalid

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.

Context
cac:AccountingSupplierParty/cac:Party
Test
not(cbc:EndpointID/@schemeID = "0235" and not(cac:PartyLegalEntity/cbc:CompanyID))

Checked with PINT UAE Invoice, PINT UAE Credit Note