ExpenseCapture
Camera-first, policy violations shown at entry.
npx shadcn add @lopifi/expense-captureExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Within policy
No violations, so no policy panel: the only open question is how the expense was settled.
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.
Camera-first, mobile. OCR pre-fills amount, date, and merchant as editable suggestions shown next to the image. Policy violations appear at entry, not at approval, so the fix is cheap. Personal / reimbursable / corporate-card-paid are three distinct settlement paths and the UI never guesses.
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 ExpenseCapture renders in, the calculators behind its figures, and the ledger payloads that feed it.
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/expense-capture