get_pnl_category_detail
The GL accounts (top 50 by amount) inside ONE category, for the P&L or — with statement "bs" — the balance sheet, where the amounts are the net movement per GL account. Amounts are in whole euros (EUR): positive = income, negative = expense. Call a summary first to obtain cat_code; at most 3 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>",
"cat_code": "<cat_code>"
},
"name": "get_pnl_category_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cat_code | Yes | The exact `code` value from a prior summary row. Never guess a code. | |
| to_month | Yes | Last month, "YYYY-MM" (inclusive). Required. | |
| statement | No | Which statement the category belongs to (default "pnl"). | |
| 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. |