Skip to content

Warning

CII-SR-334: Despatch advice reference must not carry a line number

In short

Warning: worth checking.

CII-SR-334 means the despatch advice reference in the delivery details carries a line number (LineID), which EN 16931 does not use. It is only a warning: remove the line number and keep the despatch advice reference itself.

On this page

What it means

This rule runs the same test as CII-SR-333. The despatch advice reference (DespatchAdviceReferencedDocument) in the delivery details (ApplicableHeaderTradeDelivery) should not contain a LineID. The despatch advice number itself (BT-16) is allowed.

Why it matters

This is a warning, so the file is still accepted. EN 16931 has no field for a line number inside the despatch advice, so receiving software normally drops it. You may see this warning together with CII-SR-333, because both look at the same element.

How to fix it

Clear the line number from the despatch advice reference in your invoicing software and keep the document number. Fixing CII-SR-333 clears this warning too. It is worth doing if you want the check to pass cleanly or if the receiving system is strict about extra elements.

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-334 still fails, and which other rules do.

Updated 6 November 2026