> ## Documentation Index
> Fetch the complete documentation index at: https://support.servicem8.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to modify invoice or quote templates

> Learn how to modify invoice or quote templates in ServiceM8.

If you are currently using a ServiceM8 invoice or quote template, you can adjust **fields**, which are dynamic references to information contained within ServiceM8, and formatting as needed. In this article, we will walk you through adding *Amount Paid* and *Amount Due* fields to an existing invoice template by taking the following steps:

1. [Downloading the template for modification](#to-download-a-template-for-modification)
2. [Adding new fields](#to-add-fields-to-a-template)
3. [Adjusting formatting](#adjusting-formatting)
4. [Uploading the modified template back to ServiceM8](#uploading-a-modified-template-to-servicem8)

**TIP:** We recommend that only users who are comfortable using advanced Microsoft Word functionality attempt to modify templates. If you need assistance, one of our [ServiceM8 Partners](https://www.servicem8.com/partner-directory) would be happy to discuss your needs.

## To download a template for modification:

1. From the Online Dashboard, go to **Settings** > **Document Templates** and find the template you'd like to modify. (For more information about choosing a template, go to [Selecting new invoice or quote templates](/help-center/desktop/invoicing/how-to-select-new-invoice-or-quote-templates).)

2. From the Help pane on the right, click **click here** to download the template.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-476-bef118ab-f269-4d61-bd31-9ecee14505c2.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=32c9d39162e26a09a84489365fab0705" alt="downloading a template for modification" width="365" height="315" data-path="images/004-554-476-bef118ab-f269-4d61-bd31-9ecee14505c2.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-478-ae697325-c33d-436a-9faf-6ee7383f6214.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=51c27c0751b970dba4ba5a20f2b184ba" alt="blank" width="481" height="25" data-path="images/004-554-478-ae697325-c33d-436a-9faf-6ee7383f6214.png" />

1. Open the template in Word (if asked, click **Enable Editing**).

[<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-480-medium-7296a9b5-2163-4b4e-84dd-c09cabad3cf6.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=00d5cbae9a9b2d13c1afdcdd5f36ed45" alt="enabling editing in Word" width="855" height="68" data-path="images/004-554-480-medium-7296a9b5-2163-4b4e-84dd-c09cabad3cf6.png" />](/images/004-554-480-7296a9b5-2163-4b4e-84dd-c09cabad3cf6.png)

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-482-2f2fd9ae-9eac-4703-86a3-557e46068c51.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=d5b1182bd816f80a6ce29e1c62775150" alt="blank" width="481" height="25" data-path="images/004-554-482-2f2fd9ae-9eac-4703-86a3-557e46068c51.png" />

1. Go to **Table Tools** > **Layout** and click **View Gridlines**. This lets you see how all template content is structured within hidden tables in Word.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-484-b6dc90f0-1ad3-4d57-8832-0a9fbe7acc93.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=cf0d1c7f72f1f0847bc271794372ea5d" alt="viewing gridlines" width="826" height="795" data-path="images/004-554-484-b6dc90f0-1ad3-4d57-8832-0a9fbe7acc93.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-486-e249718c-6656-4cb0-9189-3463b4aa9897.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=6debd73048c8254c01aad17458d2527c" alt="blank" width="481" height="25" data-path="images/004-554-486-e249718c-6656-4cb0-9189-3463b4aa9897.png" />

In our example, we want to display *Amount Paid* and *Balance Due* lines below the *Total Charge* line. To do so, we'll need to add two new fields in two new rows.

## To add fields to a template:

1. Highlight the row above where you will be adding new fields.
2. Right-click and click **Insert** > **Insert Below**.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-488-a8844663-fd6f-4625-ab5a-f349a8cabe72.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=380443b77397cfcb3724b62ec0a55221" alt="adding rows to a table" width="804" height="228" data-path="images/004-554-488-a8844663-fd6f-4625-ab5a-f349a8cabe72.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-490-3587097c-c840-4582-84e2-a117e281d5f1.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=eb3d48d96c585babca85f9b70fa8e46d" alt="blank" width="481" height="25" data-path="images/004-554-490-3587097c-c840-4582-84e2-a117e281d5f1.png" />

1. Repeat once so that you have two new rows below *Total Charge*.
2. Type in your new field descriptions (*Amount Paid* and *Amount Due*) below *Total Charge*.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-492-ff47ad6a-2f89-426d-8e5c-9f0491988f78.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=3efa01c44852ed86681731932ea91a94" alt="new field descriptions" width="310" height="99" data-path="images/004-554-492-ff47ad6a-2f89-426d-8e5c-9f0491988f78.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-494-fda6632b-319a-4fd6-b55c-f3e1b05971ac.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=a8c51f9b0577db3de3a68ce02db5270a" alt="blank" width="481" height="25" data-path="images/004-554-494-fda6632b-319a-4fd6-b55c-f3e1b05971ac.png" />

**TIP**: At this point, it helps to reference the list of [Available fields for invoice and quote templates](/help-center/advanced-setup/invoice-quote-templates/available-fields-for-invoice-and-quote-templates), which lists all available fields for invoices and quotes and describes what information they reference. Look for the fields described as "Amount Paid by Customer" and "Total price less any amounts paid" and note the associated field names.

1. Insert your cursor in the cell to the right of *Amount Paid* and go to **Insert** > **Quick Parts** > **Field**. (For MacOS users, go to **Insert** > **Field** per the second picture below.) The Field window will open.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-496-9f3f739c-231a-4191-91ab-1d4e409cdebe.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=cef82c5edbc3685482433f988ff05c98" alt="inserting a field" width="826" height="429" data-path="images/004-554-496-9f3f739c-231a-4191-91ab-1d4e409cdebe.png" />

<img src="https://mintcdn.com/servicem8/OBS0POl74Vob7yge/images/004-581-275-e3ebd692-8bae-4b94-82a0-17c9a26f2f9a.png?fit=max&auto=format&n=OBS0POl74Vob7yge&q=85&s=bb3f8c97ed846064df353c4d99c5dfc5" alt="blank" width="481" height="25" data-path="images/004-581-275-e3ebd692-8bae-4b94-82a0-17c9a26f2f9a.png" />

*(Following screenshot applies to MacOS users only)*

<img src="https://mintcdn.com/servicem8/V8wptN_5RIFAwX0r/images/004-573-233-cdcabc9e-fb7e-4935-9eae-2a0445ce5348.png?fit=max&auto=format&n=V8wptN_5RIFAwX0r&q=85&s=fcd015621475580c92903f047b2f7e8d" alt="inserting a field MAC" width="306" height="436" data-path="images/004-573-233-cdcabc9e-fb7e-4935-9eae-2a0445ce5348.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-498-c9cee99c-459a-46ca-b3fc-ecb766bf4492.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=59fa95dc280a7e1d43b2db32c62a7183" alt="blank" width="481" height="25" data-path="images/004-554-498-c9cee99c-459a-46ca-b3fc-ecb766bf4492.png" />

1. Under *Categories*, select **Mail Merge**, then select **MergeField** as the field name.
2. Under *Field properties*, enter **job.amount\_paid** as the field name (or copy and paste it from the [list of available fields](/help-center/advanced-setup/invoice-quote-templates/available-fields-for-invoice-and-quote-templates)). (For MacOS users, enter the field name in the *MergeField* text box per the second picture below.)
3. Click **OK**.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-500-9b5ecd23-e75e-4f8a-8e67-dc2fc29b75f8.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=83c7e4508242b025ff1e828f37bd2293" alt="inserting Amount Paid field" width="689" height="444" data-path="images/004-554-500-9b5ecd23-e75e-4f8a-8e67-dc2fc29b75f8.png" />

<img src="https://mintcdn.com/servicem8/OBS0POl74Vob7yge/images/004-581-277-ad67f21e-fc7f-45cf-aedf-c30526a6782e.png?fit=max&auto=format&n=OBS0POl74Vob7yge&q=85&s=0d351e0ddbfaeb18698d23efc4561411" alt="blank" width="481" height="25" data-path="images/004-581-277-ad67f21e-fc7f-45cf-aedf-c30526a6782e.png" />

*(Following screenshot applies to MacOS users only)*

<img src="https://mintcdn.com/servicem8/V8wptN_5RIFAwX0r/images/004-573-235-2500aa03-5c5d-4dfb-85b0-da110fffc8bc.png?fit=max&auto=format&n=V8wptN_5RIFAwX0r&q=85&s=048dc5a1716d0ef1abde795b27ddb64d" alt="inserting Amount Paid field MAC" width="359" height="418" data-path="images/004-573-235-2500aa03-5c5d-4dfb-85b0-da110fffc8bc.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-502-3138cd4e-3547-473f-8267-8d75d767880c.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=116a1f9775eab5f39b400796e5353091" alt="blank" width="481" height="25" data-path="images/004-554-502-3138cd4e-3547-473f-8267-8d75d767880c.png" />

1. Place your cursor in the cell to the right of *Balance Due* and, using the same process, insert another field. This time, use **job.balance\_due** as the field name in the field properties.

## Adjusting formatting

You should now have two new fields in two new rows in your invoice template. However, adding rows and fields can sometimes impact the appearance of a template. To ensure a professional, consistent presentation, always check formatting and alignment before uploading back to ServiceM8.

In the example below, the two new fields are formatted in a different font than the others. To correct the issue, simply highlight the fields and change the font as needed to match the rest of the invoice.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-504-0e0da533-0f54-4dfa-8a5e-ea386aa65666.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=a137ee3dc5189d1cef24851163bb2a2e" alt="fields with font adjustments" width="588" height="107" data-path="images/004-554-504-0e0da533-0f54-4dfa-8a5e-ea386aa65666.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-506-c8f04f7f-3363-487d-a71a-6c6115f99d88.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=1f50c7945569b86374a8fda7a444262a" alt="blank" width="481" height="25" data-path="images/004-554-506-c8f04f7f-3363-487d-a71a-6c6115f99d88.png" />

Once you're happy with your formatting, save your document. The final step is to upload your saved invoice template back to ServiceM8.

## Uploading a modified template to ServiceM8

1. From your ServiceM8 Online Dashboard, go back to **Settings** > **Document Templates.**
2. From the Template pane on the left, select the type of document you are uploading (**Invoice** or **Quote**).

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-508-320bdc43-0e48-459f-91f5-02067a704107.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=98d998c79d06889725dd41dca7d0575d" alt="selecting invoice or quote templates" width="246" height="113" data-path="images/004-554-508-320bdc43-0e48-459f-91f5-02067a704107.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-509-7e4b0a82-947c-4924-92d6-ad4234eecf94.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=72cb7f7faa5e9947d356a84aca4e1340" alt="blank" width="481" height="25" data-path="images/004-554-509-7e4b0a82-947c-4924-92d6-ad4234eecf94.png" />

1. From the Help pane on the right, click **Upload Custom Invoice Template**.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-511-4e4c149e-ca79-493d-8a0f-95b5e28bd0ea.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=12a20432fa3339e5ae5ed4f86886a303" alt="uploading custom invoice template" width="242" height="307" data-path="images/004-554-511-4e4c149e-ca79-493d-8a0f-95b5e28bd0ea.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-513-3708a4e9-f663-4679-89b0-f52ff0a26c39.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=73a1cd1bb4f4ab73e3dd8549b994720a" alt="blank" width="481" height="25" data-path="images/004-554-513-3708a4e9-f663-4679-89b0-f52ff0a26c39.png" />

1. Click **Select** and find your saved template.
2. Click **Attach**.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-515-6e69548f-502d-40b4-9881-0eff0d2d2bf4.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=c3d647fd0f663e1983d9e65e3ff40f16" alt="uploading a custom invoice" width="349" height="126" data-path="images/004-554-515-6e69548f-502d-40b4-9881-0eff0d2d2bf4.png" />

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-517-123f5b9f-202c-47c7-a672-a33472a40c41.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=a094e4b5ef38129a596a192990b2f9b3" alt="blank" width="481" height="25" data-path="images/004-554-517-123f5b9f-202c-47c7-a672-a33472a40c41.png" />

The modified template, containing both *Amount Paid* and *Balance Due* amounts, is now the current invoice template.

<img src="https://mintcdn.com/servicem8/xgODlW0gJJ2nmyKL/images/004-554-519-b5d43a26-defe-44f0-8ec0-13ee12b83b1b.png?fit=max&auto=format&n=xgODlW0gJJ2nmyKL&q=85&s=bb4deeac8c4c923f54985783a0a69cb6" alt="modified invoice" width="408" height="598" data-path="images/004-554-519-b5d43a26-defe-44f0-8ec0-13ee12b83b1b.png" />
