Print and email templates
Upload Word and Excel templates for payslips and payroll sheets, use placeholders, and set up the email that goes out with payslips.
Want payslips and payroll sheets that look like your company's own documents? Each policy can hold its own Word and Excel templates, plus the email that goes out with payslips. This article shows you how to set both up and which placeholders you can use.
Before you start
You need to be an owner of the policy or a payroll admin to upload templates or change the email. Anyone who can view the policy can see them.
Prepare your template in Word (.docx) or Excel (.xlsx), with placeholders in curly braces where the data should go, such as
{employee_name}.
Upload a print template
Open the policy's settings and go to the Print Templates tab.
[IMAGE: people-ops/payroll/images/payroll-print-email-templates-01.png | The Print Templates tab of a policy with the Payslip, Payroll Sheet .docx and Payroll Sheet .xlsx sub-tabs, the upload area, the uploaded file list and the variable list marked]
Pick the kind of template you're adding:
Payslip (.docx): one document per employee.
Payroll Sheet (.docx): a Word summary of the whole payroll, such as a sign-off sheet.
Payroll Sheet (.xlsx): an Excel sheet with one row per employee.
Upload the file. It's saved straight away and appears in the list with its name and size.
To replace a template, upload the new one and remove the old one from the list.
The tab only stores your templates. You choose a template and print (as Word or PDF) from the payroll itself.
Placeholders you can use
Each sub-tab lists the placeholders that work for that kind of template.
| Placeholder | What it shows | Works in |
|---|---|---|
{company_name} | Your company name | Payslip |
{employee_name} | The employee's full name | Payslip |
{payroll_cycle}, {payroll_cycle_start_date}, {payroll_cycle_end_date} | The pay period and its dates | Payslip |
{time_now} | The current date and time | Payslip |
{columns.id} | The value of a column, using its code in place of id | Payslip |
{payroll_name}, {num_employees} | The payroll's name and headcount | Payroll Sheet (.docx) |
{sum_id} | The total of a column | Both payroll sheets |
{column.id#i} | A column's value on each row | Both payroll sheets |
{approver_name_n}, {approver_action_n} | The nth approver and what they did | Payroll Sheet (.docx) |
{column_area}, {column_area_total_employees} | Area name and headcount, for sheets grouped by area | Payroll Sheet (.xlsx) |
There are also Vietnamese in words versions for Word payroll sheets, such as {num_employees_text}, {sum_text_id} and {column.text.id#i}.
Set up the payslip email
Open the policy's Email Template tab.
[IMAGE: people-ops/payroll/images/payroll-print-email-templates-02.png | The Email Template tab of a policy with Subject, Introduction, Content, Footer Message, Available variables and the Save Email Template button marked]
Fill in the four parts of the email:
Subject (up to 255 characters)
Introduction: the opening line
Content: the main message
Footer Message: the closing line
Add variables where you like. Open Available variables to see them:
{employee_name},{payroll_cycle},{company_name},{payroll_cycle_start_date},{payroll_cycle_end_date}and{time_now}.Click Save Email Template.
Example subject: Your payslip for {payroll_cycle} is ready 📬
Which address the email goes to (work or personal) is set for the whole workspace in Settings → Payslip Email.
Tips
Test a new template on one payroll before you rely on it. If a placeholder prints blank, check the spelling and the column code.
Cells with a calculation error print as blank, so review the payroll grid before printing.
Duplicating a policy copies its print and email templates too.