Get accounting periods
get_accounting_periodsRetrieve a customer's accounting periods, optionally with nested bookkeeping periods, filtered by locked status. Use it to list period data for financial reporting.
Instructions
Returns a customer's accounting periods (each with nested bookkeeping periods) from Easor's Organization API. Global — no region-specific path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organizationNumber": "<organizationNumber>"
},
"name": "get_accounting_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | No | Filter to locked (true) or unlocked (false) periods only | |
| pageSize | No | ||
| pageIndex | No | ||
| organizationNumber | Yes | Easor organization/customer number | |
| sortByDateAscending | No | ||
| includeBookkeepingPeriods | No |