Products
Investment_transaction (V1)
1min
Example responses
JSON
1{
2 "code": 200,
3 "msg": "ok",
4 "report_time": "2021-12-01 18:02:36",
5 "query_param": {},
6 "data": {
7 "allow_autoupdate": "Yes",
8 "connection_id": "DcCdtoyJq285e7qdybfYGq2uRr7EZplZ",
9 "connection_key": "e7442808fda2485084f7c253ddb0dd17",
10 "enquiry_cpf": "12345678909",
11 "institution_id": "102",
12 "report_id": "47f5768e-715f-11ed-bdb2-064bb084566a",
13 "report_type": "investment_transaction",
14 "report_version": "V1",
15 "user_consent": "Yes",
16 "investmentInfo": {
17 "personalInfo": {
18 "cpf_verified": "12345678909",
19 "name": "Klavier",
20 "birthday": "1990-01-01 00:00:00",
21 "cellphone": "(11) 987654321",
22 "home_phone": "(11) 987654321",
23 "email": "[email protected]",
24 "id_type": "CH",
25 "id_number": "01010101010",
26 "gender": "Masculino",
27 "fathers_name": "Joao Silva",
28 "marital_status": "SOLTEIRO(A)",
29 "spouse_name": "n/a",
30 "profession": "IT",
31 "title": "CTO",
32 "company": "Company",
33 "suitability": "Agressivo",
34 "correspondenceAddress": {
35 "postcode": "00000000",
36 "address": "Rua Brasil",
37 "address_number": "66",
38 "neighborhood": "Neighborhood",
39 "complement": "n/a",
40 "city": "SAO PAULO",
41 "state": "SP",
42 "country": "BR"
43 }
44 },
45 "accountInfo": {
46 "institution": "XP Investimentos",
47 "bacen_name": "XP INVESTIMENTOS CORRETORA DE CÂMBIO,TÍTULOS E VALORES MOBILIÁRIOS S/A",
48 "bacen_id": "102",
49 "agency": "0001",
50 "account_number": "12345678",
51 "total_balance": 8269.88,
52 "account_balance": 12.34,
53 "investment_balance": 8257.54,
54 "savings_balance": 0
55 },
56 "investmentDetail": [
57 {
58 "investment_type": "Tesouro direto e Títulos Públicos",
59 "investment_type_balance": 940.11,
60 "productInfo": [
61 {
62 "product_type": "Tesouro Direto",
63 "product_id": "Tesouro IPCA+ 2035",
64 "due_date": "2035-05-15",
65 "balance": 940.11,
66 "position": 1,
67 "index_rate": "",
68 "market_info": "",
69 "productTransaction": [
70 {
71 "product_id": "Tesouro IPCA+ 2035",
72 "negotiate_date": "2020-08-17",
73 "trade_type": "Buy",
74 "applied_amount": 940.11,
75 "quantity": 5,
76 "has_transaction_pdf": 0,
77 "product_type": "Tesouro Direto"
78 }
79 ]
80 }
81 ]
82 },
83 {
84 "investment_type": "Renda Variável",
85 "investment_type_balance": 2735.73,
86 "productInfo": [
87 {
88 "product_type": "Ações",
89 "product_id": "TOTS3",
90 "balance": 2735.73,
91 "quantity": 60,
92 "profitability": 0.47056179,
93 "average_price": 45.59,
94 "position": 1,
95 "productTransaction": [
96 {
97 "negotiate_date": "2020-07-02",
98 "trade_type": "Buy",
99 "market_type": "n/a",
100 "due_date":"2021-07-02",
101 "applied_amount": 1448.4,
102 "price": 24.14,
103 "quantity": 60,
104 "cnpj": "n/a",
105
106 }
107 ]
108 }
109 ]
110 },
111 {
112 "investment_type": "Renda Fixa Privada",
113 "investment_type_balance": 2004.56,
114 "productInfo": [
115 {
116 "product_type": "Pré-Fixado",
117 "product_id": "CDB BANCO XP S.A. - FEV/2023",
118 "bank_issuer": "BANCO XP S.A.",
119 "fund_type": "CERTIFICADO DE DEPÓSITO BANCÁRIO",
120 "index": "",
121 "index_rate": "13,55%",
122 "spread": "",
123 "issue_date": "2022-11-25",
124 "due_date": "2023-02-23",
125 "liquidity_date": "2023-02-23",
126 "custody": "CETIP",
127 "ISIN": "-",
128 "balance": 1001.51392,
129 "position": 1,
130 "productTransaction": [
131 {
132 "negotiate_date": "2022-11-25",
133 "trade_type": "Buy",
134 "applied_amount": 1000,
135 "quantity": 1,
136 "has_transaction_pdf": 1
137 }
138 ]
139 },
140 {
141 "product_type": "Pós-Fixado",
142 "product_id": "CDB BANCO XP S.A. - FEV/2023",
143 "bank_issuer": "BANCO XP S.A.",
144 "fund_type": "CERTIFICADO DE DEPÓSITO BANCÁRIO",
145 "index": "CDI",
146 "index_rate": "100% CDI",
147 "spread": "",
148 "issue_date": "2022-11-22",
149 "due_date": "2023-02-22",
150 "liquidity_date": "2023-02-20",
151 "custody": "CETIP",
152 "ISIN": "-",
153 "balance": 1003.05115175,
154 "position": 1,
155 "productTransaction": [
156 {
157 "negotiate_date": "2022-11-22",
158 "trade_type": "Buy",
159 "applied_amount": 1000,
160 "quantity": 1,
161 "has_transaction_pdf": 1
162 }
163 ]
164 }
165 ]
166 },
167 {
168 "investment_type": "Fundos de Investimentos",
169 "investment_type_balance": 1622.19,
170 "productInfo": [
171 {
172 "product_type": "Pós-Fixado",
173 "product_id": "Trend Investback FIC FIRF Simples",
174 "balance": 1622.19,
175 "quantity": 82.2337,
176 "profitability": 0.70262340,
177 "average_price": 19.73,
178 "position": 1,
179 "productTransaction": [
180 {
181 "negotiate_date": "2022-11-07",
182 "trade_type": "Buy",
183 "market_type": "n/a",
184 "due_date":"2023-11-07",
185 "applied_amount": 952.92,
186 "price": 11.588,
187 "quantity": 82.2337,
188 "cnpj": "37910132000160",
189 "has_transaction_pdf": 1
190 }
191 ]
192 }
193 ]
194 },
195 {
196 "investment_type": "Privendência Privada",
197 "investment_type_balance": 954.95,
198 "productInfo": [
199 {
200 "product_type": "VGBL",
201 "product_id": "Leblon 70 XP Seg Prev FIM",
202 "balance": 954.95,
203 "quantity": 9.79876499,
204 "profitability": -0.05859,
205 "average_price": 0,
206 "position": 1,
207 "productTransaction": [
208 {
209 "trade_type": "Buy",
210 "applied_amount": 500,
211 "price": 0,
212 "cnpj": "27793095000102",
213 "plan_type": "VGBL",
214 "tax_type": "Regressivo",
215 "susep": "15414900885201972",
216 "negotiate_date": "25/03/2022",
217 "quantity": 0,
218 "proposal_info": "517015"
219 }
220 ]
221 }
222 ]
223 }
224 ]
225 }
226 }
227}
Updated 04 Dec 2023
Did this page help you?