---
title: Investment_transaction (V1)
slug: ki/investmenttransaction-v1
description: This document offers comprehensive JSON example responses that cover various personal details, account information, investment specifics, and individual transactions. Dive into these responses to explore a wide range of data, including the user's name, bi
docTags: 
createdAt: 2022-07-21T04:39:54.000Z
---

**Example responses**

```json
{
    "code": 200,
    "msg": "ok",
    "report_time": "2021-12-01 18:02:36",
    "query_param": {},
    "data": {
        "allow_autoupdate": "Yes",
        "connection_id": "DcCdtoyJq285e7qdybfYGq2uRr7EZplZ",
        "connection_key": "e7442808fda2485084f7c253ddb0dd17",
        "enquiry_cpf": "12345678909",
        "institution_id": "102",
        "report_id": "47f5768e-715f-11ed-bdb2-064bb084566a",
        "report_type": "investment_transaction",
        "report_version": "V1",
        "user_consent": "Yes",
        "investmentInfo": {
            "personalInfo": {
                "cpf_verified": "12345678909",
                "name": "Klavier",
                "birthday": "1990-01-01 00:00:00",
                "cellphone": "(11) 987654321",
                "home_phone": "(11) 987654321",
                "email": "tester@test.com",
                "id_type": "CH",
                "id_number": "01010101010",
                "gender": "Masculino",
                "fathers_name": "Joao Silva",
                "marital_status": "SOLTEIRO(A)",
                "spouse_name": "n/a",
                "profession": "IT",
                "title": "CTO",
                "company": "Company",
                "suitability": "Agressivo",
                "correspondenceAddress": {
                    "postcode": "00000000",
                    "address": "Rua Brasil",
                    "address_number": "66",
                    "neighborhood": "Neighborhood",
                    "complement": "n/a",
                    "city": "SAO PAULO",
                    "state": "SP",
                    "country": "BR"
                }
            },
            "accountInfo": {
                "institution": "XP Investimentos",
                "bacen_name": "XP INVESTIMENTOS CORRETORA DE CÂMBIO,TÍTULOS E VALORES MOBILIÁRIOS S/A",
                "bacen_id": "102",
                "agency": "0001",
                "account_number": "12345678",
                "total_balance": 8269.88,
                "account_balance": 12.34,
                "investment_balance": 8257.54,
                "savings_balance": 0
            },
            "investmentDetail": [
                {
                    "investment_type": "Tesouro direto e Títulos Públicos",
                    "investment_type_balance": 940.11,
                    "productInfo": [
                        {
                            "product_type": "Tesouro Direto",
                            "product_id": "Tesouro IPCA+ 2035",
                            "due_date": "2035-05-15",
                            "balance": 940.11,
                            "position": 1,
                            "index_rate": "",
                            "market_info": "",
                            "productTransaction": [
                                {
                                    "product_id": "Tesouro IPCA+ 2035",
                                    "negotiate_date": "2020-08-17",
                                    "trade_type": "Buy",
                                    "applied_amount": 940.11,
                                    "quantity": 5,
                                    "has_transaction_pdf": 0,
                                    "product_type": "Tesouro Direto"
                                }
                            ]
                        }
                    ]
                },
                {
                    "investment_type": "Renda Variável",
                    "investment_type_balance": 2735.73,
                    "productInfo": [
                        {
                            "product_type": "Ações",
                            "product_id": "TOTS3",
                            "balance": 2735.73,
                            "quantity": 60,
                            "profitability": 0.47056179,
                            "average_price": 45.59,
                            "position": 1,
                            "productTransaction": [
                                {
                                    "negotiate_date": "2020-07-02",
                                    "trade_type": "Buy",
                                    "market_type": "n/a",
                                    "due_date":"2021-07-02",
                                    "applied_amount": 1448.4,
                                    "price": 24.14,
                                    "quantity": 60,
                                    "cnpj": "n/a",
                                        
                                }
                            ]
                        }
                    ]
                },
                {
                    "investment_type": "Renda Fixa Privada",
                    "investment_type_balance": 2004.56,
                    "productInfo": [
                        {
                            "product_type": "Pré-Fixado",
                            "product_id": "CDB BANCO XP S.A.  - FEV/2023",
                            "bank_issuer": "BANCO XP S.A.",
                            "fund_type": "CERTIFICADO DE DEPÓSITO BANCÁRIO",
                            "index": "",
                            "index_rate": "13,55%",
                            "spread": "",
                            "issue_date": "2022-11-25",
                            "due_date": "2023-02-23",
                            "liquidity_date": "2023-02-23",
                            "custody": "CETIP",
                            "ISIN": "-",
                            "balance": 1001.51392,
                            "position": 1,
                            "productTransaction": [
                                {
                                    "negotiate_date": "2022-11-25",
                                    "trade_type": "Buy",
                                    "applied_amount": 1000,
                                    "quantity": 1,
                                    "has_transaction_pdf": 1
                                }
                            ]
                        },
                        {
                            "product_type": "Pós-Fixado",
                            "product_id": "CDB BANCO XP S.A.  - FEV/2023",
                            "bank_issuer": "BANCO XP S.A.",
                            "fund_type": "CERTIFICADO DE DEPÓSITO BANCÁRIO",
                            "index": "CDI",
                            "index_rate": "100% CDI",
                            "spread": "",
                            "issue_date": "2022-11-22",
                            "due_date": "2023-02-22",
                            "liquidity_date": "2023-02-20",
                            "custody": "CETIP",
                            "ISIN": "-",
                            "balance": 1003.05115175,
                            "position": 1,
                            "productTransaction": [
                                {
                                    "negotiate_date": "2022-11-22",
                                    "trade_type": "Buy",
                                    "applied_amount": 1000,
                                    "quantity": 1,
                                    "has_transaction_pdf": 1
                                }
                            ]
                        }
                    ]
                },
                {
                    "investment_type": "Fundos de Investimentos",
                    "investment_type_balance": 1622.19,
                    "productInfo": [
                        {
                            "product_type": "Pós-Fixado",
                            "product_id": "Trend Investback FIC FIRF Simples",
                            "balance": 1622.19,
                            "quantity": 82.2337,
                            "profitability": 0.70262340,
                            "average_price": 19.73,
                            "position": 1,
                            "productTransaction": [
                                {
                                    "negotiate_date": "2022-11-07",
                                    "trade_type": "Buy",
                                    "market_type": "n/a",
                                    "due_date":"2023-11-07",
                                    "applied_amount": 952.92,
                                    "price": 11.588,
                                    "quantity": 82.2337,
                                    "cnpj": "37910132000160",
                                    "has_transaction_pdf": 1
                                }
                            ]
                        }
                    ]
                },
                {
                    "investment_type": "Privendência Privada",
                    "investment_type_balance": 954.95,
                    "productInfo": [
                        {
                            "product_type": "VGBL",
                            "product_id": "Leblon 70 XP Seg Prev FIM",
                            "balance": 954.95,
                            "quantity": 9.79876499,
                            "profitability": -0.05859,
                            "average_price": 0,
                            "position": 1,
                            "productTransaction": [
                                {
                                    "trade_type": "Buy",
                                    "applied_amount": 500,
                                    "price": 0,
                                    "cnpj": "27793095000102",
                                    "plan_type": "VGBL",
                                    "tax_type": "Regressivo",
                                    "susep": "15414900885201972",
                                    "negotiate_date": "25/03/2022",
                                    "quantity": 0,
                                    "proposal_info": "517015"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    }
}
```

