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
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

Body

application/json
accounts_office_reference
string
required
Pattern: ^\d{3}P[a-zA-Z](\d{8}|\d{7}X)$
Example:

"123PA00012345"

corporation_tax_reference
string | null
required

Null when none

Pattern: ^\d{10}$
Example:

"1234567890"

paye_reference_number
string
required

Employer PAYE reference: tax office number / reference

Pattern: ^\d{3}/[a-zA-Z0-9]{1,10}$
Example:

"123/AB456"

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

Response

Successful Response

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.

edition
integer
required
read-only
valid_from
string<date>
required
valid_to
string<date>
required
accounts_office_reference
string | null
corporation_tax_reference
string | null
paye_reference_number
string | null