SalaryBatches

Finalizes a payroll batch. Note that you must first call the /preparefinalize route and submit the GUID you receive back from that request. The function requires the permission salarybatch.canfinalize

post/api/salarybatches/{batchId}/finalize

Path parameters

batchIdinteger required

The ID of the batch to approve.

Request body

FinalizationGuidstring uuid

Example request

{
  "FinalizationGuid": "00000000-0000-0000-0000-000000000000"
}

Response

No Content

Changes