Send kroner only to and from the bank
This commit is contained in:
1 parent
e94d6b8cea
commit
122253c280
1 file changed
+11
-8
+11
-8
@@ -217,15 +217,18 @@ because the cost row carries both its kroner legs.
|
||||
- §3.8's exclusion of a non-taxable account does not apply to the bank: a cost counts from its
|
||||
own `taxable` flag, which is ticked by default (§3.10).
|
||||
|
||||
Kroner and sats move between the real accounts with a `transfer_out`, which carries **either sats
|
||||
or kroner, never both**:
|
||||
Sats move between the real accounts with a `transfer_out`, which carries **either sats or kroner,
|
||||
never both**:
|
||||
|
||||
- `transfer_out` with `leg_out_sats`: exactly as today (§3.3), and `Til` is required.
|
||||
- `transfer_out` with `leg_out_ore`: the kroner leave the source account and arrive on the
|
||||
destination account, whose generated `transfer_in` gets `leg_in_ore` equal to the sent amount.
|
||||
No lot is involved and nothing is realized: kroner are kroner.
|
||||
- **An empty `Til` is a withdrawal, and it is kroner only.** The kroner leave the ledger and no
|
||||
`transfer_in` is generated. A `transfer_out` of sats always needs a `Til`.
|
||||
- `transfer_out` with `leg_out_sats`: exactly as today (§3.3). Both sides are real accounts, `Til`
|
||||
is required, and the bank may not be named.
|
||||
- `transfer_out` with `leg_out_ore`: kroner, and then **the bank is one of the two sides**: the
|
||||
account the transaction belongs to is the bank (a deposit into an exchange) or `Til` is the bank
|
||||
(a withdrawal out of it). Kroner never move between two real accounts. The generated
|
||||
`transfer_in` on the other side gets `leg_in_ore` equal to the sent amount, no lot is involved,
|
||||
and nothing is realized: kroner are kroner. Both sides are stored, so where the money went is
|
||||
visible in the list.
|
||||
- `Til` is always required: kroner never leave the ledger silently.
|
||||
|
||||
A `transfer_out` is refused when the source account does not hold enough of the currency as of
|
||||
the transaction date: the lot ledger refuses sats and names the shortfall in sats (§5.2), and the
|
||||
|
||||
Reference in new issue
Block a user