create_invoice_out
Create a sales invoice in rubles for a counterparty. Define organization, agent, and line items with prices, quantities, and discounts.
Instructions
Create a sales invoice (счёт покупателю). 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_invoice_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positions | Yes | Invoice line items | |
| agent_href | Yes | Meta href of the counterparty. Get from get_counterparties | |
| description | No | Comment | |
| organization_href | Yes | Meta href of the organization. Get from list_organizations |