How to Edit an Invoice PDF Template
Customize invoice appearance
Upmind automatically generates an invoice for every order entered into the system. You can view a digital version on-screen and access a PDF version designed for printing or sharing. The PDF layout differs slightly and is based on default template settings, which you can customise.
This guide explains how to customize your invoice template to suit your needs.
Recent UpdatesOn February 10, 2025, Invoice Templates were updated. Users who had not customized their default template were automatically upgraded to the new version.
Opening a default PDF invoice
- Log in to your Upmind dashboard.
- Click Orders in the side menu.
- Select an order, then click Go to order.
- Click View invoice and then Go to invoice.

View invoice
- Download the PDF version to review the current layout.

Download PDF
Open the document to see the PDF invoice, which closely resembles the on-screen digital version but with minor layout and content differences.
For example, the email address appears above the mailing address, and the business phone number is omitted.

Downloaded invoice
Accessing and editing the invoice template
- Go to
Settings
from the dashboard. - Click the Invoice template tile under Ecommerce Settings.
- Use the HTML editor to customize the template code.

Invoice template
Two tabs, Brand and Invoice, appear at the bottom for easy access to code snippets. Copy snippets by clicking their label and paste them where needed in the template.

Brand and invoice
Restoring default settings
- Click Restore default in the editor to revert to the original template. This is displayed after making any changes to the Invoice Template settings
- Click Save to apply changes.

Restore default
Editing the invoice template code
You have two options when editing the invoice code:
- Move or delete existing lines within the editor.
- Add content:
- Click a menu tag from the HTML body.
- Find the desired code snippet.
- Click the snippet label to copy it to the clipboard.
- Paste the snippet into the desired spot in the code.
- Click Save.
Example: The email address is moved below the company address, and the business phone number is inserted beneath the email address.

Edit template
To test the changes, open an order and regenerate the invoice. The screenshot below shows the updated template with the business phone number placed under the email address.

Updated invoice
Example case: Adjusting the date format
You can customize the date format in your invoice template using the code:
format_datetime(pattern='MM/dd/yyyy')
- MMM represents the month.
- d represents the day.
- y represents the year.
Rearrange the pattern to match your preferred format:
- Use MMM/d/y for month-first formats (e.g., 01/23/2025).
- Use d/MMM/y for day-first formats (e.g., 23/01/2025).

Updated invoice date
Display invoice status on PDF
To show the invoice status on the PDF:
- Go to Settings > Ecommerce Settings > Order Options > Misc section.
- Enable Show Invoice Status on PDF.

Show invoice status on PDF
- Next, add the following code to line 174 of the invoice template if using the default template:
{{invoice.display_status}}

Display invoice status
The invoice will then display the status as shown below.

Invoice status
Updated 18 days ago