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

Request

  • Base URL
    https://api.bokio.se/v1
  • URL
    https://api.bokio.se/v1/companies/{companyId}/fiscal-years
  • Auth
    HTTP bearer

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"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.