Skip to main content
An Invoice Email template is a saved subject and message for the email that carries an invoice to your customer. You create it under Configuration > Accounting Setup > Custom Templates, then set it as the Default Email Template on the organization, company, or customer whose invoices should use it. DualEntry uses the most specific default every time it emails an invoice. The PDF attached to that email comes from an Invoice PDF template, which How Custom Templates Work explains.

Prerequisites

  • The invoice_template:create and invoice_template:edit permissions to create and edit templates. The Admin, Accounts Receivable, and Controller roles include both by default. See User roles and permissions.
  • The invoice_template:assign permission to set a default email template on a record, and the organization_settings:edit permission as well for the organization level.
  • Any header-level invoice custom fields you want to quote in the email. Active header-level invoice custom fields appear in the variable menu automatically. Line-level custom fields aren’t available as variables.

Create the template

An Invoice Email template holds two parts, a subject and a message, and both can include variables that DualEntry fills from each invoice. To create one:
  1. Navigate to Configuration > Accounting Setup > Custom Templates.
  2. Choose New, then Invoice Email. DualEntry creates the template and opens it in the editor. To start from an existing email template instead, open its row menu and choose Clone. The copy keeps the original’s subject and message.
  3. Rename the template in the editor header. Use a name that says who it’s for, such as Enterprise customers, so it’s easy to pick out when you set defaults later.
  4. In Email subject, enter the subject line.
  5. In Email message, write the body of the email. Use the toolbar to format the text.
  6. Choose Save.
After saving, DualEntry returns you to the Custom Templates list. The new template shows Invoice Email in the Type column and Nothing under Applied for. Next, set it as a default. A template’s type is fixed when you create it, so you can’t turn an Invoice PDF template into an Invoice Email template or back. A new email template starts with an empty subject and message. If you save either one empty, the Email settings drawer shows that part blank, and DualEntry fills it from the company or organization invoice email when it sends, as described in How DualEntry picks the subject and message.

Insert variables

Variables are placeholders that DualEntry replaces with values from the invoice when it sends the email. In Email subject or Email message, type @ and choose a field from the menu, or type the variable in double square brackets, such as [[customer_name]] or [[invoice_number]]. Invoice emails support the customer and company names, the invoice and reference numbers, the revenue contract’s name and reference, and header-level invoice custom fields. For the full list of variables and their @ menu names, see Money-In Email Templates. When an invoice has no value for a variable, for example an invoice with no reference number or one that wasn’t generated from a revenue contract, DualEntry replaces the variable with nothing. Pick custom fields from the @ menu rather than typing them, because the variable uses the field’s internal ID, not its name.

Set a default email template

A default email template tells DualEntry which template to use for a record’s invoices. You set it on the organization, a company, or a customer, the same three levels as an Invoice PDF template. To set one:
  1. Open the record for the level you want:
  2. In Default Email Template, choose the template. To remove an existing default and inherit from the level above, choose Use inherited default.
  3. Save the record.
The default takes effect only when you save the record. On a new company or customer, save the record first, then come back to set its default. After saving, the template’s Applied for column on the Custom Templates list includes the record. A customer can have both a Default Email Template and a Default PDF Template. They’re set separately, so a customer can inherit one and override the other. See How to Apply a Custom Template for the PDF template.

How DualEntry picks the subject and message

DualEntry builds the subject and the message of every invoice email from the most specific source that has text for it. It checks the subject and the message separately, in this order:
  1. The first active Invoice Email template set as a default on the invoice’s customer, then its company, then the organization. An archived template is skipped.
  2. The company’s own invoice email, under Email Template on the company record’s Branding tab.
  3. The organization’s invoice email, under Invoicing on the Money-In tab of Organization Settings. See Money-In Email Templates.
  4. DualEntry’s built-in invoice email.
DualEntry uses only the first default template it finds. If that template’s subject is empty, the subject comes from the company email, the organization email, or the built-in email, not from a template set at a broader level. The same order applies when a recurring invoice emails itself automatically.

Change the email for one send

When you email an invoice from DualEntry, the Email settings drawer opens with the subject and message already filled in from the template DualEntry picked. You can change them for this one email without touching the template or the customer’s default:
  • Use a different template: Choose it in Email template. The subject and message switch to that template’s text.
  • Skip templates: Choose Company / organization default in Email template to use the company or organization invoice email.
  • Edit the text: Change the subject or message directly.
Choosing a template in Email template replaces any edits you’ve already made in the drawer, so pick the template first and edit afterward. Your changes apply only to this email.

Troubleshooting

These are the problems that come up most often when you create or set an invoice email template. The email uses the company or organization wording, not the template. Check the template’s Applied for column on the Custom Templates list. Nothing means it isn’t a default anywhere; set it on a record and save. If it’s applied, confirm the template is active, not archived, and that its subject and message aren’t empty. A customer gets different wording from the rest of the company. The customer has its own Default Email Template, which overrides the company’s. Set it to Use inherited default and save to fall back to the company default. A variable comes out blank. The invoice has no value for that variable. For example, [[contract_name]] is blank on an invoice you created by hand rather than from a revenue contract. The Default Email Template field is disabled. Either the record hasn’t been saved yet, or you don’t have the invoice_template:assign permission. Ask your Admin. You can’t archive the template. A template that’s set as a default on an organization, company, or customer can’t be archived. Remove it from each record listed under Applied for, then archive it.
Last modified on November 25, 2026