---
title: "Preview one payroll with the saved setup"
method: GET
path: "/payroll/setup/preview"
tags: ["Payroll"]
---

# Preview one payroll with the saved setup

`GET /payroll/setup/preview`

## Request

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

How one payroll (latest by default) would book: the split of each Gusto withdrawal, the payroll entry, flags, and each account before and after. Changes nothing.

## Query parameters

- `payrollUuid` string

## Response `200`

{status, plan, accounts:[...], earlierPayrolls}

---

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