Skip to content
caliper ui pro docs

Docs site

The marketing site for Forma, the invoicing API the docs template documents: a home page that opens on the install command with the request and its real response side by side, usage pricing with the live keys screen, how teams build on it with their code, and the changelog.

Pro
API v1 stops on 31 March 2027. Moving takes most teams an afternoon.Read the changelog

v2.14 · Payments in one currency settle invoices in another

Send the invoice. Forma chases it.

One API for invoices, reminders and the payments that come back: create it, send it, and get a webhook when the bank line matches.

npm install @forma/node

Node 20 or later · test keys are free and never expire

send-invoice.ts
ts
import { Forma } from "@forma/node";
const forma = new Forma(process.env.FORMA_KEY);
const invoice = await forma.invoices.create({  customer: "cus_8Kq2mZ",  lines: [{ description: "Brand identity workshop", unit_amount: 480000 }],  send: true,});
console.log(invoice.number, invoice.hosted_url);

POST /v2/invoices

201 CreatedExample
{  "id": "inv_2041",  "number": "INV-2041",  "status": "open",  "amount_due": 480000,  "currency": "eur",  "hosted_url": "https://pay.forma.example/i/2041"}

Docs you build from

Every page is something you can run.

The reference, the samples and the events are the same parts you get in the docs, not screenshots of them.

docs.forma.example/invoices/create

Request

curl https://api.forma.example/v2/invoices \  -u "$FORMA_KEY:" \  -d customer=cus_8Kq2mZ \  -d "lines[0][description]=Brand identity workshop" \  -d "lines[0][unit_amount]=480000" \  -d send=true

Built on by product teams at

  • Brightmoor
  • Umberline
  • Saltrun
  • Pellum
  • Cindral
  • Oakhaven
  • Marrowby
  • Yarrow & Finch
  • Quillon
  • Ferrow
  • Tovra
  • Wexmoor

Run by numbers

Boring on purpose, every week.

Over the last twelve weeks.

API uptime
99.99%
+0.02 points on the previous quarter
Median request time
86 ms
32 ms faster than in July
Webhooks delivered first time
99.4%
+1.3 points since the retry change

What customers say

4.8

Average of 640 developer reviews, October 2026.

“We shipped invoicing in a sprint instead of a quarter.”
Elias KimStaff engineer, Brightmoor
“The idempotency docs alone saved us a double charge.”
Aiko TanakaPlatform lead, Umberline
“The test feed means our CI matches real-looking payments.”
Ravi PatelBackend engineer, Saltrun

Two minutes to the first invoice

Install it, send one to yourself.

A test key comes with the free plan. Nothing reaches a real customer until you switch to a live key.

npm install @forma/node

Node 20 or later · Python and curl in the docs

When to use

  • Selling an API, SDK or developer tool whose documentation is built on the docs template, with the same brand and sample voice.
  • A self-serve product where the first action is installing a package or creating a test key.

When not to use

  • A sales-led product that books calls; use `finance-site`.
  • The documentation itself; use `docs-template`.
  • Real customer names, uptime or latency figures you cannot back; everything here is fictional.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/docs-site

Adds its 64 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

DocsSite

2 props
PropTypeDefault
initialPageDocsSitePage"home"
classNamestring—

Keyboard

  • Keyboard and focus come from Radix dialog, navigation-menu, popover, tabs: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.

Accessibility

It exposes status semantics, with aria-label kept in step with state. Changes that matter are announced through a live region.

Notes for AI

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

/docs/components/docs-site.md

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

More in Templates & studio