In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero.
For an invoice line with VAT category S, the value of ram:RateApplicablePercent is zero or negative. The test requires a value greater than zero.
VAT category S denotes standard-rated treatment. The rule therefore requires a positive VAT rate.
The VAT rate for an invoice line with VAT category S is zero or below. For this category, it must be greater than zero.
- Check the VAT rate in
TradeLineItem.TaxPercent. - Enter a value greater than zero for VAT category
S. - Generate the invoice again and validate it.
<ram:ApplicableTradeTax> <ram:CategoryCode>S</ram:CategoryCode> <ram:RateApplicablePercent>0</ram:RateApplicablePercent> </ram:ApplicableTradeTax>
<ram:ApplicableTradeTax> <ram:CategoryCode>S</ram:CategoryCode> <ram:RateApplicablePercent>20</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 is greater than zero. The context limits the check to ram:CategoryCode S.
The rule applies to ram:RateApplicablePercent of an ApplicableTradeTax entry on an invoice line with VAT category S.
rule/@context)assert/@test)