Invoice INV-2026-0117
IssuedNorthwind Ledger Ltd · example issuer
| Description | Qty | Unit | Amount |
|---|---|---|---|
| Pro plan · Nov 2026 | 1 | $480.00 | $480.00 |
| Extra seats | 3 | $24.00 | $72.00 |
| AI credits top-up | 2 | $50.00 | $100.00 |
- Subtotal
- $652.00
- Tax 20%
- $130.40
- Total
- $782.40
A document view for an invoice or a credit note.
A document view for an invoice or a credit note, not a PDF engine.
An issued invoice. Variants shows each status, with its badge, solid primary and footnote.
Northwind Ledger Ltd · example issuer
| Description | Qty | Unit | Amount |
|---|---|---|---|
| Pro plan · Nov 2026 | 1 | $480.00 | $480.00 |
| Extra seats | 3 | $24.00 | $72.00 |
| AI credits top-up | 2 | $50.00 | $100.00 |
One solid primary at most: Issue invoice on a draft, Record payment when issued or overdue. A credit note names the invoice it reduces. Money arrives pre-formatted, so currency and locale stay with the app. All data here is an example.
A document view for an invoice or a credit note, not a PDF engine: header with status and actions, bill-to and dates, line items, totals and one line about payment. A credit note always names the invoice it reduces. Built on kit Table, Badge, Button and Empty.
import { InvoiceDocument } from "agentic-ds-kit";From contracts/invoicedocument.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| kind | invoice | creditNote | No | invoice | — |
| number | string | Yes | — | — |
| status | enum | No | draft | estimate: the next invoice before the period closes. Badge Estimate, total reads Estimated total, no pay or record action. estimate | draft | issued | paid | overdue | void |
| from | string | No | — | — |
| to | string | Yes | — | — |
| issuedOn | string | Yes | — | — |
| dueOn | string | No | — | — |
| period | string | No | — | Billing period, e.g. "1–30 Nov 2026". |
| relatedInvoiceId | string | No | — | Credit notes: the invoice it reduces. |
| lines | array | Yes | — | { id, description, quantity, unitPrice, amount }[]; money pre-formatted. |
| subtotal | string | Yes | — | — |
| taxLabel | string | No | Tax | — |
| tax | string | No | — | — |
| total | string | Yes | — | — |
| footnote | string | No | — | Paid on, overdue reminder, voided, estimate as of, or what the credit note reduces; the icon follows the status (paid check, issued and estimate clock, overdue warning, void cross). |
| onDownload | function | No | — | — |
| onSend | function | No | — | — |
| onIssue | function | No | — | Draft: Issue invoice, the solid primary. |
| onRecordPayment | function | No | — | Issued or overdue: Record payment, the solid primary. |
| onPay | function | No | — | Issued or overdue, the customer's view: Pay {total}, the solid primary. Wins over onRecordPayment. |
| loading | boolean | No | false | — |
| error | string | No | — | — |
| onRetry | function | No | — | — |
Next charge, a failed-payment notice, and every charge with its status.
Framed dataset with search, filters, column settings, and a caption title.
Placeholder when a list, page, or region has nothing to show.
Simple semantic table for invoices, lists, and text rows, with optional sort, row menu, sticky header, loading, empty and error states, row dividers on or off, and one optional highlighted row.