Xero · Schema

JournalLine

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
JournalLineID string Xero identifier for Journal
AccountID string See Accounts
AccountCode string See Accounts
AccountType string
AccountName string See AccountCodes
Description string The description from the source transaction line item. Only returned if populated.
NetAmount number Net amount of journal line. This will be a positive value for a debit and negative for a credit
GrossAmount number Gross amount of journal line (NetAmount + TaxAmount).
TaxAmount number Total tax on a journal line
TaxType string The tax type from taxRates
TaxName string see TaxRates
TrackingCategories array Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 elements.
View JSON Schema on GitHub

JSON Schema

xero-journalline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JournalLine",
  "title": "JournalLine",
  "externalDocs": {
    "url": "https://developer.xero.com/documentation/api/journals#JournalLines"
  },
  "properties": {
    "JournalLineID": {
      "description": "Xero identifier for Journal",
      "type": "string",
      "format": "uuid",
      "example": "7be9db36-3598-4755-ba5c-c2dbc8c4a7a2"
    },
    "AccountID": {
      "description": "See Accounts",
      "type": "string",
      "format": "uuid",
      "example": "ceef66a5-a545-413b-9312-78a53caadbc4"
    },
    "AccountCode": {
      "description": "See Accounts",
      "type": "string",
      "example": "090"
    },
    "AccountType": {
      "$ref": "#/components/schemas/AccountType",
      "type": "string"
    },
    "AccountName": {
      "description": "See AccountCodes",
      "type": "string",
      "example": "Checking Account"
    },
    "Description": {
      "description": "The description from the source transaction line item. Only returned if populated.",
      "type": "string",
      "example": "My business checking account"
    },
    "NetAmount": {
      "description": "Net amount of journal line. This will be a positive value for a debit and negative for a credit",
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": 4130.98
    },
    "GrossAmount": {
      "description": "Gross amount of journal line (NetAmount + TaxAmount).",
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "example": 4130.98
    },
    "TaxAmount": {
      "description": "Total tax on a journal line",
      "type": "number",
      "format": "double",
      "x-is-money": true,
      "readOnly": true,
      "example": 0.0
    },
    "TaxType": {
      "description": "The tax type from taxRates",
      "type": "string"
    },
    "TaxName": {
      "description": "see TaxRates",
      "type": "string",
      "example": "Tax Exempt"
    },
    "TrackingCategories": {
      "description": "Optional Tracking Category \u2013 see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TrackingCategory"
      }
    }
  },
  "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-journalline"
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.