| Crates.io | TR_PDF_rename |
| lib.rs | TR_PDF_rename |
| version | 0.2.13 |
| created_at | 2024-07-03 10:47:02.10283+00 |
| updated_at | 2026-01-09 22:27:24.535208+00 |
| description | Reads security transaction statements (as pdf) from neo-broker Trade Republic and renames them as transactiondate_ordertype_name. |
| homepage | https://crates.io/crates/TR_PDF_rename |
| repository | https://github.com/ArdentEmpiricist/TR_PDF_Rename |
| max_upload_size | |
| id | 1290421 |
| size | 86,340 |
A secure and robust tool that renames Trade Republic PDF documents to a structured, machine-readable format:
yyyy_mm_dd_[TYPE]_[ISIN]_[ASSET].pdf
Kauf – Standard buy executionKauf_Sparplan – Savings-plan executionsKauf_Saveback – Saveback purchasesVerkauf – Sell transactions (if present in source PDF)Dividende – Dividend payouts (single or summary)Zinsen / Zinszahlung – Interest payouts (single or summary)Kapitalmaßnahme – Corporate actionsDepottransfer – Incoming depot transfersDepotauszug – Depot statements (falls back to asset Depot)Steuerliche_Optimierung – Tax optimisation noticesKosteninformation_Saveback – Cost information for saveback plansEx_Post_Kosteninformation – Ex-post cost statements (auto-detect year)Jahressteuerbescheinigung – Annual tax certificates (auto-detect year)Steuerreport – Steuerreport/Steuerübersicht (auto-detect year)Kontoauszug – Trade Republic cash account statements (IBAN-based asset)git clone https://github.com/ArdentEmpiricist/TR_PDF_Rename.git
cd TR_PDF_Rename
cargo build --release
./target/release/tr_pdf_rename <path_to_folder>
./target/release/tr_pdf_rename ~/Documents/TradeRepublic/
This tool implements several security measures to ensure safe operation:
../ attacks through path canonicalization#![forbid(unsafe_code)] for guaranteed memory safetyRun the comprehensive test suite including security tests:
cargo test
Run with verbose output:
cargo test -- --nocapture
This project is licensed under the MIT License - see the LICENSE file for details.