What it means
The rule checks that rsm:ExchangedDocument has no direct ram:VersionID child. It does not target ram:ID, which holds the invoice number (BT-1).
Why it matters
The EN 16931 CII mapping does not use this document version field. A warning does not establish whether the invoice will be accepted.
How to fix it
Remove ram:VersionID from rsm:ExchangedDocument. Keep your invoice number (BT-1) in ram:ID rather than changing it to address this warning. If version information needs explaining, include it in an invoice note (BT-22). Check the 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
VersionID 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-022 still fails, and which other rules do.
Related rules
- CII-SR-023 Remove the global identifier from the invoice header
- CII-SR-024 Remove the revision identifier from the invoice header
- CII-SR-025 Remove the previous revision identifier from the invoice header
- CII-SR-026 Remove the document category code from the invoice header
- CII-SR-027 Remove free-text subjects from invoice notes
- CII-SR-028 Remove content codes from invoice notes