Example Beancount file
A comprehensive, self-contained personal-finance ledger demonstrating everyday Beancount usage: banking, credit cards, employer payroll and benefits, taxes, and multi-asset investing — generated with Beancount's own bean-example tool. Pa… Ledger notes
Period data
| Period | Net Worth | Income | Expenses | Net Profit |
|---|---|---|---|---|
| 2017-08-31 | 115,457.98 USD | 9,517.92 USD | 7,554.31 USD | 1,963.61 USD |
Amounts are shown in USD. Balances in IRAUSD, VACHR are not included.
Financial positionAug 30, 2017
Net Worth
115,457.98 USD115,457.98USD
Cost basis 104,471.16 USD · Unrealized +10,986.82 USD
Assets
117,969.56 USD-18 VACHR- Assets:US:Vanguard:RGAGXAssets:
US: Vanguard:RGAGX48,859.92 USD41.4% - Assets:US:Vanguard:VBMPXAssets:
US: Vanguard:VBMPX40,824.00 USD34.6% - Assets:US:ETrade:VHTAssets:
US: ETrade:VHT8,468.48 USD7.2% - Assets:US:ETrade:ITOTAssets:
US: ETrade:ITOT8,390.72 USD7.1% - Assets:US:ETrade:VEAAssets:
US: ETrade:VEA5,192.28 USD4.4%
5 more accounts
Liabilities
-2,511.58 USDMoney movementAugust 2017
Cash Flow
Loading account roles…
Recent activity
| Entry | Account | Amount | Postings |
|---|---|---|---|
-73.96 USD Buying groceries · Slate → Groceries | Liabilities:US:Chase:SlateExpenses:Food:Groceries | -73.96 USD | |
-58.39 USD Eating out with Joe · Slate → Restaurant | Liabilities:US:Chase:SlateExpenses:Food:Restaurant | -58.39 USD | |
2,523.03 USD Cash → VHT +1 | Assets:US:ETrade:CashAssets:US:ETrade:VHT+1 | 2,523.03 USD | |
2,442.31 USD Cash → GLD +1 | Assets:US:ETrade:CashAssets:US:ETrade:GLD+1 | 2,442.31 USD | |
-72.77 USD Eating out alone · Slate → Restaurant | Liabilities:US:Chase:SlateExpenses:Food:Restaurant | -72.77 USD | |
4,500.00 USD Checking → Cash | Assets:US:BofA:CheckingAssets:US:ETrade:Cash | 4,500.00 USD | |
+4,639.70 USD Payroll · Salary → Checking +14 | Income:US:Hoogle:SalaryAssets:US:BofA:Checking+14 | +4,639.70 USD | |
-18.98 USD Eating out with Julie · Slate → Restaurant | Liabilities:US:Chase:SlateExpenses:Food:Restaurant | -18.98 USD | |
Beancount Example Ledger
A comprehensive, self-contained personal-finance ledger demonstrating everyday Beancount usage: banking, credit cards, employer payroll and benefits, taxes, and multi-asset investing — generated with Beancount's own bean-example tool. Part of the Open Ledger project on beancount.io, which also publishes real public-company financial ledgers reconstructed from SEC/regulatory filings.
Quick Start
uvx --from beancount bean-check main.beanZero output means the ledger is internally consistent — every transaction balances to zero.
What's Inside
main.bean spans January 2015 through September 2017 for a single simulated household, covering:
- Banking — checking/savings accounts, monthly fees, interest income
- Credit cards — recurring spend categories (dining, shopping, travel, utilities, etc.)
- Employer — paycheck deposits, employer 401(k)/IRA contributions, vacation-hour accrual
- Taxes — payroll tax withholding
- Investing — commodity/price directives for ETFs and mutual funds (index funds, bond funds, gold, sector funds), with cost-basis tracking
This is the same demo content Beancount's documentation uses to teach double-entry plain-text accounting from first principles — useful as a reference for account naming, price directives, and everyday transaction patterns before modeling something more specialized (a company, a crypto portfolio, a real-estate holding).
About Open Ledger
This repository is part of a growing library of ledgers published at beancount.io/ledger — plain-text, git-versioned, and fully auditable, spanning both general-purpose examples like this one and real public-company financial histories reconstructed from their own filings. Read more on the beancount.io blog.