# aligned-ibr-001-aunz

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

> An invoice must contain the Seller's ABN (ibt-030) if Seller country (ibt-040) is Australia

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

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