get_pnl_summary
Profit & loss per category and month. Each row carries the category code to pass back as cat_code when drilling down. Amounts are in whole euros (EUR): positive = income, negative = expense. Start at level cat1. The period may span at most 13 months.
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": {
"from_month": "<from_month>",
"to_month": "<to_month>"
},
"name": "get_pnl_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Category depth; start with cat1. | |
| to_month | Yes | Last month, "YYYY-MM" (inclusive). Required. | |
| tenant_id | No | The tenant to query. Required when you have access to more than one tenant; may be omitted when you have exactly one. Call list_tenants for the ids. | |
| from_month | Yes | First month, "YYYY-MM" (inclusive). Required. | |
| division_id | No | Restrict the answer to one administration. Omit to cover every administration you have access to. It can only narrow your access, never widen it. |