> For the complete documentation index, see [llms.txt](https://docs.spiroq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spiroq.com/en/hub-screens/hub/prodej/detail-objednavky.md).

# Order detail

The detail opens by clicking a row in [Sales](/en/hub-screens/hub/prodej.md) or on the machine [Sales](/en/hub-screens/hub/seznam/prodeje.md) tab. The individual purchase fields are in the overview table on the [Sales](/en/hub-screens/hub/prodej.md) page.

## Header

At the top is the purchase time, **Status**, **Channel**, **Payment**, **Machine**, and optionally **Customer**, **Created by**, **Pickup code**, and **Reserved until**. An empty field shows a dash.

## When the vend failed

Under the header, one of the blocks appears depending on the situation. The procedure is in [Refund and voucher](/en/guides/navody/troubleshooting/vraceni-penez.md).

* **Compensation voucher** — a discount code was created after an unsuccessful vend. You see a masked code, the amount, validity, and the e-mail.
* **Refund request** — the customer chose a refund through support. The requested amount is here, and a link to the [request](/en/hub-screens/hub/pozadavky.md).
* **Voucher issuance failed** — the code could not be created. **Retry** queues another attempt. The amount is recalculated from the catalog.
* **SumUp payment** — the payment status on Solo. When refunding the remainder failed, it can be repeated with the button in this block.

## Items and amount

On the left are **Sold items**. Each has an image, a name, a quantity, and the line price. Under that is the breakdown: **Base price**, the discount from the rule, the discount from the package, and the resulting unit price.

Under them there may be **Unvended items** — units that were not dispensed after payment. They are not counted in revenue.

On the right is **Total price**. At the top is the sum of the items, optionally minus a [discount code](/en/hub-screens/hub/slevove-kody.md), and at the bottom **Price after discount**. That is the amount the customer paid.

Deleting a sale only removes it from reports. Stock in the machine is not returned.
