v3

OpenAPI 3.1.02026-07-311255771.3 MB
Custom Endpoints

Retrieve available documents

Use this endpoint to get all available documents for a specific period.

get/custom/datev/available-documents

Query parameters

periodstring required

Provide the period in the format YYYY-MM-DD for which to check for available documents.

Provide the period in the format YYYY-MM-DD for which to check for available documents.

Headers

X-Integration-Idstring required

ID of the integration you want to interact with.

Response

GET /custom/datev/available-documents Positive response

status'success' required

Example response

{
  "data": {
    "results": [
      {
        "document_type": "LOBN",
        "available_for_employees": [
          {
            "id": "8Xi6iZrwusZqJmDGXs49GBmJ",
            "remote_id": "123456"
          }
        ],
        "is_company_document": false
      },
      {
        "document_type": "LOJO",
        "available_for_employees": [],
        "is_company_document": true
      }
    ]
  }
}