Embedded file · CII-DT-022
- Severity · Error
- Applies to · CII
- Editorial review pending
This issue concerns embedded file. The ram:AttachmentBinaryObject element is permitted only in an additional document reference for a supporting document with code 916.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Map the field to the additional reference for a supporting document if that matches its purpose. Omit it at the reported location.
- CII · //ram:*[ends-with(name(), 'ReferencedDocument')]/ram:AttachmentBinaryObject
Rule text and source
Paraphrase · The ram:AttachmentBinaryObject element is permitted only in an additional document reference for a supporting document with code 916.
Message to the sender
Hello,
Validation of the invoice XML for {invoiceNumber} returned CII-DT-022. The message concerns embedded file. Please correct the export and send me the updated XML file.
Thank you.Example
Triggers the rule: The delivery note reference contains the embedded file field. After correction: The field appears in the appropriate additional reference with code 916.
Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17