FIFO tax report: what Portelyra calculates
Where no bank issues a tax certificate, for example for crypto, precious metals or foreign currencies, the FIFO calculation is up to you. Portelyra’s Tax report area (Steuer-Aufstellung), in the Tax app (Steuer), shows you how its figures come about: per sale and income item, for the year as a whole and with the documents that go with it.
It calculates under German tax rules for private investments, as a projection based on a rules module. The result is a traceable basis for your German tax return – not tax advice and not a tax return.
What the Tax report shows
The calculation runs when you use “Alles aktualisieren” (Update everything) in the Data area (Daten). The Tax app only reads and shows the most recently published state.
- Worksheet per event: for every sale and every income item, you see how the figure comes about – the FIFO lots used up (the app also calls them “Lots”), acquisition, proceeds, fees, how long each lot was held, for funds the partial exemption (Teilfreistellung), and the tax. Above the worksheets are the totals: overall, per institution and account, and per pot (Topf). Below the taxable pots, you also see what is not taxed, for example FIFO lots held beyond the one-year period (private disposals only), the partial exemption and Vorabpauschalen (advance lump-sum tax) that have already been taxed. More in the tip Trace every sale individually.
- Annual calculation: the tax for a year as a whole – capital income per institution, private disposals (private Veräußerungsgeschäfte), loss pots (Verlusttöpfe) brought forward from the previous year, exemption orders (Freistellungsauftrag) and withholding tax, plus the interest on cash accounts. The details for exemption orders, loss pots and withholding tax are kept per institution in the Data area under “4. Steuer” (Tax).
- “Steuerreport” (Tax report document): choose the tax year and asset classes, and only certain accounts or assets if you like, then “Report erstellen” (Create report); ticking “Cash (Zinsen)” (Cash – interest) adds the interest credited to cash accounts. It documents disposals per FIFO lot used up, disposals without payment, income, reallocations and holdings per account, with identifiers, how long each lot was held and the one-year period, as a PDF and as a table (CSV). It does not calculate any tax itself; the detailed version appends the annual calculation and the worksheets in a single PDF and calculates all years from 2020 to do so, which can take up to three minutes.
- “Unterlagen des Jahres” (Documents of the year): the documents you have filed for a year as a ZIP, sorted by institution and type. The document archive for this only exists with the “Import aus Belegen und Auszügen” (Import from documents and statements) building block.
Portelyra deliberately calculates the tax per event cautiously: without exemption orders, loss offsetting or withholding tax. This is why the worksheets do not add up to your tax for the year; the annual calculation shows the year as a whole.
If the tax projection says “unvollständig” (incomplete), some events in that year were left without a tax figure, usually because a piece of information was missing at closing. You can add it in the Data area under “4. Steuer” (Tax) → “Steuerangaben je Jahr” (Tax details per year), then run “Alles aktualisieren” (Update everything). Why Portelyra does not carry on calculating with zero in that case is explained in the tip Gaps are deliberate, not a mistake.
If the “Steuerbericht” (Tax report) building block is not selected for a portfolio, the app shows “ohne Steuer, wie gewählt” (without tax, as chosen). You can switch it on in the Data area under “Einstellungen” (Settings) → “Portfolio” → “Umfang dieses Portfolios” (Scope of this portfolio); see the tip Tailor each portfolio to what you need.
FIFO and holding period
FIFO means “first in, first out”: a sale uses up the oldest lots first. This determines the cost basis, how long each lot was held and the gain or loss. For securities in collective safe custody, German law prescribes this order (Section 20(4) sentence 7 of the German Income Tax Act (EStG)).
For crypto assets, each wallet is looked at separately: if it cannot be established which units were sold, the ones acquired first are treated as sold for the holding period; for the acquisition costs, the average then applies, although FIFO may also be assumed for them as a simplification (German Federal Ministry of Finance, BMF letter of 6 March 2025, paras 61–62; details in the glossary under FIFO). Portelyra calculates FIFO per account. For crypto, you can choose the average instead of FIFO for the cost basis, per coin and wallet, in the Data area under “2. Stammdaten” (Basic data) → “FIFO-Wallet”; the holding period still follows FIFO.
How the one-year period for private disposals is counted is explained in the glossary entry One-year holding period and in the news item Is that right? “On the anniversary, my Bitcoin is tax-free”.
Which tax years the rules module covers
The rules module supplied with Portelyra applies to Germany and private investments.
| Tax years | Scope |
|---|---|
| 2020–2026 | largely complete: flat-rate tax on capital income (Abgeltungsteuer) with solidarity surcharge (Solidaritätszuschlag) and church tax (Kirchensteuer); capital income per institution with offsetting, loss pots, exemption orders and withholding tax; private disposals with the one-year period and the exemption threshold (Freigrenze); other income such as rewards; partial exemption for funds; Vorabpauschale (advance lump-sum tax on funds). Excluded are fund units acquired before 2018 and everything under “Deliberately not included”. |
| 2016–2019 | only in outline, explicitly not complete: flat-rate tax on capital income, solidarity surcharge, saver’s allowance (Sparer-Pauschbetrag), the exemption thresholds, the one-year period and rewards. The module does not calculate funds for these years. |
| before 2016 | no rules: no tax figure, with a note. |
Where the module only calculates in outline, the tax details per year in the Data area and the annual calculation say so explicitly. The history net after tax is calculated from 2020; for earlier years it shows “netto = brutto” (net = gross) with a note.
Every annual value the module calculates with is stored in the module with its legal reference and can be seen with it, year by year, in the Data area.
Deliberately not included
The module does not calculate these points for any year:
- the reduction of the flat-rate tax on capital income due to church tax; church tax is added as a surcharge on the projected tax,
- the exemption threshold and the phase-in zone (Milderungszone) of the solidarity surcharge,
- the cap on offsetting losses from derivatives (Termingeschäfte) and bad debts (Forderungsausfälle) (2020–2024),
- paying with coins as a disposal: such payments appear in the “Steuerreport” and the worksheet, but the module does not calculate them,
- the lower-rate assessment (Günstigerprüfung, Section 32d(6) EStG): Portelyra always calculates capital income at the 25% flat rate plus solidarity surcharge and, where applicable, church tax. If your personal tax rate is below 25%, the projection therefore tends to be too high – a deliberately cautious assumption. Whether an application is worthwhile is a question for your tax adviser,
- a progressive income tax scale: for private disposals and other income, Portelyra uses the personal tax rate you enter. This means your marginal tax rate; it does not appear on your tax assessment notice (Steuerbescheid).
Fund units from before 2018: until the end of 2017, the old German Investment Tax Act applied, and units from that period are treated as sold at the end of 31 December 2017 (Section 56 of the German Investment Tax Act (InvStG)). The module reflects neither. A fund event before 2018 and a fund sale involving units acquired before 2018 therefore get no tax figure but the note “altes Investmentsteuergesetz – nicht berechnet” (old Investment Tax Act – not calculated) – even for sales from 2020 onwards. Better an honest gap than a wrong figure.
Which version of the rules applies
Portelyra calculates with the version of the rules module that you selected in the Data area under “4. Steuer” (Tax) in the “Regelmodul” (Rules module) card – in the worksheets, the annual calculation and the history net after tax. Without a selection, Portelyra uses the version supplied with it. Portelyra stores the selected version with your data, so it is also part of your backup.
If an update brings a newer version, Portelyra carries on calculating with yours until you adopt the new one. From the day entered under “Gültig ab” (Valid from), it then applies to all tax years; reports created earlier continue to name their version. How this works is shown in the tip Adopt new tax rules only once you have seen them. If “Alles aktualisieren” (Update everything) does not run regularly for you, open the “4. Steuer” (Tax) tab in the Data area once after an update so that the version is stored.
A new version can also come as a package (ZIP) from Portelyra. You install it in the Data area under “Einstellungen” (Settings) → “Plugins und Zugänge” (Plugins and credentials) → “Plugins” → “Paket installieren” (Install package). Before that, Portelyra checks the Portelyra signature, the checksum of every file, the annual values and the package’s test cases, and shows you which annual values change; it only installs the package once you confirm, and the version only applies once you adopt it. The signature confirms that the package comes from Portelyra, not that its rules are legally correct.
A basis, not advice
The Tax report helps you fill in and check your German tax return. It is not tax or legal advice and does not promise that its figures are correct. The law, your tax assessment notice and your institutions’ contract notes and statements remain authoritative. You confirm the tax classification of your assets yourself, and you check the results yourself or with your tax adviser (see also the question Does Portelyra replace tax advice?).