Skip to content
Theme
English

Warning

CII-SR-422: Leave out LineID in the preceding invoice reference

In short

Warning: worth checking.

CII-SR-422 means the reference to an earlier invoice contains a LineID element, which EN 16931 does not use. It is a warning, so the file is still accepted; remove the LineID and keep the number and date of the earlier invoice.

On this page

What it means

The reference to a preceding invoice (InvoiceReferencedDocument) must not contain a LineID, which points to one line of that earlier invoice. EN 16931 lets you refer to the earlier invoice by its number (BT-25) and date (BT-26), but not to a line on it.

Why it matters

This rule is a warning, so the file is still accepted. The reference to the earlier invoice is fine; only the pointer to a line is outside the standard, so the recipient's software is not expected to read it.

How to fix it

Delete the LineID from the preceding invoice reference and keep the invoice number and date. If it matters which line is meant, say so in an invoice note (BT-22). This reference is mostly used on credit notes and corrections, so check the export settings of your software if it adds the line each time.

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

Updated 6 November 2026