Create a sales order from a proposal
dolibarr_order_create_from_proposalCreate a draft sales order from an existing proposal, copying its customer and line items and linking the new order to that proposal.
Instructions
Creates a draft sales order with the customer and lines of a proposal, linked to it.
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": {
"proposal_id": "<proposal_id>"
},
"name": "dolibarr_order_create_from_proposal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proposal_id | Yes |