adsum API, attendance package (1.0.0)

Download OpenAPI specification:

License: GPL-2.0-or-later

The operations of the attendance package (time tracking), merged into the published contract when the package is installed (see WebVision\Adsum\Core\Shared\Api\Contract\OpenApiDocument). Linted on its own.

Time Tracking

Punches, attendance days, working-time account, overtime, corrections, compliance, presence.

Record a punch for the caller

Applies the gates in the order: company switch, active employee, punch method, IP allow-list, geofence, sequence, break type. Identical for web and app. The source follows the authentication method; a method HR does not allow for the employee is refused with 403 and /problems/punch-method-not-allowed. An offline punch is never refused for its network: where the company has an IP allow-list it is recorded with networkUnchecked true. One that occurred before the offline delay of such a company is not booked but filed as a correction request (202).

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Required for punches from the app (bearer token) and from terminals, optional for the web session. A repeated key with an identical body returns the original response; with a different body it yields 422.

Request Body schema: application/json
required
type
required
string (PunchType)
Enum: "clockIn" "clockOut" "breakStart" "breakEnd"
offline
boolean
Default: false
occurredAt
string <date-time> (DateTime)

An instant with an offset or Z. An input also accepts fractional seconds of any number of digits, as Date.toISOString() sends them; the fraction is dropped. An answer is always in whole seconds.

object (GeoLocationInput)
breakTypeId
string <uuid> (Uuid)

An active break type of the company; only on a breakStart.

Responses

Request samples

Content type
application/json
{
  • "type": "clockIn",
  • "offline": false,
  • "occurredAt": "2026-10-01T08:15:00+02:00",
  • "location": {
    },
  • "breakTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "clockIn",
  • "instant": "2026-10-01T08:15:00+02:00",
  • "recordedAt": "2026-10-01T08:15:00+02:00",
  • "source": "web",
  • "offline": true,
  • "networkUnchecked": true,
  • "breakTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "location": {
    },
  • "site": {
    },
  • "voided": true,
  • "voidedAt": "2026-10-01T08:15:00+02:00",
  • "correctionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalInstant": "2026-10-01T08:15:00+02:00",
  • "originalReason": "plannedEndOfDay",
  • "duplicate": true
}

List punches in the caller's scope

Scope self returns the caller's own punches, team the punches of the caller's current reports, company all punches (HR). Coordinates are shown only to the employee and HR. Sort allow-list: instant, employee.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

period
string (ListPeriod)
Enum: "thisMonth" "lastMonth" "thisYear" "thisYearOnward" "lastYear" "thisWeek" "lastWeek" "all"

The days a list of dated entries answers for, resolved on the company's local day: thisMonth (the default), lastMonth, thisYear, thisYearOnward (from the first day of the year, no end), lastYear, thisWeek or lastWeek (Monday to Sunday), or all (every day, for a work queue of open items). Explicit from and to override it (a side left out stays open). Every dated list takes this one shape; to see more than a period, ask with all or with from and to.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

includeVoided
boolean
Default: false
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Get one punch

Readable by whoever may list it: the employee, a manager with the employee in scope, HR. Anyone else gets 404. A punch is never changed or deleted, so the address answers 405 to PATCH, PUT and DELETE.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "type": "clockIn",
  • "instant": "2026-10-01T08:15:00+02:00",
  • "recordedAt": "2026-10-01T08:15:00+02:00",
  • "source": "web",
  • "offline": true,
  • "networkUnchecked": true,
  • "breakTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "location": {
    },
  • "site": {
    },
  • "voided": true,
  • "voidedAt": "2026-10-01T08:15:00+02:00",
  • "correctionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalInstant": "2026-10-01T08:15:00+02:00",
  • "originalReason": "plannedEndOfDay",
  • "duplicate": true
}

Current clock status of the caller

Always answers with the same shape; the clock state of the caller.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "state": "clockedOut",
  • "since": "2026-10-01T08:15:00+02:00",
  • "todayWorkedSeconds": 28800,
  • "currentSessionSeconds": 28800,
  • "remainingTargetSeconds": 28800,
  • "targetSeconds": 28800,
  • "serverTime": "2026-10-01T08:15:00+02:00",
  • "date": "2026-10-01",
  • "allowedActions": [
    ],
  • "showRunningTimer": true,
  • "warnings": [
    ],
  • "requirements": {
    }
}

List attendance days

Scope self returns the caller's own days, team the days of the caller's current reports including their earlier history, company all days (HR). Sort allow-list: date, employee. The period from..to may span at most 366 days. Sickness details follow managerSeesSickness.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

period
string (ListPeriod)
Enum: "thisMonth" "lastMonth" "thisYear" "thisYearOnward" "lastYear" "thisWeek" "lastWeek" "all"

The days a list of dated entries answers for, resolved on the company's local day: thisMonth (the default), lastMonth, thisYear, thisYearOnward (from the first day of the year, no end), lastYear, thisWeek or lastWeek (Monday to Sunday), or all (every day, for a work queue of open items). Explicit from and to override it (a side left out stays open). Every dated list takes this one shape; to see more than a period, ask with all or with from and to.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

status
string (AttendanceDayStatus)
Enum: "open" "complete" "incomplete" "absent" "school" "onLeave" "holiday" "offDay"
validationState
string (ValidationState)
Enum: "notRequired" "pending" "autoValidated" "validated"

Only days in this validation state, for example pending for the days waiting for a manager.

shiftId
string <uuid> (Uuid)
Examples: shiftId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
workTypeId
string <uuid> (Uuid)
Examples: workTypeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
hasViolations
boolean
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Get one attendance day

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "status": "open",
  • "validationState": "notRequired",
  • "validationReason": "offlineNetworkUnchecked",
  • "validatedBy": {
    },
  • "validatedAt": "2026-10-01T08:15:00+02:00",
  • "shiftId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "shift": {
    },
  • "workTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "workType": {
    },
  • "correctionRequested": true,
  • "correctionRequest": {
    },
  • "reason": "workday",
  • "absence": {
    },
  • "scheduledTargetSeconds": 28800,
  • "targetSeconds": 28800,
  • "workedSeconds": 28800,
  • "creditedSeconds": 28800,
  • "breakSeconds": 28800,
  • "breakSecondsByType": [
    ],
  • "deductedBreakSeconds": 28800,
  • "deltaSeconds": 0,
  • "presenceFraction": 0,
  • "presenceSegments": [
    ],
  • "classificationOverride": {
    },
  • "unclaimedExcessSeconds": 28800,
  • "lateStartSeconds": 28800,
  • "earlyEndSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "compensatoryDays": 0,
  • "compensatoryThresholdSeconds": 0,
  • "accountedDeltaSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "finalised": true,
  • "pendingCorrectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalClockOutKind": "likelyForgotten",
  • "flags": [
    ],
  • "intervals": [
    ],
  • "punches": [
    ],
  • "violations": [
    ],
  • "calculatedAt": "2026-10-01T08:15:00+02:00"
}

Validate up to 200 closed attendance days at once

Each day is validated on its own with the rules of validateAttendanceDay and reported with the status it would have answered alone; a failing day stops none of the others. A day with a correction request waiting for a decision fails with 409 openCorrectionRequest and names the request.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
dayIds
required
Array of strings <uuid> (Uuid) [ 1 .. 200 ] items [ items <uuid > ]

Responses

Request samples

Content type
application/json
{
  • "dayIds": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Validate a closed attendance day

Manager in scope or HR, never for their own day. 409 when validation is not enabled or the day is open or incomplete.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "status": "open",
  • "validationState": "notRequired",
  • "validationReason": "offlineNetworkUnchecked",
  • "validatedBy": {
    },
  • "validatedAt": "2026-10-01T08:15:00+02:00",
  • "shiftId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "shift": {
    },
  • "workTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "workType": {
    },
  • "correctionRequested": true,
  • "correctionRequest": {
    },
  • "reason": "workday",
  • "absence": {
    },
  • "scheduledTargetSeconds": 28800,
  • "targetSeconds": 28800,
  • "workedSeconds": 28800,
  • "creditedSeconds": 28800,
  • "breakSeconds": 28800,
  • "breakSecondsByType": [
    ],
  • "deductedBreakSeconds": 28800,
  • "deltaSeconds": 0,
  • "presenceFraction": 0,
  • "presenceSegments": [
    ],
  • "classificationOverride": {
    },
  • "unclaimedExcessSeconds": 28800,
  • "lateStartSeconds": 28800,
  • "earlyEndSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "compensatoryDays": 0,
  • "compensatoryThresholdSeconds": 0,
  • "accountedDeltaSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "finalised": true,
  • "pendingCorrectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalClockOutKind": "likelyForgotten",
  • "flags": [
    ],
  • "intervals": [
    ],
  • "punches": [
    ],
  • "violations": [
    ],
  • "calculatedAt": "2026-10-01T08:15:00+02:00"
}

Return a closed day to its employee for a correction

Manager in scope or HR, never for their own day. The day gets correctionRequested, is not final until corrected, a validation of it no longer counts, and the employee is told with the message as written. The employee may then request a correction of the day even outside the correction window. 409 for a day still open or already returned.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
message
required
string [ 1 .. 1000 ] characters

Responses

Request samples

Content type
application/json
{
  • "message": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "status": "open",
  • "validationState": "notRequired",
  • "validationReason": "offlineNetworkUnchecked",
  • "validatedBy": {
    },
  • "validatedAt": "2026-10-01T08:15:00+02:00",
  • "shiftId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "shift": {
    },
  • "workTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "workType": {
    },
  • "correctionRequested": true,
  • "correctionRequest": {
    },
  • "reason": "workday",
  • "absence": {
    },
  • "scheduledTargetSeconds": 28800,
  • "targetSeconds": 28800,
  • "workedSeconds": 28800,
  • "creditedSeconds": 28800,
  • "breakSeconds": 28800,
  • "breakSecondsByType": [
    ],
  • "deductedBreakSeconds": 28800,
  • "deltaSeconds": 0,
  • "presenceFraction": 0,
  • "presenceSegments": [
    ],
  • "classificationOverride": {
    },
  • "unclaimedExcessSeconds": 28800,
  • "lateStartSeconds": 28800,
  • "earlyEndSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "compensatoryDays": 0,
  • "compensatoryThresholdSeconds": 0,
  • "accountedDeltaSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "finalised": true,
  • "pendingCorrectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalClockOutKind": "likelyForgotten",
  • "flags": [
    ],
  • "intervals": [
    ],
  • "punches": [
    ],
  • "violations": [
    ],
  • "calculatedAt": "2026-10-01T08:15:00+02:00"
}

Take back the return of a day

The returning person or HR. The day follows the validation policy again.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "status": "open",
  • "validationState": "notRequired",
  • "validationReason": "offlineNetworkUnchecked",
  • "validatedBy": {
    },
  • "validatedAt": "2026-10-01T08:15:00+02:00",
  • "shiftId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "shift": {
    },
  • "workTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "workType": {
    },
  • "correctionRequested": true,
  • "correctionRequest": {
    },
  • "reason": "workday",
  • "absence": {
    },
  • "scheduledTargetSeconds": 28800,
  • "targetSeconds": 28800,
  • "workedSeconds": 28800,
  • "creditedSeconds": 28800,
  • "breakSeconds": 28800,
  • "breakSecondsByType": [
    ],
  • "deductedBreakSeconds": 28800,
  • "deltaSeconds": 0,
  • "presenceFraction": 0,
  • "presenceSegments": [
    ],
  • "classificationOverride": {
    },
  • "unclaimedExcessSeconds": 28800,
  • "lateStartSeconds": 28800,
  • "earlyEndSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "compensatoryDays": 0,
  • "compensatoryThresholdSeconds": 0,
  • "accountedDeltaSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "finalised": true,
  • "pendingCorrectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalClockOutKind": "likelyForgotten",
  • "flags": [
    ],
  • "intervals": [
    ],
  • "punches": [
    ],
  • "violations": [
    ],
  • "calculatedAt": "2026-10-01T08:15:00+02:00"
}

Confirm an automatic clock-out

Only the employee of the day. 409 when the day has no automatic punch.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "status": "open",
  • "validationState": "notRequired",
  • "validationReason": "offlineNetworkUnchecked",
  • "validatedBy": {
    },
  • "validatedAt": "2026-10-01T08:15:00+02:00",
  • "shiftId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "shift": {
    },
  • "workTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "workType": {
    },
  • "correctionRequested": true,
  • "correctionRequest": {
    },
  • "reason": "workday",
  • "absence": {
    },
  • "scheduledTargetSeconds": 28800,
  • "targetSeconds": 28800,
  • "workedSeconds": 28800,
  • "creditedSeconds": 28800,
  • "breakSeconds": 28800,
  • "breakSecondsByType": [
    ],
  • "deductedBreakSeconds": 28800,
  • "deltaSeconds": 0,
  • "presenceFraction": 0,
  • "presenceSegments": [
    ],
  • "classificationOverride": {
    },
  • "unclaimedExcessSeconds": 28800,
  • "lateStartSeconds": 28800,
  • "earlyEndSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "compensatoryDays": 0,
  • "compensatoryThresholdSeconds": 0,
  • "accountedDeltaSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "finalised": true,
  • "pendingCorrectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalClockOutKind": "likelyForgotten",
  • "flags": [
    ],
  • "intervals": [
    ],
  • "punches": [
    ],
  • "violations": [
    ],
  • "calculatedAt": "2026-10-01T08:15:00+02:00"
}

Correct a day directly with a reason

Manager in scope or HR, never for their own day. 409 while a correction request is pending for the day.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
reason
required
string [ 3 .. 2000 ] characters
required
Array of objects (CorrectionOperation) [ 1 .. 20 ] items

Responses

Request samples

Content type
application/json
{
  • "reason": "string",
  • "operations": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "status": "open",
  • "validationState": "notRequired",
  • "validationReason": "offlineNetworkUnchecked",
  • "validatedBy": {
    },
  • "validatedAt": "2026-10-01T08:15:00+02:00",
  • "shiftId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "shift": {
    },
  • "workTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "workType": {
    },
  • "correctionRequested": true,
  • "correctionRequest": {
    },
  • "reason": "workday",
  • "absence": {
    },
  • "scheduledTargetSeconds": 28800,
  • "targetSeconds": 28800,
  • "workedSeconds": 28800,
  • "creditedSeconds": 28800,
  • "breakSeconds": 28800,
  • "breakSecondsByType": [
    ],
  • "deductedBreakSeconds": 28800,
  • "deltaSeconds": 0,
  • "presenceFraction": 0,
  • "presenceSegments": [
    ],
  • "classificationOverride": {
    },
  • "unclaimedExcessSeconds": 28800,
  • "lateStartSeconds": 28800,
  • "earlyEndSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "compensatoryDays": 0,
  • "compensatoryThresholdSeconds": 0,
  • "accountedDeltaSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "finalised": true,
  • "pendingCorrectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalClockOutKind": "likelyForgotten",
  • "flags": [
    ],
  • "intervals": [
    ],
  • "punches": [
    ],
  • "violations": [
    ],
  • "calculatedAt": "2026-10-01T08:15:00+02:00"
}

List attendance correction requests

Scope self returns the caller's own requests, team the requests of the caller's current reports, company all requests (HR). Approvers decide through approveApproval and rejectApproval. Sort allow-list: date, createdAt.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

period
string (ListPeriod)
Enum: "thisMonth" "lastMonth" "thisYear" "thisYearOnward" "lastYear" "thisWeek" "lastWeek" "all"

The days a list of dated entries answers for, resolved on the company's local day: thisMonth (the default), lastMonth, thisYear, thisYearOnward (from the first day of the year, no end), lastYear, thisWeek or lastWeek (Monday to Sunday), or all (every day, for a work queue of open items). Explicit from and to override it (a side left out stays open). Every dated list takes this one shape; to see more than a period, ask with all or with from and to.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

status
string
Enum: "pending" "approved" "rejected" "withdrawn" "open" "all"

open lists the requests waiting for a decision (pending), all or no status every request.

seriesId
string <uuid> (Uuid)
Examples: seriesId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
title
string

The exact title of a series.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Request a correction of an own day

Starts an approval of subject type attendanceCorrection. When the approval rules require no approval the request is approved and applied synchronously; the response already shows the final state.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
employeeId
string <uuid> (Uuid)

Optional. Must be the caller; anything else is refused (403, or 404 for an invisible employee).

date
required
string <date> (Date)
reason
required
string [ 3 .. 2000 ] characters
required
Array of objects (CorrectionOperation) [ 1 .. 20 ] items

Responses

Request samples

Content type
application/json
{
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "date": "2026-10-01",
  • "reason": "string",
  • "operations": [
    ]
}

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reason": "string",
  • "origin": "user",
  • "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "preview": {
    },
  • "operations": [
    ],
  • "approval": {
    },
  • "applicationState": "notApplicable",
  • "applicationFailure": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Get a correction request

Visible to the requester, managers in scope, HR and the approvers currently assigned to it (that request only).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reason": "string",
  • "origin": "user",
  • "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "preview": {
    },
  • "operations": [
    ],
  • "approval": {
    },
  • "applicationState": "notApplicable",
  • "applicationFailure": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Change a pending request before any decision

Withdraws the pending approval and submits a new approval instance for the changed request; the history stays linked. Allowed while the request is pending.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
reason
string [ 3 .. 2000 ] characters
Array of objects (CorrectionOperation) [ 1 .. 20 ] items

Responses

Request samples

Content type
application/json
{
  • "reason": "string",
  • "operations": [
    ]
}

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reason": "string",
  • "origin": "user",
  • "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "preview": {
    },
  • "operations": [
    ],
  • "approval": {
    },
  • "applicationState": "notApplicable",
  • "applicationFailure": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Remove a rejected or withdrawn request

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Withdraw a pending request

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reason": "string",
  • "origin": "user",
  • "seriesId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "title": "string",
  • "preview": {
    },
  • "operations": [
    ],
  • "approval": {
    },
  • "applicationState": "notApplicable",
  • "applicationFailure": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

List balances in the caller's scope

Scope self returns the caller's own account, team the accounts of the caller's current reports, company all accounts (HR). Only people employed today are listed unless includeFormer is true, which adds those who have left, such as for a final settlement. Sort allow-list: employee, balanceSeconds.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

includeFormer
boolean
Default: false

Also list people who have left the company; without it only people employed today are listed.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Balance of the caller

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "employee": {
    },
  • "balanceSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "unclaimedOvertimeSeconds": 28800,
  • "maxPlusSeconds": 0,
  • "maxMinusSeconds": 0,
  • "warnings": [
    ],
  • "lastBookedAt": "2026-10-01T08:15:00+02:00",
  • "asOf": "2026-10-01T08:15:00+02:00"
}

Balance of one employee

Visible to the employee, managers in scope and HR.

Authorizations:
bearerAuthsessionCookie
path Parameters
employeeId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "employee": {
    },
  • "balanceSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "unclaimedOvertimeSeconds": 28800,
  • "maxPlusSeconds": 0,
  • "maxMinusSeconds": 0,
  • "warnings": [
    ],
  • "lastBookedAt": "2026-10-01T08:15:00+02:00",
  • "asOf": "2026-10-01T08:15:00+02:00"
}

Monthly statement

Rows and bookings are selected by booking month: an entry whose effective date lies in a closed month is shown in the first open month.

Authorizations:
bearerAuthsessionCookie
path Parameters
employeeId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
month
required
string^[0-9]{4}-(0[1-9]|1[0-2])$
Examples: 2026-10
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "employee": {
    },
  • "month": "2026-10",
  • "openingBalanceSeconds": 0,
  • "days": [
    ],
  • "bookings": [
    ],
  • "closingBalanceSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "compensatoryDays": 0,
  • "unresolvedDays": [
    ],
  • "closed": true,
  • "referencePeriod": {
    }
}

The account of a year per month or ISO week

Derived from the days and the ledger by the date they take effect; ISO weeks are those of the requested ISO year and stay whole across the calendar year. Visible like the monthly statement.

Authorizations:
bearerAuthsessionCookie
path Parameters
employeeId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
year
integer [ 2000 .. 9999 ]

Default the current year.

granularity
string
Default: "month"
Enum: "month" "isoWeek"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "year": 0,
  • "granularity": "month",
  • "openingBalanceSeconds": 0,
  • "rows": [
    ],
  • "referencePeriod": {
    }
}

List the settlement proposals of ended reference periods

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
status
string
Enum: "open" "settled"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Read a settlement proposal

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "periodStart": "2026-10-01",
  • "periodEnd": "2026-10-01",
  • "balanceSeconds": 0,
  • "direction": "plus",
  • "proposalSeconds": 1,
  • "status": "open",
  • "decision": "payout",
  • "bookedSeconds": 0,
  • "reason": "string",
  • "decidedBy": {
    },
  • "decidedAt": "2026-10-01T08:15:00+02:00",
  • "version": 0
}

Decide a settlement proposal

payout and forfeiture book the plus beyond the limit away, an adjustment books the given amount, carryOver books nothing; every entry takes effect on the last day of the period. Decided once; HR never settles their own account.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
decision
required
string (SettlementDecision)
Enum: "payout" "forfeiture" "carryOver" "adjustment"
amountSeconds
integer [ -3600000 .. 3600000 ]

For adjustment only, signed and other than 0.

reason
required
string [ 1 .. 2000 ] characters

Responses

Request samples

Content type
application/json
{
  • "decision": "payout",
  • "amountSeconds": -3600000,
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "periodStart": "2026-10-01",
  • "periodEnd": "2026-10-01",
  • "balanceSeconds": 0,
  • "direction": "plus",
  • "proposalSeconds": 1,
  • "status": "open",
  • "decision": "payout",
  • "bookedSeconds": 0,
  • "reason": "string",
  • "decidedBy": {
    },
  • "decidedAt": "2026-10-01T08:15:00+02:00",
  • "version": 0
}

List ledger entries

Entries carry effectiveDate and bookingMonth. Sort allow-list: effectiveDate, bookedAt. Without sort the newest effective date comes first; entries of the same date are ordered by the moment they were booked, newest first.

Authorizations:
bearerAuthsessionCookie
path Parameters
employeeId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

kind
string (LedgerEntryKind)
Enum: "openingBalance" "dailyDelta" "overtimeCredit" "timeOffInLieu" "adjustment" "payout" "forfeiture"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Book a manual entry (HR)

HR only, never to their own account. A payout must be negative. 409 when an opening balance exists.

Authorizations:
bearerAuthsessionCookie
path Parameters
employeeId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
kind
required
string (ManualBookingKind)
Enum: "openingBalance" "adjustment" "payout"
amountSeconds
required
integer [ -3600000 .. 3600000 ]

Signed, never 0, at most 1000 hours (3600000 seconds) in either direction; a larger amount is booked in two entries. A payout must be negative.

reason
required
string [ 3 .. 2000 ] characters
referenceDate
string <date> (Date)

Day or date the booking refers to. Defaults to today.

Responses

Request samples

Content type
application/json
{
  • "kind": "openingBalance",
  • "amountSeconds": -3600000,
  • "reason": "string",
  • "referenceDate": "2026-10-01"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "kind": "openingBalance",
  • "amountSeconds": 0,
  • "source": "system",
  • "effectiveDate": "2026-10-01",
  • "bookingMonth": "2026-05",
  • "correction": true,
  • "referenceType": "attendanceDay",
  • "referenceId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "reason": "string",
  • "bookedBy": {
    },
  • "bookedAt": "2026-10-01T08:15:00+02:00"
}

List overtime claims

Scope self returns the caller's own claims, team the claims of the caller's current reports, company all claims (HR). Sort allow-list: date, createdAt.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

period
string (ListPeriod)
Enum: "thisMonth" "lastMonth" "thisYear" "thisYearOnward" "lastYear" "thisWeek" "lastWeek" "all"

The days a list of dated entries answers for, resolved on the company's local day: thisMonth (the default), lastMonth, thisYear, thisYearOnward (from the first day of the year, no end), lastYear, thisWeek or lastWeek (Monday to Sunday), or all (every day, for a work queue of open items). Explicit from and to override it (a side left out stays open). Every dated list takes this one shape; to see more than a period, ask with all or with from and to.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

status
string
Enum: "pending" "approved" "rejected" "withdrawn"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Claim pending overtime of an own day

Starts an approval of subject type overtime. When the approval rules require no approval the claim is approved and booked synchronously; the response already shows the final state.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
employeeId
string <uuid> (Uuid)

Optional. Must be the caller.

date
required
string <date> (Date)
amountSeconds
required
integer [ 1 .. 86400 ]
comment
string <= 2000 characters

Responses

Request samples

Content type
application/json
{
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "date": "2026-10-01",
  • "amountSeconds": 1,
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "amountSeconds": 28800,
  • "calculatedExcessSeconds": 28800,
  • "bookedSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "automatic": true,
  • "approval": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Get an overtime claim

Visible to the requester, managers in scope, HR and the approvers currently assigned to it (that claim only).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "amountSeconds": 28800,
  • "calculatedExcessSeconds": 28800,
  • "bookedSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "automatic": true,
  • "approval": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Withdraw a pending claim

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "allowedActions": [
    ],
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "amountSeconds": 28800,
  • "calculatedExcessSeconds": 28800,
  • "bookedSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "automatic": true,
  • "approval": {
    },
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

List working-time violations and notices

Scope self returns the caller's own violations and notices, team those of the caller's current reports, company all (HR). Sort allow-list: date, employee. Without a sort the list is newest day first; whatever is not sorted by follows as day, employee, rule, so the violations of a person on a day stand together.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

period
string (ListPeriod)
Enum: "thisMonth" "lastMonth" "thisYear" "thisYearOnward" "lastYear" "thisWeek" "lastWeek" "all"

The days a list of dated entries answers for, resolved on the company's local day: thisMonth (the default), lastMonth, thisYear, thisYearOnward (from the first day of the year, no end), lastYear, thisWeek or lastWeek (Monday to Sunday), or all (every day, for a work queue of open items). Explicit from and to override it (a side left out stays open). Every dated list takes this one shape; to see more than a period, ask with all or with from and to.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

rule
string (ViolationRule) ^[a-z][A-Za-z0-9]*$
Examples: rule=dailyMaxExceeded

The code of a working-time rule: adsum's own dailyMaxExceeded, breakTooShort, restPeriodShort, sundayWork and holidayWork, or a rule an installed country package checks.

resolved
boolean
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

List the violations of rules over a period

A period violation belongs to an employee and a period, such as the 24 weeks ending with a closed calendar week, never to an attendance day. The windows of one rule and employee that follow each other a week apart are one continuous breach, listed once with the values of its latest window. Scope self returns the caller's own, team those of the caller's current reports, company all (HR). from and to select the breaches that lasted in those days or are still ongoing (not resolved). Sort allow-list: date (the end of the latest period, as the list of day violations sorts by its date), employee; newest first without.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

rule
string (ViolationRule) ^[a-z][A-Za-z0-9]*$
Examples: rule=dailyMaxExceeded

The code of a working-time rule: adsum's own dailyMaxExceeded, breakTooShort, restPeriodShort, sundayWork and holidayWork, or a rule an installed country package checks.

resolved
boolean
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

List the working-time rules the violations of days can be filtered by

adsum's own rules and those of days the installed country packages declare (not the rules of periods, such as an average over weeks, which the periods of an account list), each with its name in the reader's language (its code where no catalogue names it), sorted by name. Small bounded list; the response is {items} only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Who is working, on a break or absent now

Scope team returns the caller's reports with state, since and absence category (sickness without category when managerSeesSickness is off). Scope colleagues returns basic detail (present, away, absent, never a reason) for ordinary employees, limited by colleagueAbsenceVisibility (off answers 403). Scope company returns everybody in full detail (HR). Only people employed today are listed; a person who has left is not. Sort allow-list: employee, state.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string (PresenceScope)
Default: "team"
Enum: "team" "colleagues" "company"

team (manager), colleagues (basic detail, per the organisation setting) or company (HR).

page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "detail": "full",
  • "asOf": "2026-10-01T08:15:00+02:00",
  • "topic": "/companies/0192a3c4-0000-7000-8000-00000000000a/presence/teams/0192a3c4-0000-7000-8000-0000000000e1",
  • "items": [
    ],
  • "meta": {
    }
}

A month of the employees in scope, one cell per day

Only people employed on at least one day of the month are listed; someone who left during it stays, with notEmployed after the exit. The filters narrow the rows before they are paged, so every page holds only matching rows.

Authorizations:
bearerAuthsessionCookie
path Parameters
month
required
string^[0-9]{4}-(0[1-9]|1[0-2])$
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

departmentId
string <uuid> (Uuid)
Examples: departmentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
managerId
string <uuid> (Uuid)
Examples: managerId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Only the direct reports of this employee.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "month": "string",
  • "legend": [
    ],
  • "items": [
    ],
  • "meta": {
    }
}

The period summary for payroll per employee

A period of at most 366 days; sick days only for HR, oneself and managers allowed to see sickness.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

from
required
string <date> (Date)
Examples: from=2026-10-01
to
required
string <date> (Date)
Examples: to=2026-10-01
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Override how present a day counts

HR sets the day to present, half present or absent with a reason, never for their own days. Punches, times and the working-time account stay untouched; leave, sickness and holidays come only from their own records (422). An open day and a day of a closed payroll month keep their classification (409).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
value
required
string (ClassificationOverrideValue)
Enum: "present" "halfPresent" "absent"

How present the day counts; leave, sickness and holidays come only from their own records.

reason
required
string <= 500 characters
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

Responses

Request samples

Content type
application/json
{
  • "value": "present",
  • "reason": "string",
  • "changeReason": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "status": "open",
  • "validationState": "notRequired",
  • "validationReason": "offlineNetworkUnchecked",
  • "validatedBy": {
    },
  • "validatedAt": "2026-10-01T08:15:00+02:00",
  • "shiftId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "shift": {
    },
  • "workTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "workType": {
    },
  • "correctionRequested": true,
  • "correctionRequest": {
    },
  • "reason": "workday",
  • "absence": {
    },
  • "scheduledTargetSeconds": 28800,
  • "targetSeconds": 28800,
  • "workedSeconds": 28800,
  • "creditedSeconds": 28800,
  • "breakSeconds": 28800,
  • "breakSecondsByType": [
    ],
  • "deductedBreakSeconds": 28800,
  • "deltaSeconds": 0,
  • "presenceFraction": 0,
  • "presenceSegments": [
    ],
  • "classificationOverride": {
    },
  • "unclaimedExcessSeconds": 28800,
  • "lateStartSeconds": 28800,
  • "earlyEndSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "compensatoryDays": 0,
  • "compensatoryThresholdSeconds": 0,
  • "accountedDeltaSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "finalised": true,
  • "pendingCorrectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalClockOutKind": "likelyForgotten",
  • "flags": [
    ],
  • "intervals": [
    ],
  • "punches": [
    ],
  • "violations": [
    ],
  • "calculatedAt": "2026-10-01T08:15:00+02:00"
}

Return a day to its calculated classification

HR only, never for their own days; a day of a closed payroll month stays as it is (409).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "status": "open",
  • "validationState": "notRequired",
  • "validationReason": "offlineNetworkUnchecked",
  • "validatedBy": {
    },
  • "validatedAt": "2026-10-01T08:15:00+02:00",
  • "shiftId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "shift": {
    },
  • "workTypeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "workType": {
    },
  • "correctionRequested": true,
  • "correctionRequest": {
    },
  • "reason": "workday",
  • "absence": {
    },
  • "scheduledTargetSeconds": 28800,
  • "targetSeconds": 28800,
  • "workedSeconds": 28800,
  • "creditedSeconds": 28800,
  • "breakSeconds": 28800,
  • "breakSecondsByType": [
    ],
  • "deductedBreakSeconds": 28800,
  • "deltaSeconds": 0,
  • "presenceFraction": 0,
  • "presenceSegments": [
    ],
  • "classificationOverride": {
    },
  • "unclaimedExcessSeconds": 28800,
  • "lateStartSeconds": 28800,
  • "earlyEndSeconds": 28800,
  • "nightSeconds": 28800,
  • "sundaySeconds": 28800,
  • "holidaySeconds": 28800,
  • "compensatoryDays": 0,
  • "compensatoryThresholdSeconds": 0,
  • "accountedDeltaSeconds": 0,
  • "pendingOvertimeSeconds": 28800,
  • "finalised": true,
  • "pendingCorrectionId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "originalClockOutKind": "likelyForgotten",
  • "flags": [
    ],
  • "intervals": [
    ],
  • "punches": [
    ],
  • "violations": [
    ],
  • "calculatedAt": "2026-10-01T08:15:00+02:00"
}

Download the template of a punch import

An XLSX file with the columns of a punch import in the caller's saved language and a second sheet explaining each column. HR only.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Import punches from a spreadsheet

HR uploads punches of the company, never their own. A worker checks every row like a punch: the employee was employed on the date, local times are read in the company's time zone (a time before the clock-in belongs to the next day, an ambiguous time in the autumn change needs an offset), the punches fit the day, the day is neither validated nor in the future. A row whose punches exist already is a duplicate, so a repeated file creates nothing. A real run records the punches with source import, recalculates their days and informs the uploader with time.punchImportFinished; a dry run reports the same and keeps nothing. Poll getPunchImport for the report.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: multipart/form-data
required
file
required
string <binary>

CSV (UTF-8, comma or semicolon) or XLSX, at most 5 MB and 10000 rows, with the columns of getPunchImportTemplate; headers in English, German or as the keys employeeNumber, date, clockIn, clockOut, breakStart, breakEnd and breakType. Other columns, such as worked hours, are ignored with a warning.

dryRun
string
Default: "false"
Enum: "true" "false"

Report what the import would do without keeping any punch.

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "fileName": "string",
  • "dryRun": true,
  • "status": "queued",
  • "counts": {
    },
  • "warnings": [
    ],
  • "rows": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "finishedAt": "2019-08-24T14:15:22Z"
}

Read a punch import and the report of every row

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "fileName": "string",
  • "dryRun": true,
  • "status": "queued",
  • "counts": {
    },
  • "warnings": [
    ],
  • "rows": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "finishedAt": "2019-08-24T14:15:22Z"
}

Override the days of several employees at once

Overrides every calculated day of the employees in a period of at most 31 days as one batch that can be undone. HR's own days, days of closed payroll months and days that already carry the value are skipped and listed.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

employeeIds
required
Array of strings <uuid> [ 1 .. 200 ] items [ items <uuid > ]
from
required
string <date> (Date)
to
required
string <date> (Date)
value
required
string (ClassificationOverrideValue)
Enum: "present" "halfPresent" "absent"

How present the day counts; leave, sickness and holidays come only from their own records.

reason
required
string [ 1 .. 500 ] characters

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "employeeIds": [
    ],
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "value": "present",
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "changed": [
    ],
  • "skipped": [
    ]
}

Undo a batch of overrides

Restores every day of the batch to what it was before. A day overridden again since keeps its newer value and is listed as kept. A batch is undone once (409).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "restored": [
    ],
  • "kept": [
    ]
}

Who is still in after the window

Employees still working or on a break after the window of the day their shift started ended and its early-end grace passed, each once. A night shift counts against its own window.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Default: "team"
Enum: "team" "company"
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Remind missing employees to clock in

Only employees in the caller's scope who are missing now are reminded, each once a day; the others are reported as skipped without a hint whether they exist. The message is plain text, shown as typed.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
employeeIds
required
Array of strings <uuid> (Uuid) [ 1 .. 200 ] items [ items <uuid > ]
message
string <= 1000 characters

Responses

Request samples

Content type
application/json
{
  • "employeeIds": [
    ],
  • "message": "string"
}

Response samples

Content type
application/json
{
  • "results": [
    ]
}

Employees expected today who have not clocked in

Scope team returns the caller's reports, company all employees (HR). Employees without a window or with full-day absence are excluded; each employee appears once. Sort allow-list: employee, overdueSeconds.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Default: "team"
Enum: "team" "company"

team (manager) or company (HR).

page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
sort
string
Examples: sort=-startDate,employee

Comma-separated property names; a leading "-" sorts descending.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "asOf": "2026-10-01T08:15:00+02:00",
  • "items": [
    ],
  • "meta": {
    }
}

Read the punch methods of an employee

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "methods": [
    ],
  • "companyDefault": true,
  • "version": 0
}

Restrict the punch methods of an employee

A punch through a method not allowed is refused with 403 and the problem type /problems/punch-method-not-allowed. This is a working condition, not a permission.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
required
Array of PunchMethod (strings) or null

Any subset; null returns the employee to the company's default punch methods.

Responses

Request samples

Content type
application/json
{
  • "methods": [
    ]
}

Response samples

Content type
application/json
{
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "methods": [
    ],
  • "companyDefault": true,
  • "version": 0
}

List late starts and early ends

Newest first. The period from-to spans at most 366 days.

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
scope
string (ListScope)
Default: "self"
Enum: "self" "team" "company"

self (default), team (the caller's reports) or company (HR).

employeeId
string <uuid> (Uuid)
Examples: employeeId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Restrict to one employee. An employee outside the caller's scope yields an empty list.

departmentId
string <uuid> (Uuid)
Examples: departmentId=0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Incidents of days on which the employee belonged to the department. A department that is none of the company's yields 400.

period
string (ListPeriod)
Enum: "thisMonth" "lastMonth" "thisYear" "thisYearOnward" "lastYear" "thisWeek" "lastWeek" "all"

The days a list of dated entries answers for, resolved on the company's local day: thisMonth (the default), lastMonth, thisYear, thisYearOnward (from the first day of the year, no end), lastYear, thisWeek or lastWeek (Monday to Sunday), or all (every day, for a work queue of open items). Explicit from and to override it (a side left out stays open). Every dated list takes this one shape; to see more than a period, ask with all or with from and to.

from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

type
string (LatenessIncidentType)
Enum: "lateStart" "earlyEnd"
status
string (LatenessIncidentStatus)
Enum: "recorded" "withdrawn" "dismissed"

recorded while the deviation lasts, withdrawn once a recalculation removed it, dismissed when a manager or HR excused it.

includeWithdrawn
boolean
Default: false

Withdrawn incidents are left out unless this is true or status asks for them.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Record one penalty on incidents of one employee

Records one penalty of the core penalty account with one source per incident (lateArrival for a late start, earlyDeparture for an early end); the date defaults to the latest incident's. The incidents are recorded ones of one employee (422) without an active penalty (409). Kinds, the leave check, the event and the employee's notice are those of createEmployeePenalty, and so is who may record: HR, a manager in scope while the company access setting managersRecordPenalties is on, nobody for their own incidents (403).

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

incidentIds
required
Array of strings <uuid> [ 1 .. 100 ] items unique [ items <uuid > ]
reason
required
string [ 1 .. 500 ] characters
date
string <date> (Date)
amount
integer >= 1

Minor units of the company currency; needs the penalty kind amount.

object (PenaltyLeaveDeduction)

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "incidentIds": [
    ],
  • "reason": "string",
  • "date": "2026-10-01",
  • "amount": 1,
  • "leaveDeduction": {
    }
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "date": "2026-10-01",
  • "reason": "string",
  • "amount": {
    },
  • "leaveDeduction": {
    },
  • "sources": [
    ],
  • "origin": "user",
  • "recordedBy": {
    },
  • "recordedAt": "2019-08-24T14:15:22Z",
  • "withdrawal": {
    }
}

Read a lateness incident

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "date": "2026-10-01",
  • "type": "lateStart",
  • "seconds": 28800,
  • "expectedAt": "2026-10-01T08:15:00+02:00",
  • "actualAt": "2026-10-01T08:15:00+02:00",
  • "status": "recorded",
  • "withdrawalReason": "absence",
  • "dismissal": {
    },
  • "penaltyId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "version": 0
}

Excuse an incident with a reason

The incident stays listed as dismissed and is no longer eligible for penalties. Nobody dismisses their own incident (403); only a recorded incident is dismissed (409).

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

reason
required
string [ 1 .. 500 ] characters

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "attendanceDayId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "date": "2026-10-01",
  • "type": "lateStart",
  • "seconds": 28800,
  • "expectedAt": "2026-10-01T08:15:00+02:00",
  • "actualAt": "2026-10-01T08:15:00+02:00",
  • "status": "recorded",
  • "withdrawalReason": "absence",
  • "dismissal": {
    },
  • "penaltyId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "version": 0
}

List the comments of a correction request

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Comment on a correction request

Text of 1 to 2000 characters and up to three PDF, PNG or JPEG files of at most 10 MB, recognised by their content. The other participants receive request.commented. Files are read through getRequestCommentAttachment by whoever reads the request.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Request Body schema: multipart/form-data
required
text
required
string <= 2000 characters
files
Array of strings <binary> <= 3 items [ items <binary > ]

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "author": {
    },
  • "text": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00",
  • "deletableUntil": "2026-10-01T08:15:00+02:00",
  • "attachments": [
    ]
}

Delete one's own comment within 15 minutes

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
commentId
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/problem+json
{
  • "type": "../dictionary",
  • "title": "string",
  • "status": 0,
  • "detail": "string",
  • "instance": "../dictionary",
  • "code": 0,
  • "correlationId": "string",
  • "violations": [
    ],
  • "dependents": [
    ]
}

Request the same times for a range of own days

Covers only eligible days and lists the skipped ones with their reason. One approval for all days; the approved series is applied to all days or, when one changed meanwhile, to none (applicationState failed).

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
employeeId
string <uuid> (Uuid)

Only the caller's own employee; for createAttendanceCorrectionSeries only.

from
required
string <date> (Date)
to
required
string <date> (Date)

At most 31 days after from, both included.

clockIn
required
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

HH:MM in the company's time zone.

clockOut
required
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

HH:MM in the company's time zone.

breakStart
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

HH:MM in the company's time zone.

breakEnd
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

Given together with breakStart.

reason
required
string [ 3 .. 2000 ] characters
title
string <= 120 characters

Responses

Request samples

Content type
application/json
{
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "clockIn": "string",
  • "clockOut": "string",
  • "breakStart": "string",
  • "breakEnd": "string",
  • "reason": "string",
  • "title": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "title": "string",
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "clockIn": "string",
  • "clockOut": "string",
  • "breakStart": "string",
  • "breakEnd": "string",
  • "reason": "string",
  • "direct": true,
  • "days": [
    ],
  • "skipped": [
    ],
  • "approval": { },
  • "applicationState": "notApplicable",
  • "applicationFailure": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Read a correction series

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "title": "string",
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "clockIn": "string",
  • "clockOut": "string",
  • "breakStart": "string",
  • "breakEnd": "string",
  • "reason": "string",
  • "direct": true,
  • "days": [
    ],
  • "skipped": [
    ],
  • "approval": { },
  • "applicationState": "notApplicable",
  • "applicationFailure": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

Correct a range of an employee's days directly

Under the rules of the direct correction: a manager in scope or HR, never for oneself, with a reason. All covered days are changed or none.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
employeeId
string <uuid> (Uuid)

Only the caller's own employee; for createAttendanceCorrectionSeries only.

from
required
string <date> (Date)
to
required
string <date> (Date)

At most 31 days after from, both included.

clockIn
required
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

HH:MM in the company's time zone.

clockOut
required
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

HH:MM in the company's time zone.

breakStart
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

HH:MM in the company's time zone.

breakEnd
string (TimeOfDay) ^([01][0-9]|2[0-3]):[0-5][0-9]$

Given together with breakStart.

reason
required
string [ 3 .. 2000 ] characters
title
string <= 120 characters

Responses

Request samples

Content type
application/json
{
  • "employeeId": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "clockIn": "string",
  • "clockOut": "string",
  • "breakStart": "string",
  • "breakEnd": "string",
  • "reason": "string",
  • "title": "string"
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "employee": {
    },
  • "title": "string",
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "clockIn": "string",
  • "clockOut": "string",
  • "breakStart": "string",
  • "breakEnd": "string",
  • "reason": "string",
  • "direct": true,
  • "days": [
    ],
  • "skipped": [
    ],
  • "approval": { },
  • "applicationState": "notApplicable",
  • "applicationFailure": "string",
  • "createdAt": "2026-10-01T08:15:00+02:00"
}

List break types

Authorizations:
bearerAuthsessionCookie
query Parameters
page
integer >= 1
Default: 1
perPage
integer [ 1 .. 200 ]
Default: 50
active
boolean

Only active or only inactive break types; all when omitted.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "meta": {
    }
}

Create a break type

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Idempotency-Key
string <uuid>

Client-generated key (UUID) making a POST safe to retry. A repeated key with an identical body returns the original response; with a different body it yields 422. While the first request with the key still runs, a repetition yields 409 (idempotency-request-in-progress) and does nothing; after a server error the key is free again.

Request Body schema: application/json
required
code
required
string [ 1 .. 20 ] characters

Unique per company, compared without case.

required
object (LocalisedText) non-empty

Display name per language; at least one language.

active
boolean
Default: true

Only an active break type can be named by a new break start.

Responses

Request samples

Content type
application/json
{
  • "code": "string",
  • "name": {
    },
  • "active": true
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "code": "string",
  • "name": "string",
  • "names": {
    },
  • "active": true,
  • "version": 0
}

Read a break type

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "code": "string",
  • "name": "string",
  • "names": {
    },
  • "active": true,
  • "version": 0
}

Change the code, names or active flag of a break type

A break type is never deleted; deactivate it instead. Its breaks keep it.

Authorizations:
bearerAuthsessionCookie
path Parameters
id
required
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
code
required
string [ 1 .. 20 ] characters

Unique per company, compared without case.

required
object (LocalisedText) non-empty

Display name per language; at least one language.

active
boolean
Default: true

Only an active break type can be named by a new break start.

Responses

Request samples

Content type
application/json
{
  • "code": "string",
  • "name": {
    },
  • "active": true
}

Response samples

Content type
application/json
{
  • "id": "0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b",
  • "code": "string",
  • "name": "string",
  • "names": {
    },
  • "active": true,
  • "version": 0
}

Read the time tracking settings

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "changeReason": {
    },
  • "absenceAccounting": "targetReduction",
  • "creditBasis": "scheduledTarget",
  • "ipAllowList": [
    ],
  • "geofence": {
    },
  • "offlinePunchMaxDelaySeconds": 28800,
  • "dayValidationRequired": true,
  • "dayValidation": {
    },
  • "overtime": {
    },
  • "accountLimits": {
    },
  • "correctionWindowDays": 31,
  • "missingPunch": {
    },
  • "compliance": {
    },
  • "accountReferencePeriod": "none",
  • "referenceStartMonth": 1,
  • "carryOverPlusLimitSeconds": 0,
  • "carryOverMinusLimitSeconds": 0,
  • "showRunningTimer": true,
  • "latenessTrackingEnabled": true,
  • "presenceToleranceSeconds": 0,
  • "defaultPunchMethods": [
    ],
  • "offDayWorkCompensation": "account",
  • "compensatoryHalfDayThresholdSeconds": 14400,
  • "compensatoryFullDayThresholdSeconds": 21600
}

Replace the time tracking settings (HR)

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
object (ChangeReasonInput)

Why the change is made, stored with the change set in the same transaction and never changed: shown with every history entry of the change set to exactly the readers of those entries. Not stored when nothing changes.

absenceAccounting
string
Default: "targetReduction"
Enum: "targetReduction" "timeCredit"

targetReduction lowers the daily target by absences; timeCredit keeps the target and credits absences of leave types with creditsWorkingTime as creditedSeconds. Switching recalculates the open months. Absences of leave types marked workingAbsence follow neither: the target stays the scheduled one, and the credit is the planned time of the covered part of the day less the time tracked beyond the rest of the day.

creditBasis
string
Default: "scheduledTarget"
Enum: "scheduledTarget" "averageDay"

Used with timeCredit and for absences of leave types marked workingAbsence. averageDay credits the employee's weeklyContractSeconds divided by the model's workingDaysPerWeek, which can change balances on uneven schedules.

ipAllowList
required
Array of strings

CIDR ranges. Empty means no restriction. Offline punches are not refused for their network but marked networkUnchecked.

required
object
offlinePunchMaxDelaySeconds
required
integer (DurationSeconds) [ 0 .. 2592000 ]

A duration in whole seconds. May be negative only where the property says so.

dayValidationRequired
boolean

Whether closed days may need a manager's validation; read-only shorthand of dayValidation (true for all or conditional). Written alone, true means all.

object
required
object
required
object
correctionWindowDays
required
integer [ 0 .. 366 ]
Default: 31
required
object
required
object

Break thresholds are not set here; they come from the working-time model (with the statutory floor). The daily maximum, the minimum rest and the night window are set per country (TimeTrackingCountrySettings).

accountReferencePeriod
string
Default: "none"
Enum: "none" "annual"

The period after which HR settles the account; none carries the balance on.

referenceStartMonth
integer [ 1 .. 12 ]
Default: 1
integer or null

The plus balance a settlement proposes to carry over; null for all of it.

integer or null
showRunningTimer
boolean
Default: true
latenessTrackingEnabled
boolean
Default: true
presenceToleranceSeconds
integer [ 0 .. 86400 ]
Default: 0

How far a day may fall short of its target and still count as present.

defaultPunchMethods
Array of strings
Default: ["web","app","terminal"]
Items Enum: "web" "app" "terminal"

The punch methods of an employee without their own.

offDayWorkCompensation
string
Default: "account"
Enum: "account" "compensatoryDays"

What work on an off day (public holiday, weekly off day, roster day off, no working day) earns: plus time in the account, or compensatory days from the thresholds on, which leave credits; such a day then books no plus time and no overtime claim. A day of leave or sickness is no off day.

compensatoryHalfDayThresholdSeconds
integer [ 1 .. 86400 ]
Default: 14400
compensatoryFullDayThresholdSeconds
integer [ 1 .. 86400 ]
Default: 21600

Responses

Request samples

Content type
application/json
{
  • "changeReason": {
    },
  • "absenceAccounting": "targetReduction",
  • "creditBasis": "scheduledTarget",
  • "ipAllowList": [
    ],
  • "geofence": {
    },
  • "offlinePunchMaxDelaySeconds": 28800,
  • "dayValidationRequired": true,
  • "dayValidation": {
    },
  • "overtime": {
    },
  • "accountLimits": {
    },
  • "correctionWindowDays": 31,
  • "missingPunch": {
    },
  • "compliance": {
    },
  • "accountReferencePeriod": "none",
  • "referenceStartMonth": 1,
  • "carryOverPlusLimitSeconds": 0,
  • "carryOverMinusLimitSeconds": 0,
  • "showRunningTimer": true,
  • "latenessTrackingEnabled": true,
  • "presenceToleranceSeconds": 0,
  • "defaultPunchMethods": [
    ],
  • "offDayWorkCompensation": "account",
  • "compensatoryHalfDayThresholdSeconds": 14400,
  • "compensatoryFullDayThresholdSeconds": 21600
}

Response samples

Content type
application/json
{
  • "changeReason": {
    },
  • "absenceAccounting": "targetReduction",
  • "creditBasis": "scheduledTarget",
  • "ipAllowList": [
    ],
  • "geofence": {
    },
  • "offlinePunchMaxDelaySeconds": 28800,
  • "dayValidationRequired": true,
  • "dayValidation": {
    },
  • "overtime": {
    },
  • "accountLimits": {
    },
  • "correctionWindowDays": 31,
  • "missingPunch": {
    },
  • "compliance": {
    },
  • "accountReferencePeriod": "none",
  • "referenceStartMonth": 1,
  • "carryOverPlusLimitSeconds": 0,
  • "carryOverMinusLimitSeconds": 0,
  • "showRunningTimer": true,
  • "latenessTrackingEnabled": true,
  • "presenceToleranceSeconds": 0,
  • "defaultPunchMethods": [
    ],
  • "offDayWorkCompensation": "account",
  • "compensatoryHalfDayThresholdSeconds": 14400,
  • "compensatoryFullDayThresholdSeconds": 21600
}

List the time tracking settings of every country of the company's offices

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Read the time tracking settings of one country of the company

Authorizations:
bearerAuthsessionCookie
path Parameters
countryCode
required
string^[A-Z]{2}$

ISO 3166-1 alpha-2 code of a country the company has an office in.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "maxDailyWorkSeconds": 1,
  • "minimumRestSeconds": 1,
  • "nightStart": "08:00",
  • "nightEnd": "08:00",
  • "countryCode": "string",
  • "defaults": {
    },
  • "isDefault": true
}

Replace the time tracking settings of one country of the company (HR)

They apply to later punches and recalculations only. A value equal to the country package's default follows the package from then on.

Authorizations:
bearerAuthsessionCookie
path Parameters
countryCode
required
string^[A-Z]{2}$

ISO 3166-1 alpha-2 code of a country the company has an office in.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

If-Match
required
string

ETag of the representation being modified (optimistic locking). A stale value yields 412.

Request Body schema: application/json
required
maxDailyWorkSeconds
required
integer or null [ 1 .. 86400 ]

The work of a day beyond which it is a violation; null for no limit.

minimumRestSeconds
required
integer or null [ 1 .. 86400 ]

The rest before a day below which it is a violation; null for no minimum.

required
schemas-TimeOfDay (string) or null

The start of the night window in local time, whose worked seconds count as nightSeconds; null, together with nightEnd, for no night time.

required
schemas-TimeOfDay (string) or null

The end of the night window, on the next day when it lies before the start.

Responses

Request samples

Content type
application/json
{
  • "maxDailyWorkSeconds": 1,
  • "minimumRestSeconds": 1,
  • "nightStart": "08:00",
  • "nightEnd": "08:00"
}

Response samples

Content type
application/json
{
  • "maxDailyWorkSeconds": 1,
  • "minimumRestSeconds": 1,
  • "nightStart": "08:00",
  • "nightEnd": "08:00",
  • "countryCode": "string",
  • "defaults": {
    },
  • "isDefault": true
}

Dashboard

Clock widget data

Own clock state and today's figures, read from the time tracking queries. Refresh through the live topic of the caller's own attendance days.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "state": "clockedOut",
  • "since": "2026-10-01T08:15:00+02:00",
  • "date": "2026-10-01",
  • "workedSeconds": 28800,
  • "breakSeconds": 28800,
  • "targetSeconds": 28800,
  • "allowedActions": [
    ]
}

My time summary

Worked, target, credited and delta seconds for the current week, the current month and the last month, the working-time account balance with a weekly trend, and pending overtime. Targets follow the absence accounting of time tracking (targetReduction or timeCredit). Feeds five widgets with one request.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "asOf": "2026-10-01T08:15:00+02:00",
  • "absenceAccounting": "targetReduction",
  • "week": {
    },
  • "month": {
    },
  • "lastMonth": {
    },
  • "account": {
    },
  • "pendingOvertime": {
    }
}

Colleagues present or absent

Counts and a list of absent or away colleagues, limited by the company setting colleagueAbsenceVisibility (own department or company). Never reasons, times, punches or balances. Answers 403 while the setting is off.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "visibility": "department",
  • "presentCount": 0,
  • "absentCount": 0,
  • "awayCount": 0,
  • "items": [
    ]
}

Team present or absent now

Presence states of the scope today. scope=team returns the manager's reports, scope=company only HR; a manager asking for company answers 403. Absence reasons follow managerSeesSickness.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Default: "team"
Enum: "team" "company"

team returns the caller's reports (managers); company returns everybody (HR only, otherwise 403).

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "scope": "team",
  • "counts": {
    },
  • "items": [
    ]
}

Everybody of the company, absent, not yet in or in

HR only. Everybody employed today in the groups absent (with the reason), notYetIn (with the planned start of the day where there is one) and present, from the same presence data as the presence view and its live updates.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "groups": {
    }
}

Missing punches in the team

Employees of the scope who are expected but have not clocked in, and open days without clock-out. Scope rules as getDashboardTeamPresence.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Default: "team"
Enum: "team" "company"

team returns the caller's reports (managers); company returns everybody (HR only, otherwise 403).

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "totalCount": 0,
  • "items": [
    ]
}

Team balances outside a tolerance

Working-time balances of the scope whose absolute value exceeds thresholdSeconds, largest first. Scope rules as getDashboardTeamPresence.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Default: "team"
Enum: "team" "company"

team returns the caller's reports (managers); company returns everybody (HR only, otherwise 403).

thresholdSeconds
integer [ 0 .. 3600000 ]
Default: 36000

Tolerance in seconds.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "thresholdSeconds": 28800,
  • "totalOutside": 0,
  • "items": [
    ]
}

Late starts and early ends of the team

Individual late starts and early ends of the scope on one day. The only operation that exposes individual punctuality; ordinary employees, admins without hr and managers outside the scope get 403 or 404. Scope rules as getDashboardTeamPresence.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Default: "team"
Enum: "team" "company"

team returns the caller's reports (managers); company returns everybody (HR only, otherwise 403).

date
string <date>

The day to show, YYYY-MM-DD; today by default. A day after today or no date yields 400.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "date": "2026-10-01",
  • "totalCount": 0,
  • "items": [
    ]
}

Working-time rule violations

Violations of the working-time rules in the last days, counted per code, newest first.

Authorizations:
bearerAuthsessionCookie
query Parameters
days
integer [ 1 .. 31 ]
Default: 7

Look-back in days.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "days": 0,
  • "counts": {
    },
  • "items": [
    ]
}

Attendance today

Who of the caller's scope is present (working, on a break or clocked out), not yet in, or absent for the whole day now, from the same presence data as each person's clock state, so everybody counts once; nobody on a day off counts. Expected are the present and those not yet in; half-day absent are the present with a partial absence; the rate is present over expected times 100 with one decimal.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reports, company for everybody, open to HR only (422 for others). HR without a team sees the company either way.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "expected": 0,
  • "present": 0,
  • "notYetIn": 0,
  • "absent": 0,
  • "halfDayAbsent": 0,
  • "rate": 0
}

Clock-in distribution

The first clock-in of each employee of the caller's scope on one day, today by default, per 30-minute bucket of the company's local time, earliest first; empty buckets are left out.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reports, company for everybody, open to HR only (422 for others). HR without a team sees the company either way.

date
string <date>

The day to show, YYYY-MM-DD; today by default. A day after today or no date yields 400.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "date": "2026-10-01",
  • "buckets": [
    ]
}

Punctuality by department

For each department of the employees in the caller's scope the working days of the period (a target above 0 and attendance) as onTime, lateStart and earlyEnd; a day that is late and early counts in both and not as on time. A late start and an early end are those of the attendance day, as the lateness incidents are made from them. A day counts for the department the employee belonged to on it; days without a department come with departmentId and name null. Departments by name, those without a name last; a period without a working day has none.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reports, company for everybody, open to HR only (422 for others). HR without a team sees the company either way.

period
string
Enum: "day" "week" "month"

day (default), the day of date; week, the week from Monday to Sunday, or month, the calendar month that holds date.

date
string <date>

A day of the period, YYYY-MM-DD: the day itself, or a day of the week or month; today by default. A day after today yields 400.

display
string
Enum: "absolute" "share"

How the widget shows the counts, absolute (default) or share of the department's working days. The answer is the same; the setting is checked and the client shapes it.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "departments": [
    ]
}

Days to validate

Up to 20 closed days of the caller's scope that wait for validation, oldest first, with their total count; never the caller's own days. Validate a day with validateAttendanceDay and its ETag. The widget exists only where the company validates days.

Authorizations:
bearerAuthsessionCookie
query Parameters
scope
string
Enum: "team" "company"

team (default) for the caller's reports, company for everybody, open to HR only (422 for others). HR without a team sees the company either way.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "totalCount": 0,
  • "items": [
    ]
}

My attendance calendar

The caller's own days of a month with their state and hours; only the caller's own (any other parameter, such as another employee, answers 400). A night shift counts on the day it started.

Authorizations:
bearerAuthsessionCookie
query Parameters
month
string^[0-9]{4}-(0[1-9]|1[0-2])$

The month YYYY-MM; the current one unless given.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "month": "string",
  • "days": [
    ]
}

My hours per day

The caller's worked and target seconds per day of the period (from, to; the current month unless given, at most 366 days).

Authorizations:
bearerAuthsessionCookie
query Parameters
from
string <date> (Date)
Examples: from=2026-10-01

Inclusive start date of the period.

to
string <date> (Date)
Examples: to=2026-10-01

Inclusive end date of the period.

header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "from": "2026-10-01",
  • "to": "2026-10-01",
  • "days": [
    ]
}

Payroll month status

The first open month, the last closed month, unresolved days and changes after closing.

Authorizations:
bearerAuthsessionCookie
header Parameters
Company-Id
string <uuid> (Uuid)
Examples: 0192a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b

Company context of the request. Defaults to the user's home company. A company the user has no role in yields 403.

Responses

Response samples

Content type
application/json
{
  • "openMonth": "string",
  • "closedThrough": "string",
  • "unresolvedDayCount": 0,
  • "postCloseChangeCount": 0
}