Hrmony Embedded API — Admin (EN) (1.0.0)

Download OpenAPI specification:

License: LicenseRef-Hrmony-Proprietary

Operations the partner backend performs on behalf of a single customer organization: creating and maintaining employees, configuring benefits, retrieving payroll data, polling jobs.

Authentication — backend token

Backend JWT via the client_credentials grant. Tokens are not issued by this gateway but by its own subdomain, auth.<partner>.hrmony.rest:

curl --request POST \
  --url https://auth.<partner>.hrmony.rest/oauth/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data grant_type=client_credentials \
  --data client_id=<CLIENT_ID> \
  --data client_secret=<CLIENT_SECRET> \
  --data scope='admin:read admin:write'

<partner> is the subdomain assigned to the partner; Hrmony provides client_id and client_secret during onboarding.

The response carries access_token, token_type: Bearer and expires_in. Send the token as Authorization: Bearer <access_token>. This tier has no refresh tokens — once a token expires, request a new one through the same grant; cache it server-side and renew it before it expires.

When its limit is exceeded, POST /oauth/token answers 429 /errors/throttled (see “Throttling (429)”).

For this tier the authorization server has exactly two endpoints: the POST /oauth/token above, and GET /.well-known/jwks.json carrying the public key that issued tokens can be verified against. Both live on the auth subdomain rather than on this gateway, so they do not appear in the endpoint list below — the example above is their complete description.

Credentials and scopes

Hrmony issues one client_id/client_secret pair per partner installation. That pair is deliberately valid on all three tiers — it is not an access right in itself, only the permission to have tokens issued. What a call may do is decided by the issued access token alone:

  • A token belongs to exactly one tier. Scopes from two tiers in one request are rejected with 400 invalid_scope, and the other two tiers' gateways reject a token of this tier with 401.
  • A token carries exactly the scopes requested. scope=admin:read yields a read-only token: write endpoints then answer 403 (/errors/forbidden). Every GET is a read, every POST a write. For use cases that only read — a back office, say — this is the intended route: a token of its own with the smallest sufficient scope rather than one token holding every right.
  • The required scope is stated on every operation in this specification as x-required-scope.

On request Hrmony issues several client_id/client_secret pairs for the same installation — one per connecting system, say, so that one can be replaced without touching the others. A credential cannot be restricted to particular tiers or scopes; the separation happens on the token.

The end-user app authenticates differently (a token exchange per employee); that flow is documented on the client tier.

Organization context

Every request on this tier runs in the context of exactly one organization, set through the mandatory header X-Hrmony-Tenant-ID: <organizationId> — not through the path, the query string or the body. A request without that header is rejected with 400 before the operation runs at all. Operations that concern no single organization (creating or listing organizations) live on the partner tier.

Long-running operations

Operations that cannot finish inside one request — bulk endpoints above all — answer 202 Accepted with a job wrapper instead of a result. The wrapper carries a pollUrl; follow it verbatim (it points at GET /v1/jobs/{jobId}). The result is there once status is no longer running.

Status

Three levels carry a status, each with its own set of values. They are independent of one another: every value comes from its own record, none is computed from another.

Organization benefit — GET /v1/organization/benefits

  • active — The benefit is enabled for the organization right now.
  • inactive — It is not.

Employee — GET /v1/employees/{employeeId}

  • active — The employee belongs to the organization and can receive benefits.
  • inactive — The employee is no longer active and cannot receive benefits.

Employee benefit — GET /v1/employees/{employeeId}/mealSubsidy and the other benefit status endpoints.

  • active — The benefit is effective for that employee.
  • suspended — The benefit is configured but not effective in the current service month, and continues afterwards without being configured again. Such months arise when a benefit end is set and the benefit is activated again later (meal subsidy, mobility). Every admin endpoint reports such months as suspended, for both benefits.
  • inactive — It is not effective, for one of three reasons: a benefit end was set, the benefit was never configured, or its first configuration starts only in a future service month. In the third case it stays inactive until that month, and the planned configuration is under nextConfiguration in GET /v1/employees/{employeeId}/mealSubsidy and GET /v1/employees/{employeeId}/mobility. This API cannot tell the first two apart.

These endpoints answer for the current service month. The status of past service months is reported by GET /v1/employees/mealSubsidy/serviceMonths and GET /v1/employees/mobility/serviceMonths; a month without a row is a month without the benefit. For a single employee, GET /v1/benefits/mealSubsidy/employeeStatus/{serviceMonth} on the client tier reports it as well.

How the levels interact

  • While the organization benefit is inactive, configuring or enabling that benefit for an employee answers 403.
  • While the employee is inactive, configuring or enabling any benefit for them answers 409. A benefit end already set is not an obstacle.
  • While the employee benefit is inactive, configuring answers 409; the benefit has to be enabled first.

No status blocks submitting a receipt: receipts are accepted and assessed regardless of all three levels, a service month without an effective benefit simply reimburses nothing. What a block on the organization means for the individual employees is documented on POST /v1/organization/mealSubsidy/disable.

API style

Write endpoints carry a verb in the path: POST …/employees/create rather than POST …/employees. This is deliberate.

The style is hybrid by design:

  • Writes are RPC. The path names the action, the body carries the data.
  • Reads are REST. GET …/{id}, parameters in the URL, no body.

Behind every write endpoint is a command-based model, not a CRUD one. Enabling the meal subsidy or fetching payroll data are not updates to a field on a resource; expressing them as PUT or PATCH would force an unnatural mapping. Many actions are also scheduled rather than immediate: a benefit is activated for an upcoming service month, not right now, and a PATCH on the current state cannot say that.

Reads stay on GET because GET buys something real: responses are cacheable in CDNs and proxies, retries are safe, and a plain lookup needs no request body.

The result is RPC for actions, REST for data.

Errors

All errors follow RFC 9457 Problem Details. Only the type URI is stable and worth branching on — title and detail are for humans and may change. They follow the request language, with one exception: for /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error and /errors/server-error they are always English, for /errors/internal-server-error they can be English. Every error carries a requestId; quote it when raising something with Hrmony.

403 or 404. 403 means the token lacks the required scope, or the current business state forbids the action — a benefit that is not enabled for the organization, for instance.

404 means the resource addressed does not exist or is not yours: another employee's receipt, another partner's organization. We answer both the same way, deliberately indistinguishable — otherwise the status codes would let you probe which ids exist. A 404 therefore does not tell you that the id is unknown.

One error is listed under no single endpoint: /errors/not-found (404) for a path this API does not know, or an HTTP method an endpoint does not offer.

Framework errors and domain errors alike carry type URIs under /errors/….

Responses the API gateway produces itself, and that are none of the cases above, carry the catch-all types /errors/client-error (4xx) and /errors/server-error (5xx). Neither carries a status field: they span several status codes, and the gateway cannot read the actual code inside its template. Branch on the HTTP status code of the response instead.

Throttling (429)

There are no application-level rate limits: no quota per client or per token, and therefore no RateLimit-* headers either.

The 429 /errors/throttled documented on every operation occurs when the requests of all clients to this gateway together exceed its limit. POST /oauth/token and POST /oauth/revoke have a limit of their own and, when it is exceeded, likewise answer 429 /errors/throttled as Problem Details, not with an OAuth error.

A 429 carries no Retry-After. Treat it as transient and retry with exponentially growing delays plus jitter, not at a fixed interval. The usual retry rules apply: GET is safe to repeat, write endpoints only with the same Idempotency-Key as the first attempt — otherwise you create a second operation.

A 429 says nothing about permissions and does not indicate a blocked account: it means only that this request was not processed and that the same request may succeed later.

Timestamps

Every timestamp (date-time) is in UTC, in ISO 8601 format with Z: 2026-05-12T09:14:00Z.

A timestamp used as a filter value may carry any offset; the instant is what is compared. 2026-05-12T11:14:00+02:00 filters like 2026-05-12T09:14:00Z.

Calendar days and service months — "today", "current service month", values in YYYY-MM format — are determined in the Europe/Berlin time zone. From 00:00 Berlin time, write endpoints check against the new day and service month. Values for the current service month switch over in the early morning hours of the 1st; until then they can still show the previous month.

Language

For your partner account, the API serves the English variant only: English paths, English field names, English error text. Accept-Language is optional; when sent it must be en. This variant is supported permanently.

The benefit product names are translated like every other term: mealSubsidy and mobility.

Employees

Create, maintain, deactivate and reactivate the organization's employees.

  1. Create: POST /v1/employees/create, up to 1000 at once through POST /v1/employees/createBulk as a job (see Long-running operations).
  2. Maintain: POST /v1/employees/setMasterData.
  3. Leaving: POST /v1/employees/deactivate, undone through POST /v1/employees/reactivate. Reactivating does not switch the benefits back on.

What active and inactive mean and how they interact with the benefits is under Status.

Create a single employee

Creates one employee and responds synchronously with 201. The employee number must be unique inside the organization, otherwise 409 personnel-number-already-taken. For several at once: POST /v1/employees/createBulk.

externalEmployeeId: a given id must be free in the partner account. If it already belongs to an employee, the endpoint answers 409 external-employee-id-already-taken and creates nothing, also when two requests ask for the same id at the same time. The value is taken over unchanged — no trimming, no case folding. The 201 carries externalEmployeeId exactly when an id was given.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
employeeNumber
required
string [ 1 .. 100 ] characters \S

Personnel number of the employee. Unique within the organization; duplicate results in 409. Must not be blank.

firstName
required
string [ 1 .. 100 ] characters \S

First name of the employee. Must not be blank.

lastName
required
string [ 1 .. 100 ] characters \S

Last name of the employee. Must not be blank.

externalEmployeeId
string [ 1 .. 255 ] characters

Optional stable identifier of the employee from the partner system. Immutable after creation. Used as the sub claim on user tokens.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (Employee)
employeeId
required
string <uuid>

Hrmony-internal employee id.

organizationId
required
string <uuid>

UUID of the organization this employee belongs to.

employeeNumber
required
string

Personnel number from payroll.

firstName
required
string

First name of the employee.

lastName
required
string

Last name of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

string or null

Day the employee becomes or became inactive. If a deactivation is scheduled with deactivate, this is the scheduled day; deactivating again before that day replaces it. If the employee is inactive, this is the day they were deactivated. Otherwise the field is null, also after a scheduled deactivation was cancelled with reactivate. Absent from GET /v1/employees.

string or null

Day the employee becomes active again, if a reactivation is scheduled with reactivate. Reactivating again before that day replaces it. If no reactivation is scheduled, the field is null, including once the employee is active again. Absent from GET /v1/employees.

externalEmployeeId
string

Stable identifier provided by the partner; absent when none belongs to the employee. Immutable after creation.

Request samples

Content type
application/json
{
  • "employeeNumber": "P-10023",
  • "firstName": "Anna",
  • "lastName": "Schmidt",
  • "externalEmployeeId": "ext-ma-9f72e3"
}

Response samples

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

Fetch a single employee

Returns the employee regardless of status; inactive employees are included. 404 if the employee does not exist or belongs to another organization — see Errors.

Authorizations:
clientCredentials
path Parameters
employeeId
required
string <uuid>

UUID of the employee.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (Employee)
employeeId
required
string <uuid>

Hrmony-internal employee id.

organizationId
required
string <uuid>

UUID of the organization this employee belongs to.

employeeNumber
required
string

Personnel number from payroll.

firstName
required
string

First name of the employee.

lastName
required
string

Last name of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

string or null

Day the employee becomes or became inactive. If a deactivation is scheduled with deactivate, this is the scheduled day; deactivating again before that day replaces it. If the employee is inactive, this is the day they were deactivated. Otherwise the field is null, also after a scheduled deactivation was cancelled with reactivate. Absent from GET /v1/employees.

string or null

Day the employee becomes active again, if a reactivation is scheduled with reactivate. Reactivating again before that day replaces it. If no reactivation is scheduled, the field is null, including once the employee is active again. Absent from GET /v1/employees.

externalEmployeeId
string

Stable identifier provided by the partner; absent when none belongs to the employee. Immutable after creation.

Response samples

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

List employees

Sort by name: sort=lastName,firstName. Only active employees: filter with status=active; status is not sortable.

Filterable fields

A comma in a value is always an enumeration separator; literal commas are not allowed.

An enumeration takes at most 100 values; more are rejected with 400 /errors/invalid-filter.

An empty value is not allowed, not even as an element of an enumeration.

= and , (IN) match exactly and are case-sensitive. .contains matches a substring and ignores case.

Field Operators Values Examples
employeeNumber =, , (IN), .contains string ?employeeNumber=<value>
?employeeNumber=<value>,<value2>
?employeeNumber.contains=<value>
lastName =, .contains string ?lastName=<value>
?lastName.contains=<value>
firstName =, .contains string ?firstName=<value>
?firstName.contains=<value>
externalEmployeeId =, , (IN), .contains string ?externalEmployeeId=<value>
?externalEmployeeId=<value>,<value2>
?externalEmployeeId.contains=<value>
status =, , (IN) active, inactive ?status=active
?status=active,inactive

Sortable fields: employeeNumber, lastName, firstName, externalEmployeeId (default employeeNumber)

Authorizations:
clientCredentials
query Parameters
limit
integer >= 1
Default: 50

Page size: default 50, at most 1000. A larger value is rejected with 400 /errors/limit-exceeded.

cursor
string

Opaque cursor from meta.pagination.nextCursor.

employeeNumber
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

employeeNumber.contains
string <= 64 characters

Contains, ignoring case.

lastName
string

Last name of the employee.

lastName.contains
string

Contains, ignoring case.

firstName
string

First name of the employee.

firstName.contains
string

Contains, ignoring case.

externalEmployeeId
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

externalEmployeeId.contains
string <= 255 characters

Contains, ignoring case.

status
string

Allowed values: active, inactive. Comma-separated for multiple values. A comma always separates values and is never part of a value.

sort
string

Sortable fields: employeeNumber, lastName, firstName, externalEmployeeId. A leading "-" sorts descending, comma-separated for multiple fields. Default: employeeNumber. Entries with equal values always come in the same order. Without writes between pages, paging returns each entry exactly once.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
Array of objects (Employee)
Array
employeeId
required
string <uuid>

Hrmony-internal employee id.

organizationId
required
string <uuid>

UUID of the organization this employee belongs to.

employeeNumber
required
string

Personnel number from payroll.

firstName
required
string

First name of the employee.

lastName
required
string

Last name of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

string or null

Day the employee becomes or became inactive. If a deactivation is scheduled with deactivate, this is the scheduled day; deactivating again before that day replaces it. If the employee is inactive, this is the day they were deactivated. Otherwise the field is null, also after a scheduled deactivation was cancelled with reactivate. Absent from GET /v1/employees.

string or null

Day the employee becomes active again, if a reactivation is scheduled with reactivate. Reactivating again before that day replaces it. If no reactivation is scheduled, the field is null, including once the employee is active again. Absent from GET /v1/employees.

externalEmployeeId
string

Stable identifier provided by the partner; absent when none belongs to the employee. Immutable after creation.

required
object
required
object

Response samples

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

Create multiple employees

Creates up to 1000 employees in one call. The response is 202 plus a job; the result arrives via GET /v1/jobs/{jobId}.

Before the 202 the whole request always fails, and no employee is created:

  • 400: schema violations (blank personnel number, first or last name, any of the three longer than 100 characters, 0 or more than 1000 entries, field names of the other language surface), the same externalEmployeeId in two entries of the same request, or entries too large in total.
  • 409 or 422: the same Idempotency-Key is still in flight, or was used with a different body.

After the 202 entries fail individually. The job ends once every entry is in result.data.successful or result.data.failed, with status: successful — even when entries fail; reason is one of employee_number_already_taken, employee_number_duplicated_in_batch, external_employee_id_already_taken or other. Only after a severe disruption does it end with status: incomplete: the entries without an outcome are then in result.data.unresolved; whether such an employee was created is shown by GET /v1/employees/{employeeId} with its employeeId.

externalEmployeeId: an id that is already taken rejects only its own entry — no employee is created for it, and it appears in result.data.failed with reason: external_employee_id_already_taken, while the remaining entries are created as usual. Only two identical ids within the same request are a 400 before the 202; detail points at the entry that repeats the id and names the entry that used it first.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
required
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Idempotency key — required for asynchronous requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
required
Array of objects [ 1 .. 1000 ] items

Employees to create, 1 to 1000 entries.

Array ([ 1 .. 1000 ] items)
employeeNumber
required
string [ 1 .. 100 ] characters \S

Personnel number of the employee. Unique within the organization; if it is already taken, only this entry fails (reason: employee_number_already_taken). Must not be blank.

firstName
required
string [ 1 .. 100 ] characters \S

First name of the employee. Must not be blank.

lastName
required
string [ 1 .. 100 ] characters \S

Last name of the employee. Must not be blank.

externalEmployeeId
string [ 1 .. 255 ] characters

Optional stable identifier of the employee from the partner system. Immutable after creation. Used as the sub claim on user tokens.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (RetrieveJobData)
required
object
object

Result of the job, present once status is successful or incomplete. Carries the same { data } envelope a synchronous call would have returned. Which variant of data you get is determined by job.type: employees.create_bulk returns the batch log; employees.meal_subsidy.activate_bulk, employees.meal_subsidy.deactivate_bulk, employees.meal_subsidy.configure_bulk, employees.mobility.activate_bulk, employees.mobility.deactivate_bulk and employees.mobility.configure_bulk all return the same bulk log — job.type alone tells an activation result from a deactivation or configuration one, and the meal subsidy from mobility.

Request samples

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

Response samples

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

Deactivate employee

If deactivateOn is today or in the past, the employee is inactive immediately after the response. A future date only schedules the deactivation and leaves them active until that day.

Their benefits stay active until the end of the current month — the employee remains entitled to that month, see GET /v1/employees/{employeeId}/mealSubsidy.

deactivateOn. A future date schedules the deactivation for that day. The scheduled day is in deactivateOn of the response and of GET /v1/employees/{employeeId}. A past date is accepted but does not end the benefit retroactively: the benefit end falls in the month we process the request, not in the month of the date. The day decides the last service month — a date from the 2nd onwards ends the benefit with that month, the 1st with the month before.

Deactivating again. If the employee is already inactive, another call succeeds and changes nothing: deactivateOn and the benefit end stay as they are, also with a different date.

Receipts carry on. Deactivating stops no review: receipts still in review are reviewed to the end, and the employee can still submit, delete and dispute. A receipt for a month after the benefit end is recorded but reimburses nothing — up to the benefit end they count normally.

Tokens stay valid. Deactivating revokes no tokens. An access token already issued is valid until it expires, a refresh token can still be redeemed, and a fresh token exchange succeeds as well. Locking someone out of the app after they leave is your call: end the session in your app and revoke the refresh token via POST /oauth/revoke.

Payroll. The month the employee leaves in is still settled: they appear in a payroll file generated for that service month. Deactivating changes no payroll file that already exists, and on its own triggers no correction version.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

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

UUID of the employee.

deactivateOn
required
string <date>

Date of deactivation.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeStatusData)
employeeId
required
string <uuid>

UUID of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

required
string or null

Day the employee becomes or became inactive. If a deactivation is scheduled with deactivate, this is the scheduled day; deactivating again before that day replaces it. If the employee is inactive, this is the day they were deactivated. Otherwise the field is null, also after a scheduled deactivation was cancelled with reactivate.

required
string or null

Day the employee becomes active again, if a reactivation is scheduled with reactivate. Reactivating again before that day replaces it. If no reactivation is scheduled, the field is null, including once the employee is active again.

Request samples

Content type
application/json
{
  • "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
  • "deactivateOn": "2019-08-24"
}

Response samples

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

Reactivate employee

Withdraws a deactivation — the counterpart of deactivate.

If the deactivation had not taken effect yet, it is cancelled and the employee stays active throughout. If they were already inactive, reactivateOn decides: today or in the past reactivates immediately, a future date schedules the reactivation and leaves them inactive until that day. The scheduled day is in reactivateOn of the response and of GET /v1/employees/{employeeId}. Calling it for an already active employee succeeds and changes nothing.

Benefits do not come back on their own. An employee whose meal subsidy ended with the deactivation is active again but earns nothing. Switch the benefit back on yourself afterwards — POST /v1/employees/mealSubsidy/activate and POST /v1/employees/mobility/activate resume it with the last valid configuration, configure does the same with changed values. The order is binding: while the employee is inactive, those endpoints reject with 409.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

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

UUID of the employee.

reactivateOn
required
string <date>

Date of reactivation.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeStatusData)
employeeId
required
string <uuid>

UUID of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

required
string or null

Day the employee becomes or became inactive. If a deactivation is scheduled with deactivate, this is the scheduled day; deactivating again before that day replaces it. If the employee is inactive, this is the day they were deactivated. Otherwise the field is null, also after a scheduled deactivation was cancelled with reactivate.

required
string or null

Day the employee becomes active again, if a reactivation is scheduled with reactivate. Reactivating again before that day replaces it. If no reactivation is scheduled, the field is null, including once the employee is active again.

Request samples

Content type
application/json
{
  • "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
  • "reactivateOn": "2019-08-24"
}

Response samples

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

Set employee master data

Updates the employee’s master data regardless of status. 409 if the personnel number is held by another employee; leading zeros are ignored for that check (00435 equals 435).

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

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

UUID of the employee.

employeeNumber
required
string [ 1 .. 100 ] characters \S

Personnel number of the employee. Must not be blank.

firstName
required
string [ 1 .. 100 ] characters \S

First name of the employee. Must not be blank.

lastName
required
string [ 1 .. 100 ] characters \S

Last name of the employee. Must not be blank.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeStatusData)
employeeId
required
string <uuid>

UUID of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

required
string or null

Day the employee becomes or became inactive. If a deactivation is scheduled with deactivate, this is the scheduled day; deactivating again before that day replaces it. If the employee is inactive, this is the day they were deactivated. Otherwise the field is null, also after a scheduled deactivation was cancelled with reactivate.

required
string or null

Day the employee becomes active again, if a reactivation is scheduled with reactivate. Reactivating again before that day replaces it. If no reactivation is scheduled, the field is null, including once the employee is active again.

Request samples

Content type
application/json
{
  • "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
  • "employeeNumber": "P-10023",
  • "firstName": "Anna",
  • "lastName": "Schmidt"
}

Response samples

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

Organization

The organization that X-Hrmony-Tenant-ID selects (see Organization context).

Enabling and blocking the benefits: Organization · Meal Subsidy and Organization · Mobility.

Fetch the active organization

Returns the organization selected by X-Hrmony-Tenant-ID.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (Organization)
organizationId
required
string <uuid>

Hrmony-internal UUID of the organization.

externalCustomerId
string

Stable customer identifier provided by the partner. Unique per partner account. Printed as the customer number in payroll files.

name
string

Display name of the organization.

Response samples

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

Change external customer ID

Sets the calling organization’s external customer ID to a new value. The ID is unique per partner account; if another organization already holds it, the endpoint answers 409 external-customer-id-already-taken and changes nothing. The previous value is released by the same call and can be claimed again.

Re-sending the organization’s own current value is a no-op and answers 200, so a retry after a timeout is safe.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
externalCustomerId
required
string [ 1 .. 255 ] characters

New stable customer ID from the partner CRM. Unique per partner account; the previous value is released.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (Organization)
organizationId
required
string <uuid>

Hrmony-internal UUID of the organization.

externalCustomerId
string

Stable customer identifier provided by the partner. Unique per partner account. Printed as the customer number in payroll files.

name
string

Display name of the organization.

Request samples

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

Response samples

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

Fetch organization benefit overview

The organization's benefits with their current activation state.

The relevant enablement period for activeFrom is the running one, otherwise the next scheduled one, otherwise the most recent past one. With status: inactive, an activeFrom after the current month is a scheduled enablement; one before it is the start of the most recent past period. A scheduled block is not represented here.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
Array of objects (OrgBenefitOverview)
Array
benefitType
required
string
Enum: "meal_subsidy" "mobility"

Benefit type.

status
required
string
Enum: "active" "inactive"

active while the benefit is enabled for the organization in the current service month.

string or null

First service month of the relevant enablement period. null if the benefit was never enabled.

Response samples

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

Organization · Meal Subsidy

Enable and block the meal subsidy for the organization, each from a service month on.

Enabling through POST /v1/organization/mealSubsidy/enable is the precondition for everything under Employees · Meal Subsidy; each employee is then configured there. POST /v1/organization/mealSubsidy/disable blocks it again; what a block means for the employees is described there.

GET /v1/organization/mealSubsidy/serviceMonths lists the organization's meal subsidy per service month.

Activate Meal Subsidy

Enables the meal subsidy for the organization from the service month effectiveFrom on. effectiveFrom must be the current or a future service month; an earlier one is rejected with 422 /errors/effective-date-in-the-past. A repeated call for a month the benefit is already enabled for changes nothing.

Enabling is the precondition for configuring the benefit per employee — while the organization is not enabled, the employee endpoints answer 403.

Enabling configures nobody. It opens the benefit for the organization; every employee still needs POST /v1/employees/mealSubsidy/configure. This matters most after a block: re-enabling does not revive the employees whose benefit the block ended — see the block endpoint.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (OrgEnablementData)
organizationId
required
string <uuid>

Hrmony-internal UUID of the organization.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "effectiveFrom": "2026-09"
}

Response samples

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

Block Meal Subsidy

Blocks the meal subsidy for the organization. effectiveFrom is the first service month without the benefit — the last month still covered is the one before it. effectiveFrom must be the current or a future service month; an earlier one is rejected with 422 /errors/effective-date-in-the-past. Blocking the current month — the earliest value allowed — therefore ends the benefit with the previous one: the month already running is no longer covered.

A block ends the benefit for every employee. Per employee a benefit end is set to the last covered month, and any configuration change or pause planned beyond it is annulled. That fan-out runs after the response: the 200 confirms the block, not its per-employee effect.

Re-enabling does not restore them. After block and enable, every employee has to be activated again — POST /v1/employees/mealSubsidy/activate, or configure if the values change. Enabling only reopens the benefit for the organization.

Receipts are unaffected. Employees can still submit receipts for a blocked benefit, and those receipts are still reviewed — but a service month in which the benefit is not active reimburses nothing. A change to a month already transmitted to payroll triggers a payroll late correction.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (OrgEnablementData)
organizationId
required
string <uuid>

Hrmony-internal UUID of the organization.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "effectiveFrom": "2026-09"
}

Response samples

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

List Meal Subsidy per service month

One row per service month in which at least one employee has one of the three statuses, up to the current service month + 12. An organization in which no employee has meal subsidy gets an empty list.

Months after the current service month are a projection from the current planning (configurations, benefit ends, suspensions), not a commitment.

Choose a period with serviceMonth.gte and serviceMonth.lte. If it reaches past the current service month + 12, the list ends there, without an error. An annual total is the sum of the rows of one call with ?serviceMonth.gte=2026-01&serviceMonth.lte=2026-12.

After configure, deactivate and activate the next request shows the new state. These appear with a delay: reimbursements, deactivating an employee, disable and the bulk endpoints configureBulk, activateBulk and deactivateBulk.

Filterable fields

A comma in a value is always an enumeration separator; literal commas are not allowed.

An enumeration takes at most 100 values; more are rejected with 400 /errors/invalid-filter.

An empty value is not allowed, not even as an element of an enumeration.

= and , (IN) match exactly and are case-sensitive. .contains matches a substring and ignores case.

Field Operators Values Examples
serviceMonth =, , (IN), .gte, .lte string ?serviceMonth=<value>
?serviceMonth=<value>,<value2>
?serviceMonth.gte=<value>
?serviceMonth.lte=<value>

Sortable fields: serviceMonth (default serviceMonth)

Authorizations:
clientCredentials
query Parameters
limit
integer >= 1
Default: 50

Page size: default 50, at most 1000. A larger value is rejected with 400 /errors/limit-exceeded.

cursor
string

Opaque cursor from meta.pagination.nextCursor.

serviceMonth
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

serviceMonth.gte
string^\d{4}-(0[1-9]|1[012])$
Examples: serviceMonth.gte=2026-09

Greater than or equal.

serviceMonth.lte
string^\d{4}-(0[1-9]|1[012])$
Examples: serviceMonth.lte=2026-09

Less than or equal.

sort
string

Sortable fields: serviceMonth. A leading "-" sorts descending, comma-separated for multiple fields. Default: serviceMonth. Entries with equal values always come in the same order. Without writes between pages, paging returns each entry exactly once.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
Array of objects (MealSubsidyServiceMonth)
Array
serviceMonth
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

required
object

Number of employees per status in this service month.

maximumAmount
required
number decimal places <= 2 >= 0

Sum of the maximum amounts of all employees active in this month. An employee's maximum amount: budget, at most 15 × dailyRate. Suspended and inactive employees contribute nothing. Monetary amount in Euro with two decimal places.

required
number or null

Sum of the amounts reimbursed so far for the month. It can still change after the payroll file. null for months after the current service month. Monetary amount in Euro with two decimal places.

required
object
required
object

Response samples

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

Organization · Mobility

Enable and block mobility for the organization, each from a service month on.

Enabling through POST /v1/organization/mobility/enable is the precondition for everything under Employees · Mobility; each employee is then configured there. POST /v1/organization/mobility/disable blocks it again; what a block means for the employees is described there.

GET /v1/organization/mobility/serviceMonths lists the organization's mobility per service month.

Activate Mobility

Enables mobility for the organization from the service month effectiveFrom on. effectiveFrom must be the current or a future service month; an earlier one is rejected with 422 /errors/effective-date-in-the-past. A repeated call for a month the benefit is already enabled for changes nothing.

Enabling is the precondition for configuring the benefit per employee — while the organization is not enabled, the employee endpoints answer 403.

Enabling configures nobody. It opens the benefit for the organization; every employee still needs POST /v1/employees/mobility/configure. This matters most after a block: re-enabling does not revive the employees whose benefit the block ended — see the block endpoint.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (OrgEnablementData)
organizationId
required
string <uuid>

Hrmony-internal UUID of the organization.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "effectiveFrom": "2026-09"
}

Response samples

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

Block Mobility

Blocks mobility for the organization. effectiveFrom is the first service month without the benefit — the last month still covered is the one before it. effectiveFrom must be the current or a future service month; an earlier one is rejected with 422 /errors/effective-date-in-the-past. Blocking the current month — the earliest value allowed — therefore ends the benefit with the previous one: the month already running is no longer covered.

A block ends the benefit for every employee. Per employee a benefit end is set to the last covered month, and any configuration change or pause planned beyond it is annulled. That fan-out runs after the response: the 200 confirms the block, not its per-employee effect.

Re-enabling does not restore them. After block and enable, every employee has to be activated again — POST /v1/employees/mobility/activate, or configure if the values change. Enabling only reopens the benefit for the organization.

Receipts are unaffected. Employees can still submit receipts for a blocked benefit, and those receipts are still reviewed — but a service month in which the benefit is not active reimburses nothing. A change to a month already transmitted to payroll triggers a payroll late correction.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (OrgEnablementData)
organizationId
required
string <uuid>

Hrmony-internal UUID of the organization.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "effectiveFrom": "2026-09"
}

Response samples

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

List Mobility per service month

One row per service month in which at least one employee has one of the three statuses, up to the current service month + 12. An organization in which no employee has mobility gets an empty list.

Months after the current service month are a projection from the current planning (configurations, benefit ends, suspensions), not a commitment.

Choose a period with serviceMonth.gte and serviceMonth.lte. If it reaches past the current service month + 12, the list ends there, without an error. An annual total is the sum of the rows of one call with ?serviceMonth.gte=2026-01&serviceMonth.lte=2026-12.

After configure, deactivate and activate the next request shows the new state. These appear with a delay: reimbursements, deactivating an employee, disable and the bulk endpoints configureBulk, activateBulk and deactivateBulk.

Filterable fields

A comma in a value is always an enumeration separator; literal commas are not allowed.

An enumeration takes at most 100 values; more are rejected with 400 /errors/invalid-filter.

An empty value is not allowed, not even as an element of an enumeration.

= and , (IN) match exactly and are case-sensitive. .contains matches a substring and ignores case.

Field Operators Values Examples
serviceMonth =, , (IN), .gte, .lte string ?serviceMonth=<value>
?serviceMonth=<value>,<value2>
?serviceMonth.gte=<value>
?serviceMonth.lte=<value>

Sortable fields: serviceMonth (default serviceMonth)

Authorizations:
clientCredentials
query Parameters
limit
integer >= 1
Default: 50

Page size: default 50, at most 1000. A larger value is rejected with 400 /errors/limit-exceeded.

cursor
string

Opaque cursor from meta.pagination.nextCursor.

serviceMonth
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

serviceMonth.gte
string^\d{4}-(0[1-9]|1[012])$
Examples: serviceMonth.gte=2026-09

Greater than or equal.

serviceMonth.lte
string^\d{4}-(0[1-9]|1[012])$
Examples: serviceMonth.lte=2026-09

Less than or equal.

sort
string

Sortable fields: serviceMonth. A leading "-" sorts descending, comma-separated for multiple fields. Default: serviceMonth. Entries with equal values always come in the same order. Without writes between pages, paging returns each entry exactly once.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
Array of objects (MobilityServiceMonth)
Array
serviceMonth
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

required
object

Number of employees per status in this service month.

maximumAmount
required
number decimal places <= 2 >= 0

Sum of the maximum amounts of all employees active in this month. An employee's maximum amount: budget. Suspended and inactive employees contribute nothing. Monetary amount in Euro with two decimal places.

required
number or null

Sum of the amounts reimbursed so far for the month. It can still change after the payroll file. null for months after the current service month. Monetary amount in Euro with two decimal places.

required
object
required
object

Response samples

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

Employees · Meal Subsidy

Configure, end and resume the meal subsidy per employee. The organization has to be enabled for it (Organization · Meal Subsidy).

  1. Configure: POST /v1/employees/mealSubsidy/configure sets the values from a service month on, the first activation included. The upper limits for dailyRate and budget come from GET /v1/employees/mealSubsidy/configurationValues.
  2. End: POST /v1/employees/mealSubsidy/deactivate.
  3. Resume unchanged: POST /v1/employees/mealSubsidy/activate.

All three also exist for up to 1000 employees at once, as a job (see Long-running operations): configureBulk, deactivateBulk, activateBulk.

Reading: GET /v1/employees/mealSubsidy shows the current state and the planning per employee, GET /v1/employees/mealSubsidy/serviceMonths the service months up to the current one.

List Meal Subsidy per employee and service month

One row per employee and service month up to and including the current service month: for every month in which the meal subsidy is active or suspended, and with status inactive for the first month without meal subsidy. There is no row for the months after. If a period reaches past the current service month, the list ends there, without an error.

Names, employee numbers and the planning for future months (configuration, nextConfiguration, lastServiceMonth) come from GET /v1/employees/mealSubsidy?employeeId=<IDs of the page>. An enumeration takes at most 100 values there; page this list with limit ≤ 100 for that.

reimbursedAmount can still change after the payroll file. If the meal subsidy is activated again after a past end, the months in between appear with status suspended from then on.

Filterable fields

A comma in a value is always an enumeration separator; literal commas are not allowed.

An enumeration takes at most 100 values; more are rejected with 400 /errors/invalid-filter.

An empty value is not allowed, not even as an element of an enumeration.

= and , (IN) match exactly and are case-sensitive. .contains matches a substring and ignores case.

Field Operators Values Examples
serviceMonth =, , (IN), .gte, .lte string ?serviceMonth=<value>
?serviceMonth=<value>,<value2>
?serviceMonth.gte=<value>
?serviceMonth.lte=<value>
employeeId =, , (IN) uuid ?employeeId=<uuid>
?employeeId=<uuid>,<uuid2>
status =, , (IN) active, suspended, inactive ?status=active
?status=active,suspended

Sortable fields: serviceMonth, employeeId (default serviceMonth)

Authorizations:
clientCredentials
query Parameters
limit
integer >= 1
Default: 50

Page size: default 50, at most 1000. A larger value is rejected with 400 /errors/limit-exceeded.

cursor
string

Opaque cursor from meta.pagination.nextCursor.

serviceMonth
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

serviceMonth.gte
string^\d{4}-(0[1-9]|1[012])$
Examples: serviceMonth.gte=2026-09

Greater than or equal.

serviceMonth.lte
string^\d{4}-(0[1-9]|1[012])$
Examples: serviceMonth.lte=2026-09

Less than or equal.

employeeId
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

status
string

Allowed values: active, suspended, inactive. Comma-separated for multiple values. A comma always separates values and is never part of a value.

sort
string

Sortable fields: serviceMonth, employeeId. A leading "-" sorts descending, comma-separated for multiple fields. Default: serviceMonth. Entries with equal values always come in the same order. Without writes between pages, paging returns each entry exactly once.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
Array of objects (EmployeeMealSubsidyServiceMonth)
Array
employeeId
required
string <uuid>

UUID of the employee.

serviceMonth
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

status
required
string
Enum: "active" "suspended" "inactive"

Status of the meal subsidy in this service month.

maximumAmount
required
number decimal places <= 2 >= 0

The employee's maximum amount in this month: budget, at most 15 × dailyRate. 0 unless the status is active. Monetary amount in Euro with two decimal places.

reimbursedAmount
required
number decimal places <= 2 >= 0

Amount reimbursed so far for the month. It can still change after the payroll file. Monetary amount in Euro with two decimal places.

required
object
required
object

Response samples

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

List Meal Subsidy per employee

One entry per employee of the organization, whatever the employee status, with the meal subsidy under mealSubsidy. A newly created employee appears immediately, with meal subsidy status inactive. A single entry is available from GET /v1/employees/{employeeId}/mealSubsidy.

Filterable fields

A comma in a value is always an enumeration separator; literal commas are not allowed.

An enumeration takes at most 100 values; more are rejected with 400 /errors/invalid-filter.

An empty value is not allowed, not even as an element of an enumeration.

= and , (IN) match exactly and are case-sensitive. .contains matches a substring and ignores case.

Field Operators Values Examples
employeeId =, , (IN) uuid ?employeeId=<uuid>
?employeeId=<uuid>,<uuid2>
lastName =, .contains string ?lastName=<value>
?lastName.contains=<value>
firstName =, .contains string ?firstName=<value>
?firstName.contains=<value>
employeeNumber =, , (IN), .contains string ?employeeNumber=<value>
?employeeNumber=<value>,<value2>
?employeeNumber.contains=<value>
status =, , (IN) active, inactive ?status=active
?status=active,inactive
externalEmployeeId =, , (IN), .contains string ?externalEmployeeId=<value>
?externalEmployeeId=<value>,<value2>
?externalEmployeeId.contains=<value>
mealSubsidy.status =, , (IN), .ne active, suspended, inactive ?mealSubsidy.status=active
?mealSubsidy.status=active,suspended
?mealSubsidy.status.ne=active

Sortable fields: lastName, firstName, employeeNumber, externalEmployeeId (default lastName,firstName)

Authorizations:
clientCredentials
query Parameters
limit
integer >= 1
Default: 50

Page size: default 50, at most 1000. A larger value is rejected with 400 /errors/limit-exceeded.

cursor
string

Opaque cursor from meta.pagination.nextCursor.

employeeId
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

lastName
string

Last name of the employee.

lastName.contains
string

Contains, ignoring case.

firstName
string

First name of the employee.

firstName.contains
string

Contains, ignoring case.

employeeNumber
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

employeeNumber.contains
string <= 64 characters

Contains, ignoring case.

status
string

Allowed values: active, inactive. Comma-separated for multiple values. A comma always separates values and is never part of a value.

externalEmployeeId
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

externalEmployeeId.contains
string <= 255 characters

Contains, ignoring case.

mealSubsidy.status
string

Allowed values: active, suspended, inactive. Comma-separated for multiple values. A comma always separates values and is never part of a value.

mealSubsidy.status.ne
string
Enum: "active" "suspended" "inactive"

Not equal.

sort
string

Sortable fields: lastName, firstName, employeeNumber, externalEmployeeId. A leading "-" sorts descending, comma-separated for multiple fields. Default: lastName,firstName. Entries with equal values always come in the same order. Without writes between pages, paging returns each entry exactly once.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
Array of objects (EmployeeMealSubsidy)
Array
employeeId
required
string <uuid>

Hrmony-internal employee id.

employeeNumber
required
string

Personnel number from payroll.

firstName
required
string

First name of the employee.

lastName
required
string

Last name of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

required
string or null

Stable identifier provided by the partner; null when none belongs to the employee. Immutable after creation.

required
object
required
object
required
object

Response samples

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

Fetch the Meal Subsidy of an employee

One entry as in GET /v1/employees/mealSubsidy, for one employee.

Authorizations:
clientCredentials
path Parameters
employeeId
required
string <uuid>

UUID of the employee.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeMealSubsidy)
employeeId
required
string <uuid>

Hrmony-internal employee id.

employeeNumber
required
string

Personnel number from payroll.

firstName
required
string

First name of the employee.

lastName
required
string

Last name of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

required
string or null

Stable identifier provided by the partner; null when none belongs to the employee. Immutable after creation.

required
object

Response samples

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

Fetch Meal Subsidy configuration values

Legal maximum reimbursement values per calendar year. The values are set by the responsible German authority; Hrmony adds them for the respective year as soon as they are published. They cap dailyRate and budget in configure and configureBulk; the year of effectiveFrom applies. For a year not listed yet, the values of the latest listed year apply.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (MealSubsidyConfigurationValueData)
required
Array of objects

Response samples

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

Configure Meal Subsidy

Sets an employee’s meal subsidy values as of the service month effectiveFrom. Amounts in euro. Earlier months stay untouched; a service month in the past is rejected with 422. A set benefit end is withdrawn. If the employee has left the organization as of the service month, the response is 409. An unknown employee yields 404.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

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

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

budget
required
number decimal places <= 2 [ 0.01 .. 100000 ]

The employee's budget per service month. At most maximumMonthlyReimbursement for the year of effectiveFrom from configurationValues. Monetary amount in Euro with two decimal places.

dailyRate
required
number decimal places <= 2 [ 0.01 .. 1000 ]

Maximum reimbursement per day; at most 15 days per month are reimbursed. At most maximumDailyReimbursement for the year of effectiveFrom from configurationValues. Monetary amount in Euro with two decimal places.

employeeContribution
required
boolean

true: the official non-cash benefit value of a meal is deducted from each day's reimbursement; the employee bears that part.

grossCompensationPayment
required
boolean

true: the budget left unused in a service month is paid out as taxable salary.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeConfigurationData)
employeeId
required
string <uuid>

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
  • "effectiveFrom": "2026-09",
  • "budget": 108,
  • "dailyRate": 7.5,
  • "employeeContribution": true,
  • "grossCompensationPayment": true
}

Response samples

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

Configure Meal Subsidy in bulk

Sets the meal subsidy values for up to 1000 employees in one call, each entry like configure. A set benefit end is withdrawn. The response is 202 plus a job; the result arrives via GET /v1/jobs/{jobId}.

Before the 202 the whole request always fails, and nothing is configured:

  • 400: schema violations (such as 0 or more than 1000 entries) or the same employeeId twice in employees.
  • 409 or 422: the same Idempotency-Key is still in flight, or was used with a different body.

After the 202 entries fail individually. The job ends with status: successful even when entries fail; result.data.successful and result.data.failed separate them, and reason is one of effective_date_in_past, monthly_budget_invalid, daily_rate_invalid, organization_not_enabled, employee_left_organization, employee_not_found, not_completed or other.

The changes usually appear in the serviceMonths lists by the time the job is successful. In rare cases they appear slightly later; re-read if a value looks stale.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
required
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Idempotency key — required for asynchronous requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
required
Array of objects [ 1 .. 1000 ] items

Up to 1000 entries, each employeeId at most once.

Array ([ 1 .. 1000 ] items)
employeeId
required
string <uuid>

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

budget
required
number decimal places <= 2 [ 0.01 .. 100000 ]

The employee's budget per service month. At most maximumMonthlyReimbursement for the year of effectiveFrom from configurationValues. Monetary amount in Euro with two decimal places.

dailyRate
required
number decimal places <= 2 [ 0.01 .. 1000 ]

Maximum reimbursement per day; at most 15 days per month are reimbursed. At most maximumDailyReimbursement for the year of effectiveFrom from configurationValues. Monetary amount in Euro with two decimal places.

employeeContribution
required
boolean

true: the official non-cash benefit value of a meal is deducted from each day's reimbursement; the employee bears that part.

grossCompensationPayment
required
boolean

true: the budget left unused in a service month is paid out as taxable salary.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (RetrieveJobData)
required
object
object

Result of the job, present once status is successful or incomplete. Carries the same { data } envelope a synchronous call would have returned. Which variant of data you get is determined by job.type: employees.create_bulk returns the batch log; employees.meal_subsidy.activate_bulk, employees.meal_subsidy.deactivate_bulk, employees.meal_subsidy.configure_bulk, employees.mobility.activate_bulk, employees.mobility.deactivate_bulk and employees.mobility.configure_bulk all return the same bulk log — job.type alone tells an activation result from a deactivation or configuration one, and the meal subsidy from mobility.

Request samples

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

Response samples

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

Activate Meal Subsidy

Withdraws a previously set benefit end and resumes the meal subsidy as of the service month effectiveFrom with the last valid configuration — the counterpart of deactivate.

When to use: when an employee is to receive the meal subsidy unchanged again after a deactivation. If the daily rate, budget or employee contribution are to change at the same time, configure is the right endpoint — it withdraws a benefit end as well. The first activation also goes through configure; an employee without a configuration is rejected here with 409.

Effect: if the benefit end lies in the past, the months up to effectiveFrom are recorded as a pause — the employee status on the client tier reports suspended for those months. A benefit end in the future is simply dropped and the meal subsidy continues. Calling it again for an already active employee succeeds and changes nothing. If no configuration is in effect yet — for example because the first configuration was created for a future service month — the next planned configuration is applied.

effectiveFrom must be the current or a future service month (422 otherwise). An unknown employee yields 404.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

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

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeConfigurationData)
employeeId
required
string <uuid>

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
  • "effectiveFrom": "2026-09"
}

Response samples

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

Activate Meal Subsidy in bulk

Withdraws a previously set benefit end for up to 1000 employees and resumes the meal subsidy as of effectiveFrom with each employee's last valid configuration — the counterpart of deactivateBulk. The response is 202 plus a job; the result arrives via GET /v1/jobs/{jobId}. Entries fail individually: reason is among others no_configuration_exists (never configured — first activation goes through configureBulk), effective_date_in_past and employee_left_organization. If the daily rate, budget or employee contribution are to change at the same time, configureBulk is the right endpoint.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
required
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Idempotency key — required for asynchronous requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
employeeIds
required
Array of strings <uuid> [ 1 .. 1000 ] items [ items <uuid > ]

UUIDs of the employees, up to 1000.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (RetrieveJobData)
required
object
object

Result of the job, present once status is successful or incomplete. Carries the same { data } envelope a synchronous call would have returned. Which variant of data you get is determined by job.type: employees.create_bulk returns the batch log; employees.meal_subsidy.activate_bulk, employees.meal_subsidy.deactivate_bulk, employees.meal_subsidy.configure_bulk, employees.mobility.activate_bulk, employees.mobility.deactivate_bulk and employees.mobility.configure_bulk all return the same bulk log — job.type alone tells an activation result from a deactivation or configuration one, and the meal subsidy from mobility.

Request samples

Content type
application/json
{
  • "employeeIds": [
    ],
  • "effectiveFrom": "2026-09"
}

Response samples

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

Deactivate Meal Subsidy

Ends an employee’s meal subsidy. effectiveFrom is the first month without the benefit, so the last month covered is the one before it. Calling it again with the same effectiveFrom succeeds and changes nothing. A planned end can be brought forward; if an earlier end is already planned, the endpoint answers 409. An unknown employee yields 404.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

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

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeConfigurationData)
employeeId
required
string <uuid>

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
  • "effectiveFrom": "2026-09"
}

Response samples

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

Deactivate Meal Subsidy in bulk

Ends the meal subsidy for up to 1000 employees in one call, each like deactivate: effectiveFrom is the first month without the benefit. The response is 202 plus a job; the result arrives via GET /v1/jobs/{jobId}.

Before the 202 the whole request always fails, and no benefit end is set:

  • 400: schema violations (such as 0 or more than 1000 ids), the same employeeId twice in employeeIds, or an effectiveFrom without a preceding month (0000-01).
  • 409 or 422: the same Idempotency-Key is still in flight, or was used with a different body.

After the 202 entries fail individually. The job ends with status: successful even when entries fail; result.data.successful and result.data.failed separate them, and reason is one of effective_date_in_past, benefit_end_already_exists (an earlier benefit end is already planned), employee_not_found, not_completed or other.

The changes usually appear in the serviceMonths lists by the time the job is successful. In rare cases they appear slightly later; re-read if a value looks stale.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
required
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Idempotency key — required for asynchronous requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
employeeIds
required
Array of strings <uuid> [ 1 .. 1000 ] items [ items <uuid > ]

UUIDs of the employees, up to 1000.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (RetrieveJobData)
required
object
object

Result of the job, present once status is successful or incomplete. Carries the same { data } envelope a synchronous call would have returned. Which variant of data you get is determined by job.type: employees.create_bulk returns the batch log; employees.meal_subsidy.activate_bulk, employees.meal_subsidy.deactivate_bulk, employees.meal_subsidy.configure_bulk, employees.mobility.activate_bulk, employees.mobility.deactivate_bulk and employees.mobility.configure_bulk all return the same bulk log — job.type alone tells an activation result from a deactivation or configuration one, and the meal subsidy from mobility.

Request samples

Content type
application/json
{
  • "employeeIds": [
    ],
  • "effectiveFrom": "2026-09"
}

Response samples

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

Employees · Mobility

Configure, end and resume mobility per employee — with the same endpoints as under Employees · Meal Subsidy, under /v1/employees/mobility/…. The organization has to be enabled for it (Organization · Mobility).

The difference: mobility has only a budget per service month, at least 1. There is no dailyRate and no configurationValues.

List Mobility per employee and service month

One row per employee and service month up to and including the current service month: for every month in which the mobility is active or suspended, and with status inactive for the first month without mobility. There is no row for the months after. If a period reaches past the current service month, the list ends there, without an error.

Names, employee numbers and the planning for future months (configuration, nextConfiguration, lastServiceMonth) come from GET /v1/employees/mobility?employeeId=<IDs of the page>. An enumeration takes at most 100 values there; page this list with limit ≤ 100 for that.

reimbursedAmount can still change after the payroll file. If the mobility is activated again after a past end, the months in between appear with status suspended from then on.

Filterable fields

A comma in a value is always an enumeration separator; literal commas are not allowed.

An enumeration takes at most 100 values; more are rejected with 400 /errors/invalid-filter.

An empty value is not allowed, not even as an element of an enumeration.

= and , (IN) match exactly and are case-sensitive. .contains matches a substring and ignores case.

Field Operators Values Examples
serviceMonth =, , (IN), .gte, .lte string ?serviceMonth=<value>
?serviceMonth=<value>,<value2>
?serviceMonth.gte=<value>
?serviceMonth.lte=<value>
employeeId =, , (IN) uuid ?employeeId=<uuid>
?employeeId=<uuid>,<uuid2>
status =, , (IN) active, suspended, inactive ?status=active
?status=active,suspended

Sortable fields: serviceMonth, employeeId (default serviceMonth)

Authorizations:
clientCredentials
query Parameters
limit
integer >= 1
Default: 50

Page size: default 50, at most 1000. A larger value is rejected with 400 /errors/limit-exceeded.

cursor
string

Opaque cursor from meta.pagination.nextCursor.

serviceMonth
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

serviceMonth.gte
string^\d{4}-(0[1-9]|1[012])$
Examples: serviceMonth.gte=2026-09

Greater than or equal.

serviceMonth.lte
string^\d{4}-(0[1-9]|1[012])$
Examples: serviceMonth.lte=2026-09

Less than or equal.

employeeId
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

status
string

Allowed values: active, suspended, inactive. Comma-separated for multiple values. A comma always separates values and is never part of a value.

sort
string

Sortable fields: serviceMonth, employeeId. A leading "-" sorts descending, comma-separated for multiple fields. Default: serviceMonth. Entries with equal values always come in the same order. Without writes between pages, paging returns each entry exactly once.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
Array of objects (EmployeeMobilityServiceMonth)
Array
employeeId
required
string <uuid>

UUID of the employee.

serviceMonth
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

status
required
string
Enum: "active" "suspended" "inactive"

Status of the mobility in this service month.

maximumAmount
required
number decimal places <= 2 >= 0

The employee's maximum amount in this month: budget. 0 unless the status is active. Monetary amount in Euro with two decimal places.

reimbursedAmount
required
number decimal places <= 2 >= 0

Amount reimbursed so far for the month. It can still change after the payroll file. Monetary amount in Euro with two decimal places.

required
object
required
object

Response samples

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

List Mobility per employee

One entry per employee of the organization, whatever the employee status, with mobility under mobility. A newly created employee appears immediately, with mobility status inactive. A single entry is available from GET /v1/employees/{employeeId}/mobility.

Filterable fields

A comma in a value is always an enumeration separator; literal commas are not allowed.

An enumeration takes at most 100 values; more are rejected with 400 /errors/invalid-filter.

An empty value is not allowed, not even as an element of an enumeration.

= and , (IN) match exactly and are case-sensitive. .contains matches a substring and ignores case.

Field Operators Values Examples
employeeId =, , (IN) uuid ?employeeId=<uuid>
?employeeId=<uuid>,<uuid2>
lastName =, .contains string ?lastName=<value>
?lastName.contains=<value>
firstName =, .contains string ?firstName=<value>
?firstName.contains=<value>
employeeNumber =, , (IN), .contains string ?employeeNumber=<value>
?employeeNumber=<value>,<value2>
?employeeNumber.contains=<value>
status =, , (IN) active, inactive ?status=active
?status=active,inactive
externalEmployeeId =, , (IN), .contains string ?externalEmployeeId=<value>
?externalEmployeeId=<value>,<value2>
?externalEmployeeId.contains=<value>
mobility.status =, , (IN), .ne active, suspended, inactive ?mobility.status=active
?mobility.status=active,suspended
?mobility.status.ne=active

Sortable fields: lastName, firstName, employeeNumber, externalEmployeeId (default lastName,firstName)

Authorizations:
clientCredentials
query Parameters
limit
integer >= 1
Default: 50

Page size: default 50, at most 1000. A larger value is rejected with 400 /errors/limit-exceeded.

cursor
string

Opaque cursor from meta.pagination.nextCursor.

employeeId
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

lastName
string

Last name of the employee.

lastName.contains
string

Contains, ignoring case.

firstName
string

First name of the employee.

firstName.contains
string

Contains, ignoring case.

employeeNumber
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

employeeNumber.contains
string <= 64 characters

Contains, ignoring case.

status
string

Allowed values: active, inactive. Comma-separated for multiple values. A comma always separates values and is never part of a value.

externalEmployeeId
string

Comma-separated for multiple values. A comma always separates values and is never part of a value.

externalEmployeeId.contains
string <= 255 characters

Contains, ignoring case.

mobility.status
string

Allowed values: active, suspended, inactive. Comma-separated for multiple values. A comma always separates values and is never part of a value.

mobility.status.ne
string
Enum: "active" "suspended" "inactive"

Not equal.

sort
string

Sortable fields: lastName, firstName, employeeNumber, externalEmployeeId. A leading "-" sorts descending, comma-separated for multiple fields. Default: lastName,firstName. Entries with equal values always come in the same order. Without writes between pages, paging returns each entry exactly once.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
Array of objects (EmployeeMobility)
Array
employeeId
required
string <uuid>

Hrmony-internal employee id.

employeeNumber
required
string

Personnel number from payroll.

firstName
required
string

First name of the employee.

lastName
required
string

Last name of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

required
string or null

Stable identifier provided by the partner; null when none belongs to the employee. Immutable after creation.

required
object
required
object
required
object

Response samples

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

Fetch the Mobility of an employee

One entry as in GET /v1/employees/mobility, for one employee.

Authorizations:
clientCredentials
path Parameters
employeeId
required
string <uuid>

UUID of the employee.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeMobility)
employeeId
required
string <uuid>

Hrmony-internal employee id.

employeeNumber
required
string

Personnel number from payroll.

firstName
required
string

First name of the employee.

lastName
required
string

Last name of the employee.

status
required
string
Enum: "active" "inactive"

active until the employee is deactivated; inactive from deactivateOn on, until reactivated. See Status.

required
string or null

Stable identifier provided by the partner; null when none belongs to the employee. Immutable after creation.

required
object

Response samples

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

Configure Mobility

Sets an employee’s mobility budget as of the service month effectiveFrom. Amounts in euro. Earlier months stay untouched; a service month in the past is rejected with 422. A set benefit end is withdrawn. If it lies in the past, the months up to effectiveFrom are recorded as a pause, as with activate. If the employee is deactivated, the benefit end stays. If the employee has left the organization as of the service month, the response is 409. An unknown employee yields 404.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

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

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

budget
required
number decimal places <= 2 >= 1

The employee's budget per service month, at least 1. No upper limit. Monetary amount in Euro with two decimal places.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeConfigurationData)
employeeId
required
string <uuid>

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
  • "effectiveFrom": "2026-09",
  • "budget": 49
}

Response samples

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

Configure Mobility in bulk

Sets the mobility budget for up to 1000 employees in one call, each entry like configure, including withdrawing a set benefit end. The response is 202 plus a job; the result arrives via GET /v1/jobs/{jobId}.

Before the 202 the whole request always fails, and nothing is configured:

  • 400: schema violations (such as 0 or more than 1000 entries, or a budget below 1) or the same employeeId twice in employees.
  • 409 or 422: the same Idempotency-Key is still in flight, or was used with a different body.

After the 202 entries fail individually. The job ends with status: successful even when entries fail; result.data.successful and result.data.failed separate them, and reason is one of effective_date_in_past, organization_not_enabled, employee_left_organization, employee_not_found, not_completed or other.

The changes usually appear in the serviceMonths lists by the time the job is successful. In rare cases they appear slightly later; re-read if a value looks stale.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
required
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Idempotency key — required for asynchronous requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
required
Array of objects [ 1 .. 1000 ] items

Up to 1000 entries, each employeeId at most once.

Array ([ 1 .. 1000 ] items)
employeeId
required
string <uuid>

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

budget
required
number decimal places <= 2 >= 1

The employee's budget per service month, at least 1. No upper limit. Monetary amount in Euro with two decimal places.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (RetrieveJobData)
required
object
object

Result of the job, present once status is successful or incomplete. Carries the same { data } envelope a synchronous call would have returned. Which variant of data you get is determined by job.type: employees.create_bulk returns the batch log; employees.meal_subsidy.activate_bulk, employees.meal_subsidy.deactivate_bulk, employees.meal_subsidy.configure_bulk, employees.mobility.activate_bulk, employees.mobility.deactivate_bulk and employees.mobility.configure_bulk all return the same bulk log — job.type alone tells an activation result from a deactivation or configuration one, and the meal subsidy from mobility.

Request samples

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

Response samples

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

Activate Mobility

Withdraws a previously set benefit end and resumes mobility as of the service month effectiveFrom with the last valid configuration — the counterpart of deactivate.

When to use: when an employee is to receive mobility unchanged again after a deactivation. If the total budget is to change at the same time, configure is the right endpoint — it withdraws a benefit end as well. The first activation also goes through configure; an employee without a configuration is rejected here with 409.

Effect: if the benefit end lies in the past, the months up to effectiveFrom are recorded as a pause — the employee status on the client tier reports suspended for those months. A benefit end in the future is simply dropped and mobility continues. Calling it again for an already active employee succeeds and changes nothing. Mobility resumes with the configuration as planned before the deactivation: the one with the latest service month up to effectiveFrom, otherwise the earliest — including one created for a future service month only.

effectiveFrom must be the current or a future service month (422 otherwise). An unknown employee yields 404.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

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

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeConfigurationData)
employeeId
required
string <uuid>

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
  • "effectiveFrom": "2026-09"
}

Response samples

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

Activate Mobility in bulk

Withdraws a previously set benefit end for up to 1000 employees and resumes mobility as of effectiveFrom with each employee's last valid configuration — the counterpart of deactivateBulk. The response is 202 plus a job; the result arrives via GET /v1/jobs/{jobId}. Entries fail individually: reason is among others no_configuration_exists (never configured — first activation goes through configureBulk), effective_date_in_past and employee_left_organization. If the total budget is to change at the same time, configureBulk is the right endpoint.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
required
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Idempotency key — required for asynchronous requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
employeeIds
required
Array of strings <uuid> [ 1 .. 1000 ] items [ items <uuid > ]

UUIDs of the employees, up to 1000.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (RetrieveJobData)
required
object
object

Result of the job, present once status is successful or incomplete. Carries the same { data } envelope a synchronous call would have returned. Which variant of data you get is determined by job.type: employees.create_bulk returns the batch log; employees.meal_subsidy.activate_bulk, employees.meal_subsidy.deactivate_bulk, employees.meal_subsidy.configure_bulk, employees.mobility.activate_bulk, employees.mobility.deactivate_bulk and employees.mobility.configure_bulk all return the same bulk log — job.type alone tells an activation result from a deactivation or configuration one, and the meal subsidy from mobility.

Request samples

Content type
application/json
{
  • "employeeIds": [
    ],
  • "effectiveFrom": "2026-09"
}

Response samples

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

Deactivate Mobility

Ends an employee’s mobility. effectiveFrom is the first month without the benefit, so the last month covered is the one before it. Calling it again with the same effectiveFrom succeeds and changes nothing. A planned end can be brought forward; if an earlier end is already planned, the endpoint answers 409. An unknown employee yields 404.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

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

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (EmployeeConfigurationData)
employeeId
required
string <uuid>

UUID of the employee.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Request samples

Content type
application/json
{
  • "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
  • "effectiveFrom": "2026-09"
}

Response samples

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

Deactivate Mobility in bulk

Ends mobility for up to 1000 employees in one call, each like deactivate: effectiveFrom is the first month without the benefit. The response is 202 plus a job; the result arrives via GET /v1/jobs/{jobId}.

Before the 202 the whole request always fails, and no benefit end is set:

  • 400: schema violations (such as 0 or more than 1000 ids), the same employeeId twice in employeeIds, or an effectiveFrom without a preceding month (0000-01).
  • 409 or 422: the same Idempotency-Key is still in flight, or was used with a different body.

After the 202 entries fail individually. The job ends with status: successful even when entries fail; result.data.successful and result.data.failed separate them, and reason is one of effective_date_in_past, benefit_end_already_exists (an earlier benefit end is already planned), employee_not_found, not_completed or other.

The changes usually appear in the serviceMonths lists by the time the job is successful. In rare cases they appear slightly later; re-read if a value looks stale.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
required
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Idempotency key — required for asynchronous requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
employeeIds
required
Array of strings <uuid> [ 1 .. 1000 ] items [ items <uuid > ]

UUIDs of the employees, up to 1000.

effectiveFrom
required
string^\d{4}-(0[1-9]|1[012])$

Service month in YYYY-MM format.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (RetrieveJobData)
required
object
object

Result of the job, present once status is successful or incomplete. Carries the same { data } envelope a synchronous call would have returned. Which variant of data you get is determined by job.type: employees.create_bulk returns the batch log; employees.meal_subsidy.activate_bulk, employees.meal_subsidy.deactivate_bulk, employees.meal_subsidy.configure_bulk, employees.mobility.activate_bulk, employees.mobility.deactivate_bulk and employees.mobility.configure_bulk all return the same bulk log — job.type alone tells an activation result from a deactivation or configuration one, and the meal subsidy from mobility.

Request samples

Content type
application/json
{
  • "employeeIds": [
    ],
  • "effectiveFrom": "2026-09"
}

Response samples

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

Payroll · Payroll Files

Payroll files in four steps:

  1. GET /v1/payroll/payrollFiles/formats — which formats exist and which fields each needs.
  2. POST /v1/payroll/payrollFiles/configureFormat — set the format and the pay types; GET /v1/payroll/payrollFiles/format shows the current configuration.
  3. GET /v1/payroll/payrollFiles — the available payroll files per import month, benefit and version.
  4. POST /v1/payroll/payrollFiles/retrieve — a download URL for one of them.

Fetch payroll file formats

Lists the supported payroll file formats and which fields each needs in POST /v1/payroll/payrollFiles/configureFormat. fields are set once per organization, benefitFields once per entry in benefits. Use it to build a configuration form; the rules match what configureFormat validates.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (PayrollFileFormatCatalogData)
required
Array of objects

Response samples

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

Configure payroll file format

Sets the payroll file format and the pay types per benefit. Which fields each format requires: GET /v1/payroll/payrollFiles/formats.

A pay type is the key under which the end customer’s payroll system books an amount; the end customer or their tax consultancy knows it. Hrmony splits each employee’s reimbursement by its tax treatment into up to four parts, and the payroll file books each part under the pay type set for it in benefits. Which parts arise follows from tax law and the benefit’s configuration — with grossCompensationPayment, for instance, the unused meal subsidy budget becomes the taxable part.

The configuration applies to every retrieval from now on, including versions released earlier: a payroll file is built at retrieval, from the amounts of its version and the current configuration and master data (personnel number, names, customer number). A benefit left out of benefits loses its configuration, and its payroll files are no longer listed or retrievable.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
format
required
string
Enum: "csv" "excel" "lodas" "lohnGehalt" "sage"

Payroll file format.

clientNumber
string

The end customer's client number in the payroll system. Required only for the DATEV formats lodas and lohnGehalt.

consultantNumber
string

The tax consultancy's consultant number in the payroll system. Required only for the DATEV formats lodas and lohnGehalt.

required
Array of objects non-empty

Pay types per benefit. At least one entry.

Array (non-empty)
benefitType
required
string
Enum: "meal_subsidy" "mobility"

Benefit type.

taxExemptPayType
string

Pay type for the tax-exempt part of the reimbursement.

flatRateTaxedPayType
string

Pay type for the part the employer taxes at a flat rate.

taxablePayType
string

Pay type for the part taxed as regular salary.

netDeductionPayType
string

Pay type for an amount deducted from the employee's net pay.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (PayrollFileFormatConfigurationData)
format
required
string
Enum: "csv" "excel" "lodas" "lohnGehalt" "sage"

Payroll file format.

clientNumber
string

The end customer's client number in the payroll system. Required only for the DATEV formats lodas and lohnGehalt.

consultantNumber
string

The tax consultancy's consultant number in the payroll system. Required only for the DATEV formats lodas and lohnGehalt.

required
Array of objects non-empty

Pay types per benefit. At least one entry.

Request samples

Content type
application/json
{
  • "format": "csv",
  • "clientNumber": "12345",
  • "consultantNumber": "1234567",
  • "benefits": [
    ]
}

Response samples

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

Fetch payroll file format

Returns the current payroll file configuration, as set by POST /v1/payroll/payrollFiles/configureFormat. 404 while none is configured.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (PayrollFileFormatConfigurationData)
format
required
string
Enum: "csv" "excel" "lodas" "lohnGehalt" "sage"

Payroll file format.

clientNumber
string

The end customer's client number in the payroll system. Required only for the DATEV formats lodas and lohnGehalt.

consultantNumber
string

The tax consultancy's consultant number in the payroll system. Required only for the DATEV formats lodas and lohnGehalt.

required
Array of objects non-empty

Pay types per benefit. At least one entry.

Response samples

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

List payroll files

Lists the payroll files per import month and benefit, newest first (importMonth descending, then version descending). The import month is the month after the service month the data belongs to. Version 1 appears once Hrmony releases the import month, usually within its first few days; each correction Hrmony releases adds a version. A service month in which no employee of the organization has the benefit gets no payroll file, so a missing entry does not mean the month is not released yet. In the sandbox (<partner>-sandbox), Hrmony releases a month only on request. Entries do not expire; every version stays retrievable through POST /v1/payroll/payrollFiles/retrieve.

Authorizations:
clientCredentials
query Parameters
limit
integer >= 1
Default: 50

Page size: default 50, at most 1000. A larger value is rejected with 400 /errors/limit-exceeded.

cursor
string

Opaque cursor from meta.pagination.nextCursor.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
Array of objects (PayrollFileSummary)
Array
importMonth
required
string^\d{4}-(0[1-9]|1[012])$

Import month in YYYY-MM format: the month the payroll file is meant for, one month after the service month.

benefitType
required
string
Enum: "meal_subsidy" "mobility"

Benefit type.

version
required
integer >= 1

Version of the payroll file, ascending from 1. 1 is the original file of the import month; every correction release increases version by 1.

format
required
string
Enum: "csv" "excel" "lodas" "lohnGehalt" "sage"

Payroll file format.

createdAt
required
string <date-time>

When this version was made available.

string or null

When this version was retrieved for the first time, otherwise null. The value is set solely by POST /v1/payroll/payrollFiles/retrieve; retrieving the same version again leaves it unchanged. The response of the retrieval that sets it still reads null — from the next read onwards the field carries the timestamp.

required
object
required
object

Response samples

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

Retrieve payroll file download URL

Creates a fresh presigned download URL for the payroll file addressed by importMonth, benefitType and version, and returns it synchronously. The URL expires after 15 minutes; calling again creates a new one. The file is built at retrieval: amounts of the requested version, current configuration and master data.

This call writes. The first retrieval of a version sets its downloadedAt — the only way that field is ever set; later retrievals of the same version leave it unchanged.

Authorizations:
clientCredentials
header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Idempotency-Key
string [ 1 .. 255 ] characters ^[\x21-\x7E]+$

Optional idempotency key for write requests. A key applies only to the same caller (token sub), the same organization and the same operation; with another caller, in another organization or on another operation, the same key is processed independently. Use a new random key, such as a UUID, for each new request, and the same key only to retry it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Request Body schema: application/json
required
importMonth
required
string^\d{4}-(0[1-9]|1[012])$

Import month in YYYY-MM format: the month the payroll file is meant for, one month after the service month.

benefitType
required
string
Enum: "meal_subsidy" "mobility"

Benefit type.

version
required
integer >= 1

Version to retrieve, as listed by GET /v1/payroll/payrollFiles. Any listed version can be retrieved, not only the latest.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (RetrievePayrollFileData)
importMonth
required
string^\d{4}-(0[1-9]|1[012])$

Import month in YYYY-MM format: the month the payroll file is meant for, one month after the service month.

benefitType
required
string
Enum: "meal_subsidy" "mobility"

Benefit type.

version
required
integer >= 1

Version of the payroll file, ascending from 1. 1 is the original file of the import month; every correction release increases version by 1.

format
required
string
Enum: "csv" "excel" "lodas" "lohnGehalt" "sage"

Payroll file format.

createdAt
required
string <date-time>

When this version was made available.

string or null

When this version was retrieved for the first time, otherwise null. The value is set solely by POST /v1/payroll/payrollFiles/retrieve; retrieving the same version again leaves it unchanged. The response of the retrieval that sets it still reads null — from the next read onwards the field carries the timestamp.

downloadUrl
required
string <uri>

Presigned URL to download the file with a plain GET, without the API token. Valid until validUntil.

validUntil
required
string <date-time>

When downloadUrl expires, 15 minutes after retrieval.

Request samples

Content type
application/json
{
  • "importMonth": "2026-09",
  • "benefitType": "meal_subsidy",
  • "version": 1
}

Response samples

Content type
application/json
{}

Jobs

Every bulk endpoint answers 202 with a job (see Long-running operations); GET /v1/jobs/{jobId} returns its state and result.

Fetch job status

Returns the state of an asynchronous job. While status is running, poll pollUrl again; every 5 seconds is enough. Once successful, result carries the outcome; individual entries can still have failed (result.data.failed). incomplete only occurs after a severe disruption: the job ended before every entry had an outcome. result then carries the entries that have one; the others are listed in result.data.unresolved. Retrieve these entries individually by their employeeId (GET /v1/employees/{employeeId}) to check whether they were created. The result is available for 1 hour after createdAt; after that the endpoint answers 410, and after one more day 404.

Authorizations:
clientCredentials
path Parameters
jobId
required
string <uuid>

UUID of the job.

header Parameters
Accept-Language
string
Value: "en"

Optional. This deployment serves the English language surface only; the only accepted value is en.

X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

X-Hrmony-Tenant-ID
required
string

Tenant (organization) id — required on the admin tier.

Responses

Response Headers
X-Request-Id
string

Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with /errors/unauthorized, /errors/forbidden, /errors/not-found, /errors/throttled, /errors/client-error or /errors/server-error always carry an id assigned by the API, a response with /errors/internal-server-error can carry an id assigned by the API instead.

traceparent
string

W3C trace context — echoed back when the request supplied it. The API never generates one of its own.

tracestate
string

W3C trace state — echoed back when the request supplied it.

Response Schema: application/json
required
object (RetrieveJobData)
required
object
object

Result of the job, present once status is successful or incomplete. Carries the same { data } envelope a synchronous call would have returned. Which variant of data you get is determined by job.type: employees.create_bulk returns the batch log; employees.meal_subsidy.activate_bulk, employees.meal_subsidy.deactivate_bulk, employees.meal_subsidy.configure_bulk, employees.mobility.activate_bulk, employees.mobility.deactivate_bulk and employees.mobility.configure_bulk all return the same bulk log — job.type alone tells an activation result from a deactivation or configuration one, and the meal subsidy from mobility.

Response samples

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