Receive stock
bsale_create_stock_receptionWRITE: record a stock reception (ingreso de stock) that ADDS quantities to an office's inventory. Each line names the variant by id, SKU code or barcode, with quantity and unit cost. It changes stock levels and cost; Bsale has no undo through this API, so confirm the numbers first. POST /v1/stocks/receptions.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| details | Yes | ||
| document | No | Kind of incoming document, e.g. "Guia", "Factura", "Otro" (default "Otro"). | |
| office_id | Yes | Office (sucursal) receiving the stock. | |
| document_number | No | Number of the incoming document. |