A payroll template is a document used by the accounting department of a company to prepare the payroll worksheet before releasing salaries to employees.