Generate a payroll journal

Starts generating the payroll journal for one approved payroll as a CSV file.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Starts generating the payroll journal for one approved payroll, as a CSV file. If a journal for the same payroll with the same options is already generating, the response returns that generation instead of starting another one.

The response may already be completed, or it may be generating. Handle both: which one a payroll gets may change over time. While the journal is generating, poll Get a payroll journal with the same options until status is completed or failed. Payroll journals don't send webhooks. To retry a journal that failed, send this request again.

Retries

This endpoint ignores the X-Idempotency-Key header. Retrying while the journal is generating returns that same generation, but retrying after it finished generates the journal again. If you lose a response, call Get a payroll journal with the same options instead of retrying.

Path Params
string
required

ID of the payroll.

Body Params
boolean
Defaults to false

Include taxable wage columns.

boolean
Defaults to false

Include gross taxable wage columns.

boolean
Defaults to false

Include contractor payments.

additional_columns
array of strings

Optional extra columns. Allowed values are employee.id, contractor.id and payroll.id.

additional_columns
string
enum

When set to workplace, groups rows by workplace.

Allowed:
boolean
Defaults to false

Name benefit columns by the benefit type instead of the benefit description.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json