PaymentRunBuilder
Shows the cash balance remaining after the run.
npx shadcn add @lopifi/payment-run-builderExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Run overdraws the account
Every bill against $21,000.00 of cash: the remainder goes negative and the run stops.
How it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
Select bills by due date, vendor, or discount deadline. Shows the run total and, most importantly, the cash balance left after the run. A payment run that overdraws is a very expensive UI failure.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Payables (AP)
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section PaymentRunBuilder renders in, the calculators behind its figures, and the ledger payloads that feed it.
- PaymentRunBuilder, runningThe ap showcase — live, with theme, density, grayscale and reduced-motion switches.
- Penny-exact allocationSplit 100.00 three ways and get 33.34 / 33.33 / 33.33, with nothing left in suspense.
- Duplicate paymentsSame vendor, same amount, close in time. Or the same reference on any date.
- Payments and allocationHow is a payment tied to the documents it settles?
- Payables (AP)Payables (AP) — specs for 16 React components: BillForm, BillDetail, BillRegister, DuplicateBillAlert and 12 more.
Components are copied into your repository and meant to be edited. Rounding policy, fiscal calendar and compliance copy differ per company.
Release notes
Get an email when Payables (AP) changes
Your copy doesn’t update itself when we fix something here.
- One email when a Payables (AP) component needs a migration
- Nothing when nothing changes
Or install it now