Xero · Example Payload

Xero Getstatements Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Getstatements Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "getStatements",
  "method": "GET",
  "path": "/Statements",
  "summary": "Xero Retrieve all statements",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "pagination": {
          "page": 1,
          "pageCount": 210,
          "pageSize": 3,
          "itemCount": 3
        },
        "items": [
          {
            "id": "9817e4b8-82b3-4526-91f7-040bd278053f",
            "feedConnectionId": "6a4b9ff5-3a5f-4321-936b-4796163550f6",
            "status": "REJECTED",
            "startDate": "2019-08-01",
            "endDate": "2019-08-15",
            "startBalance": {
              "amount": "100.0000",
              "creditDebitIndicator": "CREDIT"
            },
            "endBalance": {
              "amount": "150.0000",
              "creditDebitIndicator": "CREDIT"
            },
            "statementLineCount": "1",
            "errors": [
              {
                "type": "duplicate-statement",
                "title": "Duplicate Statement Received",
                "status": 409,
                "detail": "The received statement was marked as a duplicate."
              }
            ]
          },
          {
            "id": "2fc57bac-7aa7-4981-a5cd-8aee83fe698c",
            "feedConnectionId": "6a4b9ff5-3a5f-4321-936b-4796163550f6",
            "status": "DELIVERED",
            "startDate": "2019-08-01",
            "endDate": "2019-08-15",
            "startBalance": {
              "amount": "100.0000",
              "creditDebitIndicator": "CREDIT"
            },
            "endBalance": {
              "amount": "150.0000",
              "creditDebitIndicator": "CREDIT"
            },
            "statementLineCount": "1"
          }
        ]
      }
    },
    {
      "status": "400",
      "contentType": "application/problem+json",
      "example": {
        "type": "invalid-request",
        "title": "Invalid Request",
        "status": 400,
        "detail": "For the request field missing parameter."
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/xero-getstatements-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.