Provide an exemption reason for intra-community supplies

Error BR-IC-10 EN 16931

A VAT Breakdown (BG-23) with the VAT Category code (BT-118) "Intra-community supply" shall have a VAT exemption reason code (BT-121), meaning "Intra-community supply" or the VAT exemption reason text (BT-120) "Intra-community supply" (or the equivalent standard text in another language).

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

The VAT breakdown with ram:CategoryCode K has neither ram:ExemptionReason nor ram:ExemptionReasonCode. At least one must state the exemption reason “Intra-community supply”; the corresponding standard text in another language is also allowed for the text field.

What the rule means

Code K identifies an intra-community supply. The invoice must state the associated exemption reason either as a reason code or as reason text.

Affected fields BG-23 BT-118 BT-121 BT-120
Please provide the exemption reason for `K`

The VAT breakdown with category code K is missing an exemption reason. You can provide the reason as a code or as text.

What to do
  1. Find the VAT breakdown with ram:CategoryCode K.
  2. Add either ram:ExemptionReasonCode with the code for “Intra-community supply” or ram:ExemptionReason with that text or its equivalent standard text in another language.
  3. Check the values in FacturXInvoice.AddApplicableTradeTax(...).
  4. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:ApplicableTradeTax>
  <ram:CategoryCode>K</ram:CategoryCode>
</ram:ApplicableTradeTax>
✓ Correct
<ram:ApplicableTradeTax>
  <ram:CategoryCode>K</ram:CategoryCode>
  <ram:ExemptionReason>Intra-community supply</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)
Technical details

The test accepts the presence of either ram:ExemptionReason or ram:ExemptionReasonCode; both elements do not have to be present at the same time.

Where the rule applies

The rule applies to a document-level VAT breakdown ram:ApplicableTradeTax with ram:CategoryCode K.

Context (rule/@context)
//rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ ram:CategoryCode[.= 'K']
Test expression (assert/@test)
(../ram:ExemptionReason) or (../ram:ExemptionReasonCode)