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

Directa-SIM importer fails for if PDF contains a transaction not in EUR #4445

Closed
simgunz opened this issue Jan 2, 2025 · 0 comments
Closed
Labels

Comments

@simgunz
Copy link

simgunz commented Jan 2, 2025

Describe the bug
In this case the PDF has an additional column 'USD' (numbers with 4 decimals) before the 'Euro' column (numbers with 2 decimals, and a trailing * after the last decimal without any space before). The trailing * is not present in the Euro value in the row 'Totale a Vs. Debito'.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Import > Bank PDF document
  2. Select a PDF with a transaction in USD instead of EUR
  3. Error appears (see screenshot below).

Expected behavior
Import works as expected.

Screenshots
Error:
Screenshot_20250102_110640

Desktop (please complete the following information):

  • OS: Linux
  • Version: 0.73.0

Note

PDFBox Version: 1.8.17
Portfolio Performance Version: 0.73.0
System: linux | x86_64 | 23 | Arch Linux
-----------------------------------------
Signor
NySCUtY IyWjXm
WTmNCh QIjIafB f BBszIwhEpy 7
51961 kQjxQ btJ OukDTd'
Goszrd
PErSD O2036
Nota Informativa per l'ordine c6954896449059
Vi Confermiamo il Vs. ordine sopra riportato del 23.09.2023 Data scadenza 23.10.2023
per l'acquisto di: 9  CROCS INC ISIN US2270461096
sottostante  cod.  mult. 1
eseguito per: 9
tramite l'intermediario ViewTrade
Tipo di Operazione: Acquisto Mercato di esecuzione: Borsa - NASDAQ
                                              Quantita'                USD              Euro     Prezzo         Valuta
24.09.2023 19:02:34 Richiesta Immissione              9           780,3000           732,88*      86,70
25.09.2023 14:30:10 Inoltro
25.09.2023 14:30:15 In negoziazione
25.09.2023 15:30:14 Eseguito   (09:30:14)             9           769,7700           722,99*      85,53     27.09.2023
                    Controvalore:                                 769,7700           722,99*      85,53
                    Commissioni:                                    9,0000             8,45*
                    Totale a Vs. Debito    :                      778,7700           731,44
Gli effetti fiscali saranno disponibili a data valuta nel menu Info -  2b.Capital Gain
=C/$=  1,06470
* - cambio provvisorio
Torino, 25.09.2023
       DIRECTA SIM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging a pull request may close this issue.

2 participants