Endpoint: DatesByYear

From OdataLink
Jump to navigation Jump to search

Overview

The MYOB DatesByYear endpoint allows you to access a list of dates for each financial year.

This endpoint is not part of the Xero API or MYOB API but specific to OdataLink to ease development.

The dates provided are based on the default date range configured for your model or based on filters applied to some columns.


Fields

The following fields are available for the DatesByYear endpoint.

FinancialYear
A intger field that provides the financial year for this month.
FirstDate
A date time offset field that provides the first date of the month.
LastDate
A date time offset field that provides the last date of the month.
DisplayStrings
A record field that provides many preformatted display strings.
See DisplayStrings Fields for more information.


DisplayStrings Fields

The DisplayStrings field contains the following sub-fields.


FY-YY
A text field that provides the period index as 2 digits for the period index and 2 digits for the financial year.
e.g. 'FY 21'
FY-YYYY
A text field that provides the period index as 2 digits for the period index and 4 digits for the financial year.
e.g. 'FY 2021'


MYOB API

This endpoint is not part of the MYOB API but specific to OdataLink to ease development.


Related Endpoints

Dates
DatesByMonth


Related Topics

Endpoints
MYOB Endpoints
Xero Accounting Endpoints