---
title: "Receipt"
description: "Confirms a payment and lists the invoices it settles."
plan: Pro
docs: https://ui.edbn.me/docs/pdfs/receipt
---

# Receipt

Confirms a payment and lists the invoices it settles.

Received from sits beside the receipt number, the date paid and the invoice number, with extra fields such as the payment method. Each settled invoice is a line item with its issue details underneath; with quantities left empty and no unit prices, only the description and amount columns show. A single Amount paid row prints as the bold total, and a note can confirm the invoices are paid in full.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/pdf-receipt
```

## Dependencies
- edbn: pdf-shared

## Usage

The example code is part of Pro (https://ui.edbn.me/pricing). With the user's token, the edbn MCP server's `get_example` tool returns it: https://ui.edbn.me/mcp

## Files
- lib/pdf/templates/receipt.typ (16 lines)
- lib/pdf/examples/receipt.ts (60 lines)
- lib/pdf/examples/receipt.json (52 lines)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
