dolibarr_create_proposal
Create a commercial proposal header in Dolibarr for a given client, with optional validity and payment terms. Add line items using the associated tool.
Instructions
Create a new commercial proposal (quote) header. Add line items afterwards with dolibarr_add_proposal_line.
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": "dolibarr_create_proposal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| socid | Yes | Thirdparty (client) ID | |
| date | No | Unix timestamp; defaults to now if omitted | |
| duree_validite | No | Validity in days, e.g. 30 | |
| note_public | No | ||
| note_private | No | ||
| cond_reglement_code | No | Payment terms code, e.g. '30D', 'RECEP' |