Portelyra

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.

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:

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?).