InvoiceGlass

Attached file in document references · CII-DT-030

  • Severity · Error
  • Applies to · CII
  • Editorial review pending

This issue concerns the field for attached file in the document references 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

  1. Omit the element ram:AttachedSpecifiedBinaryFile at the reported location in the export. Check whether any needed data belongs in a field intended for it.
  2. CII · //ram:*[ends-with(name(), 'ReferencedDocument')]/ram:AttachedSpecifiedBinaryFile

Rule text and source

Paraphrase · The CII mapping excludes the element ram:AttachedSpecifiedBinaryFile from the document references section.

Message to the sender

Hello,

Validation of the invoice XML for {invoiceNumber} returned CII-DT-030. The message concerns attached file in document references. Please correct the export and send me the updated XML file.

Thank you.

Example

A field for attached file in the document references 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

Validate a file