Xero · Schema

StatementLine

the lines details for a statement

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
postedDate string 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 Transaction amount
creditDebitIndicator object
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
View JSON Schema on GitHub

JSON Schema

xero-statementline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StatementLine",
  "title": "StatementLine",
  "type": "object",
  "description": "the lines details for a statement",
  "properties": {
    "postedDate": {
      "type": "string",
      "format": "date",
      "example": "2018-06-10",
      "description": "The date that the transaction was processed or cleared as seen in internet banking ISO-8601 YYYY-MM-DD"
    },
    "description": {
      "type": "string",
      "example": "Description for statement line 2",
      "maximum": 2000,
      "description": "Transaction description"
    },
    "amount": {
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": "5.00",
      "description": "Transaction amount"
    },
    "creditDebitIndicator": {
      "$ref": "#/components/schemas/CreditDebitIndicator"
    },
    "transactionId": {
      "type": "string",
      "example": "transaction-id-2",
      "description": "Financial institute's internal transaction identifier. If provided this field is factored into duplicate detection."
    },
    "payeeName": {
      "type": "string",
      "example": "Payee name for statement line 2",
      "description": "Typically the merchant or payee name",
      "maximum": 255
    },
    "reference": {
      "type": "string",
      "example": "Reference for statement line 2",
      "description": "Optional field to enhance the Description",
      "maximum": 255
    },
    "chequeNumber": {
      "type": "string",
      "example": "021",
      "description": "The cheque/check number",
      "maximum": 20
    },
    "transactionType": {
      "type": "string",
      "example": "Refund",
      "description": "Descriptive transaction type",
      "maximum": 30
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-statementline"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.