Rillet Books periods API

The Books periods API from Rillet — 1 operation(s) for books periods.

GitHub OpenAPI
Business capability
General Ledger Management BC-200.10

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /books/periods/last-closed Get the last closed accounting period · Retrieves last book closed period #
Ask an LLM
“When was the most recent accounting period closed?”
“How do I find the closed-on date for book-close workflows?”
Tell an agent
Get the last closed accounting period.
Tell me when book closing last finished.

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/rillet:rillet-books-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

rillet-books-periods-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Rillet Accounting Books periods API
  version: v4.0
servers:
- url: https://api.rillet.com
  description: Production server url
- url: https://sandbox.api.rillet.com
  description: Test server url
security:
- bearerAuth: []
tags:
- name: Books periods
paths:
  /books/periods/last-closed:
    get:
      tags:
      - Books periods
      operationId: retrieve-last-book-closed-period
      summary: Retrieves last book closed period
      description: 'Returns the most recently closed accounting period for book-close workflows, including closed-on timestamps your automation can cache.

        When no period has ever been closed the API responds with HTTP 404, so treat a missing resource as "not yet closed" rather than an outage.'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Book'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters: []
components:
  schemas:
    Error:
      type: object
      required:
      - type
      - title
      properties:
        type:
          type: string
          format: uri
          description: A URI reference that identifies the error type.
          example: https://rillet.io/forbidden
        title:
          type: string
          description: Summary of the problem.
          example: Forbidden
        status:
          type: integer
          description: The HTTP status code generated by the origin server for this occurrence of the error.
          example: 403
        detail:
          type: string
          description: Explanation specific to this occurrence of the error.
          example: User does not have rights to perform this operation.
    Book:
      type: object
      required:
      - id
      - start
      - end
      - status
      - closed_on
      properties:
        id:
          type: string
          format: uuid
        start:
          type: string
          format: date
          description: Book period start date (inclusive)
          example: '2025-06-01'
        end:
          type: string
          format: date
          description: Book period end date (inclusive)
          example: '2025-06-30'
        status:
          enum:
          - OPEN
          - CLOSED
          example: CLOSED
        closed_on:
          type: string
          format: date
          description: Date on which book was closed
          example: '2025-07-05'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-mcp-ready: true
x-readme:
  headers:
  - key: X-Rillet-API-Version
    value: '4'