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)
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 |