Download OpenAPI specification:
Operations the partner backend performs on behalf of a single customer organization: creating and maintaining employees, configuring benefits, retrieving payroll data, polling jobs.
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.
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:
400 invalid_scope, and the other two tiers'
gateways reject a token of this tier with 401.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.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.
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.
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.
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.
inactive, configuring or enabling
that benefit for an employee answers 403.inactive, configuring or enabling any benefit
for them answers 409. A benefit end already set is not an obstacle.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.
Write endpoints carry a verb in the path: POST …/employees/create rather
than POST …/employees. This is deliberate.
The style is hybrid by design:
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.
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.
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.
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.
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.
Create, maintain, deactivate and reactivate the organization's employees.
POST /v1/employees/create, up to 1000 at once through POST /v1/employees/createBulk as a job (see Long-running operations).POST /v1/employees/setMasterData.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.
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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| 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 |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (Employee) | ||||||||||||||||||
| |||||||||||||||||||
{- "employeeNumber": "P-10023",
- "firstName": "Anna",
- "lastName": "Schmidt",
- "externalEmployeeId": "ext-ma-9f72e3"
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "employeeNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "status": "active",
- "deactivateOn": "2026-11-30",
- "reactivateOn": "2026-12-01",
- "externalEmployeeId": "string"
}
}Returns the employee regardless of status; inactive employees are included. 404 if the employee does not exist or belongs to another organization — see Errors.
| employeeId required | string <uuid> UUID of the employee. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (Employee) | ||||||||||||||||||
| |||||||||||||||||||
{- "data": {
- "employeeId": "550e8400-e29b-41d4-a716-446655440000",
- "organizationId": "550e8400-e29b-41d4-a716-446655440001",
- "employeeNumber": "P-10023",
- "firstName": "Anna",
- "lastName": "Schmidt",
- "status": "active"
}
}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)
| limit | integer >= 1 Default: 50 Page size: default 50, at most 1000. A larger value is rejected with |
| cursor | string Opaque cursor from |
| 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. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | Array of objects (Employee) | ||||||||||||||||||
Array
| |||||||||||||||||||
required | object | ||||||||||||||||||
| |||||||||||||||||||
{- "data": [
- {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "employeeNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "status": "active",
- "deactivateOn": "2026-11-30",
- "reactivateOn": "2026-12-01",
- "externalEmployeeId": "string"
}
], - "meta": {
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "totalCount": 0
}
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
required | Array of objects [ 1 .. 1000 ] items Employees to create, 1 to 1000 entries. | ||||||||
Array ([ 1 .. 1000 ] items)
| |||||||||
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (RetrieveJobData) | ||||
| |||||
{- "employees": [
- {
- "employeeNumber": "P-10023",
- "firstName": "Anna",
- "lastName": "Schmidt",
- "externalEmployeeId": "ext-ma-9f72e3"
}
]
}{- "data": {
- "job": {
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "type": "employees.create_bulk",
- "status": "running",
- "pollUrl": "/v1/jobs/7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "createdAt": "2026-05-12T09:14:00Z",
- "completedAt": "2026-05-12T09:14:07Z"
}, - "result": {
- "data": {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "organizationId": "a1e5c9d0-6b3f-4c2a-8e17-5d9f2b4a7c60",
- "successful": [
- {
- "employeeNumber": "P-10023",
- "employeeId": "3b7e9f4d-2c1a-4e6b-9d8f-1a5c3e7b9d24",
- "externalEmployeeId": "string"
}
], - "failed": [
- {
- "employeeNumber": "P-10024",
- "reason": "employee_number_already_taken",
- "externalEmployeeId": "string"
}
], - "unresolved": [
- {
- "employeeNumber": "P-10025",
- "employeeId": "8d2f6a1c-4b3e-4f7a-9c5d-2e8b1a6f3c47",
- "externalEmployeeId": "string"
}
]
}
}
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| employeeId required | string <uuid> UUID of the employee. |
| deactivateOn required | string <date> Date of deactivation. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeStatusData) | ||||||||
| |||||||||
{- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "deactivateOn": "2019-08-24"
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "status": "active",
- "deactivateOn": "2026-11-30",
- "reactivateOn": "2026-12-01"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| employeeId required | string <uuid> UUID of the employee. |
| reactivateOn required | string <date> Date of reactivation. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeStatusData) | ||||||||
| |||||||||
{- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "reactivateOn": "2019-08-24"
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "status": "active",
- "deactivateOn": "2026-11-30",
- "reactivateOn": "2026-12-01"
}
}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).
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeStatusData) | ||||||||
| |||||||||
{- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "employeeNumber": "P-10023",
- "firstName": "Anna",
- "lastName": "Schmidt"
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "status": "active",
- "deactivateOn": "2026-11-30",
- "reactivateOn": "2026-12-01"
}
}The organization that X-Hrmony-Tenant-ID selects (see Organization context).
GET /v1/organization returns it.POST /v1/organization/updateExternalCustomerId changes its externalCustomerId.GET /v1/organization/benefits shows which benefits are enabled for it.Enabling and blocking the benefits: Organization · Meal Subsidy and Organization · Mobility.
Returns the organization selected by X-Hrmony-Tenant-ID.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (Organization) | ||||||
| |||||||
{- "data": {
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "externalCustomerId": "string",
- "name": "string"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| externalCustomerId required | string [ 1 .. 255 ] characters New stable customer ID from the partner CRM. Unique per partner account; the previous value is released. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (Organization) | ||||||
| |||||||
{- "externalCustomerId": "string"
}{- "data": {
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "externalCustomerId": "string",
- "name": "string"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | Array of objects (OrgBenefitOverview) | ||||||
Array
| |||||||
{- "data": [
- {
- "benefitType": "meal_subsidy",
- "status": "active",
- "activeFrom": "2026-09"
}
]
}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.
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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (OrgEnablementData) | ||||
| |||||
{- "effectiveFrom": "2026-09"
}{- "data": {
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "effectiveFrom": "2026-09"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (OrgEnablementData) | ||||
| |||||
{- "effectiveFrom": "2026-09"
}{- "data": {
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "effectiveFrom": "2026-09"
}
}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)
| limit | integer >= 1 Default: 50 Page size: default 50, at most 1000. A larger value is rejected with |
| cursor | string Opaque cursor from |
| 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. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | Array of objects (MealSubsidyServiceMonth) | ||||||||
Array
| |||||||||
required | object | ||||||||
| |||||||||
{- "data": [
- {
- "serviceMonth": "2026-10",
- "employees": {
- "active": 412,
- "suspended": 7,
- "inactive": 3
}, - "maximumAmount": 47395.6,
- "reimbursedAmount": 12204.55
}
], - "meta": {
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "totalCount": 0
}
}
}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.
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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (OrgEnablementData) | ||||
| |||||
{- "effectiveFrom": "2026-09"
}{- "data": {
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "effectiveFrom": "2026-09"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (OrgEnablementData) | ||||
| |||||
{- "effectiveFrom": "2026-09"
}{- "data": {
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "effectiveFrom": "2026-09"
}
}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)
| limit | integer >= 1 Default: 50 Page size: default 50, at most 1000. A larger value is rejected with |
| cursor | string Opaque cursor from |
| 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. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | Array of objects (MobilityServiceMonth) | ||||||||
Array
| |||||||||
required | object | ||||||||
| |||||||||
{- "data": [
- {
- "serviceMonth": "2026-10",
- "employees": {
- "active": 412,
- "suspended": 7,
- "inactive": 3
}, - "maximumAmount": 47395.6,
- "reimbursedAmount": 12204.55
}
], - "meta": {
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "totalCount": 0
}
}
}Configure, end and resume the meal subsidy per employee. The organization has to be enabled for it (Organization · Meal Subsidy).
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.POST /v1/employees/mealSubsidy/deactivate.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.
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)
| limit | integer >= 1 Default: 50 Page size: default 50, at most 1000. A larger value is rejected with |
| cursor | string Opaque cursor from |
| 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. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | Array of objects (EmployeeMealSubsidyServiceMonth) | ||||||||||
Array
| |||||||||||
required | object | ||||||||||
| |||||||||||
{- "data": [
- {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "serviceMonth": "2026-10",
- "status": "active",
- "maximumAmount": 115.05,
- "reimbursedAmount": 61.2
}
], - "meta": {
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "totalCount": 0
}
}
}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)
| limit | integer >= 1 Default: 50 Page size: default 50, at most 1000. A larger value is rejected with |
| cursor | string Opaque cursor from |
| 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. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | Array of objects (EmployeeMealSubsidy) | ||||||||||||||
Array
| |||||||||||||||
required | object | ||||||||||||||
| |||||||||||||||
{- "data": [
- {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "employeeNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "status": "active",
- "externalEmployeeId": "string",
- "mealSubsidy": {
- "status": "active",
- "configuration": {
- "effectiveFrom": "2026-09",
- "budget": 108,
- "dailyRate": 7.5,
- "employeeContribution": true,
- "grossCompensationPayment": true
}, - "nextConfiguration": {
- "effectiveFrom": "2027-01",
- "budget": 90,
- "dailyRate": 6,
- "employeeContribution": false,
- "grossCompensationPayment": false
}, - "lastServiceMonth": "2027-06"
}
}
], - "meta": {
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "totalCount": 0
}
}
}One entry as in GET /v1/employees/mealSubsidy, for one employee.
| employeeId required | string <uuid> UUID of the employee. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeMealSubsidy) | ||||||||||||||
| |||||||||||||||
{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "employeeNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "status": "active",
- "externalEmployeeId": "string",
- "mealSubsidy": {
- "status": "active",
- "configuration": {
- "effectiveFrom": "2026-09",
- "budget": 108,
- "dailyRate": 7.5,
- "employeeContribution": true,
- "grossCompensationPayment": true
}, - "nextConfiguration": {
- "effectiveFrom": "2027-01",
- "budget": 90,
- "dailyRate": 6,
- "employeeContribution": false,
- "grossCompensationPayment": false
}, - "lastServiceMonth": "2027-06"
}
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (MealSubsidyConfigurationValueData) | ||
| |||
{- "data": {
- "annualValues": [
- {
- "year": 2026,
- "maximumDailyReimbursement": 7.5,
- "maximumMonthlyReimbursement": 108
}
]
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| employeeId required | string <uuid> UUID of the employee. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| budget required | number decimal places <= 2 [ 0.01 .. 100000 ] The employee's budget per service month. At most |
| dailyRate required | number decimal places <= 2 [ 0.01 .. 1000 ] Maximum reimbursement per day; at most 15 days per month are reimbursed. At most |
| employeeContribution required | boolean
|
| grossCompensationPayment required | boolean
|
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeConfigurationData) | ||||
| |||||
{- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09",
- "budget": 108,
- "dailyRate": 7.5,
- "employeeContribution": true,
- "grossCompensationPayment": true
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
required | Array of objects [ 1 .. 1000 ] items Up to 1000 entries, each | ||||||||||||
Array ([ 1 .. 1000 ] items)
| |||||||||||||
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (RetrieveJobData) | ||||
| |||||
{- "employees": [
- {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09",
- "budget": 108,
- "dailyRate": 7.5,
- "employeeContribution": true,
- "grossCompensationPayment": true
}
]
}{- "data": {
- "job": {
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "type": "employees.create_bulk",
- "status": "running",
- "pollUrl": "/v1/jobs/7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "createdAt": "2026-05-12T09:14:00Z",
- "completedAt": "2026-05-12T09:14:07Z"
}, - "result": {
- "data": {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "organizationId": "a1e5c9d0-6b3f-4c2a-8e17-5d9f2b4a7c60",
- "successful": [
- {
- "employeeNumber": "P-10023",
- "employeeId": "3b7e9f4d-2c1a-4e6b-9d8f-1a5c3e7b9d24",
- "externalEmployeeId": "string"
}
], - "failed": [
- {
- "employeeNumber": "P-10024",
- "reason": "employee_number_already_taken",
- "externalEmployeeId": "string"
}
], - "unresolved": [
- {
- "employeeNumber": "P-10025",
- "employeeId": "8d2f6a1c-4b3e-4f7a-9c5d-2e8b1a6f3c47",
- "externalEmployeeId": "string"
}
]
}
}
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| employeeId required | string <uuid> UUID of the employee. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeConfigurationData) | ||||
| |||||
{- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| 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 |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (RetrieveJobData) | ||||
| |||||
{- "employeeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "effectiveFrom": "2026-09"
}{- "data": {
- "job": {
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "type": "employees.create_bulk",
- "status": "running",
- "pollUrl": "/v1/jobs/7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "createdAt": "2026-05-12T09:14:00Z",
- "completedAt": "2026-05-12T09:14:07Z"
}, - "result": {
- "data": {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "organizationId": "a1e5c9d0-6b3f-4c2a-8e17-5d9f2b4a7c60",
- "successful": [
- {
- "employeeNumber": "P-10023",
- "employeeId": "3b7e9f4d-2c1a-4e6b-9d8f-1a5c3e7b9d24",
- "externalEmployeeId": "string"
}
], - "failed": [
- {
- "employeeNumber": "P-10024",
- "reason": "employee_number_already_taken",
- "externalEmployeeId": "string"
}
], - "unresolved": [
- {
- "employeeNumber": "P-10025",
- "employeeId": "8d2f6a1c-4b3e-4f7a-9c5d-2e8b1a6f3c47",
- "externalEmployeeId": "string"
}
]
}
}
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| employeeId required | string <uuid> UUID of the employee. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeConfigurationData) | ||||
| |||||
{- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| 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 |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (RetrieveJobData) | ||||
| |||||
{- "employeeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "effectiveFrom": "2026-09"
}{- "data": {
- "job": {
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "type": "employees.create_bulk",
- "status": "running",
- "pollUrl": "/v1/jobs/7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "createdAt": "2026-05-12T09:14:00Z",
- "completedAt": "2026-05-12T09:14:07Z"
}, - "result": {
- "data": {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "organizationId": "a1e5c9d0-6b3f-4c2a-8e17-5d9f2b4a7c60",
- "successful": [
- {
- "employeeNumber": "P-10023",
- "employeeId": "3b7e9f4d-2c1a-4e6b-9d8f-1a5c3e7b9d24",
- "externalEmployeeId": "string"
}
], - "failed": [
- {
- "employeeNumber": "P-10024",
- "reason": "employee_number_already_taken",
- "externalEmployeeId": "string"
}
], - "unresolved": [
- {
- "employeeNumber": "P-10025",
- "employeeId": "8d2f6a1c-4b3e-4f7a-9c5d-2e8b1a6f3c47",
- "externalEmployeeId": "string"
}
]
}
}
}
}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.
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)
| limit | integer >= 1 Default: 50 Page size: default 50, at most 1000. A larger value is rejected with |
| cursor | string Opaque cursor from |
| 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. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | Array of objects (EmployeeMobilityServiceMonth) | ||||||||||
Array
| |||||||||||
required | object | ||||||||||
| |||||||||||
{- "data": [
- {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "serviceMonth": "2026-10",
- "status": "active",
- "maximumAmount": 115.05,
- "reimbursedAmount": 61.2
}
], - "meta": {
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "totalCount": 0
}
}
}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)
| limit | integer >= 1 Default: 50 Page size: default 50, at most 1000. A larger value is rejected with |
| cursor | string Opaque cursor from |
| 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. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | Array of objects (EmployeeMobility) | ||||||||||||||
Array
| |||||||||||||||
required | object | ||||||||||||||
| |||||||||||||||
{- "data": [
- {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "employeeNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "status": "active",
- "externalEmployeeId": "string",
- "mobility": {
- "status": "active",
- "configuration": {
- "effectiveFrom": "2026-09",
- "budget": 49
}, - "nextConfiguration": {
- "effectiveFrom": "2027-01",
- "budget": 60
}, - "lastServiceMonth": "2027-06"
}
}
], - "meta": {
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "totalCount": 0
}
}
}One entry as in GET /v1/employees/mobility, for one employee.
| employeeId required | string <uuid> UUID of the employee. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeMobility) | ||||||||||||||
| |||||||||||||||
{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "employeeNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "status": "active",
- "externalEmployeeId": "string",
- "mobility": {
- "status": "active",
- "configuration": {
- "effectiveFrom": "2026-09",
- "budget": 49
}, - "nextConfiguration": {
- "effectiveFrom": "2027-01",
- "budget": 60
}, - "lastServiceMonth": "2027-06"
}
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| employeeId required | string <uuid> UUID of the employee. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeConfigurationData) | ||||
| |||||
{- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09",
- "budget": 49
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
required | Array of objects [ 1 .. 1000 ] items Up to 1000 entries, each | ||||||
Array ([ 1 .. 1000 ] items)
| |||||||
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (RetrieveJobData) | ||||
| |||||
{- "employees": [
- {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09",
- "budget": 49
}
]
}{- "data": {
- "job": {
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "type": "employees.create_bulk",
- "status": "running",
- "pollUrl": "/v1/jobs/7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "createdAt": "2026-05-12T09:14:00Z",
- "completedAt": "2026-05-12T09:14:07Z"
}, - "result": {
- "data": {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "organizationId": "a1e5c9d0-6b3f-4c2a-8e17-5d9f2b4a7c60",
- "successful": [
- {
- "employeeNumber": "P-10023",
- "employeeId": "3b7e9f4d-2c1a-4e6b-9d8f-1a5c3e7b9d24",
- "externalEmployeeId": "string"
}
], - "failed": [
- {
- "employeeNumber": "P-10024",
- "reason": "employee_number_already_taken",
- "externalEmployeeId": "string"
}
], - "unresolved": [
- {
- "employeeNumber": "P-10025",
- "employeeId": "8d2f6a1c-4b3e-4f7a-9c5d-2e8b1a6f3c47",
- "externalEmployeeId": "string"
}
]
}
}
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| employeeId required | string <uuid> UUID of the employee. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeConfigurationData) | ||||
| |||||
{- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| 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 |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (RetrieveJobData) | ||||
| |||||
{- "employeeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "effectiveFrom": "2026-09"
}{- "data": {
- "job": {
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "type": "employees.create_bulk",
- "status": "running",
- "pollUrl": "/v1/jobs/7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "createdAt": "2026-05-12T09:14:00Z",
- "completedAt": "2026-05-12T09:14:07Z"
}, - "result": {
- "data": {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "organizationId": "a1e5c9d0-6b3f-4c2a-8e17-5d9f2b4a7c60",
- "successful": [
- {
- "employeeNumber": "P-10023",
- "employeeId": "3b7e9f4d-2c1a-4e6b-9d8f-1a5c3e7b9d24",
- "externalEmployeeId": "string"
}
], - "failed": [
- {
- "employeeNumber": "P-10024",
- "reason": "employee_number_already_taken",
- "externalEmployeeId": "string"
}
], - "unresolved": [
- {
- "employeeNumber": "P-10025",
- "employeeId": "8d2f6a1c-4b3e-4f7a-9c5d-2e8b1a6f3c47",
- "externalEmployeeId": "string"
}
]
}
}
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| employeeId required | string <uuid> UUID of the employee. |
| effectiveFrom required | string^\d{4}-(0[1-9]|1[012])$ Service month in |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (EmployeeConfigurationData) | ||||
| |||||
{- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}{- "data": {
- "employeeId": "b0e78c8f-8c8b-4410-8293-9239e39d9e17",
- "effectiveFrom": "2026-09"
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| 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 |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (RetrieveJobData) | ||||
| |||||
{- "employeeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "effectiveFrom": "2026-09"
}{- "data": {
- "job": {
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "type": "employees.create_bulk",
- "status": "running",
- "pollUrl": "/v1/jobs/7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "createdAt": "2026-05-12T09:14:00Z",
- "completedAt": "2026-05-12T09:14:07Z"
}, - "result": {
- "data": {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "organizationId": "a1e5c9d0-6b3f-4c2a-8e17-5d9f2b4a7c60",
- "successful": [
- {
- "employeeNumber": "P-10023",
- "employeeId": "3b7e9f4d-2c1a-4e6b-9d8f-1a5c3e7b9d24",
- "externalEmployeeId": "string"
}
], - "failed": [
- {
- "employeeNumber": "P-10024",
- "reason": "employee_number_already_taken",
- "externalEmployeeId": "string"
}
], - "unresolved": [
- {
- "employeeNumber": "P-10025",
- "employeeId": "8d2f6a1c-4b3e-4f7a-9c5d-2e8b1a6f3c47",
- "externalEmployeeId": "string"
}
]
}
}
}
}Payroll files in four steps:
GET /v1/payroll/payrollFiles/formats — which formats exist and which fields each needs.POST /v1/payroll/payrollFiles/configureFormat — set the format and the pay types; GET /v1/payroll/payrollFiles/format shows the current configuration.GET /v1/payroll/payrollFiles — the available payroll files per import month, benefit and version.POST /v1/payroll/payrollFiles/retrieve — a download URL for one of them.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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (PayrollFileFormatCatalogData) | ||
| |||
{- "data": {
- "formats": [
- {
- "format": "csv",
- "label": "string",
- "fields": [
- {
- "name": "clientNumber",
- "label": "string",
- "type": "string",
- "required": true
}
], - "benefitFields": [
- {
- "name": "taxExemptPayType",
- "label": "string",
- "type": "string",
- "required": true
}
]
}
]
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| 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 | ||||||||||
| consultantNumber | string The tax consultancy's consultant number in the payroll system. Required only for the DATEV formats | ||||||||||
required | Array of objects non-empty Pay types per benefit. At least one entry. | ||||||||||
Array (non-empty)
| |||||||||||
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (PayrollFileFormatConfigurationData) | ||||||||
| |||||||||
{- "format": "csv",
- "clientNumber": "12345",
- "consultantNumber": "1234567",
- "benefits": [
- {
- "benefitType": "meal_subsidy",
- "taxExemptPayType": "3120",
- "flatRateTaxedPayType": "3121",
- "taxablePayType": "3122",
- "netDeductionPayType": "3123"
}
]
}{- "data": {
- "format": "csv",
- "clientNumber": "12345",
- "consultantNumber": "1234567",
- "benefits": [
- {
- "benefitType": "meal_subsidy",
- "taxExemptPayType": "3120",
- "flatRateTaxedPayType": "3121",
- "taxablePayType": "3122",
- "netDeductionPayType": "3123"
}
]
}
}Returns the current payroll file configuration, as set by POST /v1/payroll/payrollFiles/configureFormat. 404 while none is configured.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (PayrollFileFormatConfigurationData) | ||||||||
| |||||||||
{- "data": {
- "format": "csv",
- "clientNumber": "12345",
- "consultantNumber": "1234567",
- "benefits": [
- {
- "benefitType": "meal_subsidy",
- "taxExemptPayType": "3120",
- "flatRateTaxedPayType": "3121",
- "taxablePayType": "3122",
- "netDeductionPayType": "3123"
}
]
}
}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.
| limit | integer >= 1 Default: 50 Page size: default 50, at most 1000. A larger value is rejected with |
| cursor | string Opaque cursor from |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | Array of objects (PayrollFileSummary) | ||||||||||||
Array
| |||||||||||||
required | object | ||||||||||||
| |||||||||||||
{- "data": [
- {
- "importMonth": "2026-09",
- "benefitType": "meal_subsidy",
- "version": 1,
- "format": "csv",
- "createdAt": "2019-08-24T14:15:22Z",
- "downloadedAt": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "pagination": {
- "nextCursor": "string",
- "hasMore": true,
- "totalCount": 0
}
}
}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.
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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 |
| X-Hrmony-Tenant-ID required | string Tenant (organization) id — required on the admin tier. |
| importMonth required | string^\d{4}-(0[1-9]|1[012])$ Import month in |
| benefitType required | string Enum: "meal_subsidy" "mobility" Benefit type. |
| version required | integer >= 1 Version to retrieve, as listed by |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (RetrievePayrollFileData) | ||||||||||||||||
| |||||||||||||||||
{- "importMonth": "2026-09",
- "benefitType": "meal_subsidy",
- "version": 1
}{- "data": {
- "importMonth": "2026-09",
- "benefitType": "meal_subsidy",
- "version": 1,
- "format": "csv",
- "createdAt": "2019-08-24T14:15:22Z",
- "downloadedAt": "2019-08-24T14:15:22Z",
- "validUntil": "2019-08-24T14:15:22Z"
}
}Every bulk endpoint answers 202 with a job (see Long-running operations); GET /v1/jobs/{jobId} returns its state and result.
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.
| jobId required | string <uuid> UUID of the job. |
| Accept-Language | string Value: "en" Optional. This deployment serves the English language surface only; the only accepted value is |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
| X-Request-Id | string Correlation id. The response carries it unchanged; without one, the API assigns one. Responses with |
| 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. |
required | object (RetrieveJobData) | ||||
| |||||
{- "data": {
- "job": {
- "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "type": "employees.create_bulk",
- "status": "running",
- "pollUrl": "/v1/jobs/7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "createdAt": "2026-05-12T09:14:00Z",
- "completedAt": "2026-05-12T09:14:07Z"
}, - "result": {
- "data": {
- "jobId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
- "organizationId": "a1e5c9d0-6b3f-4c2a-8e17-5d9f2b4a7c60",
- "successful": [
- {
- "employeeNumber": "P-10023",
- "employeeId": "3b7e9f4d-2c1a-4e6b-9d8f-1a5c3e7b9d24",
- "externalEmployeeId": "string"
}
], - "failed": [
- {
- "employeeNumber": "P-10024",
- "reason": "employee_number_already_taken",
- "externalEmployeeId": "string"
}
], - "unresolved": [
- {
- "employeeNumber": "P-10025",
- "employeeId": "8d2f6a1c-4b3e-4f7a-9c5d-2e8b1a6f3c47",
- "externalEmployeeId": "string"
}
]
}
}
}
}