Skip to main content
POST
Create a new payroll configuration

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.

Body

application/json
name
string
required

The name of the payroll configuration; must not be empty.

description
string
required

A description of the payroll configuration; must not be empty.

paymentPeriodConfig
object
required

How the start and end dates of each pay period are worked out for the pay frequency.

payFrequency
enum<string>
required

How often employees on this payroll configuration are paid.

Available options:
Annual,
Monthly,
FourWeekly,
Fortnightly,
Weekly,
Daily,
Quarterly,
BiAnnually
paymentDateConfig
object | null

How the payment date of each pay run is worked out.

tags
object[] | null

Tags attached to the payroll configuration.

processZeroGrossPayslips
boolean

Whether to process payslips with no line items (zero gross). Defaults to false.

includeZeroGrossPayslipsInFps
boolean

When true (default), payslips with totally-zero values (Gross, Net, Tax, Ni etc all 0) are included in FPS preview AND submission. When false, they are filtered out of both so HMRC never sees zeroed records that have no payment to report. Same flag controls preview and submit (single source of truth — no drift).

Response

Payroll Configuration Created

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.