Depreciation
An asset such as a rental building depreciates once its recovery period is written on its account's open directive (with annotate_account). depreciate books it through a month end you name, for every such asset in one repository:
2019-06-01 open Assets:RealEstate:Elm:Building USD
depr-life: "27.5"
depr-in-service: "2019-06-15"
depr-lifeis the recovery period in years, and the only required key. In the US, a residential rental building is 27.5 years and a commercial one 39 (IRS Publication 946). Land does not depreciate, so keep it on its own account without terms.depr-in-serviceis the date the asset was placed in service. The default is theopendate.depr-conventionismid-month(the first month counts half, as for US real property) orfull-month. The default ismid-month.- The method is straight-line.
depr-methodaccepts onlystraight-line. - Depreciation goes to
Expenses:Depreciation:<asset>against<asset>:AccumulatedDepreciation. As a sub-account, accumulated depreciation rolls into the asset, so the asset's balance is its book value.depr-expense-accountanddepr-accumulated-accountname other accounts. Neither may be the asset or inside it (a sub-asset's accounts may sit inside its parent), or inside each other, and two assets may not share an accumulated depreciation account. - An asset opened before its cost is booked is skipped with "it has no basis yet" until the cost is in. Set
depr-in-serviceto the month it goes into service, and runs before then book nothing for it.
A capital expenditure, such as a new roof, is an asset of its own: open it with its own terms, even as a sub-account of the property. Its cost is then not part of the property's basis.
Each run spreads what is left of the basis over what is left of the recovery period, from the month after the last depreciation entry. Monthly and yearly runs can differ by a few cents within a year, from rounding each run to the cent, and come to the same total by the end of the period. An asset you move in with goes through Opening balances: its cost, and its accumulated depreciation as a negative amount on <asset>:AccumulatedDepreciation. When the opening date is the last day of a month, that month counts as depreciated; otherwise give the accumulated depreciation as of the end of the month before, and the first run books the opening month. A basis that changes later, such as an estimate corrected on an :Estimate sub-account, is spread over the months left; past entries stay as they are. Each entry's depreciation metadata records how it was computed, and how much of the basis is estimated.
An asset is skipped, with the reason, when its terms do not read, it has no basis, its accumulated depreciation exceeds its basis or is positive, it has depreciation after the month asked for, it is closed, its accounts overlap another asset's, or a posting on it has no amount or another currency.
When an exact cost or opening accumulated depreciation is not yet known, book the estimated figure on an :Estimate sub-account of the account it belongs to, and record where the estimate came from with annotate_account (key estimate):
2019-06-01 open Assets:RealEstate:Elm:Roof USD
2019-06-01 open Assets:RealEstate:Elm:Roof:Estimate USD
estimate: "contractor quote, no invoice"
Because :Estimate is a sub-account, Beancount rolls it into its parent, and list_estimates (and the dashboard) lists every :Estimate account whose balance is not zero. When the exact value is found, correct_estimate appends a balanced entry to tail.beancount with corrects: and evidence: metadata that clears the :Estimate sub-account, books the exact amount on the parent account, and puts the difference on Equity:Adjustments:Basis (or another adjustment account you choose), and reports the change in yearly and past depreciation.