POST
Create Wage Types

Authorizations

Authorization
string
header
required

Get token from Auth0 and paste it here

Headers

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
Required array length: 1 - 100 elements
valid_from
string<date>
required

The first day every satellite's data is valid at

wage_type_code
string
required

Business key, unique within the organization; not in the UK- namespace

core
GBWageTypeCore · object
required

What the wage type is called and which block of the payslip it belongs to.

treatment
GBWageTypeTreatment · object
required

The statutory treatment of amounts paid under the code.

external_ref
string | null

The integrator's own stable key, unique within the organization

Required string length: 1 - 255
computation
WageTypeComputationSpec · object | null

How the amount paid under the code is computed: a wagekit spec, the codes it reads, and how its result is rounded.

Response

Successful Response

total
integer
required

Total number of records in the request

succeeded
integer
required
read-only

Number of successfully processed records

failed
integer
required
read-only

Number of failed records

unprocessed
integer
required
read-only

Number of records that passed validation but were not processed

data
GBWageTypeHubResponse · object[]

Successfully processed records

errors
GBWageTypeHubResponseItemError · object[]

Failed records with error details