Payroll
Preview one payroll with the saved setup
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.
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
Query parameters
payrollUuidstring
Payroll UUID; defaults to the latest payroll this year.
Response
{status, plan, accounts:[...], earlierPayrolls}
Changes
No recorded changes to this operation across all 5 revisions of this API.