# Bank transactions

Source: https://amanucci.com/fr/docs/developers/api/bank/listBankTransactions

## GET /v1/entities/{entityId}/bank-transactions

Bank transactions

The entity's bank rows (confirmed `bank_transaction`s) — each with its account, statement, party, live match group, park, event and live case, and the match state as `status` — in the walk `order` names. Filters: `bankAccountId`, `sign`, `period` or `from`/`to` (inclusive, on the business day), `amountFrom`/`amountTo` (the signed amount), `status`, `q` (a case-insensitive substring of the counterparty's name or IBAN, the communication or the structured reference). Pages by an opaque cursor (rule 5); every walk is a view, not a log.

Operation ID: `listBankTransactions`

### Parameters

```json
[
  {
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "required": true,
    "name": "entityId",
    "in": "path"
  },
  {
    "schema": {
      "type": "string",
      "pattern": "^-?\\d{1,14}(\\.\\d{1,4})?$",
      "example": "500",
      "description": "Only the rows whose signed amount (money out negative) is at least this decimal, inclusive, in their own currency. Not above `amountTo`, compared as decimals."
    },
    "required": false,
    "description": "Only the rows whose signed amount (money out negative) is at least this decimal, inclusive, in their own currency. Not above `amountTo`, compared as decimals.",
    "name": "amountFrom",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "pattern": "^-?\\d{1,14}(\\.\\d{1,4})?$",
      "example": "500",
      "description": "Only the rows whose signed amount is at most this decimal, inclusive, in their own currency."
    },
    "required": false,
    "description": "Only the rows whose signed amount is at most this decimal, inclusive, in their own currency.",
    "name": "amountTo",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "required": false,
    "name": "bankAccountId",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "description": "An opaque position, taken verbatim from a previous response's `nextCursor`. Never construct one: its encoding is an implementation detail and may change within `/v1` (rule 6 governs FIELDS, not the contents of an opaque token)."
    },
    "required": false,
    "description": "An opaque position, taken verbatim from a previous response's `nextCursor`. Never construct one: its encoding is an implementation detail and may change within `/v1` (rule 6 governs FIELDS, not the contents of an opaque token).",
    "name": "cursor",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "format": "date"
    },
    "required": false,
    "name": "from",
    "in": "query"
  },
  {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 200,
      "description": "How many rows at most. The hard ceiling is 200; a larger value is refused with 422, never silently reduced."
    },
    "required": false,
    "description": "How many rows at most. The hard ceiling is 200; a larger value is refused with 422, never silently reduced.",
    "name": "limit",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "enum": [
        "day.desc",
        "day.asc",
        "counterparty.asc",
        "counterparty.desc",
        "amount.desc",
        "amount.asc"
      ],
      "default": "day.desc",
      "description": "The walk. `day.desc` (the default): newest business day (`valueDate`, else `entryDate`) first, then newest id. `day.asc` the reverse; `counterparty.asc` / `.desc` the party's name, else the name the bank sent, a row with none last both ways; `amount.desc` / `.asc` the amount as the column shows it, money out negative, the entity's functional currency first and every other after it by code. Rows that share the key come by their id, in the walk's direction. A cursor resumes only the walk that minted it: change the order and start at the first page."
    },
    "required": false,
    "description": "The walk. `day.desc` (the default): newest business day (`valueDate`, else `entryDate`) first, then newest id. `day.asc` the reverse; `counterparty.asc` / `.desc` the party's name, else the name the bank sent, a row with none last both ways; `amount.desc` / `.asc` the amount as the column shows it, money out negative, the entity's functional currency first and every other after it by code. Rows that share the key come by their id, in the walk's direction. A cursor resumes only the walk that minted it: change the order and start at the first page.",
    "name": "order",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "description": "The days to list, resolved by the server against today in the books' own day (Europe/Brussels): `7d` and `30d` (the last 7 or 30 days, today included), `month`, `last-month`, `quarter`, `last-quarter` and `year` (the whole calendar unit holding today, or the one before it), a year `2026`, a quarter `2026-q3`, a month `2026-03`, `all` (no bound), or a day range `2026-01-05..2026-02-10` (inclusive, its ends in order). Not with `from` or `to`.",
      "example": "quarter"
    },
    "required": false,
    "description": "The days to list, resolved by the server against today in the books' own day (Europe/Brussels): `7d` and `30d` (the last 7 or 30 days, today included), `month`, `last-month`, `quarter`, `last-quarter` and `year` (the whole calendar unit holding today, or the one before it), a year `2026`, a quarter `2026-q3`, a month `2026-03`, `all` (no bound), or a day range `2026-01-05..2026-02-10` (inclusive, its ends in order). Not with `from` or `to`.",
    "name": "period",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "A case-insensitive substring, 1..100 characters; `%` and `_` match themselves."
    },
    "required": false,
    "description": "A case-insensitive substring, 1..100 characters; `%` and `_` match themselves.",
    "name": "q",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "enum": [
        "C",
        "D"
      ]
    },
    "required": false,
    "name": "sign",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "enum": [
        "matched",
        "proposed",
        "parked",
        "unmatched"
      ]
    },
    "required": false,
    "name": "status",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "format": "date"
    },
    "required": false,
    "name": "to",
    "in": "query"
  }
]
```

### Responses

#### 200 One page of bank rows.

```json
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BankTransactionPage"
    }
  }
}
```

#### 401 Dead or absent credential (`unauthenticated`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 403 Authenticated, present, and refused: a missing grant, a missing seat, or a missing step-up.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 404 Absent, or hidden from this asker — the two are indistinguishable (`not-found`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 422 The request did not satisfy the schema (`invalid-input`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 429 Too many requests on this door's bucket (`rate-limited`); refused before any handler ran, `Retry-After` says when to come back.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 503 Temporarily unavailable; `Retry-After` says when to come back.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```
