---
title: "Get Report Data for Digital Services for creating a Report Instance"
method: POST
path: "/public/digitalservices/reportData"
tags: ["Digital Services API"]
---

# Get Report Data for Digital Services for creating a Report Instance

`POST /public/digitalservices/reportData`

## Request

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

Collects: 
 * SUMs over DEBIT Tx's
 * SUMs over CREDIT Tx's
 * Collects all card brand for Debit and Credit transactions and collects count and total sums for them.
 <br>
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

- GetReportDataRequest
  - `terminalId` integer
  - `corporateId` string, required
  - `currency` string, required
  - `clearingDateFrom` string, required: Date and time in the format yyyy-MM-dd'T'HH:mm:ss
  - `clearingDateTo` string, required: Date and time in the format yyyy-MM-dd'T'HH:mm:ss

## Response `200`

Successful operation

- GetReportDataResponse
  - `responseCode` integer
  - `responseMessage` string
  - `sumOverDebitTx` SumOverDebitTx
    - `debitCountSum` integer
    - `tipAmountSum` integer
    - `debitTotalSum` integer
    - `firstTx` number
    - `lastTx` number
  - `sumOverCreditTx` SumOverCreditTx
    - `creditCountSum` integer
    - `creditTotalSum` integer
    - `firstTx` number
    - `lastTx` number
  - `cardBrandReportData` CardBrandReportData[]
    - `cardBrand` string
    - `debitCount` integer
    - `debitTotal` integer
    - `tipAmount` integer
    - `creditCount` integer
    - `creditTotal` integer

## 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
- `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/reportData/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)
