Skip to content
caliper ui docs

Pro

Finance payables

Payables from bill to payment: approve bills one at a time or together, then pay approved bills in a run from one account on one date, with currencies converted and the balance checked before it is sent.

Pro
pnpm dlx shadcn@latest add @caliper/finance-payables

Bills

11 unpaid · €41,334 to pay

BillDueAmountActions
BILL-894 Octopus EnergyNo category23 Oct£318.20
BILL-897 SlackSoftware24 OctUS$1,140.00
BILL-898 Hatch Print CoMarketing26 Oct£386.00
BILL-895 Northgate ContractingContractors31 Oct£9,800.00
BILL-893 Deloitte LLPAudit and legal6 Nov£12,500.00
BILL-896 Pennant LegalAudit and legal7 Nov£2,750.00

State
Installs components/ui/finance-payables.tsxDepends on @radix-ui/react-dialog, @radix-ui/react-popover, @radix-ui/react-slot, lucide-reactMotion none in component source

When to use

Use it for

  • Accounts payable and spend products.
  • Anywhere several payments go out together.

Skip it when

  • Paying one invoice as a customer; use checkout.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/finance-payables

Adds its 14 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.

Usage

Import it from your copy of the source. The example behind the preview comes with the source. It is built from FinanceBills and FinancePayments.

example.tsx
import { FinanceBills, FinancePayments } from "@/components/ui/finance-payables"

The worked example comes with Pro

The 240-line example behind the preview opens here, ready to copy.

  • 626 Pro parts, blocks and page templates, all with source
  • $149 once, with lifetime updates. No renewal
  • A full refund within 14 days if it is not for you
Checking your licence…

API reference

FinanceBills

component
PropTypeDefaultDescription
data *FinanceData—
entityIdstring—
onDataChange *(data: FinanceData) => void—
todaystringnew Date().toISOString().slice(0, 10)ISO date treated as today.
classNamestring—

FinancePayments

component
PropTypeDefaultDescription
data *FinanceData—
entityId *string—
onDataChange *(data: FinanceData) => void—
todaystringnew Date().toISOString().slice(0, 10)ISO date treated as today.
you *string—Who sends a run.
classNamestring—

Accessibility

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

Keyboard and focus handling comes from Radix dialog and popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.

Motion

It declares no animation in its component source. Any transition comes from its stylesheet, which uses the duration tokens that collapse to instant under prefers-reduced-motion.

All Billing examples