Embedded files per supporting document · CII-SR-476
- Severity · Warning
- Applies to · CII
- Editorial review pending
EN 16931 1.3.17: This issue concerns embedded files per supporting document. The AttachmentBinaryObject element may occur at most once in each supporting document reference with type code 916. EN 16931 1.3.16: This issue concerns embedded files per supporting document. The AttachmentBinaryObject element may occur at most once across all supporting document references with type code 916 combined.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- EN 16931 1.3.17: Give each distinct supporting document its own reference and use the field at most once per reference.
- EN 16931 1.3.16: Check how the entries are mapped to the documents. XRechnung reports the older combined count as information. Preserve valid data for distinct supporting documents.
- EN 16931 1.3.17 · CII · /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument[normalize-space(ram:TypeCode) = "916"]/ram:AttachmentBinaryObject
- EN 16931 1.3.16 · CII · /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument[normalize-space(ram:TypeCode) = "916"]/ram:AttachmentBinaryObject
Rule text and source
Paraphrase · EN 16931 1.3.17: The AttachmentBinaryObject element may occur at most once in each supporting document reference with type code 916. EN 16931 1.3.16: The AttachmentBinaryObject element may occur at most once across all supporting document references with type code 916 combined.
Message to the sender
Hello,
Validation of the invoice XML for {invoiceNumber} returned CII-SR-476. The message concerns embedded files per supporting document. Please confirm that the entry matches the agreed invoice profile and send an updated XML file if a correction is needed.
Thank you.Example
EN 16931 1.3.17: Triggers the rule: One type-916 document reference contains two entries for embedded file. After correction: Two distinct supporting documents use two separate references with one entry each. EN 16931 1.3.16: Triggers the rule: Two type-916 document references have one entry each for embedded file. The older check flags those separate entries. After correction: One matching entry passes the older count check.
Related rules
Business terms
Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17