Validate, close or delete a reception
dolibarr_reception_actionMove a Dolibarr reception to another status: validate, close, or delete. Returns a preview unless confirm is true, so irreversible changes are reviewed first.
Instructions
Moves a reception to another status. Actions: validate (the draft gets its final ref; depending on the stock setup this posts the goods into stock); close (classifies the reception as closed (processed)); delete (deletes the reception 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": {
"reception_id": "<reception_id>",
"action": "<action>"
},
"name": "dolibarr_reception_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| reception_id | Yes |