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).
For an invoice line with the IGIC VAT category (L), ram:RateApplicablePercent is not greater than 0. The test requires a positive VAT rate.
The rule requires a VAT rate greater than zero for an invoice line in the IGIC category.
The invoice line is assigned to the IGIC category L, but its VAT rate is zero or negative. For this category, the rate must be greater than zero.
- Check the invoice line’s tax category in
TradeLineItem.TaxCategoryCode. - Enter a value greater than 0 in
TradeLineItem.TaxPercent. - Generate the invoice again and validate it again.
<ram:ApplicableTradeTax> <ram:CategoryCode>L</ram:CategoryCode> <ram:RateApplicablePercent>0</ram:RateApplicablePercent> </ram:ApplicableTradeTax>
<ram:ApplicableTradeTax> <ram:CategoryCode>L</ram:CategoryCode> <ram:RateApplicablePercent>5</ram:RateApplicablePercent> </ram:ApplicableTradeTax>
TradeLineItem.TaxCategoryCode(BT-151)TradeLineItem.TaxPercent(BT-152)TradeLineItem.TaxType(BT-151-0)TaxCategoryCodes(BT-151)
Technical details
The test checks whether ram:RateApplicablePercent in the selected ram:ApplicableTradeTax is strictly greater than 0.
The rule applies to the VAT details of an invoice line whose ram:CategoryCode has the value L for IGIC.
rule/@context)assert/@test)