Xero · Schema

EarningsRate

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
earningsRateID string Xero unique identifier for an earning rate
name string Name of the earning rate
earningsType string Indicates how an employee will be paid when taking this type of earning
rateType string Indicates the type of the earning rate
typeOfUnits string The type of units used to record earnings
currentRecord boolean Indicates whether an earning type is active
expenseAccountID string The account that will be used for the earnings rate
ratePerUnit number Default rate per unit (optional). Only applicable if RateType is RatePerUnit
multipleOfOrdinaryEarningsRate number This is the multiplier used to calculate the rate per unit, based on the employee’s ordinary earnings rate. For example, for time and a half enter 1.5. Only applicable if RateType is MultipleOfOrdinar
fixedAmount number Optional Fixed Rate Amount. Applicable for FixedAmount Rate
View JSON Schema on GitHub

JSON Schema

xero-earnings-rate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xero/main/json-schema/xero-earnings-rate-schema.json",
  "title": "EarningsRate",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xero-payrollnz-api-openapi.yml#/components/schemas/EarningsRate",
  "type": "object",
  "required": [
    "name",
    "earningsType",
    "rateType",
    "typeOfUnits",
    "expenseAccountID"
  ],
  "properties": {
    "earningsRateID": {
      "description": "Xero unique identifier for an earning rate",
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "description": "Name of the earning rate",
      "type": "string"
    },
    "earningsType": {
      "description": "Indicates how an employee will be paid when taking this type of earning",
      "type": "string",
      "enum": [
        "Allowance",
        "Backpay",
        "Bonus",
        "Commission",
        "DiscretionaryPayments",
        "HolidayPay",
        "LumpSum",
        "OtherEarnings",
        "OtherGrossEarnings",
        "OvertimeEarnings",
        "RegularEarnings",
        "SalarySacrificeForKiwiSaver",
        "Tips(Direct)",
        "Tips(Non-Direct)",
        "WithholdingIncome"
      ]
    },
    "rateType": {
      "description": "Indicates the type of the earning rate",
      "type": "string",
      "enum": [
        "RatePerUnit",
        "MultipleOfOrdinaryEarningsRate",
        "FixedAmount"
      ]
    },
    "typeOfUnits": {
      "description": "The type of units used to record earnings",
      "type": "string"
    },
    "currentRecord": {
      "description": "Indicates whether an earning type is active",
      "type": "boolean"
    },
    "expenseAccountID": {
      "description": "The account that will be used for the earnings rate",
      "type": "string",
      "format": "uuid"
    },
    "ratePerUnit": {
      "description": "Default rate per unit (optional). Only applicable if RateType is RatePerUnit",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "multipleOfOrdinaryEarningsRate": {
      "description": "This is the multiplier used to calculate the rate per unit, based on the employee’s ordinary earnings rate. For example, for time and a half enter 1.5. Only applicable if RateType is MultipleOfOrdinaryEarningsRate",
      "type": "number",
      "format": "double",
      "x-is-money": true
    },
    "fixedAmount": {
      "description": "Optional Fixed Rate Amount. Applicable for FixedAmount Rate",
      "type": "number",
      "format": "double",
      "x-is-money": true
    }
  }
}

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-earnings-rate"
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.