Back to the error catalogue
BR-DE-22BT-125
input
Two attachments carry the same file name
The `filename` attribute of every embedded attachment must be unique within the document.
Only the issuer holds this value: Factlint reports it and never fabricates it. Test your invoice to find out whether it is affected.
Why this error happens
A recipient extracts the attachments into a single folder: two files called `annex.pdf` and one silently overwrites the other. The duplicate almost always comes from a loop naming each attachment after its type rather than after its content.
How to fix it
Name the attachments distinctly at generation time. Factlint does not rename: any suffix it picked would be arbitrary, and an attachment's name is often what the recipient files it under.