Skip to main content

CSV importer script from Swedbank online banking for beancount

Project description

Beancount Swedbank Importer

beancount-swedbank-importer provides a python import script for beancount to import CSV exports from swedbank online banking.

Usage

Installation

Install beancountwedbank from pip like this:

    pip install beancountswedbank

Configuration

Write a configuration file, eg. config.py, (or extend your existing one) to include this:

    import beangulp
    import beancountswedbank


    CONFIG = [
        beancountswedbank.CSVImporter('Nyckelkonto', 'Assets:Your:Nyckelkonto', 'SEK'),
    ]


    if __name__ == '__main__':
        main = beangulp.Ingest(CONFIG)
        main()

Nyckelkonto is the literal name of the account as you can see it in the online banking website. It will be used by beancount to match the 4th column of the exported CSV file.

Daily use

  1. Download the CSV file from your Swedbank online banking,
  2. Run config.py extract transaction_file.csv

License

This package is licensed under the MIT License.

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

beancountswedbank-1.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

beancountswedbank-1.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file beancountswedbank-1.0.1.tar.gz.

File metadata

  • Download URL: beancountswedbank-1.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for beancountswedbank-1.0.1.tar.gz
Algorithm Hash digest
SHA256 11f0d0137bc59d1f6da0827b68f8514765747bdb31b6ff673cd921dcbe81cc10
MD5 62ab2405b628c4fcf402f28f5bfb01a8
BLAKE2b-256 2c13712e33611fa4d9c82ddbf2a6c698e782d395b8b512cdb394307c30642ad3

See more details on using hashes here.

File details

Details for the file beancountswedbank-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for beancountswedbank-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09c16de4a20707f48792b69210d72f76f8cc728761be3caf4829f31342a94232
MD5 509fea3447528f4a88adf5b35ecf0d5c
BLAKE2b-256 86a8e9c0c2076f9895ef9e9a11bce43b475e59c29b898e3c3d3ef1ff54912bcc

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