Skip to main content
PUT
Create Tax Edition

Authorizations

Authorization
string
header
required

Get token from Auth0 and paste it here

Headers

If-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
tax_code
string
required

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

Example:

"1257L"

valid_from
string<date>
required
valid_to
string<date>
required
rti_id
string | null

RTI Payroll ID, unique for this employee in HMRC submissions. Generated when absent.

Required string length: 1 - 35
student_loan_type
enum<string> | null

Student loan type

Available options:
Plan1,
Plan2,
Plan4
postgraduate_loan
boolean
default:false

Postgraduate loan?

p45_gross_pay
default:0.00

P45 gross pay

p45_tax_amount
default:0.00

P45 tax amount

Response

Successful Response

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, unique for this employee in HMRC submissions. Generated when absent.

Required string length: 1 - 35
tax_code
string | null
student_loan_type
enum<string> | null

Student loan type

Available options:
Plan1,
Plan2,
Plan4
postgraduate_loan
boolean
default:false

Postgraduate loan?

p45_gross_pay
string | null
default:0.00

P45 gross pay

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
p45_tax_amount
string | null
default:0.00

P45 tax amount

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$