If you're using a financial tool like YNAB you know that entering all of your transactions can be a pain. And even though tools like YNAB offer importing transactions directly from your bank, unless you're in US you're probably out of luck.
YNAB allows you to import OFX files which can make this process easier. OFX Statement is a project that provides a plugin-enabled architecture, where anyone can create a compatible plugin for their local banks.
This project is made possible by Gints Murāns' OFX parsers for Latvian banks and Miku Laitinen's OFX parser for Revolut. Major kudos!
Supported sources:
Swedbank
- CSV filesDNB
- FIDAVISTA xml filesCitadele
- FIDAVISTA v1.2 xml filesSEB
- CSV filesRevolut
- Revolut's CSV files
docker run -v ~/dev/ofx/data:/data fntm/ofxstatement-lv ofxstatement convert -t swedbankLV /data/statement.csv /data/swed.ofx
The example above assumes that
- You have a folder named data which can be linked as volume to the docker container (needed to give ofxstatement access to that file)
- You have downloaded a .csv statement from Latvian swedbank in said folder
docker run -v ~/dev/ofx/data:/data fntm/ofxstatement-lv ofxstatement convert -t citadeleLV /data/statement.xml /data/citadele.ofx
docker run -v ~/dev/ofx/data:/data fntm/ofxstatement-lv ofxstatement convert -t revolut /data/revolut.csv /data/revolut.ofx
- Tag relevant release commit with release version.
git tag -a v1.1 -m "Parse latest Revolut CSV export format"
- Push commit and tags to github
git push origin master --tags
- Create a new release in Github repo Releases
- Build new Docker images
docker build --platform=amd64 -f Dockerfile -t fntm/ofxstatement-lv:v1.1 -t fntm/ofxstatement-lv:latest .
- Log into Dockerhub
docker login
- Push latest tagged builds up to Dockerhub
docker push fntm/ofxstatement-lv:latest