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

TradegateAGPDFExtractor.java fails to recognize "Abgeführte Kirchensteuer" #4338

Closed
PeterSlickers opened this issue Nov 8, 2024 · 1 comment · Fixed by #4340
Closed
Labels

Comments

@PeterSlickers
Copy link

Describe the bug
PDF import of "Verkaufsabrechnung" issued by Tradegate AG results in a distorted booking. The position "Kirchensteuer" is not recognized. Instead, the stock price is deminished arbitrarily.

To Reproduce
The PDF document from Tradegate AG was normalized to pure text, the respective line in this text is

Abgeführte Kirchensteuer -0,63 EUR

Presumable root cause
The regular expression utilized to recognize "Abgeführte Kirchensteuer" comprises a typo:

.match("^Abgef.hrter Kirchensteuer \\-(?<tax>[\\.,\\d]+) (?<currency>[\\w]{3})$") //
-------------------^

@Nirus2000
Copy link
Member

Hello @PeterSlickers
For all changes we need a PDF-Debug.
Please watch the tutorial video carefully and post a “complete” PDF debug.

  • Otherwise, please do not change or delete any other data.
  • The personal data must be replaced 1 to 1.
  • Other changes, such as replacing the date or similar, are also counterproductive.
  • **!! ONLY YOUR OWN PERSONAL DATA !!!
  • No PDFs which are converted to PDF from a browser or similar
  • No self-scanned paper slips

z. B.

  • Name → Max Mustermann and so on...
  • Address → Blumenstraße
  • IBAN and deposit numbers: The numbers 1 to 1.*

No more and no less... One post per PDF debug please.
End.

Video tutorial:
Extract PDF documents for debugging

Regards
Alex

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