Skip to content
caliper ui pro docs

Invoice detail

An issued invoice as the customer reads it: parties with tax ids, lines, discount, VAT or reverse charge, payments made and the balance, with copy link, email, download and pay.

Pro
Open€184.41 due 15 October 2026

Invoice

INV-2026-0931

Issued
1 October 2026
Due
15 October 2026
FromHalden Software, Lda.Rua do Alecrim 121200-018 Lisboa, PortugalVAT PT514298311
Bill toNorthwind GmbHAccounts payableTorstraße 14010119 Berlin, GermanyVAT DE298431107
Lines on invoice INV-2026-0931
DescriptionQtyUnit priceAmount
Team plan8 seats · 1 Oct – 31 Oct 20268€18.00€144.00
Additional seats, prorated2 seats from 14 Oct2€10.45€20.90
Data residency add-onEU region1€40.00€40.00
Subtotal
€204.90
Annual partner discount 10%
−€20.49
VAT (reverse charge)
€0.00
Total
€184.41
Amount due
€184.41

Reverse charge: the customer accounts for VAT under Article 196 of Council Directive 2006/112/EC.

Payment terms: 14 days. Bank transfer to PT50 0035 0123 0000 0123 4567 8.

When to use

  • Billing history in an app.
  • A hosted invoice page.

When not to use

  • Writing an invoice; use the invoice editor.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/invoice-detail

Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

invoiceBalance

0 props

No props of its own; it accepts the native props of its root element.

InvoiceDetail

21 props
PropTypeDefaultDescription
number *string—
status *InvoiceStatus—
issued *string—
due *string—
from *InvoiceParty—
to *InvoiceParty—
lines *readonly InvoiceDetailLine[]—
taxRate *number—e.g. 0.23 for 23% VAT. Ignored with `reverseCharge`.
reverseChargebooleanfalseEU B2B: the customer accounts for VAT.
discount{ label: string; amount: number; }—
paymentsreadonly InvoicePayment[][]
currencystring"EUR"
localestring"en-GB"Number and date formatting, e.g. "en-US".
taxLabelstring"VAT"What the tax line is called where you sell, e.g. "Sales tax".
headingLevel2 | 32The invoice number's heading level; 3 when the invoice sits under a screen's own h2.
notesstring—
linkstring—A shareable link to this invoice.
onPay(() => void)—
onDownload(() => void)—Defaults to printing, which can save a PDF.
onEmail(() => void)—
classNamestring—

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes region semantics, with aria-labelledby, aria-hidden and aria-label kept in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/invoice-detail.md

The index of every part is at /llms.txt.

More in Billing