Skip to content
Keyboard shortcuts
Esc
Everywhere
Search the site
⌘K
Search the site
/
Show these shortcuts
?
Close what is open
Esc
Install
195 components

InvoiceForm

With the revenue-recognition preview per line.

npx shadcn add @lopifi/invoice-form

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.

Lines with account and dimensions, itemized tax by jurisdiction and rate, terms, PO reference. Shows a revenue recognition preview per line before posting: whether each line credits revenue or deferred revenue, and on what schedule. The invoice number is system-assigned and gapless; the user can't pick it.

Discount terms render in full: "2% discount if paid within 10 days, otherwise due in 30 days", with both amounts and the discount deadline computed.

Read the Receivables (AR) spec

The accounting it encodes

The concepts this component renders, each defined once in the lexicon.

  • Deferred revenue
  • Dimension
  • Invoice
  • Revenue
  • Revenue recognition

More in Receivables (AR)

See also

Where this component is specified, defined and running.

Elsewhere in the system

The live section InvoiceForm 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 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

We don’t rent the list, and asking takes you off it. We use this to reply and to send the updates you asked for. To unsubscribe, reply to any email or write to hello@lopifi.com. See Privacy.

Or install it now

npx shadcn add @lopifi/invoice-form