Set the reverse-charge VAT rate to zero

Error BR-AE-05 EN 16931

In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" 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

An invoice line is marked with VAT category AE for reverse charge, but its ram:RateApplicablePercent is not 0.

What the rule means

An invoice line in the reverse-charge category must have a VAT rate of zero.

Affected fields BG-25 BT-151 BT-152
Please set the reverse-charge invoice line’s VAT rate to zero

An invoice line uses category AE, but its VAT rate is not zero. Adjust the VAT rate for that invoice line.

What to do
  1. Check the VAT rate for the relevant invoice line in TradeLineItem.TaxPercent.
  2. Make sure ram:RateApplicablePercent contains the value 0.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:ApplicableTradeTax>
  <ram:CategoryCode>AE</ram:CategoryCode>
  <ram:RateApplicablePercent>20</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
✓ Correct
<ram:ApplicableTradeTax>
  <ram:CategoryCode>AE</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

The test checks whether ram:RateApplicablePercent has the numeric value 0.

Where the rule applies

This rule applies to ram:RateApplicablePercent in the tax information of an invoice line with category AE under ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax.

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