Payroll runs list

Provides an employer with a listing of their completed (confirmed) payroll runs. For each, they can view more details as well as access payment records (i.e. paystubs) for all workers.

Available as:
Payroll run list experience

Payroll run list experience

Payroll run details view

Payroll run details view

Options

NameTypeDescription
userTokenStringRequired. A User Token with EMPLOYER_ADMIN access role for the specified Employer.
employerIdStringRequired. The id of the Employer.
showPayrollRunReportsBooleanA flag that determines if the Downoad Cash Requirements Report and Download Payroll Journal Report buttons are shown on each payroll run in the payroll run list. If omitted, defaults to true.

Refer to the reference on creating elements for the additional options that are available to all elements.

Embedded usage

Element name: payroll-run-list

Refer to the guide on how to embed an Element with Salsa.js for more detailed instructions.

Example

salsa.elements.create('payroll-run-list', {
  userToken: 'eyJhbGciO...ajs0Wqw', 
  employerId: 'er_e8343fc7-9d63-4cc5-81ed-c573fc666d37'
});