Skip to main content
POST
Create the payment file of a locked pay run that has none

Authorizations

X-Auth-Token
string
header
required

Access token obtained from OAuth2 client credentials flow

X-Org-Id
string
header
required

Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).

Headers

Request-Id
string

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

Path Parameters

payrollConfigId
string
required

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

year
integer<int32>
required

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

frequency
string
required

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

period
integer<int32>
required

The pay period number within the tax year.

Response

The file is being created; the payment file is GENERATING.

The envelope every answer is written in.

message
object
required

What happened, as text and as a token for translation.

content
object | null

The answer's data and how to read it. Left out when there is none.

validationIssues
object[] | null

One entry per field the request got wrong. Left out when there are none.