---
title: "Write raw DATEV ASCII file"
method: POST
path: "/custom/datev/passthrough"
tags: ["Custom Endpoints"]
---

# Write raw DATEV ASCII file

`POST /custom/datev/passthrough`

This action allows to send an arbitrary ASCII file directly to DATEV LODAS or Lohn und Gehalt. Kombo adds validation for the file format but not on the content. This action allows you to implement any use case that you might have with DATEV payroll ASCII imports.

## Headers

- `X-Integration-Id` string, required

## Request body

- PostCustomDatevPassthroughRequestBody
  - `file_content` string, required
  - `accounting_month` string, date-time, required — YYYY-MM-DDTHH:mm:ss.sssZ
  - `target_system` 'LODAS' | 'LuG', required
  - `file_type` 'STAMMDATEN' | 'BEWEGUNGSDATEN', required
  - `file_name` string, required

## Response `200`

POST /custom/datev/passthrough Positive response

- PostCustomDatevPassthroughPositiveResponse
  - `status` 'success', required
  - `data` object, required
  - `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)
