Get a receipt
get_receiptFetches a receipt by ID in JSON or text format, including goods, payments, taxes, and tax service link. If the receipt is still being created, retry after a second.
Instructions
Returns one receipt (чек). format "json": the full record with goods, payments, taxes, discounts, fiscal number, status and the link to the tax service (tax_url). format "text": the receipt exactly as it is printed. A receipt that was created a moment ago can answer "still being created"; retry after a second.
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": {
"receipt_id": "<receipt_id>"
},
"name": "get_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | "json" (default) returns the structured object; "text" returns the printable plain-text form. | |
| receipt_id | Yes | Receipt id: the UUID, or the 11-character short id. |