Code list version in type code · CII-DT-012
- Severity · Error
- Applies to · CII
- Editorial review pending
The rule describes an extra attribute on the invoice type code. In both releases used here, the general TypeCode check takes priority and bypasses this specific check.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Omit the attribute @listVersionID at the reported location in the export. Check whether any needed data belongs in a field intended for it.
- CII · /rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:TypeCode/@listVersionID
Rule text and source
Paraphrase · The CII mapping excludes the attribute @listVersionID from the type code section.
Message to the sender
Hello,
Validation of the invoice XML for {invoiceNumber} returned CII-DT-012. The message concerns code list version in type code. Please correct the export and send me the updated XML file.
Thank you.Example
The invoice type code can retain the correct value 380 without the extra attribute. Omitting it follows the rule as written.
Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17