Skip to content

Warning

CII-SR-042: Remove identifiers from line notes

In short

Warning: worth checking.

CII-SR-042 warns that a CII invoice line note contains ram:ID. Remove this note identifier, not the line number (BT-126).

On this page

What it means

The rule checks for ram:ID inside ram:IncludedNote elements under each line's ram:AssociatedDocumentLineDocument. It does not target the line's own number (BT-126).

Why it matters

The EN 16931 CII mapping provides line note text (BT-127), but no separate identifier for the note. A note identifier is distinct from the line number.

How to fix it

Remove ram:ID only from the affected line's ram:IncludedNote elements. Keep the line number (BT-126) and the note's ram:Content text (BT-127). If your invoicing software generates note identifiers, ask its support to omit them. Check the updated file again.

Once the file is corrected, check it again for free: Validate an invoice against EN 16931

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice

The rule as published

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

Updated 6 November 2026