# aligned-ibrp-s-06

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

> In a Document level allowance (ibg-20) where the Document level allowance VAT category code (ibt-95) is "Standard rated" the Document level allowance VAT rate (ibt-96) MUST be greater than zero.

- 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)='S'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']`
- Test: `(cbc:Percent castable as xs:decimal and xs:decimal(cbc:Percent) > 0)`

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