|||

PTPL 206 · Plain text accounting: envelope budgeting in beancount

How a phantom currency keeps bank account reports clean

A large moneybag emoji pointing toward a large envelope emoji with a smiling face; 8 smaller envelopes are in two rows of 4 on the right hand side
Illustration made by putting emojis together in Affinity


Plain text accounting not for you? Next week 🤞 I’ll be explaining how to use the todo.txt format to create a functional plain text calendar.


Envelope budgeting

Envelope budgeting is the practice of planning ahead for known expenses by regularly putting money into pre-determined categories, or envelopes. As the name suggests, it is often done with real cash placed into real envelopes.

Envelope budgeting can also be done in digital banking with a series of separate accounts, but that can be limiting. Unless your bank allows a single account to be split into multiple categories (like UP Bank- Australia-only referral link), you will need to track things carefully on a spreadsheet.

Or you can enter the satisfying world of plain text accounting, where you can create as many virtual categories as you need while still easily keeping track of real-life bank transactions and balances.

It doesn’t have to be perfect, and you don’t need to be a tech-whizz

I began with plain text accounting from a position of profound financial and technical ignorance, so it feels incredible to finally be able to say I am now confidently using plain text to run an envelope budgeting system!

There’s a lot more to learn and I’m sure over time parts of the process will change, but that’s the beauty — and flexibility — of using plain text. Things are working and that’s enough for me right now.

This system is helping a family member keep on top of their spending, and also to save up for bills and holidays. It’s been life changing for them, and I’m both surprised and grateful to be part of the process. Instead of seeing a bulk amount in a single bank account, they can now see exactly how much is available for discretionary spending as distinct from money set aside for future expenses.

Setting up the file

What comes next assumes you are familiar with the basics of Beancount and double-entry accounting.

I have created my ‘envelopes’ with a new currency called BGT (budget). There are other ways to do envelope budgeting without creating a virtual currency, but using the budget envelopes separate to the regular currency keeps reporting on the actual balance of the real-life bank account, clean; uncluttered by extra accounts that appear to but don’t actually exist.

AUD = Australian dollars, the currency of my bank account.

Beancount examples

It’s vital to ensure that assets, income, and expense accounts can use both currencies:


2020-05-01 open Assets:Bank:Saver                   AUD, BGT  
2020-05-01 open Assets:Cash                         AUD, USD, NZD, XPF  
2020-05-01 open Expenses:Food:Groceries             AUD, BGT  
2020-05-01 open Expenses:Food:Eating-out            AUD, BGT  
2020-05-01 open Expenses:Utilities:Electricity      AUD, BGT  
2020-05-01 open Income:Salary                       AUD, BGT  
2020-05-01 open Income:Freelance                    AUD, BGT  
2020-05-01 open Equity:Opening-balances  

Then you’ll need to open virtual accounts for each of your budget categories. Call them what you want, just make it clear they aren’t regular real-life assets. Include a reference to the real-life bank account that contains the funds.


2020-05-01 open Assets:BUD:Saver:Misc               BGT  
2020-05-01 open Assets:BUD:Saver:Travel             BGT  
2020-05-01 open Assets:BUD:Saver:Food               BGT  
2020-05-01 open Assets:BUD:Saver:Donations          BGT  
2020-05-01 open Assets:BUD:Saver:Christmas          BGT  
2020-05-01 open Assets:BUD:Saver:Health             BGT  
2020-05-01 open Assets:BUD:Saver:Utilities          BGT  

On pay day, you’ll record the new BGT currency alongside the real currency you receive. Leaving the amount blank on the Income:Salary line allows Beancount to assign that as the source for both sets of currencies.


2026-05-04 * "Pay Day" "Company A"  
    Assets:Bank:Saver                          1000.00 AUD  
    Assets:BUD:Saver:Misc                      1000.00 BGT  
    Income:Salary  
    

Next you’ll split the BGT amount into your budget categories. Make as many of these as you like!
In this example, $100 of this week’s funds remains in the Miscellaneous budget category for unforeseen expenses:


2026-05-04 * "Pay Day" "Company A"  
    Assets:Bank:Saver                          1000.00 AUD  
    Assets:BUD:Saver:Misc                      1000.00 BGT  
    Income:Salary  
    
2026-05-04 * "Budgeting" "week 19"  
    Assets:BUD:Saver:Misc                      -900.00 BGT  
    Assets:BUD:Saver:Travel                     250.00 BGT  
    Assets:BUD:Saver:Donations                  100.00 BGT   
    Assets:BUD:Saver:Christmas                   50.00 BGT   
    Assets:BUD:Saver:Health                     150.00 BGT   
    Assets:BUD:Saver:Utilities                  350.00 BGT              

Transaction examples

When entering transactions, you’ll subtract the same amount from both the real and the virtual budget currencies:


2026-05-04 * "Origin Energy" "electricity bill"   
    Assets:Bank:Saver                          -245.00 AUD  
    Assets:BUD:Saver:Utilities                 -245.00 BGT  
    Expenses:Utilities:Electricity  
    
2026-05-05 * "Blind Society" "annual donation"  
    Assets:Bank:Saver                           -50.00 AUD  
    Assets:BUD:Saver:Donations                  -50.00 BGT  
    Expenses:Donations  
    
2026-05-05 * "Origin Energy" "electricity rebate"  
    Assets:Bank:Saver                            10.73 AUD  
    Assets:BUD:Saver:Utilities                   10.73 BGT  
    Expenses:Utilities:Electricity  
    
2026-05-06 * "Grill'd" "Tuggerah"   
    Assets:Bank:Saver                           -48.56 AUD  
    Assets:BUD:Saver:Food                       -48.56 BGT  
    Expenses:Food:Eating-out  
    

Beancount now has all it needs to show you how much has been spent in each budget category, and how much remains.

Remember to regularly enter account balances

This is one piece of advice I wish I’d paid more attention to at the beginning of my plain text accounting journey. Whatever else you do or do not do, regularly record the actual balance of your accounts! This makes it easy to sniff out errors and fix them.

Pad the accounts where necessary so they match your actual bank balance, noting that Beancount assumes the listed figure to be the balance at the start of the date listed, not the end of that day.


2026-05-02 pad Assets:Bank:Saver Equity:Opening-balances  
2026-05-03 balance Assets:Bank:Saver            5,744.00 AUD  

2026-05-03 balance Assets:BUD:Saver:Misc          324.00 BGT  
2026-05-03 balance Assets:BUD:Saver:Travel       3870.00 BGT  
2026-05-03 balance Assets:BUD:Saver:Food          200.00 BGT  
2026-05-03 balance Assets:BUD:Saver:Donations     150.00 BGT  
2026-05-03 balance Assets:BUD:Saver:Christmas     200.00 BGT  
2026-05-03 balance Assets:BUD:Saver:Health        450.00 BGT  
2026-05-03 balance Assets:BUD:Saver:Utilities     550.00 BGT              

My family member uses envelope budgeting to track how much they have saved up for a holiday they’ll be taking in September. The Travel category is broken down into specific sub-categories, making it easy to see that every aspect is covered:


2026-05-03 balance Assets:BUD:Travel:Misc         100.00 BGT  
2026-05-03 balance Assets:BUD:Travel:Fares        950.00 BGT     
2026-05-03 balance Assets:BUD:Travel:Rooms       1500.00 BGT  
2026-05-03 balance Assets:BUD:Travel:Car          870.00 BGT  
2026-05-03 balance Assets:BUD:Travel:Eating-out   450.00 BGT  

Does anything about doing envelope budgeting this way feel confusing? Please let me know (see below) where the sticking points are and I’ll do my best to make it clearer.

More on plain text accounting

Next week

That was a bit heavy so if you’ve read this far, thank you! Next week 🤞 I’ll switch niches and explain how to use the todo.txt format to create a functional plain text calendar.


This post was written on a computer, not by one. Read about AI.

💬 I love to hear from readers! email hello at ellanew dot com, or message me on Mastodon.

Follow my RSS feed https://ellanew.com/feed.rss, or sign up to receive a (mostly) weekly plain text themed email.*

Follow my 2026 Inktober posts

If you’ve found value here, I invite you to share this post with someone you think will appreciate it or make a contribution to my support jar or check out my simple tech productivity list on Benable.

You might also like my plain text productivity resources.

Up next PTPL 205 · Apple shortcuts, handrolled notes, and apps worth your attention PTPL 207 · How to create a plain text calendar with the todo.txt format
Latest posts PTPL 234 · Tiny experiment: adding a standard paper planner to my plain text planning system Inktober 2026 - Index PTPL 233 · Obsidian’s Smart Lists update is great news for my plain text planner PTPL 232 · AI and autism: careful with policing those quaint turns of phrase, please PTPL 231 · Where Tiny Little Office is big on cuteness, and 3 questions about paper vs digital planning Inktober 2026.31 - Flex Inktober 2026.30 - Cookie Inktober 2026.29 - Tusk Inktober 2026.28 - Trophy Inktober 2026.27 - Dumb PTPL 230 · I drew a paper ruler in my notebook, and raw plain text calendars are still pretty darn great Inktober 2026.26 - Zip Inktober 2026.25 - Fracture Inktober 2026.24 - Bake Inktober 2026.23 - Dapper Inktober 2026.21 - Beacon Inktober 2026.21 - Hero Inktober 2026.20 - Lounge Greetings, fellow earth-visitor Inktober 2026.19 - Confused PTPL 229 · When pencil is more permanant than ink, and appending really is the better way (for me) Inktober 2026.18 - Flightless Inktober 2026.17 - Contraption Inktober 2026.16 - Gangly Inktober 2026.15 - Hooray Inktober 2026.14 - Lady Inktober 2026.13 - Flimsy PTPL 228 · Calendars, todos, and (secret) notes to your future self Inktober 2026.12 - Toss Inktober 2026.11 - Rescue Inktober 2026.10 - Mystical