Receive goods on a supplier order into stock
dolibarr_supplier_order_receiveBooks received goods against a supplier order directly into a warehouse, row by row with quantities and lots, without a reception document. Returns a preview unless confirmed.
Instructions
Books goods received against an ordered supplier order straight into a warehouse (the 'dispatch' of the Suppliers module), without a reception document. Each row names the order line, the quantity and the warehouse; lot-tracked products also need the lot. If the Receptions module is enabled, prefer dolibarr_reception_create. 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": {
"supplier_order_id": "<supplier_order_id>",
"rows": "<rows>"
},
"name": "dolibarr_supplier_order_receive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| reason | No | One line on why, kept in the audit log. Required when confirm is true. | |
| comment | No | ||
| 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. | |
| supplier_order_id | Yes | ||
| close_when_complete | No | Mark the order received when everything has arrived. |