Organization management

Get reporting months for a given calendar or fiscal year

Use this endpoint to get a list of all the reporting months for a given calendar or fiscal year. If you ask for calendar year 2024, you will be given "2024-01", "2024-02", ..., "2024-12".

get/v1/organization/reporting_months

Request

  • Base URL
    https://api.sinai.com
  • Auth
    • OAuth 2
      Client credentials
      Token URLhttps://auth.sinai.com/oauth2/token
      Scopeshttps://api.sinai.com/organization
    • or OAuth 2
      Authorization codehttps://auth.sinai.com/oauth2/authorize
      Token URLhttps://auth.sinai.com/oauth2/token
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

fiscal_yearstring
Example:2025

Get reporting months for a specific fiscal year, using the organization's fiscal start month setting

calendar_yearstring
Example:2025

Get reporting months for a specific calendar year

Response

Reporting months for a given calendar or fiscal year retrieved successfully

Month[] required

Example response

[
  "2025-03"
]

Changes

No recorded changes to this operation across all 1 revision of this API.