{"id":18878934,"url":"https://github.com/marcbuch/tr-pdf-parser","last_synced_at":"2025-09-04T06:31:05.718Z","repository":{"id":198685496,"uuid":"282502260","full_name":"MarcBuch/TR-PDF-Parser","owner":"MarcBuch","description":"Parses invoice PDF files from the german brokerage Trade Republic","archived":false,"fork":false,"pushed_at":"2023-02-08T03:48:28.000Z","size":35,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-08T06:39:54.304Z","etag":null,"topics":["automation","pdf-document-processor","python","python3","trade-republic","traderepublic-statements"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarcBuch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-07-25T18:28:44.000Z","updated_at":"2024-01-03T15:01:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"18482189-bee8-4d9b-972a-cec200fc7e46","html_url":"https://github.com/MarcBuch/TR-PDF-Parser","commit_stats":null,"previous_names":["marcbuch/tr-pdf-parser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcBuch%2FTR-PDF-Parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcBuch%2FTR-PDF-Parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcBuch%2FTR-PDF-Parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcBuch%2FTR-PDF-Parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcBuch","download_url":"https://codeload.github.com/MarcBuch/TR-PDF-Parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231936576,"owners_count":18448609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","pdf-document-processor","python","python3","trade-republic","traderepublic-statements"],"created_at":"2024-11-08T06:31:16.542Z","updated_at":"2024-12-31T02:42:50.001Z","avatar_url":"https://github.com/MarcBuch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TR-PDF-Parser\n\nParses PDF invoices from the brokerage Trade Republic (for PDF documents in German).\n\n## The problem\n\nTo keep track of my investing activities, I had to manually extract properties of my trades. After a while, I made some mistakes and archived the files with a wrong naming convention. That's when I decided to write a script. Furthermore, the popular Software Portfolio Performance can't parse trade documents (PDFs) provided by Trade Republic automatically. As a workaround a .csv import can be done, however.\n\n## What does it?\n\nThis python script checks a specified folder for trade documents (e.g., invoices or dividend payments), parses them, renames and moves them to a specified folder and saves a .csv table of all parsed files for easy import into Portfolio Performance.\nWhile the script is parsing the invoices, it prints all properties from that invoice to the terminal as well, such as underlying security, amount of shares, market price, etc., in case a manual import is desired.\n\n\n## Requirements\n- Python 3.7 or larger\n- pipenv\n\n## Installation\n\nClone this repository\n\n```bash\ngit clone git@github.com:MarcBuch/TR-PDF-Parser.git\n```\n\nInstall required python modules\n```Bash\npip3 install pdfminer.six # not to be confused with pdfminer\n```\n\nEdit the source and destination folder inside main.py\n\n```Python\nsourceFolder = '/downloads/'\ndestinationFolder = '/Wertpapierabrechnungen/'\n```\n\nInstall the dependencies\n\n```Bash\npipenv install\n```\n\nStart the script...\n\n```Bash\n./start.sh\n```\n\n... or run in python directly\n```Python\npython3 main.py\n```\n\nThere are no screenshots due to privacy concerns.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcbuch%2Ftr-pdf-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcbuch%2Ftr-pdf-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcbuch%2Ftr-pdf-parser/lists"}