Vés al contingut principal

Resum general

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.

Posició financera

Patrimoni net i comptes que el formen

Patrimoni net
Actius més passius dels darrers 12 mesos
18.775,74 USD
+3.500 USDrespecte del mes anterior
Comptes
Saldos actuals dels comptes d'actiu i passiu

Moviment de diners

Ingressos i despeses mensuals per categoria de compte

març del 2026
Entrades
març del 2026
+4.100 USD
Fonts principals
Mitjana de fins a 3 períodes anteriors
+4.100 USD
Mostra-ho tot
Sortides
març del 2026
-600 USD
Despeses principals
Mitjana de fins a 3 períodes anteriors
-2.062,13 USD
Mostra-ho tot

Activitat recent

Activitat del diari conscient dels assentaments

Transaccions
Transaccions més recents segons els filtres actuals

Ingressos vs despeses

Ingressos vs despeses
Gràfic de barres que compara els ingressos i les despeses totals per a cada interval del període seleccionat.

Balanç

Distribució d'actius
Representació visual de la composició de Envelope Budgeting Example — beancount.io actius
Distribució de passius
Representació visual de la composició dels Envelope Budgeting Example — beancount.io passius
No hi ha dades disponibles

Flux de caixa

Flux de caixa
Flux de diners des de fonts d'ingressos cap a despeses i inversions

Carregant els rols dels comptes…

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.