Skip to main content
POST
/
service
/
general-ledger
/
accounting-periods
curl -X POST https://kube.acho.io/service/general-ledger/accounting-periods \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "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": "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,
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}

Request

Create a new accounting period for transaction posting.

Headers

Authorization
string
required
JWT authentication token. Format: jwt YOUR_TOKEN
Content-Type
string
required
Must be application/json

Body Parameters

period_name
string
required
Display name for the period (e.g., “January 2024”)
fiscal_year_id
string
required
Associated fiscal year identifier
start_date
string
required
Period start date (YYYY-MM-DD format)
end_date
string
required
Period end date (YYYY-MM-DD format)
quarter
number
required
Fiscal quarter (1-4)
is_adjustment_period
boolean
default:"false"
Whether this is an adjustment period (period 13)
is_closed
boolean
default:"false"
Whether the period should be created in closed state
curl -X POST https://kube.acho.io/service/general-ledger/accounting-periods \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "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": "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,
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}