Add Staff Overtime
Sets the overtime paid to a staff member on each listed date. A date that already has an entry is overwritten. Shared rules: see Writing data. Needs Payroll on your plan.
salarybox_idis required.entriesis required, 1-31 items, each date at most once:400onentries, “2026-11-04 is listed twice.”- Each entry has
date(YYYY-MM-DD),ot_type(HOURorDAY),paid_for(a number from 0.01 to 24 with up to 2 decimals: hours or days of overtime) andrate(a number from 0.01 to 10000000 with up to 2 decimals: per hour or per day). - The amount is worked out as
ratexpaid_for, at most 10000000: otherwise400onpaid_for, “Rate times paid_for cannot exceed 10000000.” - A date in the future, or in a finalised payroll month, is rejected with
400onentries. - No notification is sent.
GET /payroll/overtimeworks out each day’s amount from the staff member’s current overtime rate, so send the rate fromGET /payroll/config/overtime, or the figure shown may differ.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
salarybox_id
SalaryBox ID of an active staff member.
entries
Overtime to set, each date at most once.
Response
The overtime was saved.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
