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
- 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.
- 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.
- 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).
- 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)
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
eu_einvoice, not only inpdf_on_submit.Supporting documentation
OZG-RE: Size limits
Content integrity
X-Rechnung: Chapter 8.2 Binary Object and 11.2 Additional Supporting Documents
(LMK-16)