---
title: "Exports Clearing data for a given Mandator and given Timestamp range"
method: POST
path: "/public/digitalservices/mandatorClearingExport"
tags: ["Digital Services API"]
---

# Exports Clearing data for a given Mandator and given Timestamp range

`POST /public/digitalservices/mandatorClearingExport`

## Request

- Base URL: `https://test.tecs.at/merchantservices`
- URL: `https://test.tecs.at/merchantservices/public/digitalservices/mandatorClearingExport`
- Auth: HTTP bearer

Required role for operation: DAILY_REPORTS_VIEW or DAILY_BO_REPORTS_VIEW or BO_DAILY_REPORTS_CUSTOM or DAILY_REPORTS_CUSTOM<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.

## Request body

- MandatorClearingExportRequest
  - `clearingDateFrom` string, required: Date and time in the format yyyy-MM-dd'T'HH:mm:ssZ
  - `clearingDateTo` string, required: Date and time in the format yyyy-MM-dd'T'HH:mm:ssZ
  - `pagination` PaginationRequest
    - `page` integer
    - `size` integer

## Response `200`

Successful operation

- MandatorClearingExportResponse
  - `responseCode` integer
  - `responseMessage` string
  - `records` MandatorClearingExportResponseDto[]
    - `transactionSeqNumber` integer
    - `transactionId` string
    - `transactionType` string
    - `merchantNumber` string
    - `merchantName` string
    - `terminalId` integer
    - `terminalLocation` string
    - `acquirerTerminalId` string
    - `acquirerName` string
    - `amount` integer
    - `currency` string
    - `transactionDate` string: Date and time in the format yyyy-MM-dd'T'HH:mm:ss
    - `transactionServerDate` string: Date and time in the format yyyy-MM-dd'T'HH:mm:ss
    - `authorizationDate` string: Date and time in the format yyyy-MM-dd'T'HH:mm:ss
    - `authorizationCode` string
    - `responseCode` integer
    - `responseMessage` string
    - `responseCodeFromAS` string
    - `receiptNumber` string
    - `cardNumber` string
    - `cardExpiration` string
    - `paymentReason` string
    - `cardBrand` string
    - `retrievalReferenceNumber` integer
    - `traceNumber` integer
    - `clientId` integer
    - `serviceCode` string
    - `clearingStatus` integer
    - `clearingAmount` integer
    - `clearingCurrency` string
    - `clearingProcessedDate` string: Date and time in the format yyyy-MM-dd'T'HH:mm:ss
    - `clearingBatchId` integer
    - `tipamt` integer
    - `clearingDate` string: Date and time in the format yyyy-MM-dd'T'HH:mm:ss
    - `transactionSource` string
    - `cardEntry` string
    - `partnerId` string
    - `partnerName` string

## Other responses

- `400`: * Invalid request data. Bad request
- `401`: Unauthorized - Authentication failed:<br>
- `403`: Forbidden - Missing role: DAILY_REPORTS_VIEW or DAILY_BO_REPORTS_VIEW or BO_DAILY_REPORTS_CUSTOM or DAILY_REPORTS_CUSTOM
- `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/mandatorClearingExport/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)
