---
title: "Get a count of transactions by scenario"
method: GET
path: "/v1/transactions/scenarios-breakdown"
tags: ["Transactions"]
---

# Get a count of transactions by scenario

`GET /v1/transactions/scenarios-breakdown`

## Request

- The document declares no server URL.
- Auth: API key in header `Ocp-Apim-Subscription-Key`

Used to search for the transaction scenarios breakdown.

## Query parameters

- `country_code` string
- `currency_code` string
- `date_from` string
- `date_to` string
- `decimal_amounts` boolean
- `direction` string

## Response `200`

Ok - transactions scenarios breakdown successfully returned for the provided search criteria.

- ApiResponseWrapperSearchTransactionScenariosBreakdownResponse
  - `data` SearchScenarioBreakdownItemResponse[]
    - `code` string
    - `count` integer
  - `errors` TransactionErrorResponse[]: List of errors. Returns `null` if it is successful.
    - `code` string: Error code of the issue. e.g., field_not_valid
    - `doc_link` string: The link for the error documentation. Follow it to gather more details about the error
    - `field` string: Field from the input request that caused the error, in case of validation errors. e.g. transaction_date
    - `message` string: Error message of the issue. e.g., Date must be in RFC3339 format.
    - `type` string: Error type of the issue. e.g., warning, validation, general, tax_authority
  - `message` string
  - `status` string

## Other responses

- `400`: Bad customer request - invalid search query parameters.
- `401`: Authentication failed - missing or incorrect subscription key
- `429`: Too many requests were sent for a short period of time. Try again a bit later.
- `5XX`: Internal server error. Its not you, its us! We are experiencing a rare and unexpected system disruption. Retry again later. The message field of the response will contain more information for the cause. Feel free to contact us.

---

[API](https://skmtc.dev/fonoa/apis/fonoa-e-invoicing.md) - [All operations](https://skmtc.dev/fonoa/apis/fonoa-e-invoicing/llms.txt) - [OpenAPI document](https://skmtc.dev/fonoa/apis/fonoa-e-invoicing/revisions/d38890cb6fcd?raw)
