Create a fiscal sale receipt
checkbox_create_receiptCreates and fiscalizes a sale receipt on the open Checkbox shift (irreversible: a fiscal receipt can only be compensated by a return receipt). Lines come from a store order or are given explicitly; amounts are sent in kopiyky. Returns the fiscal code, total and receipt links.
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": {
"payment_type": "<payment_type>"
},
"name": "checkbox_create_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Send the electronic receipt to this email | ||
| lines | No | Receipt lines when no order is given | |
| footer | No | Text printed at the bottom | |
| order_ref | No | Order reference from list_orders whose lines and total are used | |
| paid_total | No | Amount paid, UAH; less than the lines' sum becomes a discount | |
| allow_repeat | No | Create even if a sale receipt for this order was created here in 30 days | |
| payment_type | Yes | CASHLESS (card, bank transfer, online payment) or CASH | |
| connection_id | No | Checkbox connection id | |
| email_order_customer | No | Send the receipt to the email stored in the order |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| demo | No | ||
| note | No | ||
| type | Yes | ||
| total | Yes | ||
| serial | No | ||
| status | Yes | ||
| is_test | No | ||
| tax_url | No | ||
| created_at | No | ||
| fiscal_code | No | ||
| receipt_url | No | ||
| payment_types | No |