PIT-38 filing deadline for 2025 — April 30, 20261 day remainingFile now →
Podatek GiełdyKalkulator PIT
Features
Pricing
Supported Brokers
Knowledge Base
FAQ
Home/Knowledge Base/Brokers/Interactive Brokers/PIT-ZG

Interactive Brokers PIT-ZG 2026 — Polish foreign-income filing

Use Flex Query from Interactive Brokers to prepare the Polish PIT-ZG attachment. The calculator groups foreign income by country, converts amounts with NBP rates, and keeps the PIT-38 and PIT-ZG workflow in sync.

interactive brokers pit-zg polandibkr pit-zg polandibkr foreign income poland

On this page

  • How to export a report from Interactive Brokers
  • Why is PIT-ZG needed for Interactive Brokers in Poland?
  • How to file Interactive Brokers in Polish PIT-ZG
  • Frequently asked questions
  • Related broker tax calculators

How to export a report from Interactive Brokers

Interactive Brokers is one of the most popular brokers among investors. The following instructions show how to configure a Flex Query report for stock transactions. For accurate FIFO settlement, import files for ALL years since you started trading — without the full purchase history, the application cannot correctly determine acquisition costs. IB limits each export to 365 days, so generate reports separately for each calendar year.

For PIT-ZG, export a complete Flex Query that includes both transactions and dividends. If your account was migrated or split, include every account version so the Polish country-by-country summary stays complete.

  1. 1Log in to your Interactive Brokers account and open the "Performance & Reports" menu
  2. 2Navigate to the Flex Queries section
  3. 3Press the "Create" button to create a new Flex Query
  4. 4Name the report e.g. "transactions", then in the "Sections" section choose "Trades" and press "Select All" — check all available columns
  5. 5Scroll down and press "Save"

Tip: Prepare a report for at least the tax year you are settling. We recommend importing previous years as well — this allows you to account for additional costs. Generate reports for individual calendar years. If your account was migrated, click "Select Account(s)" and use filtering: check the "Open" and "Migrated" statuses to include the full dividend history from all accounts.

Why is PIT-ZG needed for Interactive Brokers in Poland?

Interactive Brokers is a foreign broker and does not issue a Polish PIT-8C. That is why the Polish filing relies on broker exports and a separate PIT-ZG attachment for foreign income.

For foreign dividends, the calculator also helps include withholding tax and the correct country of source in the Polish return.

How to file Interactive Brokers in Polish PIT-ZG

PIT-ZG is the Polish attachment for foreign income. With IBKR, it is used to report country-specific capital gains and foreign dividends together with PIT-38.

The calculator helps Polish investors separate countries of source, apply NBP rates, and reflect withholding tax without rebuilding the filing manually.

Frequently asked questions

Do I need to report demo account transactions?

No, demo account (paper trading) transactions are not taxed. Only report transactions from your live account.

How do I settle options and futures from IBKR?

Options and futures are taxed differently than stocks. Options are settled at expiration or when the position is closed. Futures are settled daily (mark-to-market). Consult a tax advisor for complex instruments.

Are IBKR commissions tax-deductible?

Yes, commissions are a tax-deductible expense and reduce taxable income. The calculator automatically includes commissions in the calculations.

What about the dividend tax on Polish companies through IBKR?

If you buy Polish stocks through IBKR, dividends are subject to withholding tax in Poland (19%). You do not need to report them in PIT-38, but you must include them in PIT-ZG as foreign income.

How do I carry forward losses from previous years?

Losses from previous years can be deducted from income in the current year. The calculator shows both income and losses. Fill in the appropriate fields in PIT-38, referring to your previous declarations.

Why does the application show incorrect purchase costs?

The FIFO method requires the full transaction history. If you only import data for the current year but purchased shares in previous years, the application has no information about the original purchase prices. Import files for all years since you started trading on IB.

What about account migration?

If your IBKR account was migrated (e.g., from one entity to another), go to "Select Account(s)" when creating a Flex Query, use the "Filter" button and check both "Open" and "Migrated" statuses. Press "Apply", confirm the selection, and continue. This ensures the report includes the full history from both the old and new accounts.

Related broker tax calculators

Compare related broker pages for PIT-38 and PIT-ZG.

  • XTB PIT-ZG
  • Revolut PIT-ZG
  • Trading 212 PIT-ZG
  • DEGIRO PIT-ZG

Helpful links for filing

How to export a report from Interactive BrokersPIT-ZG guide for PolandHow to file a foreign broker in PolandPIT-38 calculator for Poland

Prepare Interactive Brokers for Polish PIT-ZG without manual country breakdowns

Import your Interactive Brokers report and let the calculator prepare country-level PIT-ZG data together with Polish PIT-38 numbers.

Calculate for freeSee pricing

Up to 50 transactions free • No credit card • No registration

Podatek GiełdyKalkulator PIT

Automatic capital gains tax calculation for Polish investors. Stocks, ETFs, crypto, and dividends.

Product

  • Home
  • Sign in
  • Pricing

Calculators

  • Calculators
  • PIT-38 calculator
  • Stock tax calculator
  • Crypto calculator

Brokers

  • All brokers
  • XTB
  • Interactive Brokers
  • DEGIRO

Help

  • Knowledge base
  • Broker exports
  • Forms
  • PIT-38 guide

Legal

  • Terms
  • Privacy Policy
  • Legal disclaimer
  • Cookie policy
Secure SSL connectionGDPR compliant

© 2026 Podatek Giełdy. All rights reserved.

Auxiliary tool for tax calculations. Not legal or tax advice. Consult a tax advisor.