create_supply
Create an incoming supply (purchase receipt) from a supplier, specifying line items and prices in rubles.
Instructions
Create an incoming supply (purchase receipt). 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>",
"positions": "<positions>"
},
"name": "create_supply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positions | Yes | Supply line items | |
| agent_href | Yes | Meta href of the counterparty (supplier). Get from get_counterparties | |
| store_href | No | Meta href of the warehouse. Get from list_stores | |
| description | No | Supply description/comment | |
| incoming_date | No | Incoming document date (ISO 8601) | |
| incoming_number | No | Incoming document number from supplier | |
| organization_href | Yes | Meta href of the organization (receiver). Get from list_organizations |