PDF/A error: embedded files are not allowed in PDF/A-1

PDF/A-1 forbids file attachments. Which parts allow them, and what to do.

PDF/A-1 doesn't allow embedded files, because an attachment in any format may not be readable later. Remove it, or target PDF/A-3, which allows attachments.

ISO 19005-1 clause 6.1 · File structure

What causes it

  • A file was attached on purpose: source data, a spreadsheet, an XML invoice.
  • An e-invoicing workflow produced a hybrid invoice, which needs PDF/A-3.
  • An attachment came along from a merged source document.

How to fix it

  1. Remove the attachment and archive it next to the PDF.
  2. Target PDF/A-3. gopdfrab doesn't support it yet.
  3. Convert to PDF/A-1b only if losing the attachment is fine.

Or drop the file into the converter, which fixes what it can in your browser.

FAQ

Doesn't PDF/A-2 allow embedded files?

Only other PDF/A files. PDF/A-3 allows any format.

What do I target for ZUGFeRD or Factur-X?

PDF/A-3. See the e-invoicing guide.

Related

← All PDF/A errors