Skip to main content

Module bank

Module bank 

Source
Expand description

The money watch, for the window (docs/accounting.md, “The bank” and “Bank accounts”): your bank accounts (a current account, PayPal, Stripe), each with its exports taken in, the budgets it fills, where each movement went and why, what tops it up; then in words what passed and what did not, the week’s payments, and the balance carried forward a month.

Structs§

AccountView 🔒
MovementView 🔒
Named 🔒
Point 🔒
ReserveView 🔒
RuleView 🔒
View 🔒

Functions§

accounts_into 🔒
The bank accounts’ part of the view: each with its balance, its budgets, its movements placed and why, its rules, what tops it up.
finding_text 🔒
import 🔒
A bank export taken in; returns what it added, in a sentence, or what went wrong.
import_into 🔒
An export taken in as one bank account’s (account empty: as the export names itself). The number the export gives is kept with the account, so that what was read under it before is the account’s too.
ledger_path 🔒
The budget file, where bank accounts, rules and choices are written.
place_movement 🔒
One movement placed by your hand: budget:<id>, none, or "" (as the rules say).
remove_account 🔒
remove_rule 🔒
The rule the window showed (JSON, RuleView) taken out.
save_account 🔒
save_reserve 🔒
save_rule 🔒
A rule made (shown empty) or changed: shown the rule as the window showed it (JSON, RuleView), found by its id, or at its place while it still holds what was shown (accounts::save_split).
view 🔒
The bank’s part of the Budgets page, as JSON.