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_month
First month, YYYY-MM.
to_month
Last month, YYYY-MM. At most 11 months after from_month, and not in the future.
salarybox_ids
Repeatable. Limits the result to these staff members, for example salarybox_ids=SBK7Q2M9TX&salarybox_ids=SBK3H8D1LP.
page
Page number, starting at 1.
page_size
Results per page. Default and maximum 50.
Response
The payroll history for the requested months.
message
status
data
count
prev
next
Errors
400
Bad Request Error
403
Forbidden Error
