/beancount-ce

💸 Beancount Importer for Caisse d'Epargne statements (pdf and csv files) - Pypi package

Primary LanguagePythonMIT LicenseMIT

Beancount Caisse d'Epargne Importer

GitHub Workflow Status PyPI PyPI - Version GitHub Linting

beancount-ce provides a statements (PDF and CSV) importer for the bank Caisse d'Epargne to the Beancount format.

Installation

    $ pip install beancount-ce

Usage

Add CEImporter to your Beancount importers config file.

    IBAN_NUMBER_CE = 'FR00 1111 2222 3333 4444 5555 666'

    CONFIG = [
        CEImporter(
            iban=IBAN_NUMBER_CE,
            account='Assets:FR:CdE:CompteCourant',
            expenseCat='Expenses:FIXME',    #Optional
            creditCat='Income:FIXME',       #Optional
            showOperationTypes=False        #Optional
        ),
    ]

Contribution

Feel free to contribute!

Please make sure you have Python 3.6+ and Poetry installed.

  1. Git clone the repository - git clone https://github.com/ArthurFDLR/beancount-ce

  2. Install the packages required for development - poetry install

  3. That's basically it. You should now be able to run lint checks and the test suite - make lint test.