{{template "base" .}} {{define "content"}} {{$d := .}}

Tax Summary

Export CSV

Gross Income

€{{cents $d.GrossIncomeCents}}
from Income transactions

Total Expenses

€{{cents $d.TotalDeductCents}}
across all categories

Capital Gains

€{{cents $d.CapitalGainsCents}}
realized this year

Capital Losses

€{{cents $d.CapitalLossesCents}}
realized this year

Net Capital

{{if ge $d.NetCapitalCents 0}}
€{{cents $d.NetCapitalCents}}
{{else}}
-€{{cents (centsAbs $d.NetCapitalCents)}}
{{end}}
gains − losses
{{if $d.CapitalEntries}}
Realized Capital Events
{{range $d.CapitalEntries}} {{end}}
Name ISIN Cost Basis Proceeds Gain/Loss %
{{.Name}} {{.ISIN}} €{{cents .BuyCents}} €{{cents .SellCents}} {{if ge .GainCents 0}}+{{end}}€{{cents .GainCents}} {{pctSign .GainPct}}{{printf "%.1f" .GainPct}}%
{{end}}
Expenses by Category
{{if $d.Deductibles}} {{range $d.Deductibles}} {{end}}
Category Total Spent
{{.Category}} €{{cents .TotalCents}}
Total €{{cents $d.TotalDeductCents}}
{{else}}
No expense transactions for {{$d.Year}}
{{end}}
{{end}}