Get sales summary
get_sales_summaryRetrieve a period's sales summary with gross and net sales, refunds, discounts, taxes, and payment totals by sale type; returns no rows for periods without sales.
Instructions
Sales summary for a period: sales, refunds, discounts, taxes and payments by type.
Reads Reports > Sales summary for the days given: one row per sale type (services, products, memberships, gift cards and so on) with Fresha's own columns (gross and net sales, discounts, refunds, taxes) and a totals row. columns names each key. A period without sales has no rows. Amounts are in the business's currency.
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": "<from>"
},
"name": "get_sales_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day. Default: same as from. | |
| from | Yes | First day. |