# aligned-ibr-002-aunz

Source: https://xmlvalid.com/rules/aligned-ibr-002-aunz

> An invoice must contain the Seller's NZBN (ibt-030) if Seller country (ibt-040) is New Zealand

- Level: error
- Rule sets: PINT A-NZ rules (Australia and New Zealand) 1.1.3
- Context: `cac:AccountingSupplierParty/cac:Party[$supplierCountry = 'NZ']`
- Test: `(string-length(cac:PartyLegalEntity/cbc:CompanyID)>=1 and cac:PartyLegalEntity/cbc:CompanyID/@schemeID = '0088')`

Validate a document against these rules: https://xmlvalid.com/validate
