# Shadcn Receipt blocks

> Digital receipt and invoice blocks with itemized lists, taxes, and payment details.

- Type: Pro blocks (eCommerce)
- Page: https://web.dev.reui.io/blocks/ecommerce/receipt
- Blocks: 6
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## When to use

- The order confirmation a shopper lands on after checkout, with items, discount, tax, total and card used
- A proof of purchase the shopper can download, email to themselves or print
- An order page after purchase for tracking the parcel, buying again, starting a return or writing a review

## When not to use

- Staff side order review, tracking or a shipping label inside a stock operations tool: use the [Inventory blocks](https://web.dev.reui.io/blocks/solutions/inventory.md)
- A history of many payments or transactions, one signed amount on each row: use the [List blocks](https://web.dev.reui.io/blocks/application/list.md)
- Invoices, subscriptions and dunning run by finance staff, not one shopper's order: use the [Billing blocks](https://web.dev.reui.io/blocks/solutions/billing.md)

## Agent notes

- `TOTALS` and each item's `lineTotal` in data.ts are typed in, never computed from `quantity` and `unitPrice`; derive them from your order
- Download and Email only dispatch a `CustomEvent` on `window` and Print calls `window.print`, so nothing builds a PDF or sends mail
- `formatCurrency` is fixed to en-US and `ReceiptTotals` types `currency` as USD only; widen both to show another currency

## Blocks

- [Order Confirmation](https://web.dev.reui.io/blocks/ecommerce/receipt/receipt-1.md): Printable order receipt with paid badge, itemized items, totals breakdown, and shipment tracking. Best for one Card receipt headed Thanks For Your Order, with Ship To, Bill To and Payment in 3 columns and an arrival window footer.
- [Order Tracking Timeline](https://web.dev.reui.io/blocks/ecommerce/receipt/receipt-2.md): Order receipt with vertical fulfillment Timeline, Paid status hero, and items plus totals breakdown. Best for an order journey of 5 steps from placed to delivered, sticky beside the items, with a Next Step box and tracking number.
- [Till Slip Receipt](https://web.dev.reui.io/blocks/ecommerce/receipt/receipt-3.md): Monospaced Paper Cash-Register Order Receipt Card with Print, Download, and Email Actions. Best for a narrow monospaced till slip with dashed rules, text only item lines and a double ruled total, with no photos or badge.
- [Delivered Order Receipt](https://web.dev.reui.io/blocks/ecommerce/receipt/receipt-4.md): Delivered Order Receipt with Per-Item Review, Buy Again and Return Actions. Best for a delivered order with stars on rated items, a Write Review or Buy Again button per row and Return Item only while returnable.
- [Statement Receipt](https://web.dev.reui.io/blocks/ecommerce/receipt/receipt-5.md): Two-column statement-style order receipt with metadata sidebar and itemized line totals. Best for a 2 pane statement whose sidebar stacks total paid, card, arrival window and address above a full width Track button.
- [Post-Purchase Actions](https://web.dev.reui.io/blocks/ecommerce/receipt/receipt-6.md): Order Receipt Page with Quick-Action Tile Grid, Line Items, Totals, and Shipping or Tracking Details. Best for a 4 tile next step grid for Track Order, Reorder, Return and Get Help, under a shipping, payment and tracking card.

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
