PDF import from DeGiro

Hello @Xip, @Reycobos and @Jorge_Bachiller ,

Thx for the PDF debugs…
With the new format, each transaction must be customized.
Tested the following detections

  • with currency exchange and fees
  • with currency exchange and without fees
  • without currency exchange and with fees
  • no example was included for testing
    • without currency exchange and without fees
2 Likes

Thanks for your patience . I’m looking forward for the next release.

1 Like

Hi,
I’m also waiting for the changes in degiro import format.
I’m attaching my transactions, just to give more testing data.import_degiro.txt (305.2 KB)

@zet
I guess we need your translation support from Polish into English, otherwise we need to roll the dices when allocate the columns. :wink:

Furthermore a screen dump is at least helpful as the columns are mostly not named. Or I’m not able to recognise them.

1 Like

Hallo @zet @brandtbombe @MandelKr

  • Add polski language support
  • Add new polski amount format
  • Add new detection format
  • Add new transaction format
1 Like

Hi everyone, new user here.
For what I’ve read and watched about PP, it seems like it would be the right tool for me. I have been investing for a few years and now that I would like to track my investments with PP, I have a long history of dividends paid to my Degiro accounts (first one created is in finnish and my current one is in english). I tried to import the account.pdf but like many, got errors.

For what Ive reaad so far in this thread, I am assuming that english language inputs are not yet supported. Would it be possible to add them and what would you need me to provide if so?

Thanks a lot for the support!

Hello @salamartur

Video tutorial:
Extract PDF documents for debugging

Hi,
I am not so sure with the English language. I am more concerned about the dividends.
I implemented all my Degiro dividends last year in Portfolio-Performance manually, as it seemed very difficult for the importer to understand what belongs to the dividend payment.
At least in my German degiro account pdf, I have to sometimes guess what belongs to which dividend payment. I especially see the currency changes as the problem.
Not sure if the team has developed this further, but maybe it is good to give @Nirus the debugging and then let’s see.

1 Like
PDF author: ''
PDFBox Version: 1.8.16
-----------------------------------------
Account statement from 27-02-2021 to 29-03-2021
Date Time Value date Product ISIN Description FX Change Balance
23-03-2021 08:17 22-03-2021 FX Debit EUR 9.12 EUR -2,681.14
23-03-2021 08:17 22-03-2021 FX Debit 1.4958 CAD -13.65 CAD 0.00
22-03-2021 07:39 19-03-2021 MANULIFE FINANCIAL COR CA56501R1064 Dividend CAD 18.20 CAD 13.65
22-03-2021 07:39 19-03-2021 MANULIFE FINANCIAL COR CA56501R1064 Dividend Tax CAD -4.55 CAD -4.55
16-03-2021 20:35 16-03-2021 TESLA MOTORS INC. - C US88160R1014 FX Credit 1.1897 USD 1,365.14 USD -0.00
16-03-2021 20:35 16-03-2021 TESLA MOTORS INC. - C US88160R1014 FX Debit EUR -1,147.45 EUR -2,690.26
16-03-2021 20:35 16-03-2021 TESLA MOTORS INC. - C US88160R1014 DEGIRO Transaction Fee EUR -0.01 EUR -1,542.81
16-03-2021 20:35 16-03-2021 TESLA MOTORS INC. - C US88160R1014 DEGIRO Transaction Fee EUR -0.50 EUR -1,542.80
16-03-2021 20:35 16-03-2021 TESLA MOTORS INC. - C US88160R1014 Buy 2 TESLA MOTORS INC. - C@682.568 USD USD -1,365.14 USD -1,365.14
(US88160R1014)
16-03-2021 09:24 15-03-2021 FX Debit EUR 31.66 EUR -1,542.30
16-03-2021 09:24 15-03-2021 FX Debit 1.1942 USD -37.82 USD -0.00
16-03-2021 03:39 15-03-2021 TYSON FOODS INC. COMM US9024941034 Dividend USD 44.50 USD 37.82
16-03-2021 03:39 15-03-2021 TYSON FOODS INC. COMM US9024941034 Dividend Tax USD -6.68 USD -6.68
12-03-2021 09:33 11-03-2021 FX Debit EUR 32.59 EUR -1,573.96
12-03-2021 09:33 11-03-2021 FX Debit 1.1997 USD -39.10 USD -0.00
12-03-2021 08:05 11-03-2021 PRUDENTIAL FINANCIAL US7443201022 Dividend USD 46.00 USD 39.10
12-03-2021 08:05 11-03-2021 PRUDENTIAL FINANCIAL US7443201022 Dividend Tax USD -6.90 USD -6.90
03-03-2021 08:41 02-03-2021 FX Debit EUR 38.09 EUR -1,606.55
DEGIRO B.V. DEGIRO B.V. is registered as an
Amstelplein 1 E clients@degiro.ie investment company with the
1096 HA Amsterdam I www.degiro.ie Netherlands Financial Markets Page 1 / 2
Authority (AFM). Account statement 2021-03-29
Mr Arturo Salazar Martinez
Niiittaajankatu 12 A 5
00810 Helsinki
Finland
User name: ***********989
(161040666)
Date Time Value date Product ISIN Description FX Change Balance
03-03-2021 08:41 02-03-2021 FX Debit 1.5292 CAD -58.25 CAD 0.00
02-03-2021 14:53 01-03-2021 ENBRIDGE INC COMMON ST CA29250N1050 Dividend CAD 77.66 CAD 58.25
02-03-2021 14:53 01-03-2021 ENBRIDGE INC COMMON ST CA29250N1050 Dividend Tax CAD -19.41 CAD -19.41
01-03-2021 18:47 28-02-2021 Interest EUR -0.88 EUR -1,644.64
DEGIRO B.V. DEGIRO B.V. is registered as an
Amstelplein 1 E clients@degiro.ie investment company with the
1096 HA Amsterdam I www.degiro.ie Netherlands Financial Markets Page 2 / 2
Authority (AFM). Account statement 2021-03-29

Hope this helps.

Thanks again!

Hello @salamartur,
I have looked at your PDF debug and found maybe the error.
I would like to fix this but I can’t do anything with these postings.

What is

23-03-2021 08:17 22-03-2021 FX Debit EUR 9.12 EUR -2,681.14
23-03-2021 08:17 22-03-2021 FX Debit 1.4958 CAD -13.65 CAD 0.00

Are these deposits / withdrawals? And what is posted here?
And what are these amounts?

1st:
9.12 -->?
-2,681.14 → ??

2nd:
1.4958 → Maybe ExchangeRate?
-13.65 → ?
0.00 → ?

And what ist your BaseCurrency?

The other thing is that there are three currencies in the PDF debug. When you create a settlement account, you set one currency, which is the base currency.
In the PDF debug of yours, you have three base currencies in it.
Once CAD, EUR and USD. Of course, these cannot all be imported on the same clearing account, because they differ from the defined base currency.

Please try to add one clearing account per basic currency. Once in USD, CAD and once EUR.
I think this should work if you import the PDF’s per clearing account.

Hi Guys,

(as a dutchman I can read german, but writing certainly isn’t a quality of mine)

My PP version:

PP (Version: 0.54.3 (Aug 2021)
Platform: linux, x86_64
Java: 15.0.3+3-Ubuntu-1, Private Build

I just imported a PDF from my dutch “DeGiro” account by going to my overview → transactions → export as PDF. This works fine but that PDF does not mention any dividends.

When I go to the “Rekeningoverzicht” (I guess account overview is a correct translation) tab and export it , PP says it can’t import the document:

Unkown or unsupported transaction type in <bla.pdf> .

This is logical sinds these aren’t transactions. But this way I still miss quite some stuff:

  • Dividends/taxes on these
  • Deposits on my deposit account (since no deposits are imported, it currently is a negative amount)
  • Also PP won’t draw a holding chart because there’s a negative amount in my holding : "The holdings chart is not correct because there are positions that have a negative valuation " . I think this is related to point 2 .

How should I fix this, or am I doing something wrong? I would be great to also have my dividends and deposits in PP too (on a different computer I maintained this for a while, but PDF import is much much much more convenient).

Thanks guys!

Hallo @hansdevries

Video tutorial:
Extract PDF documents for debugging

Hi,
I believe your are talking about the account.pdf. In the German Forum there has been a lot of discussion about that one aswell.
The main solution is always to give the extract, as Nirus mentioned, however believe the problem is like this:

  • The issue are here mainly the dividends. And that is rather simple, because when you look at the pdf yourself, you cannot identify which tax deduction belongs to which line, as it does not connect logically with the stock. You can guess and analyse with the amount deducted, but that is not enough for this importer. Especially because Degiro does not have to have a consistent logic. Sometimes the taxes are deducted before the purchase of a stock (at least on the statement). I heard that you can export there nowadays also dividend statements, maybe that solution helps.
  • well here you have to give some deposits then. Howelse did money get into your account?

I understand the issue is how to get dividends into PP.

I use PP for share performance and a cashbook to help with my tax return. My dividends go into a bank account which I export and import into a cashbook. My broker account in PP is exported, reformatted, and imported into a cashbook.

  1. Import bank transactions into cashbook then export a file from the cashbook and load it into PP as demonstrated by Get Dividend CSV File.
  2. PP Export CSV, Security Account then reformat transactions and import into the cashbook.

Okay I’ll post the debug log. Problem is that there’s quite a lot of sensitive information in there… which I need to purge from the log.

The account.pdf file contains 15 pages and I’ve posted a debug log of just the first page. Please note that I’ve redacted my personal info, and changed all financial amounts to ‘123’

PDF author: ''
PDFBox Version: 1.8.16
-----------------------------------------
Dhr. <My first names>
<My last name>
<My address 1>
<My address 2>
Gebruikersnaam: *******<username>
(<account nr>)
Rekeningoverzicht van 01-01-2010 t/m 25-08-2021
Datum Tijd Valutadatum Product ISIN Omschrijving FX Mutatie Saldo
25-08-2021 09:55 25-08-2021 Reservation iDEAL / Sofort Deposit EUR 123,00 EUR 123,29
25-08-2021 08:42 24-08-2021 iDEAL Deposit EUR 123,00 EUR 123,29
25-08-2021 08:42 24-08-2021 Reservation iDEAL / Sofort Deposit EUR -123,00 EUR 123,29
25-08-2021 08:41 24-08-2021 iDEAL Deposit EUR 1.123,00 EUR 123,29
25-08-2021 08:41 24-08-2021 Reservation iDEAL / Sofort Deposit EUR -1.123,00 EUR -123,71
24-08-2021 13:43 24-08-2021 Reservation iDEAL / Sofort Deposit EUR 123,00 EUR 123,29
24-08-2021 09:57 24-08-2021 VANGUARD FTSE AW IE00B3RBWM25 Koop 123 @ 123,96 EUR EUR -123,76 EUR 123,29
24-08-2021 01:26 24-08-2021 Reservation iDEAL / Sofort Deposit EUR 123,00 EUR 123,05
28-07-2021 11:16 27-07-2021 Overboeking van uw geldrekening bij flatexDEGIRO Bank EUR 123,05
123,08 EUR
28-07-2021 11:16 27-07-2021 FLATEX EURO BANKACCOUNT NLFLATEXACNT Degiro Cash Sweep Transfer EUR 123,08 EUR 123,13
27-07-2021 12:46 26-07-2021 Overboeking van uw geldrekening bij flatexDEGIRO Bank EUR 123,05
98,87 EUR
27-07-2021 12:46 26-07-2021 FLATEX EURO BANKACCOUNT NLFLATEXACNT Degiro Cash Sweep Transfer EUR 123,87 EUR 123,92
27-07-2021 09:29 27-07-2021 VANGUARD FTSE AW IE00B3RBWM25 Koop 123 @ 123,52 EUR EUR -123,08 EUR 123,05
27-07-2021 08:43 26-07-2021 iDEAL Deposit EUR 123,00 EUR 123,13
27-07-2021 08:43 26-07-2021 Reservation iDEAL / Sofort Deposit EUR -123,00 EUR 123,13
26-07-2021 12:41 26-07-2021 Reservation iDEAL / Sofort Deposit EUR 123,00 EUR 123,13
26-07-2021 12:16 23-07-2021 Overboeking van uw geldrekening bij flatexDEGIRO Bank EUR 123,13
123,23 EUR
flatex DEGIRO Bank flatex DEGIRO Bank Dutch Branch,
Dutch Branch E klanten@degiro.nl handelend onder de naam DEGIRO, is
Amstelplein 1 I www.degiro.nl de Nederlandse vestiging van Pagina 1 / 15
1096 HA Amsterdam flatexDEGIRO Bank AG. flatexDEGIRO Rekeningoverzicht 2021-08-25
Bank AG staat primair

If I need to provide more information regarding this matter, please let me know!

Yes, that’s correct. I’m talking about the account.pdf.

The incoming dividends are indeed mentioned in there, like this:

01-07-2021 12:23 30-06-2021 VANGUARD FTSE AW IE00B3RBWM25 Dividend USD 123,97 USD 456,37

The taxes on dividends aren’t included in it… but that’s okay. In DeGiro’s yearly overview, there’s indeed a statement about that. The yearly overview is being published once a year of course.

Regarding the deposits: if the account.pdf can be parsed properly the deposits should be processed too. Thank you for the information!

That’s a good way to the dividend calculation, but DeGiro already publishes a yearly overview.
More important is the rest of the information in account.pdf, ie. deposits.

I hope the developers can fix the parser :).

Hallo @hansdevries
I need some help from you please.
Firstly, for checking the correct amounts, please do not change them. By anonymizing your personal data, I think enough privacy is guaranteed. Please rework your post above and also post the whole PDF debug, because there could still be hidden postings which the importer could detect.

Secondly, I do not speak Dutch and need the following translations or the booking types:
(delivery inbound, delivery outbound, dividends, deposit, removal, interest, interest charge, tax, tax refund, fee and fee refund).

Reservation iDEAL / Immediate Deposit → is?
iDEAL Deposit → is?
Overboeking van uw geldrekening bij → is?
FLATEX EURO BANKACCOUNT NLFLATEXACNT Degiro Cash Sweep Transfer → is?
and other unknown bookings…

greetings
Alex

Sure, glad to be able to help.

PDF author: ''
PDFBox Version: 1.8.16
-----------------------------------------
Dhr. <firstname1 firstname2>
<firstname3 secondname>
<address >
<zipcode, City >
Gebruikersnaam: *******xxx
(1172470)
Rekeningoverzicht van 03-08-2021 t/m 02-09-2021
Datum Tijd Valutadatum Product ISIN Omschrijving FX Mutatie Saldo
02-09-2021 21:29 31-08-2021 DEGIRO Aansluitingskosten 2021 (Borsa Italiana S.p.A. - EUR -2,50 EUR 12,91
MIL)
27-08-2021 10:16 26-08-2021 Overboeking van uw geldrekening bij flatexDEGIRO Bank EUR 15,41
4,59 EUR
27-08-2021 10:16 26-08-2021 FLATEX EURO BANKACCOUNT NLFLATEXACNT Degiro Cash Sweep Transfer EUR 4,59 EUR 20,00
26-08-2021 12:16 25-08-2021 Overboeking van uw geldrekening bij flatexDEGIRO Bank EUR 15,41
1.210 EUR
26-08-2021 12:16 25-08-2021 FLATEX EURO BANKACCOUNT NLFLATEXACNT Degiro Cash Sweep Transfer EUR 1.210,00 EUR 1.225,41
26-08-2021 08:41 25-08-2021 iDEAL Deposit EUR 20,00 EUR 15,41
26-08-2021 08:41 25-08-2021 Reservation iDEAL / Sofort Deposit EUR -20,00 EUR -4,59
25-08-2021 12:03 24-08-2021 Overboeking van uw geldrekening bij flatexDEGIRO Bank EUR 15,41
4,05 EUR
25-08-2021 12:03 24-08-2021 FLATEX EURO BANKACCOUNT NLFLATEXACNT Degiro Cash Sweep Transfer EUR 4,05 EUR 19,46
25-08-2021 11:55 25-08-2021 RIZE CYBERSECUR AND DA IE00BJXRZJ40 Koop 95 @ 6,325 EUR EUR -600,88 EUR 15,41
25-08-2021 09:55 25-08-2021 Reservation iDEAL / Sofort Deposit EUR 20,00 EUR 616,29
25-08-2021 08:42 24-08-2021 iDEAL Deposit EUR 10,00 EUR 596,29
25-08-2021 08:42 24-08-2021 Reservation iDEAL / Sofort Deposit EUR -10,00 EUR 586,29
25-08-2021 08:41 24-08-2021 iDEAL Deposit EUR 1.200,00 EUR 596,29
25-08-2021 08:41 24-08-2021 Reservation iDEAL / Sofort Deposit EUR -1.200,00 EUR -603,71
24-08-2021 13:43 24-08-2021 Reservation iDEAL / Sofort Deposit EUR 10,00 EUR 596,29
24-08-2021 09:57 24-08-2021 VANGUARD FTSE AW IE00B3RBWM25 Koop 6 @ 102,96 EUR EUR -617,76 EUR 586,29
flatex DEGIRO Bank flatex DEGIRO Bank Dutch Branch,
Dutch Branch E klanten@degiro.nl handelend onder de naam DEGIRO, is
Amstelplein 1 I www.degiro.nl de Nederlandse vestiging van Pagina 1 / 2
1096 HA Amsterdam flatexDEGIRO Bank AG. flatexDEGIRO Rekeningoverzicht 2021-09-02
Bank AG staat primair
Dhr. <firstname1 firstname2>
<firstname3 secondname>
<address >
<zipcode, City >
Gebruikersnaam: *******xxx
(1172470)
Datum Tijd Valutadatum Product ISIN Omschrijving FX Mutatie Saldo
24-08-2021 01:26 24-08-2021 Reservation iDEAL / Sofort Deposit EUR 1.200,00 EUR 1.204,05
flatex DEGIRO Bank flatex DEGIRO Bank Dutch Branch,
Dutch Branch E klanten@degiro.nl handelend onder de naam DEGIRO, is
Amstelplein 1 I www.degiro.nl de Nederlandse vestiging van Pagina 2 / 2
1096 HA Amsterdam flatexDEGIRO Bank AG. flatexDEGIRO Rekeningoverzicht 2021-09-02
Bank AG staat primair

iDEAL is a dutch payment method (actually by far the largest method in .nl: iDEAL - Wikipedia) . By using iDEAL my money is being sent from my regular bank to deGiro, and usually it’s being processed in about 15 minutes. Free of charge for customers, and you always have to authenticate at your own bank (instead of a webshop for instance).Really good system.

So yes I do my deposits using iDEAL. Let’s have a look at the above log:

02-09-2021 21:29 31-08-2021 DEGIRO Aansluitingskosten 2021 (Borsa Italiana S.p.A. - EUR -2,50 EUR 12,91 MIL)
Connection costs for milanese stock market.

deGiro actually creates quite some lines for a ‘simple’ 1200 euro deposit:

john@john-desktop:~/Desktop$ grep "1\.200" Account\(2\).pdf.txt 
25-08-2021 08:41 24-08-2021 iDEAL Deposit EUR 1.200,00 EUR 596,29
25-08-2021 08:41 24-08-2021 Reservation iDEAL / Sofort Deposit EUR -1.200,00 EUR -603,71
24-08-2021 01:26 24-08-2021 Reservation iDEAL / Sofort Deposit EUR 1.200,00 EUR 1.204,05

(it really is just a single deposit…) So the ‘deposit’ and ‘reservation’ come together I guess…
(i made a 10 euro, and a 20 euro deposit too)

Regarding the cash sweep transfers: I just looked it up. I’m a tech-person, not a finance-person so please correct me if I’m wrong. Cash sweeps are deGiro using my ‘unused’/superfluous money in my account for their investments.Every month they reimburse the money (or even earlier in case of running low on money) including some of the profits they made by investing it.

if you need more help having certain lines translated, please tell me :slight_smile: