Skip to content

A beancount plugin that automatically inserts a 0 balance check for closed balance sheet accounts

License

Notifications You must be signed in to change notification settings

daniel-wells/beancount_checkclosed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example workflow

A beancount plugin that automatically inserts a 0 balance check for closed balance sheet accounts.

A closing directive e.g.

2015-04-23 close Assets:Checking

will ensure transactions can not involve this account after that date. However it will not check that the balance is 0 after closing. This is what this plugin does. It's equivalent to adding:

2015-04-24 balance Assets:Checking 0 GBP

for all the commodities of that account.

There is a similarly named plugin within beancount 'check_closing' but that plugin requires you to add metadata to the specific closing transaction.

Installation:

pip install git+https://github.com/daniel-wells/beancount_checkclosed.git

Usage:

Add the following line to your ledger file:

plugin "beancount_checkclosed.check_closed"

About

A beancount plugin that automatically inserts a 0 balance check for closed balance sheet accounts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages