Skip to content

Summarise a tax year.

GET
/api/expenses/tax-summary
curl --request GET \
--url 'https://api.tradr.cloud/api/expenses/tax-summary?year=1'

Authed. Realised P&L (split short- and long-term), tracked expenses by category, and wash-sale or superficial-loss flags for the user’s jurisdiction. Deliberately reports no single net taxable figure: fees are already inside realised P&L, and combining the numbers correctly depends on rules Tradr does not model.

This is a reporting aid, not tax advice, and it is not a filing.

year
required
integer
>= 1900 <= 9999

The summary for the year.

Media typeapplication/json
object
displayCurrency
string
nullable
flags

Wash sales (US) or superficial losses (CA), with the counterparty positions.

object
jurisdiction
string
nullable
Allowed values: US CA other
realisedPnl
object
trackedExpenses
object
year
integer
Example
{
"jurisdiction": "US"
}

Missing or invalid year.