Vés al contingut principal

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… Notes del llibre

agost del 2017
Últim assentament: 2017-09-08 (fa 9 anys)
Dades per període
PeríodePatrimoni netIngressosDespesesBenefici net
2016-10-3175.788,73 USD9.279,40 USD7.409,16 USD1.870,24 USD
2016-11-3077.989,51 USD9.279,40 USD7.758,53 USD1.520,87 USD
2016-12-3182.450,23 USD14.010,55 USD9.207,87 USD4.802,68 USD
2017-01-3186.002,96 USD10.479,40 USD7.343,64 USD3.135,76 USD
2017-02-2889.943,44 USD11.122,20 USD7.512,17 USD3.610,03 USD
2017-03-3193.279,05 USD10.570,85 USD8.342,34 USD2.228,51 USD
2017-04-3098.281,10 USD10.479,40 USD7.398,28 USD3.081,12 USD
2017-05-31102.533,92 USD10.479,40 USD7.698,47 USD2.780,93 USD
2017-06-30111.164,11 USD15.820,63 USD9.514,32 USD6.306,31 USD
2017-07-31113.444,87 USD10.479,40 USD7.495,44 USD2.983,96 USD
2017-08-31115.457,98 USD9.517,92 USD7.554,31 USD1.963,61 USD
2017-09-30117.649,49 USD4.639,70 USD2.284,81 USD2.354,89 USD

Els imports es mostren en USD. Els saldos en IRAUSD, VACHR no s'hi inclouen.

Activitat recent

EntradaCompteImportApunts
-33,71 USD

Eating out with Julie · Slate → Restaurant

+4.639,70 USD

Payroll · Salary → Checking +14

-86,31 USD

Buying groceries · Slate → Groceries

-34,18 USD

Eating out with Bill · Slate → Restaurant

-4,00 USD

Monthly bank fee · Checking → Fees

-37,51 USD

Eating out alone · Slate → Restaurant

-73,96 USD

Buying groceries · Slate → Groceries

-58,39 USD

Eating out with Joe · 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.