Skip to main content
🐍⚡️Support Python for everyone by grabbing a 30% discount on PyCharm—ALL proceeds go to the Python Software Foundation. Offer ends soon, so grab it today!  GET 30% OFF PYCHARM

Convert Homebank files to Beancount format.

Project description

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page