Xero Payroll (Australia) Endpoint: Timesheets

Overview

The Xero Timesheets endpoint provides the list of timesheets.

To make full use of the data in this endpoint may require using endpoints belonging to a Xero Accounting Model.

Fields

The following fields are available for the Timesheets endpoint.

TimesheetID
A guid field that provides the id of the timesheet.
EmployeeID
A guid field that provides the employee id associated with the leave application.
StartDate
A date field that provides the first date of the timesheet.
EndDate
A date field that provides the last date of the timesheet.
Status
A text field that indicates the status of the timesheet.
Possible values are:
  • DRAFT: Indicates the timesheet is still in being entered.
  • APPROVED: Indicates the timesheet has been approved to be processed.
  • PROCESSED: Indicates the timesheet has been processed into a payslip.
Hours
A decimal field that provides the total hours on the timesheet.
TimesheetLines
A table field that provides the lines of the timesheet.
See TimesheetLines Fields for more information.
UpdatedDateUTC
A date time field that indicates the last time this record was updated.


TimesheetLines Fields

The TimesheetLines Fields include the following sub fields.

EarningsRateID
A guid field that provides the earnings rate id associated with this timesheet line.
TrackingItemID
A guid field that provides the tracking category option id associated with this timesheet line.
NumberOfUnits
A table field that provides the units and days associated with this combination of earnings rate and tracking category option.
See TimesheetLines.NumberOfUnits Fields for more information.
UpdatedDateUTC
A date time field that indicates the last time this record was updated.


TimesheetLines.NumberOfUnits Fields

The TimesheetLines.NumberOfUnits Fields include the following sub fields.

Date
A date field that provides the date of this entry.
Value
A decimal field that provides the hours of this entry.


Xero API

For a detailed run through of the endpoint, you can see the Xero API.


Related Fields

None


Related Endpoints

Employees
EmployeesExpanded
PayItemsEarningsRates
TrackingCategories


Related Topics

Xero Payroll (Australia) Models
Xero Payroll (Australia) Endpoints