-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added dividend statements for Trade Republic
Issue: #1234
- Loading branch information
Showing
15 changed files
with
253 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
...s/src/name/abuchen/portfolio/datatransfer/pdf/traderepublic/TradeRepublicDividende01.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"version": 1, | ||
"transactions": [ | ||
{ | ||
"type": "DIVIDEND", | ||
"date": "2019-09-12", | ||
"currency": "EUR", | ||
"amount": 3.1, | ||
"shares": 10.0, | ||
"security": { | ||
"name": "Microsoft Corp.", | ||
"isin": "US5949181045", | ||
"currency": "USD" | ||
}, | ||
"units": [ | ||
{ | ||
"type": "GROSS_VALUE", | ||
"fxAmount": 4.6, | ||
"fxCurrency": "USD", | ||
"fxRateToBase": 1.106 | ||
}, | ||
{ | ||
"type": "TAX", | ||
"amount": 0.42 | ||
}, | ||
{ | ||
"type": "TAX", | ||
"amount": 0.02 | ||
}, | ||
{ | ||
"type": "TAX", | ||
"fxAmount": 0.69, | ||
"fxCurrency": "USD", | ||
"fxRateToBase": 1.106 | ||
} | ||
] | ||
} | ||
] | ||
} |
34 changes: 34 additions & 0 deletions
34
...ts/src/name/abuchen/portfolio/datatransfer/pdf/traderepublic/TradeRepublicDividende01.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
PDF Author: '' | ||
PDFBox Version: 1.8.16 | ||
----------------------------------------- | ||
TRADE REPUBLIC BANK GMBH KASTANIENALLEE 32 10435 BERLIN | ||
My Name SEITE 1 von 1 | ||
My Str. 2 DATUM 12.09.2019 | ||
D 12345 Berlin DEPOT XXXXXXXXX | ||
DIVIDENDE | ||
ÜBERSICHT | ||
Dividende mit dem Ex-Tag 14.08.2019. | ||
POSITION ANZAHL ERTRÄGNIS BETRAG | ||
Microsoft Corp. 10 Stk. 0,460 USD 4,60 USD | ||
Registered Shares DL-,00000625 | ||
US5949181045 | ||
GESAMT 4,60 USD | ||
ABRECHNUNG | ||
POSITION BETRAG | ||
Quellensteuer DE für US-Emittent -0,690 USD | ||
Zwischensumme 3,91 USD | ||
Zwischensumme 1,106 EUR/USD 3,54 EUR | ||
Kapitalertragssteuer -0,420 EUR | ||
Solidaritätszuschlag -0,020 EUR | ||
GESAMT 3,10 EUR | ||
BUCHUNG | ||
VERRECHNUNGSKONTO VALUTA BETRAG | ||
DE63110XXXXXXXXXXXXXXX 12.09.2019 3,10 EUR | ||
Microsoft Corp. Registered Shares DL-,00000625 in Girosammelverwahrung. | ||
Diese Abrechnung wird maschinell erstellt und daher nicht unterschrieben. | ||
Sofern keine Umsatzsteuer ausgewiesen ist, handelt es sich gem. § 4 Nr. 8 UStG um eine umsatzsteuerfreie | ||
Leistung. | ||
Trade Republic Bank GmbH www.traderepublic.com Sitz der Gesellschaft: Düsseldorf Geschäftsführer | ||
Kastanienallee 32 [email protected] AG Düsseldorf HRB 85864 Ingo Hillen | ||
10435 Berlin USt-ID DE307510626 Karsten Müller | ||
ABRE / 12.09.2019 / 363XXXXX / XXXX-XXXX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86 changes: 86 additions & 0 deletions
86
...uchen.portfolio/src/name/abuchen/portfolio/datatransfer/pdf/trade-republic-dividends.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"version": 1, | ||
"name": "Deutsche Bank - Kaufbuchungen", | ||
"locale": "de", | ||
"pattern": [ | ||
"TRADE REPUBLIC", | ||
"DIVIDENDE" | ||
], | ||
"transactions": [ | ||
{ | ||
"type": "DIVIDEND", | ||
"startWith": "DIVIDENDE", | ||
"sections": [ | ||
{ | ||
"context": "SECURITY", | ||
"pattern": [ | ||
"POSITION ANZAHL ERTRÄGNIS BETRAG", | ||
"(?<name>.*) ([\\d+,.]*) Stk. ([\\d+,.]*) (?<currency>\\w{3}+) ([\\d+,.]*) (\\w{3}+)$", | ||
".*", | ||
"(?<isin>.*)" | ||
] | ||
}, | ||
{ | ||
"pattern": [ | ||
"GESAMT ([\\d+,.]*) (\\w{3}+)", | ||
"GESAMT (?<amount>[\\d+,.]*) (?<currency>\\w{3}+)" | ||
] | ||
}, | ||
{ | ||
"pattern": [ | ||
"VERRECHNUNGSKONTO VALUTA BETRAG", | ||
".* (?<date>\\d+.\\d+.\\d{4}+) ([\\d+,.]*) (\\w{3}+)" | ||
] | ||
}, | ||
{ | ||
"pattern": [ | ||
"POSITION ANZAHL ERTRÄGNIS BETRAG", | ||
"(.*) (?<shares>[\\d+,.]*) Stk. ([\\d+,.]*) (\\w{3}+) ([\\d+,.]*) (\\w{3}+)$" | ||
] | ||
}, | ||
{ | ||
"context": "UNIT", | ||
"isOptional": true, | ||
"pattern": [ | ||
"GESAMT (?<fxAmount>[\\d+,.]*) (?<fxCurrency>\\w{3}+)", | ||
"Zwischensumme (?<fxRateToBase>[\\d.,]+) \\w{3}+/\\w{3}+ [\\d.,]+ \\w{3}+" | ||
], | ||
"attributes": { | ||
"type": "GROSS_VALUE" | ||
} | ||
}, | ||
{ | ||
"context": "UNIT", | ||
"isOptional": true, | ||
"pattern": [ | ||
"Kapitalertragssteuer -(?<amount>[\\d.,]+) (?<currency>\\w{3}+)" | ||
], | ||
"attributes": { | ||
"type": "TAX" | ||
} | ||
}, | ||
{ | ||
"context": "UNIT", | ||
"isOptional": true, | ||
"pattern": [ | ||
"Solidaritätszuschlag -(?<amount>[\\d.,]+) (?<currency>\\w{3}+)" | ||
], | ||
"attributes": { | ||
"type": "TAX" | ||
} | ||
}, | ||
{ | ||
"context": "UNIT", | ||
"isOptional": true, | ||
"pattern": [ | ||
"Quellensteuer DE für US-Emittent -(?<fxAmount>[\\d.,]+) (?<fxCurrency>\\w{3}+)", | ||
"Zwischensumme (?<fxRateToBase>[\\d.,]+) \\w{3}+/\\w{3}+ [\\d.,]+ \\w{3}+" | ||
], | ||
"attributes": { | ||
"type": "TAX" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.