BexioApiClient.Timesheets.Tracking (bexio_api_client v2.0.0)

Copy Markdown

Bexio Timesheet Tracking Module.

The tracking information of a timesheet. Two formats can be used to submit the tracked time: either type duration or type range. Only the duration format is documented in the bexio docs (see docs/reference/timesheets.md), so this struct only models the documented fields.

Summary

Types

t()

Bexio Timesheet Tracking

Types

t()

@type t() :: %BexioApiClient.Timesheets.Tracking{
  date: Date.t() | nil,
  duration: String.t() | nil,
  type: :duration | :range
}

Bexio Timesheet Tracking

Fields:

  • :type - either :duration or :range
  • :date - the tracked date
  • :duration - the tracked duration (e.g. "01:40") for type :duration