Podatek GiełdyKalkulator PIT
Features
Pricing
Supported Brokers
Knowledge Base
FAQ
Home/Knowledge Base/Brokers/XTB/PIT-ZG

How to file PIT-ZG from XTB for tax year 2025

Updated guide for people filing XTB activity in Poland: data export, tax calculation, and how to complete PIT-ZG.

Last updated: January 25, 2026•Reading time: ~15 minutes

Author: Podatek Giełdy Team

Capital gains tax specialists

Verified by a tax advisor

Table of contents

  • Why does XTB require PIT-ZG?
  • How to export data from XTB?
  • How to calculate the tax?
  • How to fill in PIT-ZG?
  • Frequently asked questions

Why does XTB require PIT-ZG?

PIT-ZG is an attachment to PIT-38 used to report income earned abroad. XTB is a foreign broker, so all transactions require PIT-ZG filing.

In the PIT-ZG attachment, income must be reported by country. PIT-ZG is filed together with PIT-38 by April 30.

Tip: PIT-ZG shows details of foreign income by country. PIT-38 shows total income (Polish + foreign).

Read the complete PIT-ZG guide →

How to export data from XTB?

To file PIT-ZG, you need to export the full transaction history from XTB for the entire tax year.

Step by step:

  1. 1Step 1 of export from XTB
  2. 2Step 2 of export from XTB
  3. 3Step 3 of export from XTB
  4. 4Step 4 of export from XTB
  5. 5Step 5 of export from XTB

Tip: For FIFO method, export history from the first purchase of shares that you still hold or sold in the reporting year.

Read detailed export instructions for XTB →

How to calculate PIT-ZG tax for XTB?

PIT-ZG tax calculation consists of several steps:

  1. 1Import file from XTB: Use our calculator to import the exported CSV file.
  2. 2System automatically: Applies FIFO method, converts currencies to PLN using NBP rates, calculates tax.
  3. 3You will receive a summary: Ready to transcribe to the PIT-ZG form.

Use our calculator

Our calculator automatically performs all calculations for you. Just import the file from XTB.

Start calculations
Read more about calculations →

How to fill in the PIT-ZG form?

In the PIT-ZG attachment for XTB, you need to provide:

  • Country of income (country where XTB is headquartered or the exchange you trade on)
  • Revenue amount in original currency and in PLN (converted using NBP rates)
  • Cost of revenue
  • Tax paid abroad (if applicable, e.g. on dividends)

Tip: Our calculator automatically identifies transactions requiring PIT-ZG and prepares a summary by country.

Read more about filling in the form →

Frequently asked questions

Do I have to report all transactions from XTB?

Yes, all transactions from XTB require reporting in PIT-ZG. Even if you incurred a loss, you should report it - losses can be deducted from income in subsequent years.

Are XTB commissions deductible?

Yes, commissions are a cost of revenue and reduce taxable income. The calculator automatically includes commissions.

Does XTB require PIT-ZG?

Yes, XTB is a foreign broker, so all transactions require PIT-ZG filing as an attachment to PIT-38.

Related guides

Export guide for XTB

Step-by-step guide to exporting transactions from XTB.

Complete PIT-ZG guide

Ultimate guide to filing PIT-ZG - everything you need to know.

Ready to file PIT-ZG from XTB?

Use our calculator to automatically compute your tax. Just import the file from XTB - the system will automatically apply FIFO, convert currencies and generate a summary ready to transcribe to PIT-ZG.

Start calculationsView pricing
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.