Validate, sign, refuse, bill, reopen or delete a proposal
dolibarr_proposal_actionMoves a proposal through validate, draft, sign, refuse, billed, or delete statuses, and previews the change unless confirm=true is set.
Instructions
Moves a proposal to another status. Actions: validate (the draft gets its final ref and can be sent to the customer); set_draft (a validated proposal goes back to draft for editing); sign (records that the customer accepted the proposal); refuse (records that the customer declined the proposal); set_billed (classifies a signed proposal as billed); delete (deletes the proposal permanently). This step cannot simply be undone: without confirm=true it only returns a preview.
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>",
"action": "<action>"
},
"name": "dolibarr_proposal_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | With sign or refuse: an internal note on the outcome. | |
| action | Yes | ||
| reason | No | One line on why, kept in the audit log. Required when confirm is true. | |
| confirm | No | false (default) = change nothing, only show what would happen. true = do it. Set true only after the user has explicitly agreed to this exact step. | |
| proposal_id | Yes |