---
title: "Retrieve all statements"
method: GET
path: "/Statements"
tags: ["BankFeeds"]
---

# Retrieve all statements

`GET /Statements`

By passing in parameters, you can search for matching statements

## Query parameters

- `page` integer
- `pageSize` integer

## Headers

- `Xero-Application-Id` string
- `Xero-User-Id` string

## Response `200`

success returns Statements array of objects response

- Statements
  - `pagination` Pagination
    - `page` integer — Page number which specifies the set of records to retrieve. Example - https://api.xero.com/bankfeeds.xro/1.0/Statements?page=2 to get the second set of the records. When page value is not a number or a negative number, by default, the first set of records is returned.
    - `pageSize` integer — Page size which specifies how many records per page will be returned (default 50). Example - https://api.xero.com/bankfeeds.xro/1.0/Statements?pageSize=100 to specify page size of 100.
    - `pageCount` integer — Number of pages available
    - `itemCount` integer — Number of items returned
  - `items` Statement[]
    - `id` string, uuid — GUID used to identify the Statement.
    - `feedConnectionId` string, uuid — The Xero generated feed connection Id that identifies the Xero Bank Account Container into which the statement should be delivered. This is obtained by calling GET FeedConnections.
    - `status` 'PENDING' | 'REJECTED' | 'DELIVERED' — Current status of statements
    - `startDate` string, date — Opening balance date (can be no older than one year from the current date) ISO-8601 YYYY-MM-DD
    - `endDate` string, date — Closing balance date ISO-8601 YYYY-MM-DD
    - `startBalance` StartBalance — The starting balance of the statement
      - `amount` number, double — decimal(19,4) unsigned Opening/closing balance amount.
      - `creditDebitIndicator` 'CREDIT' | 'DEBIT' — If the statement balances are credit or debit, the CreditDebitIndicator should be specified from the perspective of the Customer.
    - `endBalance` EndBalance — The StartBalance plus all the Statement Line Amounts should be equal to the EndBalance Amount.
      - `amount` number, double
      - `creditDebitIndicator` 'CREDIT' | 'DEBIT' — If the statement balances are credit or debit, the CreditDebitIndicator should be specified from the perspective of the Customer.
    - `statementLines` StatementLine[]
      - `postedDate` string, date — The date that the transaction was processed or cleared as seen in internet banking ISO-8601 YYYY-MM-DD
      - `description` string — Transaction description
      - `amount` number, double — Transaction amount
      - `creditDebitIndicator` 'CREDIT' | 'DEBIT' — If the statement balances are credit or debit, the CreditDebitIndicator should be specified from the perspective of the Customer.
      - `transactionId` string — Financial institute's internal transaction identifier. If provided this field is factored into duplicate detection.
      - `payeeName` string — Typically the merchant or payee name
      - `reference` string — Optional field to enhance the Description
      - `chequeNumber` string — The cheque/check number
      - `transactionType` string — Descriptive transaction type
    - `errors` Error[]
      - `title` string — Human readable high level error description.
      - `status` integer — The numeric HTTP Status Code, e.g. 404
      - `detail` string — Human readable detailed error description.
      - `type` 'invalid-request' | 'invalid-application' | 'invalid-feed-connection' | 'duplicate-statement' | 'invalid-end-balance' | 'invalid-start-and-end-date' | 'invalid-start-date' | 'internal-error' | 'feed-already-connected-in-current-organisation' | 'invalid-end-date' | 'statement-not-found' | 'feed-connected-in-different-organisation' | 'feed-already-connected-in-different-organisation' | 'bank-feed-not-found' | 'invalid-country-specified' | 'invalid-organisation-bank-feeds' | 'invalid-organisation-multi-currency' | 'invalid-feed-connection-for-organisation' | 'invalid-user-role' | 'account-not-valid' | 'feed-not-found-or-already-deleted' — Identifies the type of error.
    - `statementLineCount` integer

## Other responses

- `400` — bad input parameter

---

[API](https://skmtc.net/xeroapi/apis/xero-bank-feeds-api.md) · [All operations](https://skmtc.net/xeroapi/apis/xero-bank-feeds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xeroapi/xero-bank-feeds-api/versions/a542ef112adf/schema)
