---
title: "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"
method: POST
path: "/api/salarybatches/{batchId}/finalize"
tags: ["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

- `batchId` integer, required

## Request body

- IntectWebAPIControllersSalaryBatchPrepareFinalizationRequest
  - `FinalizationGuid` string, uuid

## Response `204`

No Content

---

[API](https://skmtc.dev/intect/apis/intect-rest-api.md) · [All operations](https://skmtc.dev/intect/apis/intect-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/intect/intect-rest-api/revisions/e256dcb495d4/schema)
