---
title: "Finish payroll booking setup"
method: POST
path: "/payroll/setup/finish"
tags: ["Payroll"]
---

# Finish payroll booking setup

`POST /payroll/setup/finish`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/payroll/setup/finish`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Chooses whether earlier payrolls this year are included (each still needs approval) and whether new payrolls book after review or automatically. Books nothing.

## Request body

- object
  - `applyToEarlier` boolean, required
  - `mode` 'review' | 'auto', required

## Response `200`

{mode, status, bookings:[...]}

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
