merit_get_sales_report
Generate sales reports for a date range and report type: invoices, customers, articles, countries, or countries general. Choose the report type and period to retrieve the needed sales data.
Instructions
Sales report (POST /api/v2/getsalesrep). reportType: 1 = invoices, 2 = customers, 3 = articles, 4 = countries, 5 = countries general.
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": {
"startDate": "<startDate>",
"endDate": "<endDate>",
"reportType": "<reportType>"
},
"name": "merit_get_sales_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date (YYYY-MM-DD, required) | |
| startDate | Yes | Start date (YYYY-MM-DD, required) | |
| reportType | Yes | 1 invoices, 2 customers, 3 articles, 4 countries, 5 countries general |