POST
/
custom
/
datev
/
employees
/
{employee_id}
/
download-document
curl --request POST \
  --url https://api.kombo.dev/v1/custom/datev/employees/{employee_id}/download-document \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Integration-Id: <x-integration-id>' \
  --data '{
  "accounting_month": "2001-12-01",
  "document_type": "LOJE"
}'
{
  "status": "success",
  "data": {
    "data_url": "<string>",
    "file_name": "<string>",
    "content_type": "<string>"
  }
}

This endpoint requires the permission Manage documents to be enabled in your scope config.

Example Request Body

{
  "accounting_month": "2001-12-01",
  "document_type": "LOJE"
}

Authorizations

Authorization
string
header
required

Create an API key on the Secrets page in the Kombo dashboard.

Headers

X-Integration-Id
string
required

ID of the integration you want to interact with.

Path Parameters

employee_id
string | null
required

POST /custom/datev/employees/:employee_id/download-document parameter

Body

application/json

POST /custom/datev/employees/:employee_id/download-document request body

The data to request an electronic certificate of incapacity for work (eAU).

Response

200
application/json

POST /custom/datev/employees/:employee_id/download-document Successful response

The response is of type object.