PaymentSuggestion
Invoice combinations summing exactly to a lump sum.
npx shadcn add @lopifi/payment-suggestionHow 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.
Given a lump sum, proposes the set of open invoices that sums to it exactly. Multiple valid combinations are ranked oldest-first. Shows the basis, not a bare confidence score.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Receivables (AR)
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section PaymentSuggestion renders in, the calculators behind its figures, and the ledger payloads that feed it.
- PaymentSuggestion, runningThe ar showcase — live, with theme, density, grayscale and reduced-motion switches.
- Which invoices make this deposit?Find which open items add up to a deposit, to the cent.
- Payments and allocationHow is a payment tied to the documents it settles?
- Receivables (AR)Receivables (AR) — specs for 13 React components: InvoiceForm, InvoiceDetail, InvoiceRegister, CashApplication and 9 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 Receivables (AR) changes
Your copy doesn’t update itself when we fix something here.
- One email when a Receivables (AR) component needs a migration
- Nothing when nothing changes
Or install it now