Sales summary
sales_summaryHow much you have sold. With no dates: today and this month so far. With from/to: the invoiced sales for that period, broken down by month, customer and product (a lone from runs to today; a lone to is refused). All figures are MYR (a foreign-currency invoice converts at the rate frozen on it) and count invoices only: credit notes are not netted in, so a period with returns is not net of them. Two tax bases, each named in the payload: on byMonth and byCustomer, total includes tax and exTax is before SST; byProduct is a per-line figure, always before tax, so it adds up to exTax, not to total.
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": "sales_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No |