Kimai icon

Kimai

Interact with Kimai time-tracking API

Timesheet → Update

AI-generated

Summary

Update an existing Kimai timesheet record via a PATCH request to the API.

Inputs

  • id (required) — The unique ID of the timesheet to update.
  • project (required) — The ID of the project associated with the timesheet.
  • activity (required) — The ID of the activity associated with the timesheet.
  • begin — The start date and time of the timesheet.
  • end — The end date and time of the timesheet.
  • description — Optional text description for the timesheet.
  • fixedRate — Optional fixed rate amount.
  • hourlyRate — Optional hourly rate amount.
  • user — Optional ID of the user associated with the timesheet.
  • tags — Comma-separated list of tags to assign.
  • exported — Whether the timesheet is marked as exported.
  • billable — Whether the timesheet is marked as billable.
  • requestOptions — Advanced request options including batching, proxy, timeout, and SSL verification settings.

Output shape

no body — success/failure only

Returns the standard n8n execution status (success or error). Does not return the updated record.

Examples

Example 1: Update the duration of an active timesheet

Set id, begin, and end parameters to modify the existing record.

Example 2: Change the project and activity for a timesheet

Provide new project and activity IDs while keeping the same id.

Example 3: Toggle export status

Set id and exported to true or false.

Discussion