Skip to main content
POST
Create payslip record

Authorizations

Authorization
string
header
required

Personal API token. Create via createUserApiToken endpoint.

Headers

x-role-type
enum<string>
required

Role context for the request. Use CLIENT_ORG_ADMIN for most integrations.

Available options:
CLIENT_ORG_ADMIN,
PAYROLL_ADMIN,
FINANCE_ADMIN,
TOKU_ADMIN

Body

application/json
roleInOrgID
string<uuid>
required

Role-in-org identifier

fileID
string<uuid>
required

Uploaded payslip file identifier

currencyID
string<uuid>
required

Currency identifier

payslipDate
string<date-time>
required

Payslip date

grossAmount
number
required

Gross amount

netAmount
number
required

Net amount

Response

Successful response

hrisPayslipID
string<uuid>
required

Created payslip identifier