---
title: "Download completed clearing export file"
method: POST
path: "/public/digitalservices/mandatorClearingExportDownload/{fileId}"
tags: ["Digital Services API"]
---

# Download completed clearing export file

`POST /public/digitalservices/mandatorClearingExportDownload/{fileId}`

## Request

- Base URL: `https://test.tecs.at/merchantservices`
- URL: `https://test.tecs.at/merchantservices/public/digitalservices/mandatorClearingExportDownload/{fileId}`
- Auth: HTTP bearer

Downloads the completed clearing export file as a ZIP file containing CSV data.
Required role for operation: BO_MANDATOR_CLEARING_EXPORT<br>
Supports authentication with the following types of tokens:<br>
* <b>Bearer</b> &lt;token&gt;, which is a Bearer token authentication. The bearer token is a cryptic string, usually generated by the server in response to a login request.

## Path parameters

- `fileId` string, required

## Response `200`

ZIP file download containing CSV data

## Other responses

- `400`: File is still processing
- `401`: Unauthorized - Authentication failed:<br>
- `403`: Forbidden - Missing role: BO_MANDATOR_CLEARING_EXPORT
- `404`: File not found
- `500`: Internal server error

## Changes

- **2026-11-03** `6e0e5a5a2b2f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bluefin-com/apis/merchant-services/changes/public/digitalservices/mandatorClearingExportDownload/:fileId/post.md)

---

[API](https://skmtc.dev/bluefin-com/apis/merchant-services.md) - [All operations](https://skmtc.dev/bluefin-com/apis/merchant-services/llms.txt) - [OpenAPI document](https://skmtc.dev/bluefin-com/apis/merchant-services/revisions/6e0e5a5a2b2f?raw)
