PintLint

Rules / IBR-181-AE

IBR-181-AE error

When scheme identifier is '0235' and Seller legal registration identifier must be present

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.

Fails when this is false

not(cbc:EndpointID[@schemeID = "0235"]) or not(cac:PartyLegalEntity/cbc:CompanyID) or  cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyID

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