# POST /inventory/purchase-orders/:purchase_order_id/receive

**Resource:** [INVENTORY](./inventory.md)  
**MCP tool:** `receive_purchase_order`  
**Scopes:** `purchase_orders:write`  
**Write operation:** yes

Record a delivery against a purchase order: say how many of each line came in, and the stock goes up at the order's location (or the location given). Part deliveries are fine; the order shows partly received until everything is in, then received. Each delivery becomes its own batch carrying the line's unit cost, which the stock value report uses.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `purchase_order_id` | path | string | yes | The purchase order (its UUID). |
| `lines` | body | array | yes | What came in. A part delivery is fine: receive the rest later. More than is still to come on a line is refused. |
| `location_id` | body | string | no | Where it was put. Defaults to the order's location, else the workspace default. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/inventory/purchase-orders/:purchase_order_id/receive"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"lines":"...","location_id":"...","require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`