Skip to content

Warning

CII-SR-077: Leave out binary files attached to item attributes

In short

Warning: worth checking.

CII-SR-077 warns that one of your line's item attributes contains ram:ValueSpecifiedBinaryFile. Remove this element. If you keep the attribute, give it a meaningful text value in ram:Value (BT-161); if the buyer needs the file, use a supported document-level attachment instead.

On this page

What it means

Within a line's ram:SpecifiedTradeProduct, this rule checks that no item attribute (BG-32), represented by ram:ApplicableProductCharacteristic, contains a ram:ValueSpecifiedBinaryFile child.

Why it matters

The EN 16931 CII mapping uses text for item attribute values (BT-161), not a binary file in this element. This warning does not establish whether the invoice or any attachment will meet the recipient's requirements.

How to fix it

Remove ram:ValueSpecifiedBinaryFile from the affected ram:ApplicableProductCharacteristic. If you keep the attribute, provide its text value in a single ram:Value element; otherwise remove the whole characteristic. If the buyer needs the file, add it as a document-level attachment that meets the applicable attachment requirements. You can refer to it in the item description (BT-154). Recheck the corrected file.

Once the file is corrected, check it again for free: Validate an invoice against EN 16931

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice

The rule as published

ValueSpecifiedBinaryFile should not be present

Where this rule applies

Rule set Version
EN 16931 (CII) 1.3.17
XRechnung 3.0 (CII) 3.0.2
NLCIUS (CII) 1.0.3.13
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-SR-077 still fails, and which other rules do.

Updated 6 November 2026