All reports related paths.
/users/{user_id}/reports
List user reports
type
One Of
Filters the list to only show reports of a certain type (e.g. only buy order confirmations)
Must match one of
Report type
instrument
One Of
Filters the list to only include reports concerning specified instrument
Must match one of
International securities identification number, prefixed with string 'isin:'
start_date
string
Returns reports generated starting from and including this date (UTC)
end_date
string
Returns reports generated up until this date (UTC)
sort
string
Field of resource to sort by
order
string
Sort order of the result list if the sort
parameter is specified. Use ASC
for ascending or DESC
for descending sort order.
limit
int
Use the limit
argument to specify the maximum number of items returned.
offset
int
Use the offset
argument to specify where in the list of results to start when returning items for a particular query.
Reports list
{
"meta": {
"offset": 0,
"limit": 100,
"count": 1,
"total_count": 1,
"sort": "id",
"order": "ASC"
},
"data": [
{
"id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f",
"created_at": "2020-08-24T14:15:22Z",
"user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5",
"type": "CORPORATE_ACTION_CASH_TRANSACTION",
"substituted_report_id": null,
"data": {
"account": {
"id": "a9a4ad54-6dd1-419a-a98d-ab48f9f23bc8"
},
"references": [
{
"id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f",
"type": "CORPORATE_ACTION_TRANSACTION_ID"
}
]
}
}
]
}
/reports
Create a user report
Must match one of
type
string
required
The type of report must be “ORDER_EX_ANTE_COST”.
order
object
required
Order details.
fees
array
Client fees.
{
"type": "ORDER_EX_ANTE_COST",
"order": {
"user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5",
"account_id": "c5034305-c441-4711-adbf-93cfbc13a695",
"order_type": "MARKET",
"side": "BUY",
"instrument_id": "LU0274208692",
"instrument_id_type": "ISIN",
"currency": "EUR",
"quantity": "15"
},
"fees": [
{
"type": "TRANSACTION_FEE_BUY",
"value_type": "ABSOLUTE",
"cash_amount": "0.80",
"currency": "EUR"
},
{
"type": "TRANSACTION_FEE_SELL",
"value_type": "ABSOLUTE",
"cash_amount": "0.95",
"currency": "EUR"
},
{
"type": "ANNUAL_AUM_BASED_FEE",
"value_type": "RELATIVE",
"bps": "37"
}
]
}
Report
{
"id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f",
"created_at": "2023-08-24T14:15:22Z",
"user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5",
"type": "ORDER_EX_ANTE_COST",
"substituted_report_id": null,
"data": {
"account": {
"id": "c5034305-c441-4711-adbf-93cfbc13a695",
"account_number": 1
},
"account_group": {
"id": "9d95820d-4333-46b6-98de-04ab7512e76f",
"securities_account_number": "123456789"
},
"user": {
"salutation": "SALUTATION_MALE",
"title": "DR",
"first_name": "Karl",
"last_name": "Schmidt",
"address": {
"address_line1": "Rosenweg 221",
"address_line2": "apt. 33",
"postcode": "45678",
"city": "Berlin",
"country": "DE"
}
},
"instrument": {
"isin": "LU0274208692",
"short_name": "XTR.MSCI WORLD SWAP 1C"
},
"venue": {
"name": "Tradegate"
},
"order": {
"user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5",
"instrument_id": "LU0274208692",
"instrument_id_type": "ISIN",
"account_id": "c5034305-c441-4711-adbf-93cfbc13a695",
"order_type": "MARKET",
"side": "BUY",
"quantity": "15",
"cash_amount": "1220.85",
"currency": "EUR",
"price": "81.39"
},
"holding_period": {
"unit": "YEAR",
"quantity": 3
},
"total_cost": {
"product": {
"cash_amount": "17.48",
"currency": "EUR",
"as_percentage": "1.43"
},
"service": {
"cash_amount": "6.88",
"currency": "EUR",
"as_percentage": "0.56"
},
"third_party": {
"cash_amount": "0.70",
"currency": "EUR",
"as_percentage": "0.06"
},
"total": {
"cash_amount": "25.06",
"currency": "EUR",
"as_percentage": "2.05"
}
},
"product_cost": {
"one_off": {
"cash_amount": "0.20",
"currency": "EUR",
"as_percentage": "0.02"
},
"ongoing": {
"cash_amount": "16.48",
"currency": "EUR",
"as_percentage": "1.35"
},
"transaction": {
"cash_amount": "0.80",
"currency": "EUR",
"as_percentage": "0.07"
},
"incidental": {
"cash_amount": "0.00",
"currency": "EUR",
"as_percentage": "0.00"
},
"total": {
"cash_amount": "17.48",
"currency": "EUR",
"as_percentage": "1.43"
}
},
"service_cost": {
"one_off": {
"cash_amount": "0.49",
"currency": "EUR",
"as_percentage": "0.04"
},
"ongoing": {
"cash_amount": "4.39",
"currency": "EUR",
"as_percentage": "0.36"
},
"transaction": {
"cash_amount": "2.00",
"currency": "EUR",
"as_percentage": "0.16"
},
"ancillary": {
"cash_amount": "0.00",
"currency": "EUR",
"as_percentage": "0.00"
},
"incidental": {
"cash_amount": "0.00",
"currency": "EUR",
"as_percentage": "0.00"
},
"total": {
"cash_amount": "6.88",
"currency": "EUR",
"as_percentage": "0.56"
}
},
"third_party_payments": {
"total": {
"cash_amount": "0.70",
"currency": "EUR",
"as_percentage": "0.06"
}
},
"return_impact": {
"year_one": {
"cash_amount": "9.05",
"currency": "EUR",
"as_percentage": "0.74"
},
"year_two": {
"cash_amount": "6.96",
"currency": "EUR",
"as_percentage": "0.57"
},
"year_three": {
"cash_amount": "8.36",
"currency": "EUR",
"as_percentage": "0.68"
}
}
}
}
/reports/{report_id}
Retrieve a user report
report_id
string
required
Report unique identifier.
Report
{
"id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f",
"created_at": "2020-08-24T14:15:22Z",
"user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5",
"type": "BUY_ORDER",
"substituted_report_id": null,
"data": {
"account": {
"id": "a9a4ad54-6dd1-419a-a98d-ab48f9f23bc8"
}
}
}
id
string
required
Event unique identifier
created_at
string
required
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
type
string
required
Event type
object
Any Of
required
Must match one of
id
string
required
Report unique identifier.
created_at
string
required
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
user_id
string
required
User unique identifier.
type
string
required
Report type
substituted_report_id
One Of
required
Must match one of
data
object (Report Data)
Contents of the report.
webhook_id
string
required
Webhook unique identifier.
{
"id": "8962b496-8d42-4560-bfab-10490dd1a721",
"created_at": "2021-07-21T14:10:00.00Z",
"type": "REPORT.CREATED",
"object": {
"id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f",
"created_at": "2020-08-24T14:15:22Z",
"user_id": "d1a4be99-8bb6-4e78-b897-8168f6823ab5",
"type": "CORPORATE_ACTION_CASH_TRANSACTION",
"substituted_report_id": null,
"data": {
"account": {
"id": "a9a4ad54-6dd1-419a-a98d-ab48f9f23bc8"
},
"references": [
{
"id": "b96b1ee7-d491-43eb-b5e4-4833af9c9c2f",
"type": "CORPORATE_ACTION_TRANSACTION_ID"
}
]
}
},
"webhook_id": "9df39835-be87-4243-9018-f2500b39cee6"
}
Request has been processed successfully.
Empty response
Was this page helpful?