Skip to content

Fatal

CII-DT-106: Each embedded attachment needs a file name

In short

Fatal: fails the selected checks.

CII-DT-106 means a document embedded in the invoice (BT-125) has no file name. Fix it by adding the name of the file to the attachment, for example timesheet.pdf.

On this page

What it means

When an attachment is embedded in the invoice itself (BT-125), the element that holds it must have a filename attribute (BT-125-2). The rule only checks that the attribute is there, not what the name is.

Why it matters

The recipient needs the file name to save, list and open the attachment. Without it the file does not meet the format, and the invoice is rejected.

How to fix it

In your invoicing software, open the invoice attachments and check that each file is attached normally, because the software usually takes the name from the file. A gap usually means the file was added by a custom export or a script. If you build the XML yourself, add the filename attribute to the AttachmentBinaryObject element, for example timesheet.pdf. If you do not need the attachment, remove it.

The rule as published

Attached document Filename (BT-125-2) shall be provided.

Business terms: BT-125

Where this rule applies

Rule set Version
EN 16931 (CII) 1.3.17
XRechnung 3.0 (CII) 3.0.2
France CTC (CII) 1.4.0-04
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether CII-DT-106 still fails, and which other rules do.

Updated 6 November 2026