Skip to navigation

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 entries are the same as POST /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 404 under month: “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_idstringRequired1-50 characters
SalaryBox ID of the staff member.
monthstringRequiredformat: "^\d{4}-(0[1-9]|1[0-2])$"

Payroll month, YYYY-MM. Must have ended and not be finalised.

entrieslist of objectsRequired
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.

messagestringOptional
statusbooleanOptional
dataobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error