Microservices.sh Fiscal Periods API

The Fiscal Periods API from Microservices.sh — 6 operation(s) for fiscal periods.

GitHub OpenAPI

Operations 7

GET /fiscal-periods List fiscal periods #
POST /fiscal-periods Create a fiscal period #
GET /fiscal-periods/{id} Get one fiscal period #
POST /fiscal-periods/{id}/status Open, close, or lock a fiscal period through guarded transition rules #
POST /fiscal-periods/{id}/close Close an open fiscal period #
POST /fiscal-periods/{id}/reopen Reopen a closed fiscal period #
POST /fiscal-periods/{id}/lock Lock a closed fiscal period #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microservices-sh:microservices-sh-fiscal-periods-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microservices-sh-fiscal-periods-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Accounting Core Module Fiscal Periods API
  version: 0.1.0
  description: Boundary shapes for tenant-scoped accounting setup settings, chart of accounts, fiscal periods, balanced journal posting, voiding, trial balance, general ledger, and financial statement reporting.
tags:
- name: Fiscal Periods
paths:
  /fiscal-periods:
    get:
      summary: List fiscal periods
      operationId: listFiscalPeriods
      responses:
        '200':
          description: Fiscal period list
      tags:
      - Fiscal Periods
    post:
      summary: Create a fiscal period
      operationId: createFiscalPeriod
      responses:
        '201':
          description: Fiscal period created
        '409':
          description: Overlapping fiscal period
      tags:
      - Fiscal Periods
  /fiscal-periods/{id}:
    get:
      summary: Get one fiscal period
      operationId: getFiscalPeriod
      responses:
        '200':
          description: Fiscal period detail
        '404':
          description: Fiscal period not found
      tags:
      - Fiscal Periods
  /fiscal-periods/{id}/status:
    post:
      summary: Open, close, or lock a fiscal period through guarded transition rules
      operationId: updateFiscalPeriodStatus
      responses:
        '200':
          description: Fiscal period status updated
        '409':
          description: Invalid fiscal period transition
      tags:
      - Fiscal Periods
  /fiscal-periods/{id}/close:
    post:
      summary: Close an open fiscal period
      operationId: closeFiscalPeriod
      responses:
        '200':
          description: Fiscal period closed
        '409':
          description: Only open periods can be closed
      tags:
      - Fiscal Periods
  /fiscal-periods/{id}/reopen:
    post:
      summary: Reopen a closed fiscal period
      operationId: reopenFiscalPeriod
      responses:
        '200':
          description: Fiscal period reopened
        '409':
          description: Only closed periods can be reopened
      tags:
      - Fiscal Periods
  /fiscal-periods/{id}/lock:
    post:
      summary: Lock a closed fiscal period
      operationId: lockFiscalPeriod
      responses:
        '200':
          description: Fiscal period locked
        '409':
          description: Only closed periods can be locked
      tags:
      - Fiscal Periods