Monthly cash flows
get_monthly_flowsCash in and cash out per MONTH and per cash account (bank, cash, payment-provider balances) over a date range — the Banking screen's chart as data. Use it for 'how much came in and went out each month', runway and seasonality questions about cash; for profit use get_income_statement, for balances get_balance_sheet. date_from and date_to are YYYY-MM-DD, inclusive; one bucket per month in the range, oldest first, empty months included. inflow / outflow are positive integers in CENTS of the home currency — divide by 100; net is inflow minus outflow. Counted: the legs of complete bookings on the cash accounts PLUS imported bank transactions not yet booked (so the figures match the bank, not only the ledger). An account with no movement in a month is absent from that month.
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": {
"date_from": "<date_from>",
"date_to": "<date_to>",
"company_id": "<company_id>"
},
"name": "get_monthly_flows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | End of the range, YYYY-MM-DD, inclusive. | |
| date_from | Yes | Start of the range, YYYY-MM-DD, inclusive. | |
| company_id | Yes | The company to work on — one of list_my_companies' company_id values. |