v1
latestOpenAPI 3.0.12026-07-141671231.8 MBList Company's Fiscal Years
This endpoint returns a list of fiscal years of the company. By default, returns fiscal years ordered by descending IDs. A sort query parameter is available allowing to sort by id or start attributes.
ℹ️ This endpoint requires the following scope: fiscal_years:readonly
Query parameters
Cursor for pagination. Use this to fetch the next set of results. The cursor is an opaque string returned in the previous response's metadata. Leave empty for the first request.
Number of items to return per request. Defaults to 20 if not specified. Must be between 1 and 100.
You can choose to sort items on specific attributes Sort field may be prefixed with - for descending order. Example : id will sort by ascending order, -id will sort by descending order. Available fields :
- id, start
Response
Returns the list of fiscal years of the company
Example response
{
"items": [
{
"id": 12,
"start": "2023-08-30",
"finish": "2022-12-31",
"status": "open",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}
],
"has_more": true
}