Create a reception
dolibarr_reception_createCreates a draft reception for a sent supplier order, recording received quantities per order line and warehouse, including lot data for tracked products. Validate it to post the stock to inventory.
Instructions
Creates a draft reception for a supplier order that has been sent (status ordered or partially received). Each line names the supplier order line, the quantity received and the warehouse; lot-tracked products also need the lot. Several lines may point at the same order line (e.g. one per lot). Validate it with dolibarr_reception_action to post the stock.
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>",
"lines": "<lines>"
},
"name": "dolibarr_reception_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| note_public | No | Note visible to the third party (printed on documents). | |
| note_private | No | Internal note. | |
| ref_supplier | No | The supplier's delivery note number. | |
| date_delivery | No | Date the goods arrived. | |
| supplier_order_id | Yes |