DepreciationSchedule
Book and tax in parallel. In-service date, not purchase date.
npx shadcn add @lopifi/depreciation-scheduleExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Book and tax differ
Tax depreciation runs faster than book, and the book/tax column is the temporary difference a deferred-tax calculation starts from.
Disposal at a loss
A sale below net book value shows its working — proceeds minus NBV — so the loss in parentheses can be traced, not just trusted.
Depreciated below salvage
Declining-balance schedules overshoot if nobody stops them at salvage, so a book NBV under salvage raises an alert instead of rendering as normal.
Yen-denominated asset
A Japanese subsidiary's register is kept in JPY with no decimals; cost, NBV and the book/tax difference all follow the currency.
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.
ScheduleTable preset. Cost, in-service date (not purchase date, labeled explicitly), life, method, convention, accumulated depreciation, NBV. Book and tax books in parallel with the difference shown. Disposal shows the working: Proceeds − NBV = Gain/(Loss). NBV can never breach salvage — asserted.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Accounting core (GL)
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section DepreciationSchedule renders in, the calculators behind its figures, and the ledger payloads that feed it.
- DepreciationSchedule, runningThe gl showcase — live, with theme, density, grayscale and reduced-motion switches.
- Depreciation scheduleStraight-line, double-declining or SYD schedules, with a first-period convention.
- Accounting core (GL)The general ledger layer. Specs for 18 React components: JournalEntry, JournalEntryForm, JournalEntryTable, AccountPicker and 14 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 Accounting core (GL) changes
Your copy doesn’t update itself when we fix something here.
- One email when a Accounting core (GL) component needs a migration
- Nothing when nothing changes
Or install it now