In a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Zero rated" the Document level charge VAT rate (BT-103) shall be 0 (zero).
The charge is marked as zero rated (Z), but ram:RateApplicablePercent is not zero. The VAT rate is missing or contains a value other than zero.
Tax category Z identifies the zero rate. Therefore, the reported VAT rate must be exactly zero.
The charge is assigned to the zero-rated tax category (Z), but its VAT rate is not zero or is missing. Set the VAT rate for this charge to zero.
- Check the charge’s tax category
Z. - Check the call to
AddTradeCharge(...)and settaxPercentto zero for this charge. - Generate the invoice again and validate it.
<ram:CategoryTradeTax> <ram:CategoryCode>Z</ram:CategoryCode> <ram:RateApplicablePercent>5</ram:RateApplicablePercent> </ram:CategoryTradeTax>
<ram:CategoryTradeTax> <ram:CategoryCode>Z</ram:CategoryCode> <ram:RateApplicablePercent>0</ram:RateApplicablePercent> </ram:CategoryTradeTax>
TaxCategoryCodes(BT-102)FacturXInvoice.AddTradeCharge(basisAmount, currency, actualAmount, chargePercentage, reason, taxTypeCode, taxCategoryCode, taxPercent, reasonCode)(BG-21)FacturXInvoice.GetTradeCharges()(BG-21)AbstractTradeAllowanceCharge(Document level charge: BG-21)AbstractTradeAllowanceCharge.ChargeIndicator(Document level charge: BG-21)
Technical details
The XPath test compares ram:RateApplicablePercent numerically with zero and requires equality.
The rule applies to ram:RateApplicablePercent of a document level charge with tax category Z.
rule/@context)assert/@test)