Xero · Schema

Journal

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
JournalID string Xero identifier
JournalDate string Date the journal was posted
JournalNumber integer Xero generated journal number
CreatedDateUTC string Created date UTC format
Reference string reference field for additional indetifying information
SourceID string The identifier for the source transaction (e.g. InvoiceID)
SourceType string The journal source type. The type of transaction that created the journal
JournalLines array See JournalLines
View JSON Schema on GitHub

JSON Schema

xero-journal-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Journal",
  "title": "Journal",
  "externalDocs": {
    "url": "http://developer.xero.com/documentation/api/journals/"
  },
  "properties": {
    "JournalID": {
      "description": "Xero identifier",
      "type": "string",
      "format": "uuid"
    },
    "JournalDate": {
      "description": "Date the journal was posted",
      "type": "string",
      "x-is-msdate": true
    },
    "JournalNumber": {
      "description": "Xero generated journal number",
      "type": "integer"
    },
    "CreatedDateUTC": {
      "description": "Created date UTC format",
      "type": "string",
      "x-is-msdate-time": true,
      "example": "/Date(1573755038314)/",
      "readOnly": true
    },
    "Reference": {
      "description": "reference field for additional indetifying information",
      "type": "string"
    },
    "SourceID": {
      "description": "The identifier for the source transaction (e.g. InvoiceID)",
      "type": "string",
      "format": "uuid"
    },
    "SourceType": {
      "description": "The journal source type. The type of transaction that created the journal",
      "type": "string",
      "enum": [
        "ACCREC",
        "ACCPAY",
        "ACCRECCREDIT",
        "ACCPAYCREDIT",
        "ACCRECPAYMENT",
        "ACCPAYPAYMENT",
        "ARCREDITPAYMENT",
        "APCREDITPAYMENT",
        "CASHREC",
        "CASHPAID",
        "TRANSFER",
        "ARPREPAYMENT",
        "APPREPAYMENT",
        "AROVERPAYMENT",
        "APOVERPAYMENT",
        "EXPCLAIM",
        "EXPPAYMENT",
        "MANJOURNAL",
        "PAYSLIP",
        "WAGEPAYABLE",
        "INTEGRATEDPAYROLLPE",
        "INTEGRATEDPAYROLLPT",
        "EXTERNALSPENDMONEY",
        "INTEGRATEDPAYROLLPTPAYMENT",
        "INTEGRATEDPAYROLLCN"
      ]
    },
    "JournalLines": {
      "description": "See JournalLines",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/JournalLine"
      }
    }
  },
  "type": "object"
}

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-journal"
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.