Tax rate for standard-rated invoice lines

Error BR-S-05 EN 16931

In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Standard rated" the Invoiced item VAT rate (BT-152) shall be greater than zero.

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

For an invoice line with tax category S, ram:RateApplicablePercent is not greater than zero. The tax rate therefore fails the ram:RateApplicablePercent > 0 check.

What the rule means

S denotes the standard-rated category. A positive tax rate is required for the line to be reported as standard-rated.

Affected fields BG-25 BT-151 BT-152
Please enter a positive tax rate for the standard-rated invoice line

An invoice line is marked as standard-rated, but its tax rate is not greater than zero. You can correct this in the invoice line’s tax details.

What to do
  1. Check TradeLineItem.TaxCategoryCode to confirm whether the invoice line should use tax category S.
  2. Check TradeLineItem.TaxPercent and ensure the tax rate is greater than zero.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:ApplicableTradeTax>
  <ram:CategoryCode>S</ram:CategoryCode>
  <ram:RateApplicablePercent>0</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
✓ Correct
<ram:ApplicableTradeTax>
  <ram:CategoryCode>S</ram:CategoryCode>
  <ram:RateApplicablePercent>20</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

For each ram:ApplicableTradeTax with ram:CategoryCode = 'S' in context, ram:RateApplicablePercent must be numerically greater than zero.

Where the rule applies

The rule applies to the ram:ApplicableTradeTax tax details of an invoice line whose ram:CategoryCode is S.

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