Skip to main content

Bank statement parser for Revolut

Project description

ofxstatement-revolut

badge

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

Issue reports and pull requests are welcome.

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 = %%Y-%%m-%%d %%H:%%M:%%S

2.0.3

  • Use ATM types for ATM events, XFER type for EXCHANGE operations, and add FEE type (thanks @3v1n0)
  • Handle empty balance fields (thanks @3v1n0)

2.0.2

  • Ignore other than COMPLETED transactions. Pending transactions have their own structure in OFX called STMTTRNP, but ofxstatement doesn't support it.
  • Include the "Started Date" as the date the user initiated the transaction.

2.0.1

  • Version 2.0.0 republished due to some issues with PyPI

2.0.0

  • Complete backwards-incompatible refactoring, support the new CSV format
  • Requires ofxstatement >= 0.7.2
  • Any transactions with a fee will generate an additional fee transaction where the payee is "Revolut"

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-2.0.4.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

ofxstatement_revolut-2.0.4-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file ofxstatement_revolut-2.0.4.tar.gz.

File metadata

  • Download URL: ofxstatement_revolut-2.0.4.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for ofxstatement_revolut-2.0.4.tar.gz
Algorithm Hash digest
SHA256 92867f5dcdc7be5ae0d999a9f83b233178eecf0abe38998eff9d76f15b77e580
MD5 e09fd778da583ccc29b7e16c438987ee
BLAKE2b-256 f6178c6ed0bcec3c0bda8f29c646877829719934b4c5d6879665b4d9b58ac1ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ofxstatement_revolut-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cf8e942c8d516feadb803b930c200d5678248fafffcf9d4fc745604911f61ec5
MD5 42791c6778e8e7b02f3f6f4a6b4c93d6
BLAKE2b-256 01d91bc2ab276910dad25fa223990d4b3e097b16aff86bf7304fb55ecb3c1ca4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page