Each time an order from your shop is validated, an invoice is sent out to the customer. You can download the invoices for a single order from the order's page. The "Invoices" page under the "Orders" menu enables you to download a selection of invoices from past orders in PDF format, all at the same time (in the same PDF file).
You can get a PDF of several invoices depending on two main criteria:
- By date. Very useful when you need to print all invoices for a given month or a given quarter. Select the start and end date, and click on the "Generate PDF file by date" button in the top bar.
- By order status. A must-have when you need to print precisely which orders are canceled, refunded or on backorder. PrestaShop helpfully indicates the number of invoices tied to each status in parentheses.
In both cases, the invoices are generated into a single PDF file, each with their own pages. You cannot get a single PDF file for each invoice of the given period or statuses using this page.
If you want to customize the look of your store's invoices, you must change its template files.
PDF template files are located in the
invoice.tpl file and edit it to your likings: it is an HTML file with Smarty tags.
You can choose whether or not invoices should available to your customers as soon as the order is made, as well as the Invoice Prefix and the invoice number you want listed on the printed version of the invoice. This feature can help you simplify the management of your account.
- Enable invoices. When disabled, your customer will not receive an invoice after their purchase. You will be responsible for handling the invoices, if your customers ask for one.
- Invoice prefix. Be default, PrestaShop has language-adapted invoice prefixes: "IN" in English, "FA" in French (for "facture"), "CU" in Spanish (for "cuenta"), etc. You could choose to have language codes instead: "EN", "FR", "SP", etc. Of course, you can also choose to have a single prefix for every language, or to not have a prefix at all.
PrestaShop will then generate the invoices number according to you settings: "#IN000001", "#FR000002", etc.
- Invoice number. If your business has already had orders and invoices before you started using PrestaShop, you can use this option to start your invoice number from a higher number.
- Footer text. You can use to have a custom text at the bottom of all your invoices. The text will appear below the name of your shop in the invoice.
- Invoice model. Depending on your themes, you might be able to use more than one style of invoice. Test them with a fake order, in order to choose the one you prefer. If you know how to code in HTML, you can add your own invoice models or edit the existing ones: they are located in the
/pdf/folder of your PrestaShop installation.
- Use disk as cache for PDF invoices. You can choose to store generated invoices on PrestaShop's server disk rather than in its server cache. While it saves on memory usage, it slows down the PDF generation itself, so use it knowingly.
Do not forget to save your changes.
When your customers ask for their invoices, you can redirect them to the "Order History" section of their user accounts, which keeps all of their invoices available for them.