Merit List Sales Invoices
merit_list_sales_invoicesLists sales invoices for a date range with customer, net and gross amounts, and payment status; supports customer and unpaid-only filters.
Instructions
Sales invoices (müügiarved) in a period: number, dates, customer, amounts, paid or not. TotalAmount is without VAT, TotalSum with VAT, in the invoice's own 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": {
"period_start": "<period_start>",
"period_end": "<period_end>"
},
"name": "merit_list_sales_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (totals still cover all) | |
| customer | No | Only customers whose name contains this | |
| 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 | |||