Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild Comdirect PDF-Importer #2398

Merged
merged 4 commits into from Aug 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -208,7 +208,7 @@ private void assertOptionBuyTransaction(Item item)
@Test
public void testThatExceptionIsAddedForNonFlexStatementDocuments() throws IOException
{
InputStream otherFile = getClass().getResourceAsStream("pdf/comdirect/comdirectGutschrift1.txt");
InputStream otherFile = getClass().getResourceAsStream("pdf/comdirect/Dividende05.txt");
Extractor.InputFile tempFile = createTempFile(otherFile);
Client client = new Client();
IBFlexStatementExtractor extractor = new IBFlexStatementExtractor(client);
Expand Down
Expand Up @@ -166,7 +166,7 @@ private void assertFirstTransaction(Optional<Item> item)
@Test
public void testThatExceptionIsAddedForNonFlexStatementDocuments() throws IOException
{
InputStream otherFile = getClass().getResourceAsStream("pdf/comdirect/comdirectGutschrift1.txt");
InputStream otherFile = getClass().getResourceAsStream("pdf/comdirect/Dividende05.txt");
Extractor.InputFile tempFile = createTempFile(otherFile);
Client client = new Client();
IBFlexStatementExtractor extractor = new IBFlexStatementExtractor(client);
Expand Down

Large diffs are not rendered by default.

@@ -0,0 +1,46 @@
PDF Autor: 'HAVI Solutions GmbH & Co. KG, phg'
PDFBox Version: 1.8.16
-----------------------------------------
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
25449 Quickborn









Depotnr.: 123456789
97813 010 BLZ: 200 411 55
Herrn

Max Mustermann



Musterstr. 31

12345 Musterstadt
24.03.2021
G u t s c h ri f t fä ll ig e r W e r t p a p i e r -E r tr ä g e
Ertragsgutschrift
Depotbestand Wertpapier-Bezeichnung WKN/ISIN
p e r 1 0 . 03 . 20 2 1 i S h s - M S C I W o r ld U C I T S E T F A 0 H G V0
S T K 54 ,3 9 4 R e g is t er e d S h a r e s U S D (D i st ) o N I E 00 B 0 M 62 Q5 8
Emissionsland: IRLAND
USD 0,1234 Ausschüttung pro Stück für Geschäftsjahr 01.03.21 bis 28.02.22
zahlbar ab 24.03.2021
Abrechnung Ertragsgutschrift
Bruttobetrag: USD 6,71
zum Devisenkurs: EUR/USD 1,186400 EUR 5,66
Verrechnung über Konto (IBAN) Valuta Zu Ihren Gunsten vor Steuern
DE52 2004 1155 0138 6085 00 EUR 26.03.2021 EUR 5,66
Information zur steuerlichen Behandlung dieses Geschäftsvorganges und den auf
Ihrem Konto gebuchten Endbetrag finden Sie auf der separaten Steuermitteilung
(Referenz-Nr. 2CIGZW227V4000WN).
Ihre comdirect

*Diese Abrechnung wird von der Bank nicht unterschrieben
DD762/11/09
Expand Up @@ -31,7 +31,7 @@ Geschäftstag : 01.01.2000 Ausführungsplatz : XETRA
(Kommissionsgeschäft)

Wertpapier-Bezeichnung WPKNR/ISIN
Name der Security BASF11
BASF BASF11
Inhaber-Anteile DE000BASF111


Expand Down