Skip to main content

Bank statement parser for Revolut

Project description


Build Status

This is a plugin for use with ofxstatement package. It implements a parser for the Revolut CSV-formatted bank statement.

The CSV isn't very machine readable, so we need to do some ugly string parsing to figure out the different field values.

Issue reports and pull requests welcome.

This module is based on the Osuuspankki ofxstatement parser found at


From PyPI repositories

pip3 install ofxstatement-revolut

From source

git clone
python3 install

Configuration options

Option Description
account Define the account of this bank statement
currency The base currency of the account
date_format The date format in the bank statement. Note that you have to use double %-marks in the settings file like this: date_format = %%b %%d, %%Y


  • Since version 0.6.5 ofxstatement requires a statement line to have either id, refnum or check_no. To avoid failing the conversion, there's now a unique MD5 hashed ID computed from the date, payee, amount and balance.


  • Improved the parser by making the column header verification less strict.


  • Support September 2019 iOS CSV format


  • Date format is now configurable in the settings
  • "Payment from " is now also counted as a deposit


  • Support May 2018 CSV format


  • Support April 2018 CSV format


  • First release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ofxstatement-revolut, version 1.6.0
Filename, size File type Python version Upload date Hashes
Filename, size ofxstatement_revolut-1.6.0-py3-none-any.whl (17.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ofxstatement-revolut-1.6.0.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page