# aligned-ibrp-e-06-aunz

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

> In a Document level allowance (ibg-20) where the Document level allowance tax category code (ibt-095) is "Exempt from tax", the Document level allowance tax rate (ibt-096) MUST be 0 (zero).

- Level: error
- Rule sets: PINT A-NZ rules (Australia and New Zealand) 1.1.3
- Context: `cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cac:TaxCategory[normalize-space(cbc:ID)='E'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='GST']`
- Test: `(xs:decimal(cbc:Percent) = 0)`

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