Giter Club home page Giter Club logo

csv2qif's Introduction

csv to QIF converter for GnuCash

Converts CSV files from various Dutch banks into QIF files.

  • ING Bank (checking & savings)
  • Rabobank (checking)
  • Rabobank (beleggen)
  • DeGiro

The parser is tested/optimized to work with GnuCash.

Usage:

csv2qif.py csv_file.csv --> csv_file.qif

csv2qif.py *.csv --> out.qif

The parser will categorize transaction according to (python module re) regex rules described in categories.csv. You can add you own rules; these are processed from top to bottom; processing for a transaction is stopped when a match is found. Matching is done on either "payee" or "memo".

Parser will list all transactions which don't have a match for a category. You can "dry-run" a few times to optimize the categories.csv.

Bank account definitions

Define your back accounts in /bankaccounts.def. This file is self explaining.

Order of accounts is important; transactions from a lower prio account to higher prio account are ignored, to prevent double transactions.

Extend parser

  • Add your bank definition file to /banks
    • Identify a unique fingerprint field for your csv file based on a regex.
    • Specify parser method (defined in parsebank.py)
    • Specify date format

With a bit of luck, you can use an existing parser. Or copy and extend.

Requirements

  • quiffen > 1.1.1
  • python > 3.x (tested with 3.7.3)

Versions

1.0.3:

  • Rabobank beleggen (investments) changed output format CSV

1.0.2:

  • Fix error processing when command line is empty
  • Fix errors when calling from different location/directory or via symbolic link

csv2qif's People

Contributors

hansij66 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.