Payroll

Approve and book payrolls

Books each payroll: splits its matched Gusto withdrawals by the setup and posts one payroll entry for amounts held in liability accounts. Each booking is claimed first, so a payroll is never booked twice.

post/payroll/setup/bookings/approve

Request

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

Request body

idsstring[]
allReadyboolean

Book every ready payroll.

kind'earlier' | 'new'

With allReady, only this kind.

Response

{results:[{id, status, message?}], booked}

Changes

No recorded changes to this operation across all 5 revisions of this API.