bnw / firefly-iii-fints-importer

Import financial transactions from you FinTS enabled bank into Firefly III.
GNU Affero General Public License v3.0
156 stars 23 forks source link

Import end date selection not working as expected #123

Open martinspaniol opened 11 months ago

martinspaniol commented 11 months ago

Setup

Importing transcations in firefly is basically working, but the import date selection seems to behave a bit strange.

I'm using the latest release at the time of writing.

I'm using the following json configuration:

{
    "bank_username": "123456",
    "bank_password": "123456",
    "bank_code": "123456",
    "bank_url": "https://fints.comdirect.de/fints",
    "bank_2fa": "902",
    "bank_2fa_device": "",
    "firefly_url": "http://firefly:8080",
    "firefly_access_token": "xxx",
    "skip_transaction_review": "false",
    "__description_regex_comment__": "To disable the regex search & replace of the transaction description, set both to an empty string.",
    "description_regex_match": "/^(Übertrag \\/ Überweisung|Lastschrift \\/ Belastung)(.*)(END-TO-END-REF.*|Karte.*|KFN.*)(Ref\\..*)$/mi",
    "description_regex_replace": "$2 [$1 | $3 | $4]",
    "auto_submit_form_via_js": false,
    "choose_account_automation": {
        "bank_account_iban": "123456",
        "firefly_account_id": "217",
        "__from_to_comment__": "The following values will be passed directly into DateTime. Set them to null to choose them manually during import process.",
        "from": null,
        "to": null
    }
}

The date is set to null so I can change it manually when running the importer.

Actual result

Now when I run the importer let's say I want all transactions from the previous month. So I set the following (btw. today is the 30th December): image

These settings give me all transactions starting from the 1st November up until and including todays date (which is the 30th December). So the import end date seems to be ignored.

Expected result

I expected to see only transactions starting from 1st November up to and including 30th November. What am I doing wrong?