---
title: "Get Statement file by StatementId for an AccountId"
method: GET
path: "/accounts/{AccountId}/statements/{StatementId}/file"
tags: ["Statements"]
---

# Get Statement file by StatementId for an AccountId

`GET /accounts/{AccountId}/statements/{StatementId}/file`

Enables an AISP to retrieve a non-json representation of a specific statement.

## Path parameters

- `StatementId` string, required
- `AccountId` string, required

## Headers

- `x-fapi-auth-date` string
- `x-fapi-customer-ip-address` string
- `x-fapi-interaction-id` string
- `Authorization` string, required
- `x-customer-user-agent` string
- `x-client-id` string

## Response `200`

Statements Read

ASPSP will specify all available content types

- File

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `405` — Method Not Allowed
- `406` — Not Acceptable
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/openbankinguk/apis/account-and-transaction-api-specification.md) · [All operations](https://skmtc.net/openbankinguk/apis/account-and-transaction-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openbankinguk/account-and-transaction-api-specification/revisions/b1c449c8ecb0/schema)
