create_order
Create a new customer order in Dolibarr by specifying the customer ID, order date, delivery date, payment terms, and public note.
Instructions
Créer une nouvelle commande client
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": {
"socid": "<socid>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date de la commande ISO 8601 (ex: '2025-01-31') | |
| socid | Yes | ID du tiers client | |
| note_public | No | Note visible sur le BdC | |
| date_livraison | No | Date de livraison souhaitée ISO 8601 | |
| cond_reglement_id | No | ID condition de paiement |