Skip to navigation

List Payroll History

Returns each staff member’s saved payroll results month by month: net salary, amount paid, amount due and whether the month was finalized. Requires Payroll Pro. Includes inactive staff.

This endpoint never computes payroll. A month nobody has computed yet is listed with is_computed: false and null amounts. Where a month has both a finalized and a later computation, the finalized figures are shown, as in the app.

Every month from from_month to to_month (at most 12), oldest first.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Query parameters

from_monthstringRequiredformat: "^\d{4}-(0[1-9]|1[0-2])$"

First month, YYYY-MM.

to_monthstringRequiredformat: "^\d{4}-(0[1-9]|1[0-2])$"

Last month, YYYY-MM. At most 11 months after from_month, and not in the future.

salarybox_idslist of stringsOptional

Repeatable. Limits the result to these staff members, for example salarybox_ids=SBK7Q2M9TX&salarybox_ids=SBK3H8D1LP.

pageintegerOptional
Page number, starting at 1.
page_sizeintegerOptional
Results per page. Default and maximum 50.

Response

The payroll history for the requested months.
messagestring
statusboolean
datalist of objects
countinteger
prevstring or null
nextstring or null

Errors

400
Bad Request Error
403
Forbidden Error