From e35384cfa5ff7778e6d72173da253cf093de9f53 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sun, 15 Nov 2026 10:42:44 +0000 Subject: [PATCH] Fold the golden kroner fee into the amount sold --- tests/test_tax.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_tax.py b/tests/test_tax.py index ca103c9..4f768ff 100644 --- a/tests/test_tax.py +++ b/tests/test_tax.py @@ -84,8 +84,10 @@ def golden_market(): leg_in_sats=100000000, leg_out_ore=50000000) create_transaction(market_id=market_id, date="2024-08-10", leg_in_sats=50000000, leg_out_ore=20000000) + # The 5 000 kr fee of docs/spec.md section 6.4 is folded into the amount the + # owner types: 500 000 − 5 000 = 495 000 kr (section 3.2). create_transaction(market_id=market_id, date="2024-11-10", - leg_in_ore=50000000, leg_out_sats=100000000, fee_ore=500000) + leg_in_ore=49500000, leg_out_sats=100000000) return market_id