Skip to main content
POST
Create a new pay element for the current organisation

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

Body

application/json
id
string
required

The unique identifier for the pay element

Example:

"PE001"

description
string
required

The description of the pay element

Example:

"Basic Salary"

taxType
enum<string>
required

The tax type for the pay element

Available options:
Taxable,
NonTaxable
Example:

"Taxable"

niType
enum<string>
required

The National Insurance type for the pay element

Available options:
Niable,
NonNiable,
EmployerOnly
Example:

"Niable"

payType
enum<string>
required

The pay type for the pay element

Available options:
Payable,
Deductible,
Informational
Example:

"Payable"

isPensionable
boolean
required

Whether the pay element is pensionable

Example:

true

accrueHoliday
boolean
required

Whether the pay element accrues holiday

Example:

true

subjectToNmwCheck
boolean
required

Whether the pay element is subject to National Minimum Wage checks

Example:

true

isClass1ANiable
boolean

Whether the pay element is Class 1A National Insurance liable

Example:

false

defaultUnitName
enum<string> | null

The default unit name for the pay element

Available options:
Hour,
Day,
Week,
Month,
Year,
Fixed,
Informational,
Percentage
Example:

"Hour"

defaultPayRate
number<decimal> | null

The default pay rate for the pay element

Example:

15.5

defaultUnitValue
number<decimal> | null

The default unit value for the pay element

Example:

1

defaultChargeRate
number<decimal> | null

The default charge rate for the pay element

Example:

20

eligibility
object | null

Eligibility flags for this pay element (court orders, pensions, etc.)

Example:

Response

The pay element was created

message
object
content
object
validationIssues
object[]
messageToken
string
data
object

Pay element details