ⓘ This article is for small businesses who use Xero
-
Use an advanced invoice template to make changes to how your invoices, quotes, credit notes, customer statements, and purchase orders look.
-
You can add, edit or delete fields or add static text to advanced invoice templates.
ⓘ Tip
About advanced invoice templates
In Xero, our advanced invoice templates are called custom DOCX templates. They’re edited outside of Xero using Microsoft Word, then uploaded back into Xero and applied to invoices or other documents.
Advanced invoice templates are used to customise how your invoices, quotes, customer credit notes, customer statements, and purchase orders display. They can’t be used for receipts or remittance advice. You can add up to 15 DOCX templates.
You can insert new fields into a template, and edit or delete existing fields. You can also add static text that won't change from transaction to transaction, like terms and conditions.
ⓘ Tip
Using advanced invoice templates
If you have an existing advanced invoice template, you can download the template file that's stored on Xero to make changes. Or to create a new advanced invoice template you need to:
- Add a new advanced invoice theme by creating a DOCX branding theme.
- Download the ZIP file and open the saved template you want to customise.
- Insert, edit or delete fields, and make other changes to customise the template.
- Upload the DOCX template to Xero.
Requirements for using DOCX templates
- You must use Microsoft Word 2007 or later because earlier versions don't support the DOCX file format.
- Customised templates must contain the required TableStart and TableEnd fields.
- Make sure you insert, move, and delete fields and static text correctly. Otherwise, your invoices or other transactions won’t display correctly.
- Your custom template must have a file size of 1MB or smaller.
- Certain files can't be converted into a PDF. You shouldn't use: WordArt, ClipArt, animated GIFs, interlaced PNGs, or embedded files like Excel or Powerpoint in your templates.
Add an advanced invoice template
To set up an advanced invoice template, you need to add a new DOCX template:
- Click the organisation name, select Settings, then click Invoice settings.
-
Click the New Branding Theme arrow and select Custom .docx.
- Enter a name for your template and click OK.
-
Next to your new template, click Download to download a ZIP file of templates.
-
In Microsoft Word, open the saved template you want to customize.
Insert additional fields
If a default template doesn't include all the information you need to show, you can insert additional fields to your template. See a list of the available fields to help decide which ones to add to your template.
Microsoft Word for Windows
- On your template, click where you want to insert the field.
- Click the Insert tab.
- In the Text group, select Explore Quick Parts, then select Field.
- In Field names, select MergeField.
- In the Field name section, enter the name of the field.
- Click OK.
Microsoft Word for Mac
-
On your template, click where you want to insert the field.
-
In the Insert tab, click the field icon.
-
In Categories, select Mail Merge.
-
In the Field names section, select MergeField.
-
In the MergeField text box, enter the name of the field.
-
Click OK.
Edit a field
You can change the fields displayed on your invoices. Choose an available field to add to your template to pull through the right information. Don’t type over the field name in your template, as the background code won’t change. Instead, select and edit the field.
Microsoft Word for Windows
- Right-click the field you want to edit.
- Select Edit Field.
- In the Field name text box, update the field name.
- Click OK.
Microsoft Word for Mac
- Right-click the field you want to edit.
- Select Toggle Field Codes.
- In the expanded field, update the field name.
- Right-click the updated field and select Update Field.
ⓘ Tip
Delete a field
Fields should only be deleted according to the instructions below. Using other methods, like the space bar, might cause fields to remain in the field code view.
When deleting fields, be careful not to remove the default TableStart and TableEnd fields. If these fields are missing, your invoices won’t display correctly.
- In your template, click on the field you want to delete to highlight it.
- Press Delete or Backspace on your keyboard.
- In the field code view, confirm that the field is deleted correctly.
- If you’re using Windows, press Alt + F9 on your keyboard.
- If you use a Mac, go to Preferences and click into Authoring and Proofing Tools. Here, select View and click Field Code.
- If the field is visible in the field code view, delete the field using Delete or Backspace on your keyboard.
- Exit the field code view.
Insert static text
If you want to include text that won’t change, add it as static text to your template. You can add information like new headings, bank account details, terms and conditions, or your address details.
When you add static text, add it to a table to make sure the text isn’t hidden on the PDF copy of your transaction.
- On your template, select where you'd like to add static text.
- In the Insert tab, click Table and select Insert Table.
- Choose the number of columns and rows you'd like to add for your static text, then click OK.
- Add the static text to your table.
You can align the text in the table by clicking on the table, then under Table Tools clicking Layout and selecting View Gridlines.
Alternatively, if you typed the text directly into your template, you might need to adjust the pagination setting for the text.
- On your template, highlight the static text.
- Right-click it and select Paragraph.
- Click the Line and Page Breaks tab.
- Under Pagination, select the Keep lines together checkbox.
- Click OK.
Insert a currency symbol into a template
You can add a specific currency symbol to your transactions.
- In the «InvoiceCurrency» field, right-click and select Toggle Field Codes.
- Highlight all of the code that appears, including brackets, and delete it.
- Enter the currency symbol ($, £ etc) where you want it to appear on the invoice. This might be in multiple places, such as next to each amount.
- Save your changes.
Upload your advanced invoice template to Xero
Once you've made your changes to the Word document and saved them, upload the document to Xero so it can be applied to invoices and other documents.
-
In Xero, go back to the DOCX template you added in Invoice settings and click Upload.
-
Under the template type, click Browse and select the customised DOCX template you want to upload, then click Open.
-
Click Upload to confirm.
Preview your advanced invoice template
-
Create an invoice and enter the relevant details.
-
Under Branding theme select the name of the advanced invoice template.
-
To preview the invoice with the applied template:
-
In new invoicing, click the menu icon , then select Print PDF. The PDF document will open in a separate browser tab where you can view it.
-
In classic invoicing, click Print PDF. The PDF document will download to your device, where you can then open and view it.
-
⚠ Warning