File name in embedded file · required · CII-DT-106
- Severity · Error
- Applies to · CII
- Editorial review pending
This issue concerns the file name in the embedded file section. The check requires the attribute at this location. This rule is part of the standalone EN 16931 1.3.17 checks.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Add the attribute @filename using the file’s actual value.
- CII · /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@filename
Rule text and source
Paraphrase · The attribute @filename must be present in the embedded file section.
Message to the sender
Hello,
Validation of the invoice XML for {invoiceNumber} returned CII-DT-106. The message concerns file name in embedded file · required. Please correct the export and send me the updated XML file.
Thank you.Example
The embedded file has no attribute @filename. The corrected entry carries the value that matches the file.
CII
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@filename
Fails the rule
<ram:AttachmentBinaryObject mimeCode="text/csv">YQ0KYg0K</ram:AttachmentBinaryObject>
Corrected
<ram:AttachmentBinaryObject mimeCode="text/csv" filename="details.csv">YQ0KYg0K</ram:AttachmentBinaryObject>Related rules
Business terms
Rule versions
CEN · EN 16931 1.3.17