Accrued Expenses in Beancount: A Practical Guide (with copy-paste ledger examples)
· 8 минути четене
Accrued expenses sound abstract until month-end closes start piling up. They are a cornerstone of proper accrual accounting, ensuring your financial reports reflect economic reality, not just when cash changes hands. Here’s a clear, Beancount-first walkthrough of what they are, why they matter, and exactly how to book, reverse, and report them in your plain-text ledger.
TL;DR ⚡
- Accrued expenses are costs you’ve incurred this period but haven’t paid yet. They are recorded as a liability until the cash goes out.
- In Beancount, this is simple: you debit an
Expenses:
account and credit aLiabilities:Accrued:
account. Later, you clear the liability when you pay.- To report, you can see what you owe as of a specific date by running a
bean-query
withCLOSE ON
andCLEAR
to get a clean balance-sheet snapshot.