finance@2 accounts, balances, transactions, budgets and recurring charges
One row of transactions is one line on a bank or card statement. Connectors (bank CSV with the layout library, OFX/QFX, QIF; SimpleFIN later, as an optional paid lane-2 source) write accounts, transactions and balances; the finance library adds recurring series, transfer pairs and categories from rules; boards read it all through metrics.sql.
asset_class | region | account (vocab target_dimensions)
bucket
TEXT
yes
e.g. stocks, bonds, cash (asset_classes), us (regions) or an account_id
target_share
REAL
yes
the person's target as a decimal share of the total (0.6 = 60%)
band
REAL
no
how far either side the person is fine with, as a decimal share (0.05 = 5 points)
note
TEXT
no
what the person said, in their words
source
TEXT
no
connector id or manual
source_ref
TEXT
no
file + line, e.g. data/targets.csv:3
imported_at
TEXT
no
ISO 8601 UTC instant
private_investments
Private holdings (angel deals, funds, notes) that have no market price. Still to be called (unfunded) = committed - called. When private_investment_events rows exist for an investment, called and distributed are their totals; the NAV history is valuations rows with asset_ref = investment_id (basis statement for a manager's NAV).
Field
Type
Required
Meaning
name
TEXT
yes
the investment's name
type
TEXT
no
equity | safe | note | fund | other (the instrument)
committed
REAL
no
committed capital in currency
called
REAL
no
capital called so far (paid in), positive
distributed
REAL
no
money returned so far, positive
nav
REAL
no
latest net asset value in currency
nav_date
TEXT
no
date of the NAV
investment_id
TEXT
no
stable id
book
TEXT
no
personal | business
owner
TEXT
no
whose investment
currency
TEXT
no
ISO 4217
purchase_date
TEXT
no
date invested
disposed_on
TEXT
no
date sold or closed
cost_basis_base
REAL
no
cost in base currency
valuation_base
REAL
no
latest valuation in base currency
valuation_as_of
TEXT
no
date of the valuation
valuation_basis
TEXT
no
cost | last_priced_round | nav | written_off | other
venture_fund | private_equity | direct | private_credit | real_estate_lp | other (vocab private_kinds; since 2.3.0)
manager
TEXT
no
the fund manager or sponsor ("Direct" for a company held directly) (since 2.3.0)
vintage
INTEGER
no
year of the first capital call or investment (since 2.3.0)
status_note
TEXT
no
the manager's words on where it stands, e.g. "Active, investing" (since 2.3.0)
source
TEXT
no
connector id or manual (since 2.3.0)
source_ref
TEXT
no
file + line, e.g. data/private.csv:3 (since 2.3.0)
imported_at
TEXT
no
ISO 8601 UTC instant (since 2.3.0)
private_investment_events
Capital calls and distributions of private investments, one row per event (since 2.3.0). Money in > 0: a distribution is positive, a capital call negative. The NAV history lives in valuations (asset_ref = investment_id).
Field
Type
Required
Meaning
event_id
TEXT
yes
stable id: the source's id or a hash of investment|date|kind|amount|n
actual fill price in base currency, only when the source has one
fill_source
TEXT
no
where the fill came from
cash_base
REAL
no
cash moved, base currency
mark_price_base
REAL
no
market close that day, never used as a fill
mark_source
TEXT
no
where the mark came from
fee_qty
REAL
no
fee in units of fee_asset
fee_base
REAL
no
fee in base currency
fee_asset
TEXT
no
asset the fee was paid in
quote_asset
TEXT
no
quote currency or asset of the pair
pair
TEXT
no
e.g. BTC-USD
txn_id
TEXT
no
transactions.txn_id of the cash leg
source
TEXT
no
connector id
notes
TEXT
no
free text
asset_snapshots
Point-in-time quantity and value of listed assets from statements.
Field
Type
Required
Meaning
asset_id
TEXT
yes
assets.asset_id
date
TEXT
yes
statement date
venue
TEXT
yes
broker, exchange or wallet provider
account
TEXT
yes
account at the venue
wallet
TEXT
yes
wallet label (never a private key or seed)
quantity
REAL
no
units held
price_base
REAL
no
price in base currency
value_base
REAL
no
value in base currency
price_source
TEXT
no
where the price came from
source
TEXT
no
connector id
is_current
INTEGER
yes
1 = the latest snapshot for this asset, venue and account
txn_id_aliases
Earlier ids of a transaction (an id scheme change across releases), so notes and corrections that cite an old id still find the row. Written by the importer; readers resolve old ids through it.
Field
Type
Required
Meaning
old_id
TEXT
yes
an id the row had under an earlier scheme
new_id
TEXT
yes
transactions.txn_id now (for a split row: its split_of, the source id)
scheme
TEXT
no
the scheme that made old_id, e.g. finance@1 (account|date|description|amount|n, one counter)
import_issues
What the importer could not read or chose to leave out, so a board can show it (never guessed).
venture_fund · private_equity · direct · private_credit · real_estate_lp · other
property_buckets3 values
running · maintenance · improvement
recurring_status4 values
active · stopped · cancelled · trial
regions5 values
us · developed · emerging · global · other
severities3 values
info · warn · error
subscription_types8 values
streaming · software · cloud · health · music · news · shopping · other
target_dimensions3 values
asset_class · region · account
tax_types6 values
income · capital_gains · property · wealth · sales · other
transfer_status3 values
paired · unpaired · manual
txn_status2 values
pending · posted
Changelog
2.3.0 (2026-12-01), minor
For Personal Finance 1.2.0. New table private_investment_events (capital calls and distributions, signed, with amount_base); private_investments: optional kind (vocab private_kinds), manager, vintage, status_note and provenance source, source_ref, imported_at. NAV history is valuations keyed by investment_id.
transactions: optional status (pending | posted, vocab txn_status; NULL = posted), receipt (1 / 0 / NULL), asset_id (a dividend or interest from one holding) and property_bucket (running | maintenance | improvement, vocab property_buckets).
recurring.subtype (vocab subscription_types). taxes.amount_base; taxes.type documents capital_gains and wealth (vocabulary tax_types, not enforced, so older free-text rows still read).
New conformance checks at warn: private_valid (events point at an investment, signs, called and distributed equal their events, NAV not negative) and txn_extras_valid (receipt values, buckets only on money spent). Fixtures private_investments.csv, private_investment_events.csv.
No migration: every database is rebuilt from the current schema.sql (new columns and table start empty). Boards that do not read them keep declaring >=2.0.
2.2.0 (2026-11-30), minor
For Investment Portfolio. New table allocation_targets (the person's own target mix: dimension asset_class | region | account, bucket, target_share, band, note, provenance). holdings: optional region (vocab regions) and price_date (the date of the price when the quote is older than the position, so stale prices show).
Vocabularies asset_classes (the values holdings.asset_class always documented), regions, target_dimensions.
Investment accounts written once (README "Investments"): positions in holdings, unit moves in asset_trades, money in and out of the account in transactions (contributions and withdrawals are investment, dividends and interest income, account fees spend), so contributions are always separate from growth.
New conformance check at warn: targets_valid (shares and bands 0..1, each dimension adds up to 100%). Fixture allocation_targets.csv.
No migration: every database is rebuilt from the current schema.sql (new columns and table start empty). Boards that do not read them keep declaring >=2.0.
2.1.0 (2026-11-30), minor
For Debt Payoff. debts: optional kind (vocab debt_kinds: card, loan, student, mortgage, line, other), credit_limit, and provenance source_ref, imported_at.
Debt rules written once (README "Debts"): rates as decimals, promo rate until promo_end inclusive, due day clamped to the month's last day, one balance source per debt.
New conformance check at warn: debts_valid (rates 0..1, due day 1..31, no negative minimum or limit, real promo end date). Fixture debts.csv fills the new columns.
No migration: the crate library and every board database are rebuilt from the current schema.sql (the new columns start empty). Boards that do not read debts keep declaring >=2.0.
Notes since 2.0.0 (2026-11-30, no change to the standard)
Board-derived tables (d_*, rebuilt by a board's importer from finance@2 rows, e.g. Personal Finance's lots and net worth by class) are allowed beside the standard: dashremix spec check no longer warns about them and the JSON Schema accepts them like x_*. They are never written by connectors or read by other boards. A fork's own data still goes in x_<owner>_* tables.
Hashed txn_id = sha1(account|date|description|amount|currency|n)[:12], n counted per file (overlapping downloads dedupe). txn_id_aliases(old_id, new_id, scheme) maps the finance@1 ids (no currency, one counter for all files) to the new ones.
subscriptions is a view over recurring (Count My Stack compatibility).
Removed owner-specific columns from one person's private model (see 2/README.md); a fork keeps them in x_<owner>_<table> tables. The migration copies any non-empty ones there, so nothing is lost.
Vocabularies published: flow types, account groups and status, balance basis, transfer status, confidence, cadences, recurring status, a default category tree with synonyms.
Shipped inside Monthly Budget (dashboards/monthly-budget/schema/finance@1/), never published under spec/. Superseded by 2.0.0; one board release of overlap (Monthly Budget 1.1.0 is on finance@2).