payroll calculations

Payroll calculations trigger the calculation of payroll for a specific payroll. This is a long-running operation that returns a batch job for tracking the calculation status.

Calculate Payroll

Triggers calculation for the specified payroll identified by payrollGUID. Applies to all current employments in that payroll.

This endpoint initiates a long-running background job to perform the calculation. The response includes a batch job that can be polled to check the status of the calculation.

Validation:

  • The payroll must exist
  • There must be no ongoing calculation jobs for this integration
SecuritybearerAuth
Request
path Parameters
payrollGuid
required
string <uuid>

The unique identifier (GUID) of the payroll

Example: 7fcba8e6-397f-4be2-a9f0-8d53fcf48ab5
Request Body schema: application/vnd.api+json
optional
Schema not provided
Responses
202

Calculation request accepted

default

General Error

post/payroll-calculations/{payrollGuid}/calculate
Request samples
Response samples
application/vnd.api+json
{}