Setup workspace
Let's start by creating a working directory for portfelj
in the user home directory. Let's call it ibkr
.
This directory will be used to hold flex reports, tax payer data, reports for upload to eDavki.
Create a subfolder ibkr/flex
and copy all generated flex reports to it.
The folder structure may look as following if you have trade reports for the past few years:
sh
.
└─ flex
├─ 2025.xml
├─ 2024.xml
└─ 2023.xml
You're all set! 🎉
TIP
Make sure to backup this directory after each tax season, since data stored here is pretty important!