A CLI tool that converts financial data to Beancount files
Project description
Beancount Multitool
Beancount Multitool is a command-line-interface (CLI) tool that converts financial data from financial institutions to Beancount files.
The following institutions are supported:
What these scripts can do:
- Read raw CSV files downloaded from each institution's website.
- Label debit and credit transactions to respective account types.
- Debit:
Expenses:JP:Unknown:NameOfInstitution
- Credit:
Income:JP:Unknown:NameOfInstitution
- Debit:
What these scripts can not (yet) do:
- Label transactions with different sub-accounts, e.g.,
Expenses:JP:Food:Grocery
orExpenses:JP:Food:Restaurant
.
Usage:
$ bean-mt --help
Usage: bean-mt [OPTIONS] NAME CONFIG DATA
Read financial data and output a Beancount file.
NAME is the name of the financial institution, e.g. RakutenBank.
CONFIG is a .toml file with run-time configurations, e.g. config.toml.
DATA is the raw financial data downloaded from NAME, e.g. input.csv.
Options:
--output PATH Resulting Beancount file
--version Show the version and exit.
--help Show this message and exit.
Example:
bean-mt rakuten_bank config.toml 2024-01.csv --output 2024-01.bean
Workflow:
- Download the raw CSV files from a financial institutions.
- Run
bean-mt
. - Include the
output.bean
file in my ledger. - Manually edit that Beancount file to my needs.
config.toml:
There is a default config.toml per financial institutions. Examples are in the test data folder.
Installation
pip install beancount-multitool
Requirements
- Python 3.9 or higher.
More
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for beancount_multitool-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9312a31a38b21a3f27ae84e0d61ad20760df6e0f0b30a3027400a3f204c80f54 |
|
MD5 | 58145967c8cd63acea5e9e2f9f02a959 |
|
BLAKE2b-256 | f9e375db3e8a03ac5582522a43b616c44d04ed0f032f27ed0f9096ad813e4b79 |
Close
Hashes for beancount_multitool-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5574ff409779c5e0c511112e1befb9946bafdab965257d618bf2dbc3f7c93058 |
|
MD5 | 30ab38587ebce0b03251a63557141d38 |
|
BLAKE2b-256 | 1b4f10ab6c5b1e6780c499db8ddecfcb56b4937be7ec79ad3e04e92360f22885 |