What it means
The check covers all ram elements whose names end in ReferencedDocument, including purchase order references (BT-13), contract references (BT-12) and supporting document references. None may have a ram:StatusCode child element.
Why it matters
A referenced document's status in ram:StatusCode is not part of this CII mapping.
How to fix it
Find the document reference reported by the check and remove its ram:StatusCode child element, including that child's contents. Keep the reference number and other permitted information. Do not remove StatusCode elements elsewhere because of this rule. 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
StatusCode 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-016 still fails, and which other rules do.
Related rules
- CII-DT-017 Remove CopyIndicator from document references
- CII-DT-018 Use TypeCode only on additional references
- CII-DT-019 Remove GlobalID from document references
- CII-DT-020 Remove RevisionID from document references
- CII-DT-021 Descriptions belong on supporting document references
- CII-DT-022 Only supporting document references may contain embedded attachments