---
title: "Get DATEV data pushes"
method: GET
path: "/custom/datev/data-pushes"
tags: ["Custom Endpoints"]
---

# Get DATEV data pushes

`GET /custom/datev/data-pushes`

Returns all "DATEV Data Pushes" of the last 2 months. You can use this endpoint to give your users transparency about submitted "ASCII-Files" and their status. Each data push can contain multiple files that were submitted.

## Headers

- `X-Integration-Id` string, required

## Response `200`

GET /custom/datev/data-pushes Positive response

- GetCustomDatevDataPushesPositiveResponse
  - `status` 'success', required
  - `data` object, required
    - `data_pushes` object[], required
      - `id` string, required
      - `type` 'GENERAL' | 'PAYROLL', required — Type of the executed data push.
      - `created_at` string, date-time, required — Date when the push-data endpoint was called.
      - `upload_jobs` object[], required — List of all the submitted files. This can include multiple files if data was edited for multiple months.
        - `id` string, required
        - `file_name` string, required
        - `state` 'FAILED' | 'UPLOADED' | 'IMPORTED' | 'CORRUPTED' | 'DELETED' | 'AUTO_DELETED', required — If we were not able to send the file to DATEV, we will set the state "FAILED". The other values are synced from DATEV for the respective import jobs.
        - `file` string, required — Actual content of the file.

## 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)
