What placeholders are available for use in my template?

You are here:

When setting up a template, you can access the Xero placeholder tags by creating a text block or by clicking an existing text field, and clicking on the Merge Tags drop-down that pop-ups as per below screenshot.

NOTE: These placeholders tag also work in the Email subject field. Simply copy and paste the tags into the text field.

Here is the full list of placeholders available to you that you can copy and paste into your template.

Fields you can insert in templateDescription of field
{{AccountNumber}}Pulls the account number set up under each Contact in Xero
{{FirstName}}Pulls the primary person’s first name as setup in Xero
{{LastName}}Pulls the primary person’s last name as setup in Xero
{{TaxNumber}}The Contact’s tax number is pulled as set up in the Contact in Xero
{{AmountDue}}Pulls the total amount payable on that invoice in Xero (takes into account payments already applied against the invoice)
{{AmountPaid}}Pulls the total amount of payments made against that invoice in Xero
{{InvoiceNumber}}The invoice number as assigned in Xero
{{DueDateString}}The invoice due date
{{SubTotal}}Pulls the total before tax of the invoice created in Xero
{{Reference}}Pulls the value in the Reference field as per the setup of the invoice in Xero
{{CurrencyCode}}Pulls the currency of the invoice created in Xero
{{CustomerName}}Pulls the contact name set up in Xero
{{TotalTax}}Pulls the total tax amount on the invoice
{{Total}}Pulls the total invoice amount (not including payments applied to it)
{{Month}}Pulls the month based on the invoice’s date
{{Year}}Pulls the year based on the invoice’s date
{{OnlineInvoiceUrl}}The Xero online URL that let’s customers view invoices online

NB: Your invoice has to be an approved or paid invoice for the link to be visible

Previous How do I create a template?