In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Zero rated" the Invoiced item VAT rate (BT-152) shall be 0 (zero).
For an invoice line with tax category Z, ram:RateApplicablePercent is not equal to zero. The tax rate therefore fails the ram:RateApplicablePercent = 0 check.
Z denotes the category with a zero tax rate. A different rate does not correspond to this tax category.
An invoice line is marked with tax category Z, but its tax rate is not zero. Adjust the rate in the invoice line’s tax details.
- Check
TradeLineItem.TaxCategoryCodeto confirm whether the invoice line should use tax categoryZ. - Set the rate in
TradeLineItem.TaxPercentto zero. - Generate the invoice again and validate it.
<ram:ApplicableTradeTax> <ram:CategoryCode>Z</ram:CategoryCode> <ram:RateApplicablePercent>20</ram:RateApplicablePercent> </ram:ApplicableTradeTax>
<ram:ApplicableTradeTax> <ram:CategoryCode>Z</ram:CategoryCode> <ram:RateApplicablePercent>0</ram:RateApplicablePercent> </ram:ApplicableTradeTax>
TradeLineItem.TaxCategoryCode(BT-151)TradeLineItem.TaxPercent(BT-152)TradeLineItem.TaxType(BT-151-0)TaxCategoryCodes(BT-151)
Technical details
For each ram:ApplicableTradeTax with ram:CategoryCode = 'Z' in context, ram:RateApplicablePercent must be numerically equal to zero.
The rule applies to the ram:ApplicableTradeTax tax details of an invoice line whose ram:CategoryCode is Z.
rule/@context)assert/@test)