The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "Zero rated" shall equal 0 (zero).
In a VAT breakdown with category code Z, ram:CalculatedAmount is not zero. The VAT amount (BT-117) must be zero for the “Zero rated” category.
Category code Z identifies the VAT category named “Zero rated” in the rule. The VAT amount for this category must be zero.
A non-zero VAT amount is entered for VAT category Z. Set the amount for this VAT breakdown to zero.
- Check whether
ram:CategoryCodehas the valueZ. - Set
ram:CalculatedAmountto0for this VAT breakdown. - Check the category code against the available
TaxCategoryCodes. - Check the call to
AddApplicableTradeTax(...). - Generate the invoice again and validate it once more.
<ram:ApplicableTradeTax> <ram:CategoryCode>Z</ram:CategoryCode> <ram:CalculatedAmount>1.00</ram:CalculatedAmount> </ram:ApplicableTradeTax>
<ram:ApplicableTradeTax> <ram:CategoryCode>Z</ram:CategoryCode> <ram:CalculatedAmount>0</ram:CalculatedAmount> </ram:ApplicableTradeTax>
TaxCategoryCodes(BT-118)FacturXInvoice.AddApplicableTradeTax(basisAmount, percent, taxAmount, typeCode, categoryCode, allowanceChargeBasisAmount, exemptionReasonCode, exemptionReason, lineTotalBasisAmount)(BG-23)FacturXInvoice.AnyApplicableTradeTaxes()(BG-23)FacturXInvoice.GetApplicableTradeTaxes()(BG-23)FacturXInvoice.Taxes(BG-23)
Technical details
For ram:CategoryCode with the value Z, the test checks whether ram:CalculatedAmount has the numeric value zero.
The rule applies to ram:CalculatedAmount in a ram:ApplicableTradeTax whose ram:CategoryCode has the value Z.
rule/@context)assert/@test)