PUT
Create Tax Edition

Authorizations

Authorization
string
header
required

Get token from Auth0 and paste it here

Headers

If-Match
string | null
If-None-Match
string | null
X-Acting-User
string | null

The person acting through the access credential, recorded as created_by of what the request writes. Audit only: access is checked on the credential.

Required string length: 1 - 255

Path Parameters

organization_id
string
required
employee_id
string
required

Body

application/json
rti_id
string | null
required

RTI Payroll ID, unique for this employee in HMRC submissions. Null to keep the current one, or generate one on the first write; never generated for EXISTING_EMPLOYMENT.

Required string length: 1 - 35
tax_code
string
required

HMRC tax code (e.g. '1257L', 'K475', 'BR')

Example:

"1257L"

student_loan_type
enum<string> | null
required

Student loan type; null when none

Available options:
PLAN_1,
PLAN_2,
PLAN_4,
PLAN_5
postgraduate_loan
boolean
required

Postgraduate loan?

p45_gross_pay
required

P45 gross pay

Example:

"0.00"

p45_tax_amount
required

P45 tax amount

Example:

"0.00"

starter_details
StarterDetailsDeclaration · object
required

A new employee who completed the starter checklist.

valid_from
string<date>
required
valid_to
string<date>
required

Response

Successful Response

starter_details
StarterDetailsDeclaration · object
required

A new employee who completed the starter checklist.

edition
integer
required
read-only
valid_from
string<date>
required
valid_to
string<date>
required
created_at
string<date-time>
required
read-only
created_by
string
required
read-only

Who wrote the edition: the acting user (X-Acting-User, else the access credential), system for our own writes, or <authority>:<notice> for a write on an authority's behalf, e.g. hmrc:P6.

rti_id
string | null

RTI Payroll ID

tax_code
string | null
student_loan_type
enum<string> | null

Student loan type

Available options:
PLAN_1,
PLAN_2,
PLAN_4,
PLAN_5
postgraduate_loan
boolean
default:false

Postgraduate loan?

p45_gross_pay
string | null
default:0.00

P45 gross pay

p45_tax_amount
string | null
default:0.00

P45 tax amount