AGORA direct · Interactive Brokers · Anlage KAP · Flex Query
AGORA direct arranges your account at Interactive Brokers and issues no German tax certificate. meinKAPitan reads your Flex Query report — XML in, line values for Anlage KAP and KAP-INV out.
One-time from €9.99 · Unlock required – meinKAPitan · XML deleted immediately · Transactions saved for FIFO · GDPR-compliant
The Problem
AGORA direct is based in Berlin, but your account and your securities are held at Interactive Brokers. That is why no German capital gains tax (Abgeltungsteuer) is withheld and you receive no German tax certificate.
So you enter your capital income in Anlage KAP yourself. meinKAPitan calculates it from your Flex Query export using the FIFO method, converts foreign currencies at the ECB reference rate and applies the partial exemption for funds.
AGORA direct at a glance
meinKAPitan is an independent service and is not affiliated with AGORA direct or Interactive Brokers.
How it works
At AGORA direct, create a Flex Query via the Client Portal under Performance & Berichte → Flex Queries and download the XML report. Takes 2 minutes.
Upload one file per year (several at once is possible). If ETF categories are missing, you add them once — after that everything runs automatically.
You receive a table with the exact values for each line of Anlage KAP — simply unlock and transfer.
Flex Query Export
AGORA direct uses the Interactive Brokers account management, so the steps are the same. Set up the Flex Query once — then fetch the XML for each tax year in seconds.
Sign in to AGORA direct via the Client Portal and open Performance & Berichte → Flex Queries.
Click + next to Activity Flex Query and give it a name — e.g. meinKAPitan Tax.
IBKR shows all available sections as tiles. Click exactly the 8 highlighted below, they turn blue. Then open each section and activate all fields. You do not set a date range here, that comes when you run the query (step 4).
In the Trades section: set the level to Execution, not Order. Only then are the individual fills included for FIFO.
Transfers is one of the 8 required sections and must be selected. Without it, position transfers are missing and the FIFO chain breaks for transferred positions.
For Cash Report and Statement of Funds enable the currency breakdown option — otherwise the original currencies for the ECB conversion are missing.
Level per section: Corporate Actions → Detail, Open Positions → Summary, Transfers → Transfer.
The date range is not part of the query definition. You choose it when running the query: custom date range with the From and To fields, format XML. IBKR limits every XML export to one year, so export year by year from account opening as its own file and upload them together. Also export January of the following year so later dividend and withholding tax corrections are captured.
Format: XML
One year per file, upload several
Plus January of the following year
Date yyyyMMdd · Time HHmmss · Separator semicolon
Common mistakes
Only current year exported
meinKAPitan needs all years from account opening — otherwise the FIFO chain is broken and acquisition costs are unknown.
CSV downloaded instead of XML
meinKAPitan only processes the XML export of the Activity Flex Query — no CSV, no PDF.
Section fields not activated
IBKR sets all fields to inactive by default. In each section, every field must be checked individually.
Trades: Order selected instead of Execution
FIFO calculation requires execution-level data. With Order selected instead of Execution, the individual fills are missing.
Tip: Always select the longest possible period — at least from your first purchase date to the end of the tax year. Interest bookings at IBKR sometimes appear in early January of the following year but still belong to the prior year (10-day rule under § 11 EStG) — so also include January in your export to be safe.
What we calculate
German tax law for capital gains is complex. We know every rule.
Gains and losses calculated using FIFO — even across multiple years.
Equity ETFs (30%), mixed funds (15%), other funds (0%) — tax-free portion calculated automatically.
For accumulating ETFs under §18 InvStG — including the BMF base rate and price-appreciation cap.
Creditable foreign withholding taxes on dividends are identified and reported.
Bucket 1 (equities) and Bucket 2 (other) tracked separately — exactly as the tax office expects.
USD, GBP and all other foreign currencies automatically converted using the ECB daily rate.
Introducing brokers
These brokers arrange accounts at Interactive Brokers. You export the same Flex Query as direct IBKR customers, and meinKAPitan processes it the same way.
The same applies to other introducing brokers such as WH SelfInvest or Estably (formerly BANX): what matters is that you can export a Flex Query as XML.
Supported & planned brokers
AGORA direct
Frequently asked questions
Who's behind it?
I'm Philipp — economist & Master in Finance, studied in Cologne and Amsterdam with a focus on Quantitative Finance. I've been investing through foreign brokers myself for years and know the chaos of every January from personal experience: FIFO by hand, looking up exchange rates, reading InvStG paragraphs. I built meinKAPitan so that no one ever has to do that again.
Privacy
We know what's in your file: your entire investment history. That's why we built meinKAPitan from the ground up to see as little of it as possible — and to forget it again as quickly as possible.
Your transactions are stored for FIFO calculation across multiple years — this is necessary for correct results. You can delete them at any time. On account deletion, all data is removed immediately and completely.
Our servers are located in the Netherlands (EU). Your data never leaves the European Union. Full GDPR jurisdiction, no data transfer to third countries.
Your file is transmitted exclusively via HTTPS (TLS 1.3) — the same encryption used for online banking. Third parties cannot intercept the upload.
Your financial data is never shared with third parties, sold, or used for advertising. We make no money from your data — only from our tool.
You have the right at any time to access, correct and delete your data (Art. 15–17 GDPR). You can delete your transactions and your account yourself at any time — or ask us to do so by email.
For privacy questions or deletion requests, contact us directly:For questions about data privacy or deletion requests, write to us directly: philipp@traqqie.com. We respond within 48 hours.
The key point in one sentence: We store your transactions only for as long as you need them — for FIFO across multiple years. You can delete them at any time, and on account deletion everything disappears immediately.
Full legal details in our Privacy policy →
Calculate now
Upload Flex Query XML, review briefly — done. The raw XML is deleted immediately; we store your transactions for continuous FIFO calculations across multiple years.
meinKAPitan creates a summary of your capital gains — not a substitute for tax advice.