# aligned-ibr-004-aunz

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

> An invoice must contain the Buyer's ABN (ibt-047) if Buyer country (ibt-055) is Australia

- Level: error
- Rule sets: PINT A-NZ rules (Australia and New Zealand) 1.1.3
- Context: `cac:AccountingCustomerParty/cac:Party[$buyerCountry = '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
