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

Comdirect PDF Importer: use of manually changed test documents; use of tax documents #3313

Closed
buchen opened this issue Apr 29, 2023 · 1 comment
Assignees

Comments

@buchen
Copy link
Member

buchen commented Apr 29, 2023

Keep track of changes needed for the Comdirect Importer:

@Nirus2000 commented in #3305

  1. the problem is here also that in the ComDirect still some "manipulated" PDF debugs are and the tests say "Ok", but are not actually.

  2. also tax documents were misused for dividend transactions or sales.

  3. also withholding taxes appear in the regular dividend transactions, but no longer in the tax treatment.

@buchen
Copy link
Member Author

buchen commented Apr 29, 2023

About 2) "manipulated" PDF text documents

If I get it right, there are text documents that have been manually changed and that do not reflect the way the PDF->Text converter would create the text, right? Do you know which the text documents? What is your plan?

My first reaction is: let's delete the wrong text documents and the tests that go with it (but not the code in the extractor). Then, over time, add correct documents -> and adopt the code accordingly. The problem with keeping around the old documents is that the tests lock-in the wrong code.

About 3) "tax documents were misused for dividend transactions or sales"

I am not sure I understand what the problem is.

About 4) "withholding taxes no longer in tax treatment"

That does sound not like a bug per se, but that the bank is now reporting withholding taxes in the proper document. I guess the challenge is how to keep it backward compatible. Ideally, a new user can import the last X years of documents to create the correct history of his holdings. Or am I missing something here?

@Nirus2000 Nirus2000 self-assigned this Aug 5, 2023
Nirus2000 added a commit to Nirus2000/portfolio that referenced this issue Sep 14, 2023
Closes portfolio-performance#3553
Closes portfolio-performance#3313
Closes portfolio-performance#1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.
Nirus2000 added a commit to Nirus2000/portfolio that referenced this issue Sep 14, 2023
Closes portfolio-performance#3553
Closes portfolio-performance#3313
Closes portfolio-performance#1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.
Nirus2000 added a commit to Nirus2000/portfolio that referenced this issue Sep 24, 2023
Closes portfolio-performance#3553
Closes portfolio-performance#3313
Closes portfolio-performance#1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.
Nirus2000 added a commit to Nirus2000/portfolio that referenced this issue Sep 24, 2023
Closes portfolio-performance#3553
Closes portfolio-performance#3313
Closes portfolio-performance#1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.
Nirus2000 added a commit to Nirus2000/portfolio that referenced this issue Sep 24, 2023
Closes portfolio-performance#3553
Closes portfolio-performance#3313
Closes portfolio-performance#1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.
Nirus2000 added a commit to Nirus2000/portfolio that referenced this issue Sep 24, 2023
Closes portfolio-performance#3553
Closes portfolio-performance#3313
Closes portfolio-performance#1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.
Nirus2000 added a commit to Nirus2000/portfolio that referenced this issue Sep 27, 2023
Closes portfolio-performance#3553
Closes portfolio-performance#3313
Closes portfolio-performance#1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.
Nirus2000 added a commit to Nirus2000/portfolio that referenced this issue Sep 30, 2023
Closes portfolio-performance#3553
Closes portfolio-performance#3313
Closes portfolio-performance#1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.
buchen pushed a commit that referenced this issue Oct 2, 2023
Closes #3553
Closes #3313
Closes #1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.
Nirus2000 added a commit to Nirus2000/portfolio that referenced this issue Oct 3, 2023
Closes portfolio-performance#3553
Closes portfolio-performance#3313
Closes portfolio-performance#1131

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/229

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/236

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/242

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/254

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/270

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/276

https://forum.portfolio-performance.info/t/pdf-import-von-comdirect/1647/283

ComDirect provides two documents for the transaction.
The security transaction and the taxes treatment.
Both documents are provided as one PDF or as two PDFs.

The security transaction includes the fees, but not the correct taxes
and the taxes treatment includes all taxes (including withholding tax),
but not all fees.

Therefore, we use the documents based on their function and merge both documents,
if possible, as one transaction.

Always import the securities transaction and the taxes treatment for a correct transaction.
Due to rounding differences, the correct gross amount is not always shown in the securities transaction.

Co-Authored-By: buchen <andreas.buchen@gmail.com>
@buchen buchen closed this as completed in 6700f4a Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants