Skip to content

Warning

CII-SR-04: Remove Value from context parameter blocks

In short

Warning: worth checking.

CII-SR-04 warns that an element whose name ends in DocumentContextParameter contains a direct ram:Value 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:Value child. The XPath is not restricted to the document header.

Why it matters

These EN 16931 CII rules do not use ram:Value in context parameter blocks. Removing that child does not require you to remove the block's identifier.

How to fix it

Find the affected element whose name ends in DocumentContextParameter and remove its direct ram:Value child. Leave its ram:ID unchanged. If the XML is embedded in a Factur-X or ZUGFeRD PDF, regenerate the file with the corrected XML 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

Value 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-04 still fails, and which other rules do.

Updated 6 November 2026