Skip to content

Fatal

DE-R-022: Attached documents need unique file names

In short

Fatal: fails the selected checks.

DE-R-022 means two or more attachments on the invoice have the same file name, which is not allowed when the seller and the buyer are both in Germany. Fix it by giving every attachment its own file name.

On this page

What it means

When the seller and the buyer are both in Germany, every document attached to the invoice (BG-24) must have a unique file name in the attached document (BT-125). The official text says capitals do not count, so Timesheet.pdf and timesheet.PDF are the same name. The test compares the names of attachments embedded in the invoice file. Links to documents elsewhere have no file name here.

Why it matters

The recipient's software unpacks the attachments by name. Two with the same name can overwrite each other, so one document is lost or the wrong one is shown. The invoice is rejected.

How to fix it

Open the attachments on the invoice in your invoicing software and rename the duplicates, for example timesheet-march.pdf and timesheet-april.pdf. If the same document was attached twice by mistake, remove one copy. When you compare names, ignore capitals.

The rule as published

Read the rule on the publisher's site

Business terms: BG-24, BT-125

Where this rule applies

Rule set Version
Peppol BIS Billing 3.0 (invoice) 2026.5
Peppol BIS Billing 3.0 (credit note) 2026.5
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether DE-R-022 still fails, and which other rules do.

Updated 6 November 2026