Xero · Schema
TimesheetLineObject
AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business
Properties
| Name | Type | Description |
|---|---|---|
| pagination | object | |
| problem | object | |
| timesheetLine | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/xero/main/json-schema/xero-timesheet-line-object-schema.json",
"title": "TimesheetLineObject",
"x-generated": "2026-10-20",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/xero-payrollau-v2-api-openapi.yml#/components/schemas/TimesheetLineObject",
"type": "object",
"properties": {
"pagination": {
"$ref": "#/$defs/Pagination"
},
"problem": {
"$ref": "#/$defs/Problem"
},
"timesheetLine": {
"$ref": "#/$defs/TimesheetLine"
}
},
"$defs": {
"InvalidField": {
"type": "object",
"properties": {
"name": {
"description": "The name of the field that caused the error",
"type": "string"
},
"reason": {
"description": "The reason the error occurred",
"type": "string"
}
}
},
"Pagination": {
"properties": {
"page": {
"type": "integer"
},
"pageSize": {
"type": "integer"
},
"pageCount": {
"type": "integer"
},
"itemCount": {
"type": "integer"
}
}
},
"Problem": {
"description": "The object returned for a bad request",
"type": "object",
"properties": {
"type": {
"description": "The type of error format",
"type": "string"
},
"title": {
"description": "The type of the error",
"type": "string"
},
"status": {
"description": "The error status code",
"type": "string"
},
"detail": {
"description": "A description of the error",
"type": "string"
},
"instance": {
"type": "string"
},
"invalidFields": {
"type": "array",
"items": {
"$ref": "#/$defs/InvalidField"
}
}
}
},
"TimesheetLine": {
"type": "object",
"required": [
"date",
"earningsRateID",
"numberOfUnits"
],
"properties": {
"timesheetLineID": {
"description": "The Xero identifier for a Timesheet Line",
"type": "string",
"format": "uuid"
},
"date": {
"description": "The Date that this Timesheet Line is for (YYYY-MM-DD)",
"type": "string",
"format": "date",
"x-is-date": true
},
"earningsRateID": {
"description": "The Xero identifier for the Earnings Rate that the Timesheet is for",
"type": "string",
"format": "uuid"
},
"trackingItemID": {
"description": "The Xero identifier for the Tracking Item that the Timesheet is for",
"type": "string",
"format": "uuid"
},
"numberOfUnits": {
"description": "The Number of Units of the Timesheet Line",
"type": "number",
"format": "double"
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/xero-timesheet-line-object"
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.