Skip to main content
POST
Validate and calculate payroll

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
payrollId
string<uuid>
required

Payroll identifier

employeeData
object[]
required

Payroll input rows to validate

isCSVUploaded
boolean | null

Whether the rows originated from a CSV upload

Response

Successful response

validatedEmployeeData
object[] | null

Validated payroll rows

error
string | null

Validation error message