---
title: "Get the Gusto payroll booking setup"
method: GET
path: "/payroll/setup"
tags: ["Payroll"]
---

# Get the Gusto payroll booking setup

`GET /payroll/setup`

## Request

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

Saved (or suggested) booking setup: employee groups with wage accounts, each employee's group, each payroll item's account, and liability accounts for amounts the company pays itself. Includes employees with year-to-date gross, items found in this year's payrolls, and active accounts. Pro only. Scoped to the authorized organization.

## Response `200`

{connected, gustoCompanyName, setup, config, employees, items, payrollsThisYear, latestPayrollUuid, accounts}

---

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