PintLint

Rules / IBR-149-AE

IBR-149-AE error

The buyer legal registration identifier is '0235' and buyer electronic address is not…

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 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