{"id":20659047,"url":"https://github.com/berrnd/deutsche-bahn-online-ticket-parser","last_synced_at":"2025-06-17T12:34:52.428Z","repository":{"id":71289122,"uuid":"132258447","full_name":"berrnd/deutsche-bahn-online-ticket-parser","owner":"berrnd","description":"A little PowerShell script to parse Deutsche Bahn Online-Ticket PDFs","archived":false,"fork":false,"pushed_at":"2018-05-06T11:45:10.000Z","size":1388,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-29T06:03:58.345Z","etag":null,"topics":["bahn","powershell"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/berrnd.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-05T15:07:32.000Z","updated_at":"2022-07-09T18:31:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"a19ef17e-d3f7-4c07-92dd-41cc474e3564","html_url":"https://github.com/berrnd/deutsche-bahn-online-ticket-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/berrnd/deutsche-bahn-online-ticket-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berrnd%2Fdeutsche-bahn-online-ticket-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berrnd%2Fdeutsche-bahn-online-ticket-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berrnd%2Fdeutsche-bahn-online-ticket-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berrnd%2Fdeutsche-bahn-online-ticket-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berrnd","download_url":"https://codeload.github.com/berrnd/deutsche-bahn-online-ticket-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berrnd%2Fdeutsche-bahn-online-ticket-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260358549,"owners_count":22997063,"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":["bahn","powershell"],"created_at":"2024-11-16T18:29:47.114Z","updated_at":"2025-06-17T12:34:47.408Z","avatar_url":"https://github.com/berrnd.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deutsche-bahn-online-ticket-parser\nA little PowerShell script to parse Deutsche Bahn Online-Ticket PDFs\n\n## Why?\nI needed this, because I had a whole lot of tickets in PDF form and I wanted to have\na list with the information for my Einkommensteuererklärung - unfortunately, Deutsche Bahn\ndoes not provide any API or something for this - we call this Digitalisierung.\n\nThis script reads Deutsche Bahn Online-Ticket PDFs from a folder,\nextracts various information and writes to them to the specified CSV file\n(see the script for paths and so on).\n\n## Example output\n```\nAuftrag: SXXXXQ\nPreis: 8,80\nHinfahrt: Bobingen -\u003e Egling\nRueckfahrt: Egling -\u003e Bobingen\nDatum: 11.10.2017\nTicket-Typ: Flexpreis (Hin- und Rückfahrt)\nReisende: 1 mit 1 BC50\n\n\nAuftrag: NXXXXD\nPreis: 4,40\nHinfahrt: Bobingen -\u003e Egling\nDatum: 12.10.2017\nTicket-Typ: Flexpreis (Einfache Fahrt)\nReisende: 1 mit 1 BC50\n```\n\n## Example CSV file\n```\n11.10.2017\tBahn Fahrkarte (Typ: Flexpreis Hin- und Rückfahrt, Reisende: 1 mit 1 BC50, Strecke: Bobingen -\u003e Egling und Egling -\u003e Bobingen, Auftragsnummer: SXXXXQ)\t8,80\n12.10.2017\tBahn Fahrkarte (Typ: Flexpreis Einfache Fahrt, Reisende: 1 mit 1 BC50, Strecke: Bobingen -\u003e Egling, Auftragsnummer: NXXXXD)\t4,40\n```\n\n## Credits\n- PDF parsing: iTextSharp (https://github.com/itext/itextsharp)\n\n## License\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberrnd%2Fdeutsche-bahn-online-ticket-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberrnd%2Fdeutsche-bahn-online-ticket-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberrnd%2Fdeutsche-bahn-online-ticket-parser/lists"}