get_goods_receipt
Fetch goods receipt records for a purchase order to verify actual received quantities and identify discrepancies such as short-ship, over-ship, or damaged items.
Instructions
Fetch the goods receipt(s) for a PO — the GRN "actual" leg of the match.
- po_id: corpus PO id, e.g. "PO-8801".
Under sap_s4hana returns an API_MATERIAL_DOCUMENT_SRV A_MaterialDocumentHeader
collection with a to_MaterialDocumentItem list (GoodsMovementType 101). `condition`
and `qty_damaged` from the corpus surface as item-level annotations (short-ship /
over-ship / damage / UOM-mismatch traps). Returns an empty collection if nothing was
received.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": {
"po_id": "<po_id>"
},
"name": "get_goods_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| po_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||