Create the payment file of a locked pay run

Needs permission payment:export.

For a pay run that locked before its pay schedule had payment settings, so no payment file was produced. Once
the settings exist, this builds the file from the payments stored when the pay run locked, with those settings,
without unlocking the pay run. The build runs in the background: status is GENERATING until it ends
GENERATED, PARTIAL_SUCCESS or FAILED, and the outcome is announced as a payment file event with trigger
generate. A pay run that already has a payment file is rebuilt or retried instead.

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

The pay schedule (payroll configuration) the pay run belongs to.

int32
required

The tax year the pay run is in, by the year it starts (2025 is 2025/26).

string
required

How often the pay schedule pays, as it is named on the pay run (for example Weekly or Monthly).

int32
required

The pay period number within the tax year.

Headers
string

Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.

Responses

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