Merit List Sales Offers
merit_list_sales_offersLists sales quotes, orders, and prepayment invoices for a date range, including status and net/VAT totals, with filters for customer, document type, and unpaid items.
Instructions
Sales offers (pakkumised): quotes, sales orders and prepayment invoices in a period, with status (created, sent, approved, rejected, invoice created, canceled …) and amounts. TotalAmount is without VAT, TotalSum with VAT.
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": {
"period_start": "<period_start>",
"period_end": "<period_end>"
},
"name": "merit_list_sales_offers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (totals still cover all) | |
| customer | No | Only customers whose name contains this | |
| doc_type | No | Which documents | all |
| date_type | No | Filter on document date, or on when it was last changed | document |
| period_end | Yes | Last day, YYYY-MM-DD (periods over 3 months are fetched in pieces; max 36 months) | |
| unpaid_only | No | ||
| period_start | Yes | First day, YYYY-MM-DD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||