Hrmony Embedded API — Client (EN) (1.0.0)

Download OpenAPI specification:

License: LicenseRef-Hrmony-Proprietary

Hrmony Embedded API — Client tier. Do not edit by hand.

Benefits

List available benefits for the calling employee

Compact list of benefits available to the calling employee, with current status (aktiviert, pausiert, deaktiviert). Retrieve detailed configuration and budget usage per benefit via GET /benefits/{benefit}/konfiguration.

Authorizations:
userJwt
header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Benefits · Essenszuschuss

Active meal allowance configuration for the employee

Returns only the currently active meal allowance configuration for the calling employee. If no active configuration exists, the benefit is not active and the endpoint responds with 404.

Authorizations:
userJwt
header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Meal allowance monthly reimbursement for a service month

Detail view of the meal allowance reimbursement for the specified service month: benefit status, configured budget, total amount, number of contributing receipts, and reimbursement days with their respective daily totals. When status: deaktiviert or pausiert, erstattungstage is empty and summe is 0. Full daily view (incl. receipts) via GET /benefits/essenszuschuss/tageserstattungen/{datum}.

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

Service month in YYYY-MM format.

header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Meal allowance daily reimbursement for a service day

Meal allowance reimbursement for the calling employee on the specified service day: daily total and list of contributing receipts with ID and direct URL — no separate receipt call required.

Authorizations:
userJwt
path Parameters
date
required
string <date>

Service day in YYYY-MM-DD format.

header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Employee meal allowance status for a service month

Returns the status of the calling employee regarding meal allowance in the specified service month: aktiv, deaktiviert, or pausiert. Allows frontends to show retroactively whether the benefit was effective in a month, regardless of whether any reimbursements occurred.

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

Service month in YYYY-MM format.

header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Benefits · Mobilitaet

Active mobility configuration for the employee

Returns only the currently active mobility configuration for the calling employee. If no active configuration exists, the benefit is not active and the endpoint responds with 404.

Authorizations:
userJwt
header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Mobility monthly reimbursement for a service month

Detail view of the mobility reimbursement for the specified service month: benefit status, configured budget, total amount, number of contributing receipts, and reimbursement days with their respective daily totals. When status: deaktiviert or pausiert, erstattungstage is empty and summe is 0. Full daily view (incl. receipts) via GET /benefits/mobilitaet/tageserstattungen/{datum}.

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

Service month in YYYY-MM format.

header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Mobility daily reimbursement for a service day

Mobility reimbursement for the calling employee on the specified service day: daily total and list of contributing receipts with ID and direct URL — no separate receipt call required.

Authorizations:
userJwt
path Parameters
date
required
string <date>

Service day in YYYY-MM-DD format.

header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Employee mobility status for a service month

Returns the status of the calling employee regarding mobility in the specified service month: aktiv, deaktiviert, or pausiert. Allows frontends to show retroactively whether the benefit was effective in a month, regardless of whether any reimbursements occurred.

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

Service month in YYYY-MM format.

header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Belege

Submit receipt (step 1 of 2 — request presigned URL)

Receipts are submitted in two steps. This endpoint returns a presigned upload URL, the associated uploadFields, and a permanent belegId. In the second step, the client posts multipart/form-data directly to the upload URL.

Authorizations:
userJwt
header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Idempotency-Key
string

Optional idempotency key for mutating requests.

Request Body schema: application/json
required
required
"essenszuschuss" (string) or "mobilitaet" (string)

Benefit type.

reference
string <= 200 characters

Optional partner reference.

Responses

Request samples

Content type
application/json
Example
{
  • "benefitType": "essenszuschuss"
}

Response samples

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

Retrieve a single receipt

Returns the receipt including a presigned download URL (belegUrl). The response is a discriminated union over benefitTyp — meal allowance and mobility receipts have slightly different structural fields.

Authorizations:
userJwt
path Parameters
receiptId
required
string <uuid>

UUID of the receipt.

header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

List receipts for the calling employee

Returns receipts of all benefit types for the employee, sorted by eingereichtAm descending. belegUrl is not included in list items — retrieve per receipt via GET /belege/{belegId}.

Authorizations:
userJwt
query Parameters
limit
integer [ 1 .. 200 ]
Default: 50

Page size. Default 50, maximum 200.

cursor
string

Opaque cursor from meta.pagination.nextCursor.

header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Responses

Response samples

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

Delete a receipt

Deletes a receipt regardless of benefit type — the belegId is globally unique and the backend derives the type from it.

Authorizations:
userJwt
header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Idempotency-Key
string

Optional idempotency key for mutating requests.

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

UUID of the receipt.

Responses

Request samples

Content type
application/json
{
  • "receiptId": "4937ce52-e283-4321-b00f-c29b6dd5d0e9"
}

Response samples

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

Dispute a recorded receipt

Disputable fields differ by benefit type. For meal allowance these are mahlzeitsumme and belegdatum (both wrappers required, at least one with angefochten: true). For mobility it is belegsumme. The benefit type is specified via the benefitTyp discriminator field.

Authorizations:
userJwt
header Parameters
Accept-Language
required
string
Enum: "de" "en"

Request language surface — de or en.

X-Request-Id
string

Correlation id; echoed on the response.

traceparent
string

W3C trace context.

tracestate
string

W3C trace state.

Idempotency-Key
string

Optional idempotency key for mutating requests.

Request Body schema: application/json
required

Responses

Request samples

Content type
application/json
No sample

Response samples

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