# aligned-ibrp-o-06

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

> A Document level allowance (ibg-20) where VAT category code (ibt-95) is "Not subject to VAT" MUST not contain a Document level allowance VAT rate (ibt-96).

- Level: error
- Rule sets: PINT AE rules (United Arab Emirates) 1.0.4
- Context: `cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cac:TaxCategory[normalize-space(cbc:ID)='O'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']`
- Test: `not(cbc:Percent)`

> A Document level allowance (ibg-20) where tax category code (ibt-95) is "Not subject to tax" MUST not contain a Document level allowance tax rate (ibt-96).

- Level: error
- Rule sets: PINT JP rules (Japan) 1.1.3
- Context: `cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cac:TaxCategory[normalize-space(cbc:ID)='O'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']`
- Test: `not(cbc:Percent)`

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