German taxes for Interactive Brokers, Tastytrade & DEGIRO
Instead of hours in Excel: capi.tax prepares your trades at Interactive Brokers, LYNX, CapTrader, Tastytrade and DEGIRO using FIFO (§ 20 (4) sentence 7 EStG) for the Anlage KAP — automatically and locally in your browser.


- FIFO per § 20 (4) s. 7 EStG
- Bundesbank rates
- § 20 EStG
- Tax years 2021–2025
The challenge
Why a German tax return with foreign brokers is so much work
Foreign brokers hand you a trading statement, not a German Steuerbescheinigung. Everything the Finanzamt wants has to be derived from it.
capi.tax does all of it in your browser — in minutes, and you can check every line.
How It WorksProcess
How It Works
In four simple steps to your finished tax preparation – automated and aligned with German tax rules.
No Server, No Cloud
Your financial data never leaves your computer. Everything is calculated locally in your browser.
We record which steps get used and how far down the landing page people scroll, by section, without cookies. The contents of your files and results are never transmitted. Details in the terms.
- 1
Choose Broker
Interactive Brokers, Tastytrade or DEGIRO
- 2
Upload Export File
CSV or IBKR Flex Query (XML) via drag & drop – stocks, ETFs, options and futures
- 3
Review & Calculate
FIFO matching and conversion to euros at Bundesbank rates, right in your browser
- 4
Export for KAP
A report for Anlage KAP as Excel, PDF or CSV
Capabilities
What your result looks like
Real views from capi.tax, computed from the sample file.
Every line of the Anlage KAP
Gains, losses and creditable withholding tax, each with its form line number, ready to copy into ELSTER. Converted at the Bundesbank rate of each trade day, calculated to the cent.
- Bundesbank reference rates
- Rules per tax year
- No floating-point drift


The bookings behind the figures
Click a category or a form line to open the events behind it: security, date, amount in euros. From there, go on to the transactions or the audit trail.


Every booking, filtered in seconds
Buys, sells, dividends and fees with the original amount, the Bundesbank rate and the euro amount. Filter by category, action, symbol or period.


Traceable to the booking
The checks show what capi.tax read, covered and assumed, and where something is missing, the next step. Every FIFO match is in the tax events trail.
- Every FIFO match visible
- Warnings instead of silent guesses
- Excel, PDF & CSV export


Integrations
Supported brokers
Export the statement your broker already offers. No API access, no broker password, no account with us.
Tastytrade
SupportedImport of trades, options and dividends from CSV exports
Supported reports:
- Transaction History (CSV)

DEGIRO (beta)
BetaTrades, dividends, withholding tax and interest from the two CSV exports
Supported reports:
- Transactions (CSV)
- Account statement (CSV)
Beta: stocks and ETFs, no options. Upload both files together.
More brokers on request - contact us
Guide: Interactive Brokers German tax returnSupported Transaction Types
From a simple share sale to an assigned option — sorted into the right German tax category.
Stocks & ETFs
- Buy and sell
- Dividends
- Opening positions from earlier years
- Partial exemption by fund type
Options
- Long/Short positions
- Exercise and assignment (Tastytrade: without cash settlement)
- Expired options
Futures
- Futures on indices, commodities, currencies
- Treated as Termingeschäfte (§ 20 EStG)
- Beta – limited multiplier support
Other
- Interest income
- Currency gains (IBKR) and Xetra-Gold (§ 23, Anlage SO)
- Withholding tax
- Fees
Loss offsetting according to German tax law
Support for the relevant transaction types under § 20 EStG, plus foreign currency and gold securities with a delivery claim under § 23 EStG
The difference
By hand, or in a few minutes
The work does not disappear; capi.tax just does it for you. Here is what each step costs you either way.
| Step | By hand | With capi.tax |
|---|---|---|
| Matching sales to purchases | Track every lot in the right order | FIFO per position, automatically |
| Converting to euro | Look up a rate for every trade day | Bundesbank rate per trade day |
| Vorabpauschale for ETFs | Apply the formula to each purchase lot | Calculated per lot, with proration |
| Option events | Separate premium, expiry and assignment | Recognised and categorised |
| Foreign withholding tax | Check the treaty rate per country | Creditable amount per country |
| Checking the result | Re-read your own spreadsheet formulas | Every match visible and exportable |
Comparison
What capi.tax handles – and what it doesn’t yet
The same list we check the engine against. Where something is missing or still rough, it says so.
DEGIRO | |||
|---|---|---|---|
| Import | |||
| Supported formats | CSV: Activity Statement XML: Flex Query | CSV: Transaction History | CSV: Transactions + Account statement |
| Transaction Types | |||
| Stocks & ETFs | |||
| Options | |||
| Bonds & T-bills | |||
| Xetra-Gold & gold securities with a delivery claim (§ 23) | |||
| Futures | |||
| Dividends | |||
| Interest | |||
| Corporate Actions | |||
| Cryptocurrencies | |||
| Tax Features | |||
| FIFO Calculation | |||
| Currency Gains | |||
| Withholding Tax | |||
| Partial Exemption | |||
| Vorabpauschale | |||
| Loss Offsetting | |||
| Option Assignment | |||
| Adding opening positions | |||
| Export Formats | |||
| KAP-Ready Report | |||
| Anlage KAP-INV | |||
| Anlage SO (§ 23) | |||
| Excel Export | |||
| PDF Export | |||
Also covers IBKR introducing brokers: LYNX · CapTrader
Full support Partial support Planned: not included yet Not supported
Tap entries without a check mark for details
Tax knowledge
Vorabpauschale, withholding tax, options & more
Plain-language explanations of the German rules behind your report — with the statutory basis, written for investors rather than tax professionals.
Vorabpauschale
Why accumulating ETFs are taxed yearly, and how the amount is derived.
Options & writing
Premiums, expiry, assignment and exercise — and where each one lands.
Foreign withholding tax
How much foreign withholding tax you can actually credit in Germany.
Funds & Teilfreistellung
The share of fund income that stays tax-free, by fund type.
Offsetting losses
Which losses offset which gains — and what changed in 2024.
Currency gains
When holding dollars becomes a taxable gain of its own.
Corporate actions
Splits, spin-offs and mergers, and what they do to your cost basis.
Flat tax & allowance
The 25% flat tax, the allowance, and when your own rate is lower.
Anlage KAP, KAP-INV & SO
Which figure belongs on Anlage KAP, KAP-INV or SO.
Security & Privacy
Your financial data is sensitive. That's why we focus on maximum security and complete transparency.
100% Browser Processing
All calculations happen exclusively in your browser. We cannot see your data even if we wanted to.
Privacy under GDPR
Processed under the GDPR. Usage statistics without cookies and without recognising you across days, hosted in the EU and switchable off at any time – never with your transaction data.
Transparent Calculations
All calculations are traceable and auditable. You can verify every step.
Support
FAQ: German taxes with a foreign broker
Answers to the most important questions about our service.
Yes. A German bank withholds the tax directly, which settles it. Interactive Brokers, Tastytrade and DEGIRO do not — and because no German tax was withheld, you are required to declare it (§ 32d Abs. 3 EStG). That is an obligation, not an option. Only dividends of German shares are usually already settled by German withholding – see Dividends of German shares.
Interactive Brokers, Tastytrade and DEGIRO (beta). Plus every introducing broker on the IBKR platform — LYNX and CapTrader among them: their Activity Statement comes out of the same IBKR system. Pick LYNX or CapTrader directly; for other introducing brokers, pick Interactive Brokers.
From Interactive Brokers the Activity Statement as CSV (not Excel, not PDF); from Tastytrade the transaction export with All Transactions, as CSV. Interactive Brokers also accepts a Flex Query as XML; the Interactive Brokers guide explains which to pick. For Tastytrade, the guide is under Tastytrade. DEGIRO needs two CSV files, Transactions and Account statement; see DEGIRO.
Tax years from 2021 to the last completed year. For earlier years the Anlage KAP line numbers are not verified, so we do not offer them. For each year capi.tax uses that year's form lines and parameters (such as Teilfreistellung rates and the Basiszins), but the current law including retroactive changes: the €20,000 cap on forward-transaction losses is not applied for 2021 to 2024 either, because the 2024 Annual Tax Act removed it for all open cases (§ 52 Abs. 28 S. 25 f. EStG).
Yes. Your data never leaves your computer. Everything is calculated in your own browser, so there is no upload and no copy on a server. We have no technical way to see your transactions. Once you close the page, the data is gone.
No. There is no sign-up, no login and no email prompt. You load your file and get your result.
capi.tax is currently free. It is a private project — feedback is very welcome. There is no subscription, no payment details and no account.
Yes. Test Sample File on the home page shows you a complete result built from sample data, with nothing to upload. Take the tour there shows you the tax, review, forms and audit trail in five steps.
No. capi.tax prepares your data and does not constitute tax advice. It reads your broker export, converts the amounts to euro, applies the rules of German tax law and gives you a structured summary for your tax return. The figures are a starting point, not a final verdict. For your personal situation, please review the result and talk to a tax advisor (Steuerberater).
Still have questions? See all questions
Ready for Your Tax Return?
With capi.tax, save time and avoid errors when calculating your capital gains from US brokers
No tax advice — capi.tax prepares your data for Anlage KAP.