본문으로 건너뛰기

개요

Envelope Budgeting Example — beancount.io

A Beancount ledger demonstrating envelope (zero-based) budgeting: giving every dollar a job before it is spent, and seeing immediately when a category runs dry.

재무 상태

순자산과 이를 구성하는 계정

순자산
지난 12개월의 자산과 부채 합계
18,775.74 USD
+3,500 USD전월 대비
계정
현재 자산 및 부채 계정 잔액

자금 흐름

계정 범주별 월간 수입과 지출

2026년 3월
유입
2026년 3월
+4,100 USD
주요 수입원
이전 최대 3개 기간의 평균
+4,100 USD
모두 보기
유출
2026년 3월
-600 USD
주요 지출
이전 최대 3개 기간의 평균
-2,062.13 USD
모두 보기

최근 활동

분개를 반영한 원장 활동

거래
현재 필터와 일치하는 최신 거래

수입 대 지출

수입 대 지출
선택한 기간의 각 구간별 총 수입과 지출을 비교하는 막대 차트.

재무상태표

자산 분포
Envelope Budgeting Example — beancount.io 자산 구성의 시각적 표현
부채 분포
Envelope Budgeting Example — beancount.io 부채 구성의 시각적 표현
데이터 없음

현금 흐름

현금 흐름
수입원에서 지출 및 투자로의 자금 흐름

계정 역할을 불러오는 중…

README.md

Envelope Budgeting Example — beancount.io

A Beancount ledger demonstrating envelope (zero-based) budgeting: giving every dollar a job before it is spent, and seeing immediately when a category runs dry.

The method rests on one idea — envelopes are equity, not assets. The money is already in the bank; budgeting only decides what it is promised to. So an allocation moves value between equity subaccounts and never touches Assets, which is why the overlay can never disturb your bank reconciliation.

The ledger also declares matching native custom "budget" targets for each expense account. The equity postings provide rollover envelope balances; the custom directives power beancount.io's Budget report and its budget-versus-actual charts. They are complementary views of the same monthly plan.

Quick Start

bash
make install   # Install beancount + fava via uv
make check     # Verify the ledger has zero errors
make serve     # Open Fava at http://localhost:4739

File Guide

FileWhat it demonstrates
main.beanEntry point — options and include directives
accounts.beanCommodity definitions, real accounts, and the envelope tree
budgets.beanNative monthly targets used by the beancount.io Budget report
transactions/opening.beanStarting balances, and what "to be budgeted" means
transactions/funding.beanAssigning income to envelopes — kept separate from income arriving
transactions/spending.beanThe four-posting purchase: two for the money, two for the plan
transactions/overspending.beanAn envelope going negative, and covering it deliberately
transactions/sinking-funds.beanFunding an irregular bill monthly instead of being surprised by it
transactions/reset.beanRetiring a category, and reconciling against the bank

The one thing to copy

Spending is four postings, readable as two independent pairs:

beancount
2026-01-08 * "Whole Foods" "Weekly shop"
  Assets:Bank:Checking       -128.44 USD   ; what your bank sees
  Expenses:Groceries          128.44 USD
  Equity:Budget:Groceries    -128.44 USD   ; what your budget sees
  Equity:Budget:Unallocated   128.44 USD

Each pair balances on its own, so the budget overlay is always safe to add, remove, or ignore.