PintLint

Rules / IBR-149-AE

The buyer legal registration identifier must be provided when the scheme identifier is '0235' and buyer electronic address is not '1XXXXXXXXX' or '9XXXXXXXXX'

The buyer legal registration identifier (IBT-047) must be provided when the scheme identifier (IBT-049-1) is '0235' and buyer electronic address (IBT-049) is not '1XXXXXXXXX' or '9XXXXXXXXX'.

Fails when this is false

cbc:EndpointID/@schemeID != "0235" or matches(normalize-space(cbc:EndpointID), "^[19]") or exists(cac:PartyTaxScheme/cbc:CompanyID)

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

Fix

Change the data so the condition below holds. It reads cac:PartyTaxScheme, cbc:CompanyID, cbc:EndpointID, @schemeID. 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