Skip to content

Warning

CII-SR-294: Do not give a line number for the seller's order

In short

Warning: worth checking.

CII-SR-294 means the seller's order reference includes a line number (LineID), which EN 16931 does not use. It is only a warning, so the file is still accepted; remove the line number and keep the order number.

On this page

What it means

The check looks at the seller's order reference (ram:SellerOrderReferencedDocument) in the agreement part of the invoice header and fails if it carries a line number (ram:LineID). EN 16931 uses this reference only for the order number itself, the sales order reference (BT-14).

Why it matters

This is a warning, so the invoice is still accepted. A recipient that follows the standard reads the order number and ignores the line number, so any link to a single order line is lost. It is worth fixing if the buyer needs that link, because they will not get it from this field.

How to fix it

Take the line number out of the sales order reference in your invoicing software, leaving only the order number. In the XML, delete ram:LineID inside ram:SellerOrderReferencedDocument and keep ram:IssuerAssignedID. The format only ties individual invoice lines to an order line for the buyer's purchase order, using the purchase order line reference (BT-132) on the line.

The rule as published

LineID should not be present

Where this rule applies

Rule set Version
EN 16931 (CII) 1.3.17
XRechnung 3.0 (CII) 3.0.2
NLCIUS (CII) 1.0.3.13
France CTC (CII) 1.4.0-04
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether CII-SR-294 still fails, and which other rules do.

Updated 6 November 2026