A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Exempt from VAT" shall have a VAT exemption reason code (BT-121) or a VAT exemption reason text (BT-120).
For category E, both ram:ExemptionReason and ram:ExemptionReasonCode are missing. The VAT breakdown must include a reason for the exemption.
E denotes supplies exempt from VAT. The reason documents the exemption in the VAT breakdown.
The VAT breakdown for tax category E has no exemption reason. Add a reason text or reason code.
- For the
Etax group, add eitherram:ExemptionReasonorram:ExemptionReasonCode. - Specify the reason for the VAT exemption.
- Check the values passed to
FacturXInvoice.AddApplicableTradeTax(...). - Generate the invoice again and validate it once more.
<ram:ApplicableTradeTax> <ram:CategoryCode>E</ram:CategoryCode> </ram:ApplicableTradeTax>
<ram:ApplicableTradeTax> <ram:CategoryCode>E</ram:CategoryCode> <ram:ExemptionReason>Exempt from VAT</ram:ExemptionReason> </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)
You can provide the reason either as text in ram:ExemptionReason or as a code in ram:ExemptionReasonCode.
Technical details
The XPath test requires either ram:ExemptionReason or ram:ExemptionReasonCode to be present as a child of ram:ApplicableTradeTax. It does not check the contents of these elements.
The rule applies to a document-level VAT breakdown ram:ApplicableTradeTax whose ram:CategoryCode has the value E.
rule/@context)assert/@test)- 2023-05-122023-05-12 · AddedTests to monitor implementation of BR-E-10