---
title: "Changes to 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\".\r\nFor draft batches the recalculation is offloaded to the queue: this route responds with the error \"BatchOperationOffloaded\", and the finalization GUID is delivered\r\nover SignalR (PrepareFinalizeSalaryBatchSuccess) once the batch is ready. The GUID can also be read from the batch itself via GET once StatusId is 35.\r\nFor already approved batches no recalculation is needed and the GUID is returned directly in the response.\r\nThe \"Being finalized\" status will automatically revert after 30 minutes if the batch has not been finalized in the meantime.\r\nThe function requires the permission salarybatch.canfinalize"
method: PUT
path: "/api/salarybatches/{batchId}/preparefinalize"
---

# Changes to 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".
For draft batches the recalculation is offloaded to the queue: this route responds with the error "BatchOperationOffloaded", and the finalization GUID is delivered
over SignalR (PrepareFinalizeSalaryBatchSuccess) once the batch is ready. The GUID can also be read from the batch itself via GET once StatusId is 35.
For already approved batches no recalculation is needed and the GUID is returned directly in the response.
The "Being finalized" 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`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 6 revisions.

- **2026-09-06** `f7ce32a12afb`: 1 info

## Changes

- **2026-09-06** `f7ce32a12afb`: 1 info
  - endpoint deprecated

---

[Operation](https://skmtc.dev/intect/apis/intect-rest-api/docs/api/salarybatches/:batchId/preparefinalize/put.md) - [API](https://skmtc.dev/intect/apis/intect-rest-api.md) - [Page](https://skmtc.dev/intect/apis/intect-rest-api/changes/api/salarybatches/:batchId/preparefinalize/put)
