---
title: "Change how this one payroll books"
method: POST
path: "/payroll/setup/bookings/{id}/edit"
tags: ["Payroll"]
---

# Change how this one payroll books

`POST /payroll/setup/bookings/{id}/edit`

## Request

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

Overrides employee groups and item accounts for this payroll only. A booked payroll is undone and rebooked.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `overrides` object, required
    - `employeeGroups` object
    - `itemAccounts` object
    - `liabilityAccounts` object

## Response `200`

The booking.

---

[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)
