Skip to content

Feature Request: Allow selectable attachements to PDF #76

Description

@0xD0M1M0

Summary

Enhance PDF on Submit so invoice PDFs can include multiple user-selected attachment files, remain compatible with the e-invoicing standard, let users see the full invoice in Draft (Print Preview / same content as final PDF where the print format allows), and show selected attachments in the printed/PDF output (e.g. annex list).

Context

Today, PDFs are generated on submit; Sales Invoice can embed XML via optional eu_einvoice.

Requirements

  1. Attachments: Users can pick several existing files to ship with the invoice PDF as attachements to the PDF. If installed, the e-invoice XML with the same attachements) should be attached as well.
  2. E-invoicing: Output must match the agreed standard (EN 16931 / XRechnung / ZUGFeRD, etc.); norm validation likely lives in eu_einvoice, not only in pdf_on_submit.
  3. Draft preview: View the complete invoice before submit (reuse standard Print/Preview with the same print format, and/or a “Preview like after submit” action).
  4. Print: Print format should list chosen attachments (and embed them in PDF only if merge/embedding is in scope).

Supporting documentation

OZG-RE: Size limits
Content integrity
X-Rechnung: Chapter 8.2 Binary Object and 11.2 Additional Supporting Documents

(LMK-16)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions