PDF import from DeGiro

Hello @Jorge_Bachiller
please post the PDF debug here, then we can have a look and adjust the importer if necessary.

Video tutorial:
Extract PDF documents for debugging

In my case, with the lastest update is at least processing the PDF from degiro.

This is the error I’m having:

Transacciones de 16-01-2021 a 08-02-2021
Fecha Hora Producto ISIN Bolsa Centro dede ejecución Número Precio Valor local Valor
Tipo de Costes de
cambio transacción Total
05-02-2021 17:10 MERCK & COMPANY INC. US58933Y1055 NSY XNYS 22 75,75 USD -1.666,50 USD -1.385,52 EUR 1,2016 -0,57 EUR -1.386,09 EUR
05-02-2021 16:43 PROCTER & GAMBLE COMPA US7427181091 NSY XNYS 15 129,30 USD -1.939,50 USD -1.613,56 EUR 1,2008 -0,55 EUR -1.614,11 EUR
05-02-2021 09:30 NOVARTIS AG CH0012005267 SWX JSSI 30 82,15 CHF -2.464,50 CHF -2.279,62 EUR 1,08 -5,14 EUR -2.284,76 EUR
04-02-2021 20:42 BHP BILLITON PLC SPONS US05545E2090 NSY CDED 22 55,79 USD -1.227,38 USD -1.025,98 EUR 1,1951 -0,57 EUR -1.026,55 EUR
04-02-2021 18:40 ZILLOW GROUP INC. - C US98954M1018 NDQ CDED 3 155,73 USD -467,19 USD -390,50 EUR 1,1952 -0,51 EUR -391,01 EUR
04-02-2021 18:06 MCDONALDS CORPORATION US5801351017 NSY XNAS 5 211,75 USD -1.058,75 USD -884,50 EUR 1,1958 -0,52 EUR -885,02 EUR
04-02-2021 16:39 ETFS BRENT CRUDE JE00B78CGV99 MIL MTAA -386 19,692 EUR 7.601,11 EUR 7.601,11 EUR -4,28 EUR 7.596,83 EUR
27-01-2021 20:55 APPLE INC. - COMMON ST US0378331005 NDQ XNAS 9 141,70 USD -1.275,30 USD -1.053,79 EUR 1,209 -0,53 EUR -1.054,32 EUR
27-01-2021 20:54 NIKOLA CORP US6541101050 NDQ XNAS -48 28,00 USD 1.344,00 USD 1.108,34 EUR 1,2114 -0,66 EUR 1.107,68 EUR
DEGIRO B.V. DEGIRO B.V. es una empresa de
Amstelplein 1 E clientes@degiro.es servicios de inversión regulada por la
1096 HA Amsterdam I www.degiro.es Autoridad Financiera de los Mercados Página 1 / 1
Holandeses. Estado de cuenta 2021-02-08

If I remove the ETF BRENT… from the PDF transactions, works perfectly, dont know if has nothing to do with the currency, could be the system expecting a currency exchange even if the transaction was is in EUR?.

thanks!

Of course yes

Autor PDF: ''
PDFBox Version: 1.8.16
-----------------------------------------
Transacciones de 03-02-2021 a 03-02-2021
Fecha Hora Producto ISIN Bolsa Centro dede ejecución Número Precio Valor local Valor
Tipo de Costes de
cambio transacción Total
03-02-2021 21:57 LUMINAR TECHNOLOGIES US5504241051 NDQ SOHO 19 32,169 USD -611,21 USD -507,95 EUR 1,2021 -0,56 EUR -508,51 EUR
INC. - CLASS A COMMON
STOCK
03-02-2021 21:55 PALANTIR TECHNOLOGIES US69608A1088 NSY CDED 20 31,67 USD -633,40 USD -526,30 EUR 1,2023 -0,57 EUR -526,87 EUR
INC-A
03-02-2021 21:28 WORKHORSE GROUP INC. US98138J2069 NDQ CDED -14 35,87 USD 502,18 USD 416,71 EUR 1,2039 -0,05 EUR 416,66 EUR
03-02-2021 21:28 WORKHORSE GROUP INC. US98138J2069 NDQ CDED -2 35,88 USD 71,76 USD 59,55 EUR 1,2039 -0,01 EUR 59,54 EUR
03-02-2021 21:28 WORKHORSE GROUP INC. US98138J2069 NDQ CDED -1 35,88 USD 35,88 USD 29,77 EUR 1,2039 -0,50 EUR 29,27 EUR
03-02-2021 21:18 UPWORK INC. CMN US91688F1049 NDQ SOHO -20 47,00 USD 940,00 USD 780,08 EUR 1,2038 -0,07 EUR 780,01 EUR
03-02-2021 21:18 UPWORK INC. CMN US91688F1049 NDQ SOHO -1 47,00 USD 47,00 USD 39,00 EUR 1,2038 39,00 EUR
03-02-2021 21:18 UPWORK INC. CMN US91688F1049 NDQ SOHO -4 47,00 USD 188,00 USD 156,02 EUR 1,2038 -0,51 EUR 155,51 EUR
03-02-2021 19:31 SEA LTD-ADR US81141R1005 NSY CDED -3 244,00 USD 732,00 USD 607,57 EUR 1,2036 -0,51 EUR 607,06 EUR
DEGIRO B.V. DEGIRO B.V. es una empresa de
Amstelplein 1 E clientes@degiro.es servicios de inversión regulada por la
1096 HA Amsterdam I www.degiro.es Autoridad Financiera de los Mercados Página 1 / 1
Holandeses. Estado de cuenta 2021-02-07

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
1 Like

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

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.
1 Like

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!