tochka_invoice
Create an invoice for a buyer by providing company name, INN, and order positions. Returns the document identifier.
Instructions
Issue an invoice to a buyer (they pay me). Returns documentId.
Args: buyer_name: Buyer company name buyer_inn: Buyer INN buyer_type: "company" or "ip" number: Invoice number positions: JSON array of positions, each with positionName, unitCode, ndsKind, price, quantity, totalAmount buyer_kpp: Buyer KPP (optional) buyer_address: Buyer legal address (optional) total: Total amount (calculated from positions if empty) nds_total: Total VAT amount (optional) based_on: Basis document (optional) comment: Comment (optional) pay_until_date: Payment deadline YYYY-MM-DD (optional)
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": {
"buyer_name": "<buyer_name>",
"buyer_inn": "<buyer_inn>",
"buyer_type": "<buyer_type>",
"number": "<number>",
"positions": "<positions>"
},
"name": "tochka_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| number | Yes | ||
| comment | No | ||
| based_on | No | ||
| buyer_inn | Yes | ||
| buyer_kpp | No | ||
| nds_total | No | ||
| positions | Yes | ||
| buyer_name | Yes | ||
| buyer_type | Yes | ||
| buyer_address | No | ||
| pay_until_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |