Document version in document context parameters · CII-SR-05
- Severity · Warning
- Applies to · CII
- Editorial review pending
This issue concerns the field for document version in the document context parameters section. The rule checks for the presence of the field regardless of its value.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Confirm the agreed profile. If the export should contain only the EN 16931 core data, omit the element ram:SpecifiedDocumentVersion at the reported location.
- CII · //*[ends-with(name(), 'DocumentContextParameter')]/ram:SpecifiedDocumentVersion
Rule text and source
Paraphrase · The CII mapping excludes the element ram:SpecifiedDocumentVersion from the document context parameters section.
Message to the sender
Hello,
Validation of the invoice XML for {invoiceNumber} returned CII-SR-05. The message concerns document version in document context parameters. Please confirm that the entry matches the agreed invoice profile and send an updated XML file if a correction is needed.
Thank you.Example
A field for document version in the document context parameters section triggers the check. A core-only invoice omits that entry at this location.
Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17