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 |
Check your file
Drop your e-invoice to see whether CII-SR-042 still fails, and which other rules do.
Related rules
- CII-SR-043 Remove the subject element from the line note
- CII-SR-044 Remove the content code from the line note
- CII-SR-045 Remove the generic product ID
- CII-SR-046 Add the scheme for the product's standard identifier
- CII-SR-048 Remove the separate manufacturer product number
- CII-SR-049 Remove the separate product trade name