Xero · Schema

LinkedTransaction

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
SourceTransactionID string Filter by the SourceTransactionID. Get all the linked transactions created from a particular ACCPAY invoice
SourceLineItemID string The line item identifier from the source transaction.
ContactID string Filter by the combination of ContactID and Status. Get all the linked transactions that have been assigned to a particular customer and have a particular status e.g. GET /LinkedTransactions?ContactID=
TargetTransactionID string Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice
TargetLineItemID string The line item identifier from the target transaction. It is possible to link multiple billable expenses to the same TargetLineItemID.
LinkedTransactionID string The Xero identifier for an Linked Transaction e.g./LinkedTransactions/297c2dc5-cc47-4afd-8ec8-74990b8761e9
Status string Filter by the combination of ContactID and Status. Get all the linked transactions that have been assigned to a particular customer and have a particular status e.g. GET /LinkedTransactions?ContactID=
Type string This will always be BILLABLEEXPENSE. More types may be added in future.
UpdatedDateUTC string The last modified date in UTC format
SourceTransactionTypeCode string The Type of the source tranasction. This will be ACCPAY if the linked transaction was created from an invoice and SPEND if it was created from a bank transaction.
ValidationErrors array Displays array of validation error messages from the API
View JSON Schema on GitHub

JSON Schema

xero-linkedtransaction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LinkedTransaction",
  "title": "LinkedTransaction",
  "externalDocs": {
    "url": "http://developer.xero.com/documentation/api/linked-transactions/"
  },
  "properties": {
    "SourceTransactionID": {
      "description": "Filter by the SourceTransactionID. Get all the linked transactions created from a particular ACCPAY invoice",
      "type": "string",
      "format": "uuid"
    },
    "SourceLineItemID": {
      "description": "The line item identifier from the source transaction.",
      "type": "string",
      "format": "uuid"
    },
    "ContactID": {
      "description": "Filter by the combination of ContactID and Status. Get all the linked transactions that have been assigned to a particular customer and have a particular status e.g. GET /LinkedTransactions?ContactID=4bb34b03-3378-4bb2-a0ed-6345abf3224e&Status=APPROVED.",
      "type": "string",
      "format": "uuid"
    },
    "TargetTransactionID": {
      "description": "Filter by the TargetTransactionID. Get all the linked transactions  allocated to a particular ACCREC invoice",
      "type": "string",
      "format": "uuid"
    },
    "TargetLineItemID": {
      "description": "The line item identifier from the target transaction. It is possible  to link multiple billable expenses to the same TargetLineItemID.",
      "type": "string",
      "format": "uuid"
    },
    "LinkedTransactionID": {
      "description": "The Xero identifier for an Linked Transaction e.g./LinkedTransactions/297c2dc5-cc47-4afd-8ec8-74990b8761e9",
      "type": "string",
      "format": "uuid"
    },
    "Status": {
      "description": "Filter by the combination of ContactID and Status. Get all the linked transactions that have been assigned to a particular customer and have a particular status e.g. GET /LinkedTransactions?ContactID=4bb34b03-3378-4bb2-a0ed-6345abf3224e&Status=APPROVED.",
      "type": "string",
      "enum": [
        "APPROVED",
        "DRAFT",
        "ONDRAFT",
        "BILLED",
        "VOIDED"
      ]
    },
    "Type": {
      "description": "This will always be BILLABLEEXPENSE. More types may be added in future.",
      "type": "string",
      "enum": [
        "BILLABLEEXPENSE"
      ]
    },
    "UpdatedDateUTC": {
      "description": "The last modified date in UTC format",
      "type": "string",
      "x-is-msdate-time": true,
      "example": "/Date(1573755038314)/",
      "readOnly": true
    },
    "SourceTransactionTypeCode": {
      "description": "The Type of the source tranasction. This will be ACCPAY if the linked transaction was created from an invoice and SPEND if it was created from a bank transaction.",
      "type": "string",
      "enum": [
        "ACCPAY",
        "SPEND"
      ]
    },
    "ValidationErrors": {
      "description": "Displays array of validation error messages from the API",
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ValidationError"
      }
    }
  },
  "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-linkedtransaction"
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.