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