Skip to content

Quick Start

Automated generation of PPDG-3R (Capital Gains Tax) and PP OPO (Capital Income Tax) reports for Interactive Brokers users in Serbia. The app automatically retrieves transaction data and creates a ready-to-upload XML file, converting all prices to dinars (RSD).

Install ibkr-porez ↗

Graphical Interface

If you installed via uv tool, the graphical interface launches as ibkr-porez without arguments.

If you use the graphical interface, configure your data (the Config button), then just use Sync to refresh data and create declarations.

All necessary instructions are built into the application.

Command Line

If the terminal is your native environment (AI agents and brave humans).

⚠️ While the graphical interface is running, do not use the command line, as simultaneous usage may cause database errors.

⚠️ Import is only necessary if you have more than one year of transaction history in Interactive Brokers. Flex Query allows downloading data for no more than the last year, so older data must be loaded from a full CSV export ↗.

If you want to quickly create a specific declaration.

Fetch Latest Data (fetch) ↗

Generate Report (report) ↗

Upload the generated XML to the ePorezi portal (PPDG-3R section). PPDG-3R

If you want to automatically receive all required declarations and track their status (submitted, paid).

Fetch latest data and create declarations (sync) ↗

Declaration Management ↗