Skip to navigation

Update Payroll Settings

Changes your company’s Attendance Cycle, as the app’s Salary Settings do. Needs Payroll on your plan. Shared rules: see Writing data.

  • The body is closed: an unknown field is refused with 400. Counts toward your write budget.
  • attendance_cycle_starts_on_day is required, 1-28. 1 makes the cycle the calendar month; 2-28 starts each cycle on that day, so 26 makes 26 October to 25 November the November cycle.
  • Payroll worked out after the change uses the new cycle. The response has the settings after the change, the same as Fetch Payroll Settings.
  • To change salary calculation days, Include Weekoffs or Include Holidays, use Update Company Settings.

Authentication

AuthorizationApi-Key

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

Request

This endpoint expects an object.
attendance_cycle_starts_on_dayintegerRequired1-28

1 is the calendar month; 2-28 starts each cycle on that day.

Response

The settings were saved. data has the settings after the change.

messagestring
statusboolean
dataobject

Errors

400
Bad Request Error
403
Forbidden Error