aligned-ibrp-sr-12

The rule sets below word this rule differently; each wording is shown with its rule set.

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

Message

Seller tax identifier (ibt-031) MUST occur maximum once

Context
/ubl:Invoice | /cn:CreditNote
Test
(count(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/upper-case(cbc:ID)='VAT']/cbc:CompanyID) <= 1)

Checked with PINT UAE Invoice, PINT UAE Credit Note, PINT UAE Self-Billing Invoice, PINT UAE Self-Billing Credit Note

Message

Seller VAT identifier (ibt-031) MUST occur maximum once

Context
/ubl:Invoice | /cn:CreditNote
Test
(count(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/upper-case(cbc:ID)='VAT']/cbc:CompanyID) <= 1)

Checked with PINT JP Invoice