Skip to main content
POST
Bulk create pay stubs

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
payroll_id
string
required

The payroll to create the pay stubs under.

work_assignments
object
required

The work assignment selection criteria.

work_assignments.include must be either the string "all", or an object containing one or more of ids (string array), payee_type (employee or contractor), pay_schedule_id, archived (boolean), payee_names (string).

work_assignments.exclude (optional) is an object containing one or more of the same keys.

Response

202

Accepted