siddhantgoel / beancount-dkb

Beancount Importers for DKB (Deutsche Kredit Bank) CSV Exports
MIT License
34 stars 13 forks source link

feat: option to add transaction code as metadata #90

Closed bratekarate closed 3 years ago

bratekarate commented 3 years ago

Actually I accidentally created this PR to this repos instead of my own. But I will leave it open in case there is interest in merging it.

This PR add the argument meta_code to the importer's constructor. If set, the importer will add the code of a transaction ("Buchungstext") as metadata with the key meta_code instead of adding it to the description. Helpful for querying with beancount later.

siddhantgoel commented 3 years ago

Thanks for the MR! I'll try to push a new release to PyPI over the weekend.

bratekarate commented 3 years ago

Thanks for the MR! I'll try to push a new release to PyPI over the weekend.

Yay, no fork maintaining for me, thanks! And with the help of your DKB plugin, I convinced my girlfriend to use beancount for her finances :)

siddhantgoel commented 3 years ago

:cake: :sparkles:

siddhantgoel commented 3 years ago

Just published v0.10.0 which includes this feature.