Skip to main content
GET
/
service
/
general-ledger
/
accounting-periods
curl -X GET "https://kube.acho.io/service/general-ledger/accounting-periods?fiscal_year_id=FY2024&is_closed=false" \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "data": [
    {
      "period_id": "a3UM4R8nYh33A6hgda",
      "period_name": "January 2024",
      "fiscal_year_id": "FY2024",
      "start_date": "2024-01-01",
      "end_date": "2024-01-31",
      "quarter": 1,
      "is_adjustment_period": false,
      "is_closed": false
    },
    {
      "period_id": "a3UM4R8nYh33A6hgdb",
      "period_name": "February 2024",
      "fiscal_year_id": "FY2024",
      "start_date": "2024-02-01",
      "end_date": "2024-02-29",
      "quarter": 1,
      "is_adjustment_period": false,
      "is_closed": false
    }
  ],
  "pagination": {
    "total": 12,
    "limit": 20,
    "offset": 0,
    "has_more": false
  }
}

Request

Retrieve a list of accounting periods with optional filtering.

Headers

Authorization
string
required
JWT authentication token. Format: jwt YOUR_TOKEN

Query Parameters

fiscal_year_id
string
Filter by fiscal year (e.g., “FY2024”)
is_closed
boolean
Filter by closed status. Set to false to get only open periods
start_date
string
Filter periods starting on or after this date (YYYY-MM-DD)
end_date
string
Filter periods ending on or before this date (YYYY-MM-DD)
curl -X GET "https://kube.acho.io/service/general-ledger/accounting-periods?fiscal_year_id=FY2024&is_closed=false" \
  -H "Authorization: jwt YOUR_TOKEN"
{
  "data": [
    {
      "period_id": "a3UM4R8nYh33A6hgda",
      "period_name": "January 2024",
      "fiscal_year_id": "FY2024",
      "start_date": "2024-01-01",
      "end_date": "2024-01-31",
      "quarter": 1,
      "is_adjustment_period": false,
      "is_closed": false
    },
    {
      "period_id": "a3UM4R8nYh33A6hgdb",
      "period_name": "February 2024",
      "fiscal_year_id": "FY2024",
      "start_date": "2024-02-01",
      "end_date": "2024-02-29",
      "quarter": 1,
      "is_adjustment_period": false,
      "is_closed": false
    }
  ],
  "pagination": {
    "total": 12,
    "limit": 20,
    "offset": 0,
    "has_more": false
  }
}