---
title: "The latest statement or export ask per account (#2587 p9)"
method: GET
path: "/accountant/companies/{customerId}/statement-requests"
tags: ["Accountant Portal"]
---

# The latest statement or export ask per account (#2587 p9)

`GET /accountant/companies/{customerId}/statement-requests`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/statement-requests`
- Auth: HTTP bearer

One entry per bank account that has a standing ask (its message was sent and not undone), newest first by account. For the p9 grid's "Asked <name>, <time>". `askedOf` is the login holder recorded for the account when it was asked, or null. Signed-in people only.

## Path parameters

- `customerId` string, uuid, required

## Response `200`

The latest ask per account

- object
  - `success` true, required
  - `data` object[], required
    - `bankAccountId` string, uuid, required
    - `askedAt` string, date-time, required
    - `askedOf` string, nullable, required
    - `from` string, date, required
    - `to` string, date, required
    - `threadId` string, uuid, nullable, required
    - `messageId` string, uuid, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/statement-requests/get.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
