Purchase Order Receiving
get_purchase_order_receivingWhat is still open to receive on a purchase order? Returns the order's status, vendor and destination warehouse, whether it can be received now (and why not), and every receivable line with ordered, received, missing and remaining quantities, tracking type and the default put-away location. Call this before receive_purchase_order to get lineIds.
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": {
"purchaseOrder": "<purchaseOrder>"
},
"name": "get_purchase_order_receiving"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purchaseOrder | Yes | Purchase order id (GUID), document number (e.g. PO-2026-10-000118), or the short form people use for an open order: its last digits ("118", "PO 118"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| status | No | ||
| canReceive | No | ||
| vendorName | No | ||
| warehouseId | No | ||
| blockedReason | No | ||
| warehouseName | No | ||
| purchaseOrderId | No | ||
| allowOverReceiving | No | ||
| hasDeliveryReceipt | No | ||
| purchaseOrderNumber | No |