What it means
The check applies only to /rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:TypeCode, which holds the invoice type code (BT-3). It fails if listVersionID is present, regardless of the attribute's value.
Why it matters
The CII representation of the invoice type code does not include a code-list version in listVersionID.
How to fix it
Find rsm:ExchangedDocument and its ram:TypeCode child. Remove only listVersionID from that child and keep the existing code, such as 380 for an invoice. Save or regenerate your CII file, then check it 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
listVersionID 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-DT-012 still fails, and which other rules do.
Related rules
- CII-DT-013 Remove languageID from the invoice root
- CII-DT-014 Remove languageLocaleID from the invoice root
- CII-DT-015 Keep document links on supporting document references
- CII-DT-016 Remove StatusCode from document references
- CII-DT-017 Remove CopyIndicator from document references
- CII-DT-018 Use TypeCode only on additional references