View and update all of a worker's payroll setup information with this experience.
Available as:
This employer facing experience provides an employer user with the ability to view and edit one of their worker's payroll setup data, all from a single profile. The profile is organized such that relevant pieces of information are grouped together into independent sections:
- Benefits - information pertaining to the set up of worker benefits such as retirement, health insurance and other savings plans. Note: the benefits card is only available when enabled for your organization, contact us if you wish to use it.
- Compensations - set up how the worker gets paid on a recurring basis.
- Contracts - details about the worker's employment (e.g. hire date, overtime eligibility, and the worker's classification).
- Pay distributions - specifies how/where the worker chooses to receive their pay (e.g. direct deposit to bank account).
- Personal - details about the worker person (e.g. name, date of birth, home address).
- Taxes setup - information pertaining to tax calculation and filing (e.g. filing status, allowances, withholding amounts). Note: taxes setup is only applicable to some workers, based on their classification, so for others this section is omitted (e.g. Contractor aka "1099" workers in the United States have no taxes setup).
- Time off - Set up which employer time off policies a worker can use and manage that worker's balance for that type of time off. Note: the time off card is only available when enabled for your organization, contact us if you wish to use it.
- Work Locations - specifies which of the employer's work locations the worker works at. Note: the 'default' work location assigned is used during payroll run to calculate taxes.
Embedded usage
Element name: worker-profile
Refer to the guide on how to embed an Element with Salsa.js for more detailed instructions.
Options
Name | Type | Description |
---|---|---|
userToken | String | Required. A User Token with EMPLOYER_ADMIN access role for the Employer that the specified Worker belongs to. |
workerId | String | Required. The id of the Worker. |
includeCards | String[] | An array of the names of the cards which are to be included in the profile. If omitted, all cards will be included by default. Available cards are: benefits , compensations , contracts , pay-distributions , personal , taxes-setup , termination , time-off , work-locations and worker-setup-checklist . |
Refer to the reference on creating elements for the additional options that are available to all elements.
Example
salsa.elements.create('worker-profile', {
userToken: 'eyJhbGciO...ajs0Wqw',
workerId: 'wr_deb6f260-fa58-4aa8-a827-3ae7787f9650'
});