Products
Investment_advance (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_advance",
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 "productSubscription": null
109 }
110 ]
111 },
112 {
113 "investment_type": "Renda Fixa Privada",
114 "investment_type_balance": 2004.56,
115 "productInfo": [
116 {
117 "product_type": "Pré-Fixado",
118 "product_id": "CDB BANCO XP S.A. - FEV/2023",
119 "bank_issuer": "BANCO XP S.A.",
120 "fund_type": "CERTIFICADO DE DEPÓSITO BANCÁRIO",
121 "index": "",
122 "index_rate": "13,55%",
123 "spread": "",
124 "issue_date": "2022-11-25",
125 "due_date": "2023-02-23",
126 "liquidity_date": "2023-02-23",
127 "custody": "CETIP",
128 "ISIN": "-",
129 "balance": 1001.51392,
130 "position": 1,
131 "productTransaction": [
132 {
133 "negotiate_date": "2022-11-25",
134 "trade_type": "Buy",
135 "applied_amount": 1000,
136 "quantity": 1,
137 "has_transaction_pdf": 1
138 }
139 ]
140 },
141 {
142 "product_type": "Pós-Fixado",
143 "product_id": "CDB BANCO XP S.A. - FEV/2023",
144 "bank_issuer": "BANCO XP S.A.",
145 "fund_type": "CERTIFICADO DE DEPÓSITO BANCÁRIO",
146 "index": "CDI",
147 "index_rate": "100% CDI",
148 "spread": "",
149 "issue_date": "2022-11-22",
150 "due_date": "2023-02-22",
151 "liquidity_date": "2023-02-20",
152 "custody": "CETIP",
153 "ISIN": "-",
154 "balance": 1003.05115175,
155 "position": 1,
156 "productTransaction": [
157 {
158 "negotiate_date": "2022-11-22",
159 "trade_type": "Buy",
160 "applied_amount": 1000,
161 "quantity": 1,
162 "has_transaction_pdf": 1
163 }
164 ]
165 }
166 ]
167 },
168 {
169 "investment_type": "Fundos de Investimentos",
170 "investment_type_balance": 1622.19,
171 "productInfo": [
172 {
173 "product_type": "Pós-Fixado",
174 "product_id": "Trend Investback FIC FIRF Simples",
175 "balance": 1622.19,
176 "quantity": 82.2337,
177 "profitability": 0.70262340,
178 "average_price": 19.73,
179 "position": 1,
180 "productTransaction": [
181 {
182 "negotiate_date": "2022-11-07",
183 "trade_type": "Buy",
184 "market_type": "n/a",
185 "due_date":"2023-11-07",
186 "applied_amount": 952.92,
187 "price": 11.588,
188 "quantity": 82.2337,
189 "cnpj": "37910132000160",
190 "has_transaction_pdf": 1
191 }
192 ],
193 "productSubscription": null
194 }
195 ]
196 },
197 {
198 "investment_type": "Privendência Privada",
199 "investment_type_balance": 954.95,
200 "productInfo": [
201 {
202 "product_type": "VGBL",
203 "product_id": "Leblon 70 XP Seg Prev FIM",
204 "balance": 954.95,
205 "quantity": 9.79876499,
206 "profitability": -0.05859,
207 "average_price": 0,
208 "position": 1,
209 "productTransaction": [
210 {
211 "trade_type": "Buy",
212 "applied_amount": 500,
213 "price": 0,
214 "cnpj": "27793095000102",
215 "plan_type": "VGBL",
216 "tax_type": "Regressivo",
217 "susep": "15414900885201972",
218 "negotiate_date": "25/03/2022",
219 "quantity": 0,
220 "proposal_info": "517015"
221 }
222 ]
223 }
224 ]
225 }
226 ]
227 }
228 }
229}
Updated 04 Dec 2023
Did this page help you?