create_cash_out
Record an outgoing cash payment in MoySklad by creating a cash expense order. Provide organization, counterparty, and amount in rubles.
Instructions
Create a cash expense order (расходный кассовый ордер). Amount 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>",
"sum_rubles": "<sum_rubles>"
},
"name": "create_cash_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_href | Yes | Meta href of the counterparty. Get from get_counterparties | |
| sum_rubles | Yes | Amount in RUBLES (converted to kopecks internally) | |
| description | No | Comment | |
| expense_item_href | No | Meta href of the expense item (статья расходов). MoySklad may require this for outgoing payments. | |
| organization_href | Yes | Meta href of the organization. Get from list_organizations |