Invoice line needs a net price

Error BR-FXEXT-BR-26 Factur-X

Each Invoice line (BG-25) shall contain the Item net price (BT-146) if the "Subtype of invoice line item" (BT-X-8) has the value "Normal line item (standard case)" (DETAIL) or is not specified.

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

A normal invoice line is missing ram:ChargeAmount in ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice. The item’s net price is therefore not stated.

What the rule means

The net price states the item price excluding VAT. It is required information for a normal invoice line.

Affected fields BG-25 BT-146 BT-X-8
Please add the item’s net price

The net price is missing from this normal invoice line. Add the item price excluding VAT.

What to do
  1. Determine the item’s net price.
  2. Set TradeLineItem.NetUnitPrice.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SpecifiedLineTradeAgreement>
  <ram:NetPriceProductTradePrice/>
</ram:SpecifiedLineTradeAgreement>
✓ Correct
<ram:SpecifiedLineTradeAgreement>
  <ram:NetPriceProductTradePrice>
    <ram:ChargeAmount>50.00</ram:ChargeAmount>
  </ram:NetPriceProductTradePrice>
</ram:SpecifiedLineTradeAgreement>
Check in FactoorSharp
  • AssociatedDocument.LineStatusReasonCode (BT-X-8)
  • LineStatusReasonCodes (BT-X-8)
  • TradeLineItem.NetUnitPrice (BT-146)
Technical details

The test requires ram:ChargeAmount under ram:NetPriceProductTradePrice to exist. It applies only to ram:AssociatedDocumentLineDocument without ram:LineStatusReasonCode or with the value DETAIL.

Where the rule applies

The rule applies to ram:AssociatedDocumentLineDocument when ram:LineStatusReasonCode is absent or has the value DETAIL.

Context (rule/@context)
//ram:IncludedSupplyChainTradeLineItem/ram:AssociatedDocumentLineDocument[ not(ram:LineStatusReasonCode) or ram:LineStatusReasonCode = 'DETAIL' ]
Test expression (assert/@test)
(../ram:SpecifiedLineTradeAgreement/ram:NetPriceProductTradePrice/ram:ChargeAmount)