Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ List of currently supported providers:
- Swaper
- Debitum Network
- Viainvest
- Lendermarket

Control the way how account statements are processed via the aggregate parameter:
- transaction: Currently does not process the input data beyond making it Portfolio Performance compatible.
Expand Down Expand Up @@ -89,6 +90,7 @@ multiple times in Portfolio Performance.
* `debitumnetwork` - Supports current account statement format (as of 2020-09-08) exported to csv
* `viainvest` - Supports current account statement (as of 2021-12-12) exported as csv (Withdrawals do not work yet)
* `lande` - Supports current account statement (as of 2022-12-01) exported as csv (Withdrawals not tested yet)
* `lendermarket` - Supports current account statement (as of 2022-12-01) exported as csv (Withdrawals not tested yet)

### Alternative solution for Auxmoney

Expand Down
14 changes: 14 additions & 0 deletions config/lendermarket.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
type_regex: !!map
deposit: "^Einzahlung$"
withdraw: "^Auszahlung.*"
interest: "(.*Erhaltene Zinsen$)|(^Verspätete Zinseingänge$)|(^Aktionsbelohnungen und Boni$)"

csv_fieldnames:
booking_date: 'Datum'
booking_date_format: '%Y-%m-%d'
booking_details: 'Kredit-ID'
booking_id: 'Kredit-ID'
booking_type: 'Transaktionsdetails'
booking_value: 'Umsatz'
booking_currency: 'Währung'
1 change: 1 addition & 0 deletions parse-account-statements.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def parse_args():
"mintos",
"robocash",
"swaper",
"lendermarket",
"viainvest",
"estateguru_en",
],
Expand Down
7 changes: 7 additions & 0 deletions src/test/testdata/lendermarket.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Datum;Kredit-ID;Transaktionsdetails;Umsatz;Guthaben;Währung
2022-12-20;;Einzahlung;1000.00000000;1000.00000000;EUR
2022-12-20;FI-6033907862;Investition;-10.00000000;990.00000000;EUR
2023-01-03;NG-4812207572;Erhaltener Hauptbetrag;2.00000000;822.00000000;EUR
2023-01-03;NG-4812207572;Erhaltene Zinsen;0.05416580;822.05416580;EUR
2023-01-05;ES-4013813929;Verspätete Zinseingänge;0.04166600;622.24166280;EUR
2023-02-18;;Aktionsbelohnungen und Boni;30.00000000;41.01154910;EUR