Invoice line net amount

Error BR-24 EN 16931

Each Invoice line (BG-25) shall have an Invoice line net amount (BT-131).

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

The ram:LineTotalAmount element is missing from the invoice line’s settlement totals. The invoice line net amount is therefore not provided.

What the rule means

BT-131 is the invoice line net amount. It states the amount of the line excluding VAT.

Affected fields BG-25 BT-131
Please provide the invoice line net amount

The net amount is missing for an invoice line. You can add it to the line’s settlement totals.

What to do
  1. Add ram:LineTotalAmount to the invoice line’s settlement totals.
  2. Check the value of TradeLineItem.LineTotalAmount.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:IncludedSupplyChainTradeLineItem>
  <ram:SpecifiedLineTradeSettlement>
    <ram:SpecifiedTradeSettlementLineMonetarySummation/>
  </ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem>
✓ Correct
<ram:IncludedSupplyChainTradeLineItem>
  <ram:SpecifiedLineTradeSettlement>
    <ram:SpecifiedTradeSettlementLineMonetarySummation>
      <ram:LineTotalAmount>100.00</ram:LineTotalAmount>
    </ram:SpecifiedTradeSettlementLineMonetarySummation>
  </ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem>
Check in FactoorSharp
  • TradeLineItem.LineTotalAmount (BT-131)
Technical details

The test checks whether ram:SpecifiedTradeSettlementLineMonetarySummation/ram:LineTotalAmount is present.

Where the rule applies

Applies to ram:LineTotalAmount in the settlement totals of each invoice line ram:IncludedSupplyChainTradeLineItem.

Context (rule/@context)
//ram:IncludedSupplyChainTradeLineItem
Test expression (assert/@test)
(ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeSettlementLineMonetarySummation/ ram:LineTotalAmount)