---
title: "Download account statement"
method: GET
path: "/v0/accounting-positions/account-statement"
tags: ["Accounting positions"]
---

# Download account statement

`GET /v0/accounting-positions/account-statement`

## Request

- Base URL: `https://distributor-api.spiko.io`
- URL: `https://distributor-api.spiko.io/v0/accounting-positions/account-statement`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/spiko/apis/spiko-distributor-api/docs/v0/accounting-positions/account-statement/get.ts> (a function with typed inputs; its response is checked against the schema)

**Download an account statement related to an investor and a share class between two dates.**

  - The account statement will be a pdf file.

## Query parameters

- `investorId` string, uuid, required: a Universally Unique Identifier
- `shareClassId` string, uuid, required: a Universally Unique Identifier
- `from` string, required: a day in ISO format "YYYY-MM-DD"
- `to` string, required: a day in ISO format "YYYY-MM-DD"
- `locale` 'en' | 'es' | 'fr' | 'it' | 'de' | 'nl', required: The language of the user

## Response `200`

Success

## Other responses

- `400`: BadRequest | The request did not match the expected schema
- `401`: Authentication failed. Two bodies are possible: the schema below when the API rejects the credentials, and `{ "error": { "code", "status", "request", "message" } }` when the API gateway rejects them first. Only the former carries a `_tag`.
- `403`: Forbidden
- `404`: NotFound
- `503`: The investor is undergoing a scheduled upgrade, access is temporarily paused to ensure data safety.

---

[API](https://skmtc.dev/spiko/apis/spiko-distributor-api.md) - [All operations](https://skmtc.dev/spiko/apis/spiko-distributor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spiko/apis/spiko-distributor-api/revisions/ad85137fd00b?raw)
