get_sales_orders
Retrieve sales orders and quotations, newest first, including customer, total and invoice status. Filter by state to view draft quotations, sent quotes, confirmed orders or cancellations.
Instructions
List sales orders and quotations, newest first, with customer, total and invoice status.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sales_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of records to return (1-50). | |
| state | No | draft = quotation, sent = quotation sent to customer, sale = confirmed sales order, cancel = cancelled. Omit for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||