aligned-ibrp-sr-13-aunz
Seller tax registration (ibt-032) MUST occur maximum once
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.
Context
/ubl:Invoice | /cn:CreditNote
Test
(count(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/upper-case(cbc:ID)!='GST']/cbc:CompanyID) <= 1)
Checked with PINT A-NZ Invoice, PINT A-NZ Credit Note