PintLint

Rules / IBR-101-AE

Authority name must be there when Buyer legal registration identifier type is Commercial/Trade license

Authority name (BTAE-11) must be there when Buyer legal registration identifier type (BTAE-16) is Commercial/Trade license.

Fails when this is false

(cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyID = "TL" and cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyName) or not(cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyID = "TL")

The schematron test, verbatim. Context: cac:AccountingCustomerParty/cac:Party

Fix

Change the data so the condition below holds. It reads cac:PartyLegalEntity, cbc:CompanyID, @schemeAgencyID, @schemeAgencyName. 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 your invoice for this rule