Skip to main content
GET
Get a payroll export document

Auf einen Blick

Betriebsverhalten

Gibt Metadaten des Payroll-Exportdokuments zurück, wenn es im Scope des API-Keys liegt.
  • Prüfen Sie fileName, bevor Sie den Download starten; null bedeutet, dass keine Datei erzeugt wurde.

Häufige Fehler

Die Response-Liste der Operation und die Seite Fehlerbehandlung sind für die vollständige Behandlung maßgeblich.

Vor der Implementierung

  • Erzeugen und protokollieren Sie für den Versuch eine neue X-Request-ID.
  • Behandeln Sie jeden dokumentierten Response-Status.
  • Protokollieren Sie weder X-API-Key noch unnötige personenbezogene Daten.

Zugehöriger Integrationsleitfaden

Prüfen Sie den vollständigen Prozess sowie Status-, Retry- und Betriebsmuster für diese Operation.

Autorisierungen

X-API-Key
string
header
erforderlich

JobHandy integration API key. Send the credential in the X-API-Key header. Treat the key as a secret and use it only from trusted server-side environments.

Header

X-Tenant-ID
string
inactive
optional
not sent by default

Narrows the operation to one tenant in the API key's scope. Any referenced or target resource must be accessible through that tenant. In interactive clients, use the {{tenantId}} variable when a tenant must be selected. Keep the header disabled when tenant selection is not required.

Pattern: ^[0-9a-fA-F]{24}$
X-Request-ID
string<uuid>
inactive
optional
not sent by default

Optional request identifier. If supplied, it must be a UUID v4 or v7 and is returned unchanged in every response. If omitted, the API generates one. Invalid values return 400 INVALID_REQUEST_ID. If your client uses a {{requestId}} variable, refresh it with a new UUID version 4 or 7 for every HTTP request attempt. Keep the header disabled to let the API generate the request identifier.

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[47][0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$

Pfadparameter

id
string
erforderlich

Payroll export document ID.

Pattern: ^[0-9a-fA-F]{24}$
Beispiel:

"700000000000000000000101"

Antwort

The requested payroll export document.

Payroll export document metadata.

id
string
erforderlich
read-only

Payroll export document ID.

Pattern: ^[0-9a-fA-F]{24}$
Beispiel:

"700000000000000000000101"

tenant
string
erforderlich
read-only

ID of the tenant that owns the document.

Pattern: ^[0-9a-fA-F]{24}$
Beispiel:

"68a000000000000000000010"

type
enum<string>
erforderlich

Payroll export format. Values are case-sensitive.

Verfügbare Optionen:
sap_hcm,
personio_csv,
hrworks_csv,
diamant_software_diamant_4,
universal_csv,
universal_txt,
datev_lodas,
datev_lug
Minimum string length: 1
Beispiel:

"datev_lodas"

startMonth
string
erforderlich

First payroll period covered by the document in YYYY-MM format.

Minimum string length: 1
Pattern: ^\d{4}-(?:0[1-9]|1[0-2])$
Beispiel:

"2026-01"

endMonth
string
erforderlich

Last payroll period covered by the document in YYYY-MM format.

Minimum string length: 1
Pattern: ^\d{4}-(?:0[1-9]|1[0-2])$
Beispiel:

"2026-01"

fileName
string | null
erforderlich
nullable

Download filename, or null when no file was produced.

Minimum string length: 1
Beispiel:

"datev_lodas_export_202601.csv"

mimeType
string
erforderlich

Media type derived from the payroll export format.

Minimum string length: 1
Beispiel:

"text/csv"

createdAt
string<date-time>
erforderlich
read-only

UTC creation timestamp.

Minimum string length: 1
Pattern: Z$
Beispiel:

"2026-02-01T08:00:00.000Z"

updatedAt
string<date-time>
erforderlich
read-only

UTC timestamp of the latest update.

Minimum string length: 1
Pattern: Z$
Beispiel:

"2026-02-01T08:00:00.000Z"

Zuletzt geändert am 27. August 2026