Creates a Employee Payroll Run object with the given values.
Workday
When the underlying HRIS is Workday, an earning can be created using a payload like:
Similarly, a deduction can be created using a payload like:
earnings or deductions at a time - you cannot add both simultaneously.earning or deduction at a time, no more than that.payroll_run field must be set to null for Workday integration.The possible types for earnings are:
The possible types for deductions are:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The employee whose payroll is being run.
"018b168d-70f9-7043-a796-56d66a4f8f07"
The payroll being run.
"018b709e-b6ef-7db4-902a-a064157bdba2"
The payroll process name to be displayed.
"Hours, Earning Codes"
Id of Employee's Paystatement Type
53123324
Employee's Payroll File Number for which earnings are made
"000099"
The payroll group code the employee belongs to.
"9YT"
The total earnings throughout a given period for an employee before any deductions are made.
772277.77
The take-home pay throughout a given period for an employee after deductions are made.
577221.27
The day and time the benefit started.
"2023-07-01T00:00:00Z"
The day and time the benefit ended.
"2023-07-31T00:00:00Z"
The day and time the payroll run was checked.
"2023-08-31T00:00:00Z"
The earnings of the Employee
[{ "amount": "27151", "name": "SALARY" }]The deductions of the Employee
[
{
"company_deduction": "77.57",
"employee_deduction": "27.22",
"name": "Social Security"
}
]The taxes of the Employee
[
{
"amount": "175.22",
"name": "California State Income Tax"
}
]Successful Response