@@ -79,7 +79,7 @@ private void addBuySellTransaction()
7979
8080 Transaction <BuySellEntry > pdfTransaction = new Transaction <>();
8181
82- Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH .*$" );
82+ Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH.*$" );
8383 type .addBlock (firstRelevantLine );
8484 firstRelevantLine .set (pdfTransaction );
8585
@@ -843,12 +843,12 @@ private void addSellWithNegativeAmountTransaction()
843843
844844 private void addBuySellCryptoTransaction ()
845845 {
846- DocumentType type = new DocumentType ("(ABRECHNUNG CRYPTOGESCH.FT|CRYPTO SPARPLAN)" );
846+ DocumentType type = new DocumentType ("(ABRECHNUNG CRYPTOGESCH.FT|CRYPTO SPARPLAN|ABRECHNUNG CRYPTO SAVEBACK )" );
847847 this .addDocumentTyp (type );
848848
849849 Transaction <BuySellEntry > pdfTransaction = new Transaction <>();
850850
851- Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH .*$" );
851+ Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH.*$" , "^Diese Abrechnung wird maschinell erstellt .*$" );
852852 type .addBlock (firstRelevantLine );
853853 firstRelevantLine .set (pdfTransaction );
854854
@@ -900,10 +900,11 @@ private void addBuySellCryptoTransaction()
900900 .assign ((t , v ) -> t .setDate (asDate (v .get ("date" ), v .get ("time" )))),
901901 // @formatter:off
902902 // Sparplanausführung am 16.05.2023 im außerbörslichen Handel Bankhaus Scheich.
903+ // Saveback Ausführung am 02.09.2024 im außerbörslichen Handel Bankhaus Scheich.
903904 // @formatter:on
904905 section -> section //
905906 .attributes ("date" ) //
906- .match ("^Sparplanausf.hrung .* (?<date>[\\ d]{2}\\ .[\\ d]{2}\\ .[\\ d]{4}) .*$" ) //
907+ .match ("^( Sparplanausf.hrung|Saveback) .* (?<date>[\\ d]{2}\\ .[\\ d]{2}\\ .[\\ d]{4}) .*$" ) //
907908 .assign ((t , v ) -> t .setDate (asDate (v .get ("date" )))))
908909
909910 .oneOf ( //
@@ -1052,7 +1053,7 @@ private void addDividendeTransaction()
10521053
10531054 Transaction <AccountTransaction > pdfTransaction = new Transaction <>();
10541055
1055- Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH .*$" ); //
1056+ Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH.*$" ); //
10561057 type .addBlock (firstRelevantLine );
10571058 firstRelevantLine .set (pdfTransaction );
10581059
@@ -2812,7 +2813,7 @@ private void addDepositStatementTransaction()
28122813
28132814 Transaction <AccountTransaction > pdfTransaction = new Transaction <>();
28142815
2815- Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH .*$" );
2816+ Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH.*$" );
28162817 type .addBlock (firstRelevantLine );
28172818 firstRelevantLine .set (pdfTransaction );
28182819
@@ -3101,7 +3102,7 @@ private void addFeeStatementTransaction()
31013102
31023103 Transaction <AccountTransaction > pdfTransaction = new Transaction <>();
31033104
3104- Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH .*$" );
3105+ Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH.*$" );
31053106 type .addBlock (firstRelevantLine );
31063107 firstRelevantLine .set (pdfTransaction );
31073108
@@ -3268,7 +3269,7 @@ private void addBuySellTaxReturnBlock(DocumentType type)
32683269 {
32693270 Transaction <AccountTransaction > pdfTransaction = new Transaction <>();
32703271
3271- Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH .*$" );
3272+ Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH.*$" );
32723273 type .addBlock (firstRelevantLine );
32733274 firstRelevantLine .set (pdfTransaction );
32743275
@@ -3565,7 +3566,7 @@ private void addDividendeTaxReturnBlock(DocumentType type)
35653566 {
35663567 Transaction <AccountTransaction > pdfTransaction = new Transaction <>();
35673568
3568- Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH .*$" );
3569+ Block firstRelevantLine = new Block ("^TRADE REPUBLIC BANK GMBH.*$" );
35693570 type .addBlock (firstRelevantLine );
35703571 firstRelevantLine .set (pdfTransaction );
35713572
0 commit comments