# aligned-ibrp-se-09

Source: https://xmlvalid.com/rules/aligned-ibrp-se-09

> The tax category tax amount (ibt-117) in a tax breakdown (ibg-23) where tax category code (ibt-118) is "SE" MUST equal the tax category taxable amount (ibt-116) multiplied by the tax category rate (ibt-119).

- Level: error
- Rule sets: PINT MY rules (Malaysia) 1.3.1
- Context: `/*/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'SE'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']`
- Test: `u:slack(abs(xs:decimal(../cbc:TaxAmount)) , round((abs(xs:decimal(../cbc:TaxableAmount)) * (xs:decimal((cbc:Percent, 0)[1]) div 100)) * 10 * 10) div 100 ,0.02 )`

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