# aligned-ibrp-037-aunz

Source: https://xmlvalid.com/rules/aligned-ibrp-037-aunz

> Each Document level charge (ibg-21) MUST have a Document level charge tax category code (ibt-102).

- Level: error
- Rule sets: PINT A-NZ rules (Australia and New Zealand) 1.1.3
- Context: `cac:AllowanceCharge[cbc:ChargeIndicator = true()]`
- Test: `exists(cac:TaxCategory[cac:TaxScheme/normalize-space(upper-case(cbc:ID))='GST']/cbc:ID) or not(parent::ubl:Invoice|parent::cn:CreditNote)`

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