v1
latestOpenAPI 3.1.02026-07-243113441.2 MBPrepare a payroll for update
Prepares an unprocessed payroll for update, including: adding or removing eligible employees from the payroll, and updating check_date, payroll_deadline, and payroll_status_meta dates and times.
Use this endpoint before calling PUT /v1/companies/{company_id}/payrolls/{payroll_id}.
Notes
- Nullifies calculated_at and totals if the payroll was previously calculated
- Returns the version parameter required for updating the payroll
- employees:read scope is required to include employee compensations data in the response.
- Results are paginated, with a maximum page size of 100 employee compensations.
scope: payrolls:write employees:read
Path parameters
The UUID of the company
The UUID of the payroll
Query parameters
The page that is requested. When unspecified, will load all objects unless endpoint forces pagination.
Number of objects per page. For majority of endpoints will default to 25
Sort employee compensations by one or more fields. Options: first_name, last_name. Append :asc or :desc to specify direction (e.g., last_name:asc or last_name:asc,first_name:asc). Defaults to ascending.
Headers
Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Request body
Response
Successful