Create a new sales order
create_sales_orderCreate a new sales order with line items, VAT options, currency, and required fields. For AT/DE administrations, provide a delivery date.
Instructions
Create a new sales order.
Create a new sales order. Requires the trade module to be active. Use the /orders/sales/options endpoint first to determine valid combinations of vat_id, ledger_id and vat_option.
For administrations in Austria (AT) or Germany (DE), the delivery_date field is also required.
[Sales Orders] POST /orders/sales
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": {
"body": "<body>"
},
"name": "create_sales_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| administration | No | The client administration to act on. Only one is configured: default. |