Update Staff Late Arriving Fines
Changes the late arriving fines of a payroll month that is already saved. Payroll then uses the new total. Shared rules: see Writing data. Needs Payroll on your plan.
- The body and rules for
entriesare the same asPOST /payroll/late-fine. - Every day you leave out is saved exactly as it stands now, with the same amount.
- How saved totals behave when attendance changes: see Fetch Single Staff Late Arriving Fines.
- A month with nothing saved gives
404undermonth: “No late arriving fines are saved for this month; save them with POST.” - Repeating the same request sets the same values.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
salarybox_id
SalaryBox ID of the staff member.
month
Payroll month, YYYY-MM. Must have ended and not be finalised.
entries
The days to change, each date at most once.
Response
The month’s late arriving fines were updated. data is the month after the save.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
