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.