SalaryBatches
Prepares a batch for finalization by fully recalculating it, checking that it does not contain validation errors, and setting a temporary StatusId of 35, "Being finalized". This status will automatically revert after 30 minutes if the batch has not been finalized in the meantime. The function requires the permission salarybatch.canfinalize
put/api/salarybatches/{batchId}/preparefinalize
Path parameters
batchIdinteger required
The ID of the payroll batch to recalculate.
Request body
Response
OK
string required