First bought, first sold with several accounts
When you sell part of a holding, the units bought first count as sold first. This applies to each account on its own. The same share at two brokers is two separate holdings.
Work out your figures
FiscalFox works out each account separately and adds the figures up at the end, free.
The rule
- Section 20(4) sentence 7 Income Tax Act: for fungible securities in collective custody, those bought first are taken to be sold first.
- The Federal Finance Ministry's letter of 14 May 2025, paragraph 97, says the method applies to each account (Depot) on its own. Which units you pick when you sell makes no difference for tax.
- Under paragraph 98 a sub-account also counts as an account of its own.
Worked example with two brokers
Made-up numbers, one share, all in euro:
| Date | Account | Entry | Units | Amount |
|---|---|---|---|---|
| 1 February 2023 | Broker A | Buy | 10 | €1,000.00 |
| 15 January 2024 | Broker A | Buy | 10 | €1,200.00 |
| 2 April 2024 | Broker B | Buy | 10 | €1,500.00 |
| 3 March 2025 | Broker A | Sell | 15 | €2,100.00 |
| 2 June 2025 | Broker B | Sell | 10 | €1,300.00 |
- Step 1Broker A, sale on 3 March 2025: the 15 units come from the oldest purchase (10 units for €1,000.00) and the next one (5 units for €600.00). Cost €1,600.00, gain €2,100.00 less €1,600.00 = €500.00.
- Step 2Broker B, sale on 2 June 2025: Broker B has only one purchase. Cost €1,500.00, result €1,300.00 less €1,500.00 = -€200.00.
- Step 3Together for 2025: line 20 share gains €500.00, line 23 share losses €200.00, line 19 net €300.00.
If both accounts were worked out as one holding, half the units for the second sale would come from the purchase at Broker A. The cost would be €1,350.00 and the loss only -€50.00. That is not what the letter provides.
What this means for your files
Each sale needs every purchase in the same account, including years with no sale. So export each account from your first purchase. If you have several accounts at one broker, export each on its own when the file states the account number.
Read on
German tax return by broker
Sources
FiscalFox is software, not tax advice. You check the figures and enter them yourself. For questions about your own case, ask a tax adviser or a Lohnsteuerhilfeverein.