Skip to content

The annual pack for a tax year: performance, the statement for the year, and the tax year

GET
/v1/accounts/{id}/reports/annual
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/reports/annual" \
-H "Authorization: Bearer $IDEALX_API_KEY"
id
required
string
year
integer
>= 2000 <= 2100

OK

Media typeapplication/json
object
label
required
string
from
required
string
to
required
string
statement
required
object
currency
required
string
accountName
required
string
from
required
string
to
required
string
portfolios
required
Array<object>
object
id
required
string
name
required
string
lines
required
Array<object>
object
instrumentId
required
string
symbol
required
string
name
required
string
isCash
required
boolean
opening
required
string
closing
required
string
reconciled
required
boolean
movements
required
Array<object>
object
at
required
string
kind
required
string
description
required
string
units
required
string
balance
required
string
closingValue
required

Value on the last day of the year; null when no value was recorded then

string | null
currency
required
string

Example generated

{
"label": "example",
"from": "example",
"to": "example",
"statement": {
"currency": "example",
"accountName": "example",
"from": "example",
"to": "example",
"portfolios": [
{
"id": "example",
"name": "example",
"lines": [
{
"instrumentId": "example",
"symbol": "example",
"name": "example",
"isCash": true,
"opening": "example",
"closing": "example",
"reconciled": true,
"movements": [
{
"at": "example",
"kind": "example",
"description": "example",
"units": "example",
"balance": "example"
}
]
}
]
}
]
},
"closingValue": "example",
"currency": "example"
}