Openapi
Open a fiscal year and create its monthly periods.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidThe fiscal year.
application/jsonfiscalYear*integer2000 <= value <= 2100Returns the result.
application/jsondata*array<>pagination*curl -X POST 'https://app.localhost/api/v1/organizations/123/accounting/fiscal-years' \ -H 'Content-Type: application/json' \ -d '{ "fiscalYear": 2000}'{ "data": [ { "endsOn": "2019-08-24", "fiscalYear": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "number": 0, "startsOn": "2019-08-24", "status": "string" } ], "pagination": { "hasMore": true, "limit": 1, "offset": 0, "total": 0, "totalIsEstimate": true }}