Skip to main content

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

August 2017 · through 2017-08-30
Period data
PeriodNet WorthIncomeExpensesNet Profit
2017-08-31115,457.98 USD9,517.92 USD7,554.31 USD1,963.61 USD

Amounts are shown in USD. Balances in IRAUSD, VACHR are not included.

Recent activity

EntryAccountAmountPostings
-73.96 USD

Buying groceries · Slate → Groceries

-58.39 USD

Eating out with Joe · Slate → Restaurant

2,523.03 USD

Cash → VHT +1

2,442.31 USD

Cash → GLD +1

-72.77 USD

Eating out alone · Slate → Restaurant

4,500.00 USD

Checking → Cash

+4,639.70 USD

Payroll · Salary → Checking +14

-18.98 USD

Eating out with Julie · Slate → Restaurant

README.md

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

bash
uvx --from beancount bean-check main.bean

Zero 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.