Put the admin cost on the bank account as one row

This commit is contained in:
ai-bot committed 2026-11-15 13:36:32 +00:00
1 parent cef31d89c8
commit 2314899f10
1 file changed
+12 -6
+12 -6
View File
@@ -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.
---