Authorization: Bearer <token>
TaxMaxi provides tax calculation results for informational purposes only. The output of this API is not tax advice. You should consult a qualified tax professional before filing any tax return.
Calculate tax
Calculates jurisdiction-specific tax figures from normalized FIFO and income data for the specified source.status: "completed" before you call this endpoint. If the source has never been synced or the most recent sync failed, the API returns a 404.
Path parameters
string
required
The ID of the source to calculate tax for.
Request body
integer
required
The tax year to calculate. Must be between
1970 and the current year (inclusive).string
required
The tax jurisdiction to apply. Currently supported:
"germany".Response fields
number
required
The tax year the calculation applies to.
string
required
The base currency in which all monetary values are expressed (e.g.
"EUR").number
required
Net gains from crypto assets held for less than one year. These are subject to income tax in Germany.
number
required
Net losses from crypto assets held for less than one year. These can offset taxable gains.
number
required
Gains from crypto assets held for more than one year. Under German tax law, these gains are tax-free.
number
required
Total income from non-trade events such as staking rewards, airdrops, and other income-classified transactions.
Errors
Example
Response
Understanding the response
All values are in the base currency returned in the
currency field.