DuplicateBillAlert
Blocking. Duplicate payment is one of the most common AP losses.
npx shadcn add @lopifi/duplicate-bill-alertHow 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.
Duplicate payment is one of the most common AP losses, and one of the most preventable.
Runs before save. Primary key: vendor + vendorInvoiceNumber. Secondary fuzzy check: vendor + amount + date ± 5 days. Blocking, showing the suspected duplicate side by side with the new entry. Also detects duplicate vendors by name similarity and tax ID, since duplicate vendors are how duplicate payments slip past duplicate-invoice checks.
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 DuplicateBillAlert renders in, the calculators behind its figures, and the ledger payloads that feed it.
- DuplicateBillAlert, runningThe ap showcase — live, with theme, density, grayscale and reduced-motion switches.
- Duplicate paymentsSame vendor, same amount, close in time. Or the same reference on any date.
- 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
npx shadcn add @lopifi/duplicate-bill-alert