Books periods
Retrieves a book period by date
Changed onReturns the accounting period containing the requested date, regardless of whether the period is open or closed. Use the returned id to open or close the books or a specific subledger. Responds with HTTP 404 when no period contains the date.
get/books/periods/{date}
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
datestring date required
Date within the requested accounting period.
Response
OK
Example response
{
"start": "2025-06-01",
"end": "2025-06-30",
"status": "CLOSED",
"closed_on": "2025-07-05"
}Changes
- info
endpoint added
- info