tochka_upd
Create a universal transfer document (UPD) for invoicing and primary accounting. Provide buyer details and item positions to generate document ID and signing link.
Instructions
Create UPD (universal transfer document). Returns documentId and signURL.
function defaults to "schfdop" (invoice + primary document).
Args: buyer_name: Buyer company name buyer_inn: Buyer INN buyer_type: "company" or "ip" number: UPD number positions: JSON array of positions (same format as invoice) 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) parent_document_id: Parent invoice UUID (optional, links UPD to invoice) function: "schfdop" (invoice + primary) or "dop" (primary only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | ||
| number | Yes | ||
| based_on | No | ||
| function | No | schfdop | |
| buyer_inn | Yes | ||
| buyer_kpp | No | ||
| nds_total | No | ||
| positions | Yes | ||
| buyer_name | Yes | ||
| buyer_type | Yes | ||
| buyer_address | No | ||
| parent_document_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |