Skip to main content

Convert bank record CSV files in various formats to YNAB CSV format

Project description

YNAB CSV Converter

Converts bank record CSV files in various formats to YNAB CSV format.

Any previously converted files will be looked up so that a converted export only contains unique transactions with respect to already converted exports.

Installation

pip3 install https://github.com/andsens/ynab-csv-converter/archive/master.tar.gz

Usage

Usage: ynab-csv-converter [options] FORMULA INFILE...

Formula

format: sparekassen
outpath: /home/andsens/converted
archivepath: /home/andsens/archive
outprefix: sparekassen-euro
factor: 7.45

All settings except factor are mandatory. The above formula looks for converted files in /home/andsens/converted/sparekassen-euro-[daterange] and removes transactions from the inputfiles that already exist in those converted files. All amounts are multiplied by 7.45 (EUR -> DKK). Once converted from "sparekassen" format to "ynab" format, the transactions are written to /home/andsens/converted/sparekassen-euro-[daterange], while the original file is archived at /home/andsens/archive/sparekassen-euro-[daterange].

The daterange corresponds to the dates of the latest and earliest transaction (in that order, so that newest exports are sorted last).

Supported formats

  • DanskeBank (key: danskebank)
  • Sparekassen (key: sparekassen)
  • Lån & Spar (key: laanspar)
  • Nordnet (key: nordnet)
  • HypoVereinsbank (key: hypovereinsbank)
  • SaxoTraderGo Account Statement (key: saxotradergo)

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

ynab_csv_converter-1.0.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

ynab_csv_converter-1.0.2-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file ynab_csv_converter-1.0.2.tar.gz.

File metadata

  • Download URL: ynab_csv_converter-1.0.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.11

File hashes

Hashes for ynab_csv_converter-1.0.2.tar.gz
Algorithm Hash digest
SHA256 cac397d98185b3c1be215269f284198e448415f1add949db6ebd9a314e177a1d
MD5 734772b64edef0d7aaf23b4c3f8350c9
BLAKE2b-256 9f9d7d0e02e4d8bb4428b53203cd7e87753290cdc5efd9acdb4f24551daf45cb

See more details on using hashes here.

File details

Details for the file ynab_csv_converter-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ynab_csv_converter-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0f528113c5fa3cb8160722165454c62608dcc97e38e4ce30e5051ede0d4ad74
MD5 bf8103ecf6f0237c5484e94b3dcaf976
BLAKE2b-256 28abe4ec09eee2f3e958066316fe48c175af4216b638eb32c13db919f44cab0c

See more details on using hashes here.

Supported by

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