Correct a time account, e.g. opening balance or payout (hr:time:manage, or the person's managers and deputies)
POST /api/hr/v1/employees/{id}/time-adjustments
Module: HR · operationId: createEmployeeTimeAdjustment · Tag: Working time · Auth: access token (Authorization: Bearer <accessToken>)
Managers and deputies in the chain of command correct their team's accounts, never their own (403); people outside their team answer 404. This team path needs the person's own sign-in session – API key and assistant tokens without hr:time:manage answer 403. The payroll export stays with hr:time:manage.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string (uuid) | yes |
Request body
application/json (required)
date(string (date), required): Day the correction counts for (YYYY-MM-DD)minutes(integer, required): Minutes added to the time account (negative: subtracted)note(string, required): Reason of the correction
Example:
{
"date": "2026-10-31",
"minutes": -600,
"note": "Auszahlung von 10 Überstunden mit der Oktoberabrechnung"
}
Responses
- 201 Booked (
application/json) - 400 Error (
application/json) - 403 Error (
application/json) - 404 Error (
application/json) - 409 Error (
application/json)
Fields of the 201 answer:
createdAt(string (date-time)): When the correction was enteredcreatedBy(string): Who entered the correction (e-mail)date(string (date)): Day the correction counts for (YYYY-MM-DD)id(string): Id of the correctionminutes(integer): Minutes added to the time account (negative: subtracted)note(string): Reason of the correction
Example 201 answer:
{
"createdAt": "2026-11-03T09:10:00Z",
"createdBy": "clara.becker@muster-it.example",
"date": "2026-10-31",
"id": "1c3e5a7c-9e1a-4c3e-8a5c-9e1a3c5e7a35",
"minutes": -600,
"note": "Auszahlung von 10 Überstunden mit der Oktoberabrechnung"
}
Example request
curl -X POST 'https://api.mbcom.cloud/api/hr/v1/employees/3f2b8c1e-7d4a-4e9b-9c2a-5b1d6e8f0a12/time-adjustments' \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
--data '{"date":"2026-10-31","minutes":-600,"note":"Auszahlung von 10 Überstunden mit der Oktoberabrechnung"}'