Skip to content

kevinzg/xhb2beancount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xhb2beancount

Homebank to Beancount converter.

Install

I recommend using pipx.

pipx install xhb2beancount

Or just create a virtualenv and run pip install xhb2beancount.

Usage

xhb2beancount file.xhb > file.beancount

If you have beancount installed you can format it with bean-format.

xhb2beancount file.xhb | bean-format -c 78 > file.beancount

You can customize the conversion passing a config file as an argument.

xhb2beancount --config config.py file.xhb

Copy the default config file and edit it to suit your needs.

You can also use the option --print-config-dicts to print the categories, accounts, payees and tags from your Homebank file as dictionares and copy them to your config file.

xhb2beancount file.xhb --print-config-dicts