From 17987245fab0257daa158ceb1994b28e68299cb6 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sun, 15 Nov 2026 10:40:23 +0000 Subject: [PATCH] Count the admin cost in kroner and leave the dead fee out of the income --- tax.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tax.py b/tax.py index 2aea2be..84e22e2 100644 --- a/tax.py +++ b/tax.py @@ -128,13 +128,13 @@ def report(year, conn=None): for market in markets } income_ore = 0 - admin_cost_sats = 0 + admin_cost_ore = 0 for row in _year_rows(conn, year): if row["type"] == "admin_cost": # It has no account and changes no holdings (section 3.10), so it # is counted from its own taxable flag and from nothing else. if row["taxable"]: - admin_cost_sats += row["leg_out_sats"] or 0 + admin_cost_ore += row["leg_out_ore"] or 0 continue market = by_id.get(row["market_id"]) if market is None: