create_purchase_return
Create a purchase return to supplier with line items, pricing in rubles, and required organization, counterparty, and store details.
Instructions
Create a purchase return (возврат поставщику). Prices in RUBLES.
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": {
"organization_href": "<organization_href>",
"agent_href": "<agent_href>",
"store_href": "<store_href>",
"positions": "<positions>"
},
"name": "create_purchase_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positions | Yes | Document line items | |
| agent_href | Yes | Meta href of the counterparty. Get from get_counterparties | |
| store_href | Yes | Meta href of the warehouse/store. Get from list_stores | |
| description | No | Comment | |
| organization_href | Yes | Meta href of the organization. Get from list_organizations |