# BR-IP-05

Source: https://xmlvalid.com/rules/BR-IP-05

> In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IPSI" the Invoiced item VAT rate (BT-152) shall be 0 (zero) or greater than zero.

- Level: error
- Rule sets: EN 16931 rules (UBL) 1.3.17, Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'M'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']| cac:CreditNoteLine/cac:Item/cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'M'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']`
- Test: `(cbc:Percent) >= 0`

> In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" the invoiced item VAT rate (BT-152) shall be greater than 0 (zero).

- Level: error
- Rule sets: EN 16931 rules (CII) 1.3.17
- Context: `//rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'L'][upper-case(ram:TypeCode) = 'VAT']`
- Test: `ram:RateApplicablePercent > 0`

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