Skip to main content
POST
Update organisation opening balances by tax year

Authorizations

X-Auth-Token
string
header
required

Access token obtained from OAuth2 client credentials flow

X-Org-Id
string
header
required

Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).

Headers

Request-Id
string

Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.

Path Parameters

taxYear
integer<int32>
required

The tax year to update balances for

Body

application/json
baseValues
object
required

Opening year-to-date pay, tax, NI and statutory payment totals, added to the totals of the pay runs in the tax year.

apprenticeshipLevyAllowanceYtd
object
required

Apprenticeship Levy allowance already used and left at the start of the tax year, merged with the allowance the pay runs use.

apprenticeshipLevyYtd
number<decimal>
required

Apprenticeship levy owed YTD

Example:

100

employmentAllowanceYtd
object
required

Employment Allowance already claimed and left at the start of the tax year, merged with the allowance the pay runs claim.

cisDeductions
number<decimal>

CIS deductions suffered so far in the tax year, added to the year-to-date total reported on the EPS.

statutoryPaymentsReclaims
object

Dictionary where keys should be one of the StatutoryTypeEnum values (StatutorySickPay, StatutoryMaternityPay, StatutoryPaternityPay, StatutoryAdoptionPay, SharedParentalPay, StatutoryParentalBereavementPay, StatutorySharedParentalPay, StatutoryNeoNatalCarePay)

Response

Successfully updated balances

message
object
required

A readable message about the outcome and a stable token a client can branch on.

content
object

The data the request returns with its metadata; left out on a response that carries no data, such as most errors.

validationIssues
object[] | null

Each field the request was refused for and why; left out when the request was not refused for its fields.