create_invoice_from_order
Convert an existing order into an invoice by supplying the order ID. Optionally filter positions to include only selected line items; otherwise all order items are transferred.
Instructions
Create invoice from order
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": {
"order_id": "<order_id>"
},
"name": "create_invoice_from_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | the id of the order | |
| positions | No | Please note that the positions array can be omitted to create a document with all positions from the source document. |