A simple Python script based on Piecash in order to calculate high balances of accounts, with the primary intent of filing the FINCEN 114 - FBAR report.
- Download
gnucash-fincen114
. - Start up virtual environment
Something like::
pipenv install --requirements ./requirements.txt
- If you are not using SQLite as file format, save as your GnuCash database in SQLite format.
Currently, no option for changing database type. In order to change, you need to play with the script.
- In GnuCash, tag each account you would like included in the FBAR report with the word
#fbar
. It doesn't matter where you put it, as long as it is in the description somewhere. - Not required: Get the Exchange rate as of December 31 of the year you are interested in. Needed to convert into USD, which is required for FBAR filing.
- Pick the year. If you do not pick one, last calendar year will be used.
Then run::
python3 ./fincen114.py myportfolio.gnucash --conversion <conversion_rate>
- Look at issues in the Issues section of the GitHub repo.
- Make all pull requests off of the
develop
branch. - Please commit pull request for changes.