VAT rate for an intracommunity supply

Error BR-IC-05 EN 16931

In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Intracommunity supply" the Invoiced item VAT rate (BT-152) shall be 0 (zero).

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

The invoice line is assigned the intracommunity supply VAT category (K), but ram:RateApplicablePercent is not 0. For this category, the stated VAT rate must be exactly zero.

What the rule means

The category K identifies an intracommunity supply. The VAT rate for the invoice line is stated as 0.

Affected fields BG-25 BT-151 BT-152
Please set the VAT rate to zero for the intracommunity supply

The invoice line is marked as an intracommunity supply (K), but its VAT rate is not zero. You can adjust the line’s VAT rate.

What to do
  1. Check the invoice line’s tax category in TradeLineItem.TaxCategoryCode.
  2. Set the line’s VAT rate to 0 in TradeLineItem.TaxPercent.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:ApplicableTradeTax>
  <ram:CategoryCode>K</ram:CategoryCode>
  <ram:RateApplicablePercent>5</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
✓ Correct
<ram:ApplicableTradeTax>
  <ram:CategoryCode>K</ram:CategoryCode>
  <ram:RateApplicablePercent>0</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
Check in FactoorSharp
  • TradeLineItem.TaxCategoryCode (BT-151)
  • TradeLineItem.TaxPercent (BT-152)
  • TradeLineItem.TaxType (BT-151-0)
  • TaxCategoryCodes (BT-151)
Technical details

Within the ram:ApplicableTradeTax selected by ram:CategoryCode = 'K', the test checks whether ram:RateApplicablePercent equals 0.

Where the rule applies

The rule applies to the VAT details of an invoice line whose ram:CategoryCode has the value K.

Context (rule/@context)
//rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ ram:ApplicableTradeTax[ram:CategoryCode = 'K']
Test expression (assert/@test)
ram:RateApplicablePercent = 0