Xero Payroll (New Zealand) Endpoint: Timesheets

Overview

The Xero Timesheets endpoint provides the list of timesheets.

To get to the underlying lines in a timesheets, see the TimesheetsExpanded endpoint.


Fields

The following fields are available for the Timesheets endpoint.

timesheetID
A guid field that provides the id of the timesheet.
payrollCalendarID
A guid field that provides the payroll calendar id associated with the leave application.
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: Timesheet entry is still in draft and has not been submitted for approval
  • Requested: Timesheet entry has been submitted for approval
  • Approved: Timesheet entry has been approved but the pay run has not been posted
  • Declined: Timesheet entry has been submitted for approval and declined by the approver
  • Completed: Timesheet entry has been approved and the pay run has been posted
totalHours
A decimal field that provides the total hours on the timesheet.
updatedDateUTC
A date time field that indicates the last time this record was updated.


Xero API

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


Related Fields

None


Related Endpoints

Employees
PayrollCalendars
TimesheetsExpanded


Related Topics

Xero Payroll (New Zealand) Models
Xero Payroll (New Zealand) Endpoints