---
title: "Get account snapshot of a session in intermission."
method: GET
path: "/sessions/{transaction-id}/accountSnapshot"
tags: ["Sessions API"]
---

# Get account snapshot of a session in intermission.

`GET /sessions/{transaction-id}/accountSnapshot`

## Path parameters

- `transaction-id` string, required

## Response `200`

Request successfully processed

- AccountStatement[] — This response describes the JSON2 response of this endpoint
  - `account` object
    - `holder` string — Name of the account holder
    - `description` string — Name of the account
    - `iban` string — IBAN of the account
    - `bic` string — BIC of the account
    - `country_id` 'DE' | 'AT' | 'CH' — The 2-letter country code
    - `joint_account` boolean — Indicates whether this is a joint account
  - `balance` object
    - `available` number, float, nullable — The available amount. This can be null, if the available amount is not known.
    - `limit` number, float, nullable — The limit of the account. This can be null, if the limit is not known.
    - `balance` number, float — The current account balance.
    - `currency` 'EUR' | 'CHF' — The id of the currency to be used.
    - `date` string — The date the balance was seen on.
  - `turnovers` object — array of turnovers
    - `turnovers` Turnover[]
      - `booking_date` string — The booking date.
      - `amount` number, float — The turnover amount. Negative for expenditures.
      - `currency_id` 'EUR' | 'CHF' — The id of the currency to be used.
      - `purpose` string[] — A string array of purpose lines. The contents vary from bank to bank.
      - `counter_iban` string — The counter IBAN of the booking. This is not always present.
      - `counter_bic` string — The counter BIC of the booking. This is not always present.
      - `counter_holder` string — The counter holder of the booking. This is not always present.
      - `prebooked` boolean — True, if the turnover has not been booked yet
      - `canceled` boolean — True, if the turnover has been canceled.
      - `tags` string[] — An array of strings of tags for this turnover. Find all possible tags here: https://manage.xs2a.com/documentation/tags
      - `category_id` string — The ID of the category found for this turnover. The structure of this `category_id` string is hierarchical, meaning, the more numbers there are, the more detailed the category is. For example, while `K.1` means "expenses for wholesale and retail trade", some turnovers might be categorized more detailed as `K.1.1` ("expenses in retail stores"), or even as `K.1.1.1` ("groceries full-range trader"). You can find the complete list of categories [here](https://manage.xs2a.com/documentation/categories). **NOTE**: As new categories are introduced and the categorization itself is improved constantly, it is possible that the same turnover can be categorized with a different (more detailed) `category_id` at a future point in time. You should develop your application in such a way, that, for example, if your logic relies on something happening when a `category_id` is `K.1.1`, but you get `K.1.2` for which no logic is in place (because it might be a new `category_id` or the turnover is now categorized more detailed), **you should always fall back to the next higher level category**, in this case `K.1`. This way, your logic can still handle the turnover based on a more general category, while not throwing an error.
      - `creditor_id` string — The ID of the creditor.
      - `new` boolean — True, if this turnover is new since the last sync.
      - `transaction_id` string — The transaction-ID for the turnovers.
      - `booking_text` string — The turnover booking text.
      - `purpose_code` string — A turnover SEPA purpose code.
      - `reason_code` string — A turnover SEPA reason code, which provides an explanation for the non-execution of the account-holding bank.
      - `mandate_id` string — A turnover mandate id.
      - `endToEnd_id` string — A turnover endToEnd id.
      - `bank_transaction_code` string — A turnover bank transaction code in ISO 20022 format.
      - `swift_transaction_code` string — A turnover SWIFT transaction code in MT940 format.
    - `date` string — Date of the account snapshot
    - `days` integer — Indicates how many days the account snapshot includes
    - `filters` string[] — Array of filters applied

## Other responses

- `401` — Authentication failed API key missing or not valid
- `403` — Forbidden Access blocked
- `404` — Product not enabled or Not found The requested object does not exist on the server
- `412` — Precondition Failed.
- `422` — Validation failed Something is wrong with the user input
- `500` — An internal server problem occurred

---

[API](https://skmtc.dev/xs2a/apis/xs2a-api.md) · [All operations](https://skmtc.dev/xs2a/apis/xs2a-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xs2a/xs2a-api/revisions/ae5fbc5feee3/schema)
