Skip to content

Warning

CII-SR-05: Remove versions from context parameter blocks

In short

Warning: worth checking.

CII-SR-05 warns that an element whose name ends in DocumentContextParameter contains a direct ram:SpecifiedDocumentVersion child. Remove that child from the affected block and recheck your CII file.

On this page

What it means

Checks every element anywhere in the XML whose name ends in DocumentContextParameter and flags any direct ram:SpecifiedDocumentVersion child. The XPath is not restricted to the document header.

Why it matters

These EN 16931 CII rules do not use this version element in context parameter blocks. The block's identifier is separate and should not be removed as part of this correction.

How to fix it

Find the affected context parameter block and remove its direct ram:SpecifiedDocumentVersion child. Leave its ram:ID unchanged. If your software generates the extra element, ask your software supplier to correct the CII export, then recheck the file.

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

SpecifiedDocumentVersion 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-SR-05 still fails, and which other rules do.

Updated 6 November 2026