Skip to content

The tax year in the account's country: sales lot by lot, and income; ?format=csv

GET
/v1/accounts/{id}/reports/tax
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/reports/tax" \
-H "Authorization: Bearer $IDEALX_API_KEY"

Year is the year the tax year ends in (Australia 2026: 1 July 2025 to 30 June 2026). Default: the last full tax year.

id
required
string
year
integer
>= 2000 <= 2100
format
string
Allowed values: json csv

The tax year

object
jurisdiction
required
string
currency
required
string
estimated
required
boolean
notice
required
string
year
required
number
label
required
string
from
required
string
to
required

The day after the tax year ends

string
capitalGains
required

How the country works gains out (D175)

object
method
required
string
Allowed values: fifo share_pooling none
holdingPeriodMonths
required
number | null
longTermLabel
required
string | null
sales
required
Array<object>
object
instrumentId
required
string
quantity
required
string
acquiredAt
required
string
soldAt
required
string
heldDays
required
number
heldOver12Months
required

Sold after the country’s holding period (12 months in Australia). Shown only; no discount is applied. False where the country has none

boolean
longTerm
required

Long term under the country’s holding period; null where it has none (D175)

boolean | null
matching
required

What the sale was matched with: a lot (oldest first), or under the UK rules a buy the same day, a buy in the next 30 days, or the pool at average cost

string
Allowed values: lot same_day bed_and_breakfast pool
cost
required

What was paid, including the transaction fee

object
amount
required
string
currency
required
string
proceeds
required

What the sale brought in, less the transaction fee

object
amount
required
string
currency
required
string
gain
required
object
amount
required
string
currency
required
string
inAccountCurrency
required

In the account’s currency: cost at the rate when bought, proceeds at the rate when sold. Null when not recorded

object
cost
required
object
amount
required
string
currency
required
string
proceeds
required
object
amount
required
string
currency
required
string
gain
required
object
amount
required
string
currency
required
string
income
required
Array<object>
object
instrumentId
required
string
kind
required
string
payDate
required
string
amount
required
object
amount
required
string
currency
required
string
interest
required
Array<object>
object
name
required
string
maturityDate
required
string
amount
required
object
amount
required
string
currency
required
string
fees
required

Fees paid in the year, with any tax on them (D109)

Array<object>
object
date
required
string
description
required
string
amount
required
object
amount
required
string
currency
required
string

Example

{
"estimated": true,
"capitalGains": {
"method": "fifo"
},
"sales": [
{
"matching": "lot"
}
]
}