Xero · Schema

TimesheetEarningsLine

AccountingBank FeedsFinanceFinancial-ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
earningsLineID string Xero identifier for payroll earnings line
earningsRateID string Xero identifier for payroll leave earnings rate
displayName string name of earnings rate for display in UI
ratePerUnit number Rate per unit for leave earnings line
numberOfUnits number Leave earnings number of units
fixedAmount number Leave earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed
amount number The amount of the earnings line.
isLinkedToTimesheet boolean Identifies if the leave earnings is taken from the timesheet. False for leave earnings line
isAverageDailyPayRate boolean Identifies if the earnings is using an average daily pay rate
isSystemGenerated boolean Flag to identify whether the earnings line is system generated or not.
View JSON Schema on GitHub

JSON Schema

xero-timesheetearningsline-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TimesheetEarningsLine",
  "title": "TimesheetEarningsLine",
  "type": "object",
  "properties": {
    "earningsLineID": {
      "description": "Xero identifier for payroll earnings line",
      "type": "string",
      "format": "uuid"
    },
    "earningsRateID": {
      "description": "Xero identifier for payroll leave earnings rate",
      "type": "string",
      "format": "uuid"
    },
    "displayName": {
      "description": "name of earnings rate for display in UI",
      "type": "string"
    },
    "ratePerUnit": {
      "description": "Rate per unit for leave earnings line",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "numberOfUnits": {
      "description": "Leave earnings number of units",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "fixedAmount": {
      "description": "Leave earnings fixed amount. Only applicable if the EarningsRate RateType is Fixed",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "amount": {
      "description": "The amount of the earnings line.",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "isLinkedToTimesheet": {
      "description": "Identifies if the leave earnings is taken from the timesheet. False for leave earnings line",
      "type": "boolean"
    },
    "isAverageDailyPayRate": {
      "description": "Identifies if the earnings is using an average daily pay rate",
      "type": "boolean"
    },
    "isSystemGenerated": {
      "description": "Flag to identify whether the earnings line is system generated or not.",
      "type": "boolean"
    }
  }
}

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-timesheetearningsline"
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 email required.

A second provider on the same verified email joins the account you already have.