---
title: "Retrieve available documents"
method: GET
path: "/custom/datev/available-documents"
tags: ["Custom Endpoints"]
---

# Retrieve available documents

`GET /custom/datev/available-documents`

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

## Query parameters

- `period` string, required — Provide the period in the format YYYY-MM-DD for which to check for available documents.

## Headers

- `X-Integration-Id` string, required

## Response `200`

GET /custom/datev/available-documents Positive response

- GetCustomDatevAvailableDocumentsPositiveResponse
  - `status` 'success', required
  - `data` object, required
    - `results` object[], required
      - `document_type` string, required — The document's type.
      - `available_for_employees` object[], required — List of employees this document is available for.
        - `id` string, nullable, required
        - `remote_id` string, required
      - `is_company_document` boolean, required — Is true if the document is a company document.
  - `warnings` object[], required — These are the interaction warnings that are shown in the dashboard. They are meant to provide debug information to you. We recommend logging them to the console.
    - `message` string, required

## Other responses

- `default` — The standard error response with just the platform error codes.

---

[API](https://skmtc.net/kombo/apis/kombo-api.md) · [All operations](https://skmtc.net/kombo/apis/kombo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kombo/kombo-api/revisions/149bf44faf1a/schema)
