Get Profit And Loss
get_profit_and_lossGet Profit and Loss (income statement) report for a period.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_profit_and_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | Which company to read, by name or id, when the account has more than one (see list_companies). Leave it out to use the only company, or the default. | |
| to_date | No | End date (YYYY-MM-DD) | |
| from_date | No | Start date (YYYY-MM-DD) |