Skip to content

Fatal

CII-DT-016: Remove StatusCode from document references

In short

Fatal: fails the selected checks.

CII-DT-016 means a document reference in your CII file contains a ram:StatusCode element, which is not allowed there. Remove that child element and keep the document reference itself.

On this page

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
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether CII-DT-016 still fails, and which other rules do.

Updated 6 November 2026