ContentsWhy the brokerage account breaks the bookkeeping
Whoever holds shares and ETFs in a GmbH or holding needs two answers per security: how it enters the balance sheet and how it is taxed. Here are the accounts, the three tax cases and one year of a brokerage account worked through.
Why the brokerage account breaks the bookkeeping
Anyone holding shares in their holding or GmbH knows this: the broker sends an annual statement with hundreds of lines, foreign currency, partial fills, withholding tax and corporate actions. The bookkeeping software knows none of it. So you collect PDFs, the tax advisor books one lump entry "securities" months later, and the split into § 8b, partial exemption and portfolio holdings happens in a spreadsheet only one person understands.
The alternative is usually a separate tool just for the account. Tax reporting for business brokerage accounts costs, according to the provider, around €1,695 a year in the base tier with the investment tax and withholding tax modules, on top of the bookkeeping. For a small holding receiving a few thousand euros of dividends a year, that is absurd.
The accounts: what goes where
| Transaction | SKR03 | SKR04 |
|---|---|---|
| Shares and ETFs in current assets | 1348 Sonstige Wertpapiere | 1510 Sonstige Wertpapiere |
| Securities in fixed assets (long-term) | 0525 | 0900 |
| Gain on sale of shares (§ 8b) | 2726 | 4906 |
| Loss on sale of shares (§ 8b) | 2326 | 6906 |
| Dividend from shares (current assets, § 8b(1) and (4)) | 2655 | 7103 |
| Distribution of a fund or ETF | 2654 | 7115 |
| Capital gains tax withheld | 2213 | 7630 |
| Foreign withholding tax | 2219 | 7639 |
| Write-down on shares in current assets (§ 8b) | 4876 | 7214 |
| Broker fees | 4970 | 6855 |
Keep the cash at the broker as a money account of its own per currency. Transfers between bank and broker are not income, just money in transit.
The tax: three worlds
Gains on shares: 95 % exempt
If the GmbH sells shares at a gain, the gain is tax-free under § 8b(2) KStG; 5 % of it counts as a non-deductible expense (§ 8b(3) sentence 1). This applies whatever the GmbH's stake, so also to 100 Apple shares. With roughly 30 % tax on company profit, about 1.5 % remains in effect.
The flip side: losses on shares and write-downs on them are not deductible for tax (§ 8b(3) sentence 3 KStG). In the balance sheet they are an expense; in the tax return they are added back.
Dividends from portfolio holdings: almost fully taxable
For dividends, the 95 % exemption only applies if the GmbH holds at least 10 % of the distributing company at the start of the calendar year (§ 8b(4) KStG). With listed shares that is practically never the case. The dividend is then fully subject to corporate income tax. For trade tax the threshold is even 15 % at the start of the assessment period (§ 9 no. 2a GewStG); below it the dividend is added back under § 8 no. 5 GewStG.
ETFs and funds: partial exemption
§ 8b does not apply to investment funds. Instead, 80 % of the income from equity funds is tax-free if the investor is subject to corporate income tax (§ 20(1) sentence 3 InvStG); for mixed funds, half of that. For trade tax the partial exemption counts only by half, so 40 % for equity funds. This covers distributions, gains on sale and the advance lump sum (Vorabpauschale).
One year in the holding: €5,390 income, €294.45 tax
| Income | Amount | Corporate tax base | Trade tax base | Tax |
|---|---|---|---|---|
| Gain on shares | €3,990.00 | €199.50 (5 %) | €199.50 | €59.50 |
| Portfolio dividend | €400.00 | €400.00 | €400.00 | €119.30 |
| ETF distribution | €1,000.00 | €200.00 (80 % exempt) | €600.00 (40 % exempt) | €115.65 |
| Total | €5,390.00 | €294.45 |
Privately, the same income would have cost €1,342.49 with flat-rate withholding tax and solidarity surcharge (26.375 %), for the ETF already after the 30 % partial exemption. The difference is no gift: the money sits in the company. When you distribute it to yourself, you pay tax on the distribution. How that adds up is shown in Setting up a holding.
Year-end valuation and foreign currency
At the balance sheet date you check every position in current assets: if the price is below cost, you write down (§ 253(4) HGB). If it rises later, you write back up, at most to cost (§ 253(5) HGB). For shares the write-up is tax-free under § 8b(2) KStG, just as the write-down does not count for tax.
Purchases in dollars are translated at the rate on the day of the trade. Foreign currency balances at the broker are valued at the balance sheet date under § 256a HGB: with a remaining term of up to one year, gains count too; otherwise only losses.
Withholding tax
Foreign dividends arrive with withholding tax deducted, for US shares typically 15 % with form W-8BEN-E, otherwise 30 %. You book the amount on withholding tax (2219 / 7639). Whatever exceeds the treaty rate can be reclaimed from the source state; that is a receivable, not an expense. The rest you credit against corporate income tax (§ 26(1) KStG) or deduct. For fully taxable portfolio dividends the credit usually pays off, but that is a decision for your tax advisor.
The brokerage account in AlphaCount
In our own company structure, the brokerage account was exactly where no bookkeeping software could keep up. Instead of paying for a second tool at over a thousand euros a year, we built it in: AlphaCount fetches the movements from Interactive Brokers by Flex query or reads them from a file (Flex XML, CSV, PDF) for any other broker. Every position is kept with lots; purchases, sales, dividends, withholding tax and fees are booked and classified for tax per security: single share with § 8b, ETF with partial exemption, portfolio holding as a portfolio holding. At year end AlphaCount works out the valuation under the lower of cost or market rule and the tax reconciliation per financial year, which your tax advisor checks. The choice between crediting and deducting withholding tax stays with you and your tax advisor. More under Holding bookkeeping and Integrations.
Frequently asked questions
Are capital gains in a GmbH tax-free?
Why are dividends from single shares almost fully taxable in a GmbH?
Can the GmbH offset losses on shares?
Do I have to revalue securities at year end?
Who books withholding tax on US dividends?
Sources
- § 8b KStG (holdings in other corporations)
- § 20 InvStG (partial exemption, 80 % for corporations)
- § 8 no. 5 and § 9 no. 2a GewStG (portfolio holdings, 15 % threshold)
- § 253 HGB (lower of cost or market, reversal)
- § 256a HGB (currency translation)
- § 26 KStG (credit for foreign taxes)
- § 23 KStG (15 % tax rate)
- Haufe, overview of partial exemptions and trade tax
- CapTrader, business tax reporting with fintegra WAVE (prices, read 21.11.2026)
As of 24 November 2026. General information, not tax advice for your individual case. Whether a rule fits your case is for your tax advisor to decide.