Klarfile

KF-PDF-NOM: The attachment does not have the expected name

This code shows up when an electronic invoice is validated. Here is what it means, why it fires, and what to change in the file.

Why this code appears

The XML is there, but under a name the standard does not foresee. That name is how the recipient finds the invoice among the document's attachments: a perfect XML filed as my-invoice.xml will not be read.

How to fix it

Name the attachment factur-x.xml (Factur-X 1.0 and later) or zugferd-invoice.xml (ZUGFeRD 2.x). Case matters.

Where it happens

This check is ours, not a code from the standard: we do not cover enough of EN 16931 to borrow its numbers, and a misattributed official code would send you to fix the wrong field. It concerns PDF.

Check my invoice All rejection codes