A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Export outside the EU" shall have a VAT exemption reason code (BT-121), meaning "Export outside the EU" or the VAT exemption reason text (BT-120) "Export outside the EU" (or the equivalent standard text in another language).
For category G, both ExemptionReasonCode and ExemptionReason are missing. At least one must state the reason export outside the EU; the text may use the equivalent standard wording in another language.
The reason export outside the EU must be stated in the VAT breakdown. It can be provided as a reason code or as a reason text.
The VAT breakdown for exports outside the EU (G) is missing a reason. You can provide either a reason code or a reason text.
- Provide
ExemptionReasonCodewith the reason code for export outside the EU, or enter the corresponding text or standard wording inExemptionReason. - Check the tax information supplied through
AddApplicableTradeTax(...). - Generate the invoice again and validate it.
<ram:ApplicableTradeTax> <ram:CategoryCode>G</ram:CategoryCode> </ram:ApplicableTradeTax>
<ram:ApplicableTradeTax> <ram:CategoryCode>G</ram:CategoryCode> <ram:ExemptionReason>Export outside the EU</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)
Technical details
For category G, the test requires at least one of ExemptionReason or ExemptionReasonCode; it does not require both.
The rule applies to ApplicableTradeTax in the VAT breakdown when CategoryCode has the value G.
rule/@context)assert/@test)