Unlocks a payroll run

Reopens a locked pay run, fully or for some employees, so its payslips can be corrected and the run locked again

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

The payroll config id

int32
required

The year in format yyyy

int32
required

The period of the pay run (1, 2, 3... etc)

Body Params

The body of POST /payroll/{payrollConfigId}/{year}/{period}/unlock.

string

What to reopen: Full (every payslip of the run) or Employees (the listed employees' payslips only)

employeeIds
array of strings | null

The employees whose payslips to reopen. Required for the Employees scope, ignored otherwise

employeeIds
string

Why the run is being unlocked. Recorded on the lock cycle and on every payslip version it supersedes. A leaver whose P45 is already issued is reopened like anyone else: the correction reaches HMRC on the next FPS, never as a new P45, and the run's history names them under leaversWithIssuedP45

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