PrestaShop Accounting & Invoicing

Customize PrestaShop PDF Invoices for PrestaShop 8 & 9 Without Editing TPL Files

Your PDF invoice, your way, set from the back office.

Changing the PrestaShop invoice today means opening invoice.tpl, header.tpl and their sub-files, copying them into the theme, fixing TCPDF's HTML blindly and starting again after every update. Adding a VAT exemption note only for EU customers with a VAT number also means coding a condition. This module replaces all of that with an editor in the back office: logo, colors, product line columns, custom fields, legal mentions by country, due date, bank details with a SEPA QR code. The preview opens a real invoice of your shop with the settings on screen, even before you save. The .tpl files stay untouched and the native invoice comes back with one switch.

At a glance
  • Logo, colors, font and header set without opening a single .tpl file
  • 12 product line columns to tick, reorder and size, titles per language
  • Custom fields and legal mentions printed by country, VAT number and tax
  • Due date, amount due, bank details and a SEPA QR code with the amount due
  • Live preview on a real invoice, even before saving, and matching delivery slips
PrestaShop 8 & 9 No override, no TPL SEPA QR code 8 languages
  • 30-day refund
  • 12 months updates
  • 24h support
www.datafirefly.com/en/
Customize PrestaShop PDF Invoices for PrestaShop 8 & 9 Without Editing TPL Files
v1.0.0 · updated 2026-09-23
What it does

The short version.

01

No template file edited

The module hooks into displayPDFInvoice, which PrestaShop calls before generating each invoice, and replaces the rendering of the header, body and footer with its own. invoice.tpl, header.tpl and footer.tpl stay untouched and no override is installed. If a setting causes a problem, the native invoice is printed and the error is written to the logs.

02

A preview on a real invoice

Pick a recent invoice of your shop and click Preview: the PDF opens with the settings on screen, even unsaved. The Compare button opens the same invoice in the original PrestaShop layout.

03

Readable product lines

Image, reference, name, EAN-13, supplier reference, unit price excl. or incl. tax, discount, tax rate, quantity, total excl. or incl. tax: tick the columns, set their order, width and alignment. Combinations move to a second line, customer customizations appear under the name and column titles repeat on every page.

04

Mentions based on the customer's country

Each legal mention or custom field can be limited to a destination (shop country, EU, EU except shop country, outside the EU, chosen countries), a customer type (with or without VAT number, company or individual) and an invoice with or without tax. The intra-Community exemption note is only printed where it applies.

05

Due date, amount due and SEPA QR code

Payment terms in days print the due date. A partly paid invoice shows the amount already paid and the amount due, a fully paid invoice can carry a Paid stamp. The bank block shows a checked IBAN and BIC, with an EPC QR code the customer's banking app reads to prefill the transfer.

06

Matching delivery slips

One switch applies the same logo, colors, addresses and product lines to delivery slips, without any price. Each custom field can be set for invoices, delivery slips or both.

The long version

Everything you'd want to know before you install.

A detailed look at how Customize PrestaShop PDF Invoices for PrestaShop 8 & 9 Without Editing TPL Files works, why we built it the way we did, and the thinking behind the features above.

§ 01

Why the PrestaShop invoice is so hard to change

The PrestaShop PDF invoice is built from about ten Smarty files (header, addresses, product lines, tax, payments, footer) and then converted by TCPDF, which only understands part of HTML and CSS. Every change is made in those files, checked by generating an invoice, and must be carried over when the theme or PrestaShop is updated. Adding a note that depends on the customer's country means writing the condition in Smarty. Many shops therefore keep the original invoice, with a badly sized logo and useless columns.

§ 02

An editor instead of .tpl files

The module adds the Orders > Invoice editor page. Each area of the invoice has its own section: header and logo, addresses and summary, product lines, totals, payment and due date, custom fields, legal mentions, footer, wording. A sketch of the A4 page highlights the area being set. Everything is rendered in the format TCPDF understands, which avoids overflowing columns and broken tables.

§ 03

The right mentions for each customer

An invoice to a German business customer with a VAT number must state the intra-Community exemption and the customer's VAT number. An invoice to Switzerland must mention the export outside the EU. An invoice to a French company must state the late payment penalties and the fixed 40 EUR recovery fee. Each rule carries its conditions and is only printed on the invoices concerned. The three example rules ship inactive: have your accountant check the wording before enabling them.

§ 04

Get paid faster by bank transfer

For customers paying by bank transfer, the invoice shows the due date, the bank details and a reference to use in the transfer. The SEPA QR code holds the IBAN, the BIC, the amount still due and that reference: the customer scans it with their banking app and the transfer is prefilled, without typing errors. On a partly paid invoice, only the remaining amount is requested.

§ 05

Test without risk

The preview generates the PDF of a real invoice of your shop with the settings on screen, without saving them. The Compare button opens the same invoice in the PrestaShop layout. The main switch hands back to the native invoice without deleting anything, and the JSON export lets you prepare the settings on a test shop before importing them into production.