Xero · Example Payload

Xero Getfinancialstatementcashflow Example

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Xero Getfinancialstatementcashflow 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": "getFinancialStatementCashflow",
  "method": "GET",
  "path": "/FinancialStatements/Cashflow",
  "summary": "Xero Get Cash flow report",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "startDate": "2018-07-01",
        "endDate": "2019-06-30",
        "cashBalance": {
          "openingCashBalance": 5000,
          "closingCashBalance": -50000,
          "netCashMovement": -55000
        },
        "cashflowActivities": [
          {
            "name": "Operating Activities",
            "total": -41000,
            "cashflowTypes": [
              {
                "name": "Receipts from customers",
                "total": 34000,
                "accounts": [
                  {
                    "accountId": "abcdefab-4d1e-4d1a-9e4c-68b2c2a278e2",
                    "accountType": "REVENUE",
                    "accountClass": "REVENUE",
                    "code": "455",
                    "name": "Cellar Door - Till Variance",
                    "reportingCode": "EXP",
                    "total": -1000
                  },
                  {
                    "accountId": "abcdefab-4d1e-4d1a-9e4c-68b2c2a278e2",
                    "accountType": "CURRENT",
                    "accountClass": "ASSET",
                    "code": "123",
                    "name": "Loan - Darleen's",
                    "reportingCode": "ASS",
                    "total": 35000
                  }
                ]
              },
              {
                "name": "Payments to suppliers and employees",
                "total": -75000,
                "accounts": [
                  {
                    "accountId": "abcdefab-4d1e-4d1a-9e4c-68b2c2a278e2",
                    "accountType": "CURRENT",
                    "accountClass": "ASSET",
                    "code": "123",
                    "name": "Loan - Darleen's",
                    "reportingCode": "ASS",
                    "total": -75000
                  }
                ]
              }
            ]
          },
          {
            "name": "Investing Activities",
            "total": -35000,
            "cashflowTypes": [
              {
                "name": "Payment for property, plant and equipment",
                "total": -36000,
                "accounts": [
                  {
                    "accountId": "abcdefab-4d1e-4d1a-9e4c-68b2c2a278e2",
                    "accountType": "FIXED",
                    "accountClass": "ASSET",
                    "code": "138",
                    "name": "Motor Vehicles at Cost",
                    "reportingCode": "ASS",
                    "total": -1000
                  },
                  {
                    "accountId": "abcdefab-5353-9d4b-7cad-51b2c2a2754a",
                    "accountType": "FIXED",
                    "accountClass": "ASSET",
                    "code": "140",
                    "name": "Equipment at cost",
                    "reportingCode": "ASS",
                    "total": -35000
                  }
                ]
              },
              {
                "name": "Proceeds from sale of property, plant and equipment",
                "total": 1000,
                "accounts": [
                  {
                    "accountId": "abcdefab-4d1e-4d1a-9e4c-68b2c2a278e2",
                    "accountType": "FIXED",
                    "accountClass": "ASSET",
                    "code": "138",
                    "name": "Motor Vehicles at Cost",
                    "reportingCode": "ASS",
                    "total": 1000
                  },
                  {
                    "accountId": "abcdefab-5353-9d4b-7cad-51b2c2a2754a",
                    "accountType": "FIXED",
                    "accountClass": "ASSET",
                    "code": "140",
                    "name": "Equipment at cost",
                    "reportingCode": "ASS",
                    "total": 0
                  }
                ]
              }
            ]
          },
          {
            "name": "Financing Activities",
            "total": -14000,
            "cashflowTypes": [
              {
                "name": "Proceeds from borrowings",
                "total": 1000.5,
                "accounts": [
                  {
                    "accountId": "abcdefab-4d1e-4d1a-9e4c-68b2c2a278e2",
                    "accountType": "TERMLIAB",
                    "accountClass": "LIABILITY",
                    "code": "244",
                    "name": "Loan - Shellcoll Distribution 2019",
                    "reportingCode": "LIA.CUR.LOA",
                    "total": 1000.5
                  }
                ]
              },
              {
                "name": "Repayment of borrowings",
                "total": -15000.5,
                "accounts": [
                  {
                    "accountId": "abcdefab-4d1e-4d1a-9e4c-68b2c2a278e2",
                    "accountType": "TERMLIAB",
                    "accountClass": "LIABILITY",
                    "code": "244",
                    "name": "Loan - Shellcoll Distribution 2019",
                    "reportingCode": "LIA.CUR.LOA",
                    "total": -15000.5
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "example": {
        "type": "invalid-request",
        "title": "InvalidRequest",
        "status": 400,
        "detail": "Organisation xxx does not exist"
      }
    },
    {
      "status": "503",
      "contentType": "application/json",
      "example": {
        "type": "service-unavailable",
        "title": "ServiceUnavailable",
        "status": 503,
        "detail": "Cannot process org xxx at this time. Apologies for inconvenience."
      }
    }
  ]
}

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-getfinancialstatementcashflow-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.