Skip to main content

Bank statement parser for Revolut

Project description

ofxstatement-revolut

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 https://github.com/koodaamo/banking.statements.osuuspankki

Installation

From PyPI repositories

pip3 install ofxstatement-revolut

From source

git clone https://github.com/mlaitinen/ofxstatement-revolut.git
python3 setup.py 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

1.6.0

  • 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.

1.5.0

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

1.4.0

  • Support September 2019 iOS CSV format

1.3.0

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

1.2.0

  • Support May 2018 CSV format

1.1.0

  • Support April 2018 CSV format

1.0.0

  • 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.

Source Distribution

ofxstatement-revolut-1.6.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ofxstatement_revolut-1.6.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file ofxstatement-revolut-1.6.0.tar.gz.

File metadata

  • Download URL: ofxstatement-revolut-1.6.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for ofxstatement-revolut-1.6.0.tar.gz
Algorithm Hash digest
SHA256 dca9aa0c8130dbbdcc65a7ea2f238f3a7f5220ee474120f49acad4a7492798ee
MD5 cdb972a652e99874be171bfb5d328199
BLAKE2b-256 bb2df5edc694216bbf7ed9db56d135f5fbf38d0c0b16244f687a5dd7c2ead8d5

See more details on using hashes here.

File details

Details for the file ofxstatement_revolut-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: ofxstatement_revolut-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for ofxstatement_revolut-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e4c1c0e83f6ab70d623bc02f7f62e67cbca55cd0342847b6d4187911ec0b8b0
MD5 a2380cff950f9675dc6bf48866ad7060
BLAKE2b-256 5081c2a048e0713edcd276dfa4019427d13f3fda6b44aca60813d4c9de97f7be

See more details on using hashes here.

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