Provide a reason for the VAT exemption

Error BR-E-10 EN 16931

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).

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

For category E, both ram:ExemptionReason and ram:ExemptionReasonCode are missing. The VAT breakdown must include a reason for the exemption.

What the rule means

E denotes supplies exempt from VAT. The reason documents the exemption in the VAT breakdown.

Affected fields BG-23 BT-118 BT-121 BT-120
Please add the reason for the VAT exemption

The VAT breakdown for tax category E has no exemption reason. Add a reason text or reason code.

What to do
  1. For the E tax group, add either ram:ExemptionReason or ram:ExemptionReasonCode.
  2. Specify the reason for the VAT exemption.
  3. Check the values passed to FacturXInvoice.AddApplicableTradeTax(...).
  4. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:ApplicableTradeTax>
  <ram:CategoryCode>E</ram:CategoryCode>
</ram:ApplicableTradeTax>
✓ Correct
<ram:ApplicableTradeTax>
  <ram:CategoryCode>E</ram:CategoryCode>
  <ram:ExemptionReason>Exempt from VAT</ram:ExemptionReason>
</ram:ApplicableTradeTax>
Check in FactoorSharp
  • 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)
Good to know

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.

Where the rule applies

The rule applies to a document-level VAT breakdown ram:ApplicableTradeTax whose ram:CategoryCode has the value E.

Context (rule/@context)
//rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ ram:CategoryCode[. = 'E']
Test expression (assert/@test)
(../ram:ExemptionReason) or (../ram:ExemptionReasonCode)
Changes in the KoSIT validation rules
  • 2023-05-122023-05-12 · AddedTests to monitor implementation of BR-E-10