What it means
Counts all ram:GuidelineSpecifiedDocumentContextParameter/ram:ID elements directly under rsm:ExchangedDocumentContext and requires a total of one. It does not check whether the ID is empty or whether its value is valid.
Why it matters
The ID carries the specification identifier (BT-24). This rule checks the ID count across the blocks; CII-SR-009 separately requires exactly one specification block.
How to fix it
Find the ram:ID elements inside the specification blocks in rsm:ExchangedDocumentContext. Add one if none exists, or remove extras so that one remains. Use the appropriate BT-24 value for your invoice's specification. Correct any duplicate specification blocks under CII-SR-009 and recheck the file.
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 must exist exactly once 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-010 still fails, and which other rules do.
Related rules
- CII-SR-011 Do not include a subset context block in the header
- CII-SR-012 Do not include a message standard block in the header
- CII-SR-013 Remove the extra document name element
- CII-SR-014 The invoice must have exactly one document type code
- CII-SR-015 Remove DateTime from the invoice date
- CII-SR-016 Remove the copy indicator