Get a sales order
get_sales_orderOne sales order in full: every line with the quantity ordered, delivered and invoiced and how it was priced (price_basis names the rule), the deliveries recorded, the invoices raised from it, and actions — what the server would let a person do to it now.
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": {
"sales_order_id": "<sales_order_id>"
},
"name": "get_sales_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | No | Another entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in. | |
| sales_order_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the result was truncated, when it was. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| total_available | No | How many rows existed before truncation. |