What it means
The check applies to all CII reference elements whose names end in ReferencedDocument. They may contain ram:Name only when the reference is ram:AdditionalReferencedDocument with a ram:TypeCode value of 916. For a supporting document (BG-24), this name is the document description (BT-123).
Why it matters
The CII mapping provides this description field for supporting documents, not for other document reference types.
How to fix it
Remove ram:Name from the affected reference. If the text describes a supporting document, put it in ram:Name on the appropriate ram:AdditionalReferencedDocument with ram:TypeCode 916. Do not change a contract or order reference into a supporting document just to retain its name. Export the corrected file and recheck it.
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
Name 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-021 still fails, and which other rules do.
Related rules
- CII-DT-022 Only supporting document references may contain embedded attachments
- CII-DT-023 Remove Information from document references
- CII-DT-024 Reference type codes belong on invoiced object identifiers
- CII-DT-025 Remove SectionName from document references
- CII-DT-026 Remove previous revision identifiers from document references
- CII-DT-027 Only invoice references may use this date field