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" }
Create a new accounting period
jwt YOUR_TOKEN
application/json