Skip to content

Error

FX-SCH-A-001018: A line document reference can embed at most one attachment

In short

Error: fails the selected checks.

FX-SCH-A-001018 means one additional document reference on your invoice line contains multiple ram:AttachmentBinaryObject elements. Keep no more than one embedded attachment in that reference.

On this page

What it means

This rule counts ram:AttachmentBinaryObject children of each ram:AdditionalReferencedDocument under a line's ram:SpecifiedLineTradeAgreement. Zero or one passes. The limit applies separately to each document reference.

Why it matters

The Extended profile provides a single optional embedded attachment element within each additional document reference.

How to fix it

Find the affected reference and remove duplicate attachment elements. If you need separate references for additional files, include the required ram:IssuerAssignedID and ram:TypeCode in each new reference and keep at most one ram:AttachmentBinaryObject in each. Export and recheck.

Once the file is corrected, check it again for free: Validate a ZUGFeRD invoice

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

The rule as published

Element 'ram:AttachmentBinaryObject' may occur at maximum 1 times.

Where this rule applies

Rule set Version
Factur-X 1.09 EXTENDED 1.0.9-2
ZUGFeRD 2.5 EXTENDED 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-001018 still fails, and which other rules do.

Updated 6 November 2026