diff --git a/docs/spec.md b/docs/spec.md index a06b6c0..89d3856 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -173,13 +173,19 @@ overridden per transaction (checkbox in the form, ticked by default). ### 3.10 Forvaltningskostnad (admin cost) -`admin_cost` is a cost in **kroner** that stands on its own. It is not attached to any account -(`market_id` is null), it consumes no lots, it changes no holdings, and it takes no fee. It is -recorded with a date and a kroner amount, and it is shown as its own line in the report, in the -CSV and on `/transaksjonar`. +`admin_cost` is a cost in **kroner** that stands on its own, on the bank account of ยง3.11. It is +recorded as **one row** with `market_id` = the bank and two kroner legs of the same amount: the +kroner out of the bank and the same kroner back into it. The bank's balance is therefore +unchanged, no other account is touched, and the bank can never go negative. The owner enters the +amount once, in kroner; the server fills the second leg and the account. -The report carries the year's sum as `admin_cost_ore`. It is subtracted from `netto_ore` only -when the setting `deduct_admin_costs` is on (default off). See open question Q2. +It consumes no lots, changes no holdings, and takes no fee. It is shown as its own line in the +report, in the CSV and on `/transaksjonar`. + +Its own `taxable` flag, ticked by default, decides whether the year's cost counts. The report +carries the year's sum of the kroner that went **out** of the bank as `admin_cost_ore`. It is +subtracted from `netto_ore` only when the setting `deduct_admin_costs` is on, which is **off by +default**. See open question Q2. ---