In this guide
- How to set up a company’s payroll settings
- How to get the upcoming date of the next regular payroll run according to company payroll settings
- Create employee checks with given information
Set up Company Payroll Settings
Call Update Company Information with thepayroll_firstCheckDate, payroll_schedule, and payroll_firstPayPeriodID. This will return with the company object.
(Optional) Set up Employee with Regular payroll settings
This is optional because these settings are used in the Zeal UI when generating payroll runs. If you use the API to create employee checks, you do not need these fields. Set the following fields on an Employee:- Set
is_salary=true - Set
salaryfield on the Employee- Reminder: the
salaryfield is required IFis_salary=true
- Reminder: the
is_regular = true if you’d like this worker to show up automatically in your on-cycle payroll runs in the Zeal UI as well.
Get upcoming Regular Payroll Run date
At any time, you can call the “Get Upcoming Regular Payroll” endpoint to get the upcoming “regularly” scheduled check date and associated reporting period information.Create Employee Checks
You can now call the Create Employee Check endpoint, with the check date and reporting period information from the previous endpoint (see here for more details on how to create an Employee Check). Include a flat earning component with the appropriatehours and amount.
check_date.