Skip to main content

OFXStatement plugin for dutch financial institutions like DEGIRO, ING and ICSCards.

Project description


This project provides custom ofxstatement plugins for these dutch financial institutions:

ofxstatement is a tool to convert a proprietary bank statement to OFX format, suitable for importing into programs like GnuCash or Beancount. The plugin for ofxstatement parses the bank statement and produces a common data structure, that is then formatted into an OFX file.

The PDF is converted using the pdftotext utility.



You have to install the poppler library first, see pdftotext

Using pip

$ pip install ofxstatement-dutch

Development version from source

$ git clone
$ pip install -e .


This package depends on ofxstatement with a version at least 0.6.5. This version may not yet be available in PyPI so install that from source like this:

$ git clone
$ pip install -e .


To run the tests from the development version you can use the py.test command:

$ py.test

You may need to install the required test packages first:

$ pip install -r test_requirements.txt


Show installed plugins

This shows the all installed plugins, not only those from this package:

$ ofxstatement list-plugins

You should see at least:

The following plugins are available:

  nl-degiro        DEGIRO trader platform, The Netherlands, CSV (
  nl-icscards      ICSCards, The Netherlands, PDF (
  nl-ing           ING Bank, The Netherlands, CSV (


DEGIRO trader platform

The DEGIRO files do not only contain money statements but also the whole security transaction history. This tool just emits the money statements coming from or going to your associated (other) bank account. To be more specific the deposits (description like "Storting" or "iDEAL storting") and transfers ("Terugstorting"). Maybe in the future the security transaction will be emitted too, but currently ofxstatement only processes money information.

See also the section configuration below.

Use something like this:

$ ofxstatement convert -t <configuration name> <file>.csv <file>.ofx


Use something like this:

$ ofxstatement convert -t nl-icscards <file>.pdf <file>.ofx

Or you can convert the PDF yourself and supply the text as input:

$ pdftotext -layout <file>.pdf <file>.txt
$ ofxstatement convert -t nl-icscards <file>.txt <file>.ofx

ING bank

Use something like this:

$ ofxstatement convert -t nl-ing <file>.csv <file>.ofx


For DEGIRO you need to set an account id, since the statement files does not contain account information.

$ ofxstatement edit-config

This is a sample configuration (do not forget to specify the plugin for each section):

plugin = nl-degiro
account_id = account1

plugin = nl-degiro
account_id = account2

Change history

See the Changelog (


All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


[1.1.0] - 2020-03-26


- Added converter for:
	* DEGIRO trader platform, The Netherlands, CSV (
- Added reference to the Changelog in the Readme.
- The Readme mentions test_requirements.txt for installing test modules.
- More checks concerning the content (dates with start and end
date exclusive) that may result in a ValidationError exception.
- Added Makefile for keeping the important operations together.


- The generation af a unique OFX id did only return a counter in
case of duplicates.
- The Readme mentions now my fork of the ofxstatement instead of
- The file outputs the version number and that is
used in the Makefile.
- The Makefile depends now on GNU make for tagging a release.
- now includes the Makefile and
- Code refactoring.
- Changed bank id (BIC) for ING from INGBNL2AXXX to INGBNL2A.
- Added poppler library to the instructions.
- Readme enhanced.

[1.0.0] - 2020-03-15


- First version to convert:
	* ICSCards, The Netherlands, PDF (
	* ING bank, The Netherlands, CSV (

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-dutch, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size ofxstatement_dutch-1.1.0-py3-none-any.whl (14.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ofxstatement-dutch-1.1.0.tar.gz (13.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page