MYOB Endpoint: Timesheets

From OdataLink
Jump to navigation Jump to search

Overview

The MYOB Timesheets endpoint allows you to access the list of all timesheet entries within MYOB.

It is a function that accepts a series of parameters.


Parameters

This endpoint is a function that accepts the following parameters.

StartDate
A date field that determines the start date for which to filter timesheet entries.
If omitted, it will use the first date of the last calendar month.
EndDate
A date field that determines the end date for which to filter timesheet entries.
If omitted, it will use the last date of the last calendar month.


Fields

The following fields are available for the Timesheets endpoint.

Employee
A record field that identifies the employee card associated to this timesheet.
StartDate
A date field that indicates the start date used to filter timesheet entries.
This will match the StartDate entered as parameter.
EndDate
A date field that indicates the start date used to filter timesheet entries.
This will match the EndDate entered as parameter.
Lines
A table field that provides a list of all the timesheet lines.
See Lines Fields for more information.


Lines Fields

The Lines field contains the following sub-fields.

PayrollCategory
A record field that identifies the payroll category associated to this line.
Job
A record field that identifies the job associated to this line.
Activity
A record field that identifies the activity associated to this line.
Customer
A record field that identifies the customer card associated to this line.
Notes
A text field that provides the notes for this line.
Lines
A table field that provides a list of all the timesheet entries applicable for this line.
See Lines.Entries Fields for more information.


Lines.Entries Fields

The Entries field contains the following sub-fields.

UID
A GUID field representing the internal id of this entry. This field DOES NOT link to other endpoints.
Date
A date field that provides the date of this entry.
Hours
A decimal field that providers the hours for this entry.
Processed
A true/false field that indicates if this tiemsheet has been processed within payroll.


MYOB API

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


Related Fields

Activities
Customers
Employees
Jobs
PayrollCategories


Related Endpoints

None


Related Topics

MYOB Models
MYOB Endpoints