merit_get_purchase_report
Retrieve purchase reports by date range and type. Choose from invoices, vendors, articles, or fixed assets to analyze purchasing data from Merit Aktiva.
Instructions
Purchase report (POST /api/v2/getpurchrep). reportType: 1 = invoices, 2 = vendors, 3 = articles, 4 = fixed assets.
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_purchase_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 vendors, 3 articles, 4 fixed assets |