v1

latestOpenAPI 3.0.32026-07-268955212.1 KB
fiscal-years

Get fiscal years

Get all fiscal years for the company. Use the query parameters to filter and navigate through the results.

Scope: fiscal-years:read

get/companies/{companyId}/fiscal-years

Query parameters

pageinteger

Page number

pageSizeinteger

Number of items per page

querystring

Optional query to filter the data set with supported fields listed below and available operations.

FieldType
startDatedate
endDatedate
accountingMethodstring
statusstring

Response

Successful response with fiscal years

totalItemsinteger
totalPagesinteger
currentPageinteger

Example response

{
  "totalItems": 1,
  "totalPages": 1,
  "currentPage": 1,
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "startDate": "2023-01-01",
      "endDate": "2023-12-31",
      "accountingMethod": "accrual",
      "status": "open"
    }
  ]
}