Update an existing employee

Needs permission employee:write, or any of employee-payroll:write, employee-payroll-id:write, employee-pay-schedule:write, working-pattern:write.

Changing an existing employee needs employee:write (or employee-payroll:write / working-pattern:write for those fields alone). Adding a new employee needs employee:write and employee-payroll:write, on POST /employees.

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

Sending salary on this endpoint is deprecated as input and stops being accepted on 20 December 2026. Record salary changes with PUT /employees/{employeeId}/salary ("Set an employee's salary from a date") instead, which keeps an effective-dated history the pay run pro-rates from. While it is still accepted here, a value that differs from the salary in force today updates the most recent salary version in place rather than adding a new one, so it cannot express a change from a date; null or absent leaves the history untouched.

salary keeps being returned on every employee response, as the annual salary in force today, after that date. Read the full history from salaryHistory on the employee, or from GET /employees/{employeeId}/salary ("Get an employee's salary history").

Path Params
string
required
Body Params
name
object
required

The employee's name as reported to HMRC; the first and last names are required, each 1 to 35 characters starting with a letter.

string
required

The employee's primary email address; required, it must be a valid email address and is the address payslip emails are sent to.

taxCodesPerYear
object

Tax codes for the employee per tax year

niDetails
object

National Insurance details for the employee

string
enum
required

The gender reported to HMRC for the employee on the FPS; required.

Allowed:
string | null

The employee's primary phone number, stored as sent and carried on the payslip's recipient details.

date
required

The employee's date of birth (YYYY-MM-DD); required, and the employee must be between 12 and 120 years old.

string
enum

The employee's marital status; optional, and refused when it is not one of the listed values.

Allowed:
string
enum
required

The band of normal weekly hours the employee works, reported to HMRC on the FPS; required.

Allowed:
number | null

Deprecated as input on PUT and PATCH: record salary changes with PUT /employees/{employeeId}/salary instead, which keeps an effective-dated history the pay run pro-rates from. While still accepted, a value that differs from the salary in force today updates the most recent salary version in place; null or absent leaves the history untouched. Accepted unchanged on POST /employees, where it becomes the first salary version effective from the start date. Always populated on responses as the annual salary in force today (or the earliest version when every version is still in the future). Will be removed from input in a future version.

string | null

Employee code. An optional identifier for the employee.

string | null

An optional second email address for the employee, checked as an email address when sent.

address
object

The employee's home address, reported to HMRC on the FPS; line1, line2, county and city are its address lines.

bankAccounts
array of objects | null

The employee's bank accounts; exactly one must be the primary payroll account, and with more than one their allocation percentages must add up to 100.

bankAccounts
studentDetails
object

The employee's student loan and postgraduate loan plans, with the dates each starts and ends.

tags
array of objects | null

Tags on the employee, copied onto the employee details of each payslip.

tags
previousEmployment
object

Earnings from a previous employer in the same tax year. Used for cumulative tax calculations only. Does not affect FPS reporting.

string | null

The employee's gender as free text, stored and returned as sent; birthGender is the value reported to HMRC.

string | null

An optional second phone number for the employee, stored and returned as sent.

string | null

The employee's passport number, reported to HMRC on the FPS; 1 to 35 letters, numbers, spaces and standard punctuation.

previousNames
array of strings | null

Names the employee was previously known by; each must meet the same rules as a name and none may repeat.

previousNames
directorDetails
object

Set when the employee is a director: the director's NI calculation method, appointment date and, once it ends, the end date.

boolean | null

Whether the employee is paid on an irregular pattern, reported to HMRC on the FPS; treated as false when absent.

boolean | null

Whether the worker is engaged under the off-payroll working rules (IR35), reported to HMRC on the FPS; treated as false when absent.

workplaceDetails
object

Where the employee works; its workplace postcode is reported to HMRC on the FPS.

workingDays
object

The employee's working pattern in force today; its dated history is kept by the employee working pattern endpoints.

partnerDetails
object

The employee's partner, reported to HMRC on the FPS with the first payment of Shared Parental Pay.

string | null

The employee's department as free text, copied onto the employee details of each payslip.

string | null

The employee's job title as free text, copied onto the employee details of each payslip.

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