From f18d8f3d1a44bf4713026f63784286cc6174bcc1 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sun, 15 Nov 2026 10:30:29 +0000 Subject: [PATCH] Patch docs/spec.md --- docs/spec.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/spec.md b/docs/spec.md index 6c135ab..dcb3ea4 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -574,8 +574,11 @@ Saving a `transfer_out` writes, in one transaction: 2. the consumed lots on the source account; 3. the mirrored lots on the destination account; 4. a `transfer_in` row on the destination account with `generated = 1`, the same date, the same - `transfer_group`, `leg_in_sats` = the sats that arrived (after a sats fee), and `taxable` - copied from the `transfer_out`. + `transfer_group`, `leg_in_sats` = the sent amount (never reduced by the fee), `fee_sats` and + `fee_ore` = 0, and `taxable` copied from the `transfer_out`. + +The `transfer_in` shows its own fields in the form, read-only: `Motteke` in sats and the account +it landed on, with no Avgift section, because the fee belongs to the `transfer_out`. Editing or deleting the `transfer_out` regenerates or deletes the `transfer_in` and rebuilds the ledger. The `transfer_in` is read-only in the UI.