---
title: "Create a statement of account"
method: POST
path: "/v1/accounts/{account_id}/statement_of_accounts"
tags: ["Statements of account"]
---

# Create a statement of account

`POST /v1/accounts/{account_id}/statement_of_accounts`

Creates a statement of account (_Rechnungsabschluss_) for the account specified in the request URL. Use the information returned in the response to generate your own branded PDF file to present to the customer. This file must include the **entire** data set returned by our API **without exception,** including the mandatory disclaimer text.<br> In the request, you must specify a `year` along with an `interval` and a `period`. Together, the `interval` and `period` determine the statement's beginning and end dates (`statement_period_start_date` and `statement_period_end_date`). For example, if you make a request with an `interval` of `MONTHLY`, a `period` of `3`, and a `year` of `2022`, then the API will return a statement of account for the month of March 2022. If the API returns an error related to the start and end dates, then the `interval` and `period` could not be translated into dates (e.g., an invalid enum was passed) or the given interval fell outside of the allowed time frame (e.g., in the future).

## Path parameters

- `account_id` string, required

## Request body

- object
  - `interval` 'MONTHLY' | 'QUARTERLY' | 'EVERY_SIX_MONTHS' | 'ANNUALLY', required — Determines the amount of time that the statement of account should cover.
  - `period` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12, required — Determines the starting period in the year from which to return bookings.
  - `year` integer, required — The year for which to create the statement of account.

## Response `200`

A statement for account has already been created based on the provided values.

- AccountStatementResponse
  - `id` string — Unique ID of the statement.
  - `year` integer — The year for which the statement was created.
  - `interval` 'MONTHLY' | 'QUARTERLY' | 'EVERY_SIX_MONTHS' | 'ANNUALLY' — The time interval covered by the statement.
  - `period` integer — The period from which the statement `interval` begins.
  - `statement_number` string — The statement number.
  - `recipient_information` AddressInStatement
    - `line_1` string — First line of the recipient information text.
    - `line_2` string — Second line of the recipient information text.
    - `line_3` string — Third line of the recipient information text.
    - `line_4` string — Fourth line of the recipient information text.
    - `line_5` string — Fifth line of the recipient information text.
    - `line_6` string — Sixth line of the recipient information text.
  - `issue_date` string, date — Date when the statement was issued.
  - `statement_period_start_date` string, date — The beginning date of the period covered by the statement.
  - `statement_period_end_date` string, date — The end date of the period covered by the statement.
  - `overdraft_facility` SolarisServerDecoratorsMoney2
    - `value` integer — The amount value.
    - `unit` string — The unit of the given value.
    - `currency` string — The currency of the given value.
  - `interest_accrual_rate` number, float — The daily rate at which interest is accrued on the used amount of an overdraft.
  - `overdraft_rate` integer — The increased interest rate applied when going below the granted overdraft facility.
  - `interest_accrued` SolarisServerDecoratorsMoney2
    - `value` integer — The amount value.
    - `unit` string — The unit of the given value.
    - `currency` string — The currency of the given value.
  - `account_information` object — Object containing the account's IBAN, BIC, and balance information.
    - `iban` string — IBAN of the account.
    - `bic` string — BIC of the account.
    - `balance_start` SolarisServerDecoratorsMoney2
      - `value` integer — The amount value.
      - `unit` string — The unit of the given value.
      - `currency` string — The currency of the given value.
    - `balance_end` SolarisServerDecoratorsMoney2
      - `value` integer — The amount value.
      - `unit` string — The unit of the given value.
      - `currency` string — The currency of the given value.
  - `disclaimer` string — Solaris' legal disclaimer text, which you must show to the customer.

## Other responses

- `201` — The operation was successful.
- `400` — An error occurred on the client side.
- `403` — You are not authorized to perform this action.
- `404` — The resource could not be found.
- `500` — Internal server error.

---

[API](https://skmtc.net/solarisgroup/apis/account-management.md) · [All operations](https://skmtc.net/solarisgroup/apis/account-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarisgroup/account-management/revisions/099ef636a5a1/schema)
