V1
{
"code": 200,
"message": "OK",
"requestId": "112334",
"productName": "pf_variable_incomes",
"productVersion": "V1",
"productReportId": "4b2c1648-231f-11eb-97c4-f45c899f4587",
"productReportTime": "2019-12-23T06:10:43",
"enquiryCpf": "12345678909",
"links": [
{
"linkId": "gPuKXrCJU05J4k",
"institutionCode": "033",
"consents": [
{
"consentId": "f55c899f-11eb-231f-97c4-4b2c16484587",
"permissions": {
"REGISTRATION_ALL": {
"permissionsGranted": true,
"accountIds": [
"123456"
]
}
}
}
]
}
],
"investments": {
"accounts": [
{
"brandName": "Organização A",
"bacenName": "Organização A",
"compeCode": "001",
"companyCnpj": "50685362006773",
"branchCode": "6272",
"number": "94088392",
"checkDigit": "4",
"type": "CONTA_DEPOSITO_A_VISTA",
"subtype": "INDIVIDUAL",
"civilName": "Mike"
}
],
"variableIncomes": [
{
"productIdentification": {
"issuerInstitutionCnpjNumber": "11225860000140",
"isinCode": "BRCST4CTF001",
"ticker": "PETR4"
},
"balances": [
{
"referenceDate": "2023-01-07",
"priceFactor": "100.0005",
"grossAmount": {
"amount": "1000.04",
"currency": "BRL"
},
"blockedBalance": {
"amount": "1000.04",
"currency": "BRL"
},
"quantity": "1000.00000004",
"closingPrice": {
"amount": "1000.0004",
"currency": "BRL"
}
}
],
"transactions": [
{
"type": "SAIDA",
"transactionType": "DIVIDENDOS",
"transactionDate": "2018-02-15",
"priceFactor": "100.0005",
"transactionUnitPrice": {
"amount": "1000.0004",
"currency": "BRL"
},
"transactionQuantity": "42.00000025",
"transactionValue": {
"amount": "1000.04",
"currency": "BRL"
},
"transactionId": "ABCD2126019929279212650822221989319253344",
"brOKerNoteId": "XWYZ555019929279212650822221989319252233"
}
],
"brOKerNoteDetails": [
{
"brOKerNoteId": "XWYZ555019929279212650822221989319252233",
"brOKerNoteNumber": "1854009930314350",
"grossValue": {
"amount": "5000.0024",
"currency": "BRL"
},
"brOKerageFee": {
"amount": "13.8751",
"currency": "BRL"
},
"clearingSettlementFee": {
"amount": "13.8751",
"currency": "BRL"
},
"clearingRegistrationFee": {
"amount": "13.8751",
"currency": "BRL"
},
"stockExchangeAssetTradeNoticeFee": {
"amount": "13.8751",
"currency": "BRL"
},
"stockExchangeFee": {
"amount": "13.8751",
"currency": "BRL"
},
"clearingCustodyFee": {
"amount": "13.8751",
"currency": "BRL"
},
"taxes": {
"amount": "13.8751",
"currency": "BRL"
},
"incomeTax": {
"amount": "13.8751",
"currency": "BRL"
},
"netValue": {
"amount": "4889.0012",
"currency": "BRL"
}
}
]
}
]
},
"externalInfo": {
"myTraceId": "yourtraceid-1",
"myUUID": "youruuid-1"
}
},The JSON scheme is similar to pf_variable_incomes, and the productName key is pj_variable_incomes.
{
"code": 200,
"message": "OK",
"requestId": "112334",
"productName": "pj_variable_incomes",
"productVersion": "V1",
"productReportId": "4b2c1648-231f-11eb-97c4-f45c899f4587",
"productReportTime": "2019-12-23T06:10:43",
"enquiryCpf": "12345678909",
"links": [
{
"linkId": "gPuKXrCJU05J4k",
"institutionCode": "033",
"consents": [
{
"consentId": "f55c899f-11eb-231f-97c4-4b2c16484587",
"permissions": {
"REGISTRATION_ALL": {
"permissionsGranted": true,
"accountIds": [
"123456"
]
}
}
}
]
}
],
"investments": {
"accounts": [
{
"brandName": "Organização A",
"bacenName": "Organização A",
"compeCode": "001",
"companyCnpj": "50685362006773",
"branchCode": "6272",
"number": "94088392",
"checkDigit": "4",
"type": "CONTA_DEPOSITO_A_VISTA",
"companyName": "Luiza e Benjamin Assessoria Jurídica Ltda",
"tradeName": "Mundo da Eletronica",
"cnpjNumber": "50685362006773",
"civilName": "Mike"
}
],
"variableIncomes": [
{
"productIdentification": {
"issuerInstitutionCnpjNumber": "11225860000140",
"isinCode": "BRCST4CTF001",
"ticker": "PETR4"
},
"balances": [
{
"referenceDate": "2023-01-07",
"priceFactor": "100.0005",
"grossAmount": {
"amount": "1000.04",
"currency": "BRL"
},
"blockedBalance": {
"amount": "1000.04",
"currency": "BRL"
},
"quantity": "1000.00000004",
"closingPrice": {
"amount": "1000.0004",
"currency": "BRL"
}
}
],
"transactions": [
{
"type": "SAIDA",
"transactionType": "DIVIDENDOS",
"transactionDate": "2018-02-15",
"priceFactor": "100.0005",
"transactionUnitPrice": {
"amount": "1000.0004",
"currency": "BRL"
},
"transactionQuantity": "42.00000025",
"transactionValue": {
"amount": "1000.04",
"currency": "BRL"
},
"transactionId": "ABCD2126019929279212650822221989319253344",
"brOKerNoteId": "XWYZ555019929279212650822221989319252233"
}
],
"brOKerNoteDetails": [
{
"brOKerNoteId": "XWYZ555019929279212650822221989319252233",
"brOKerNoteNumber": "1854009930314350",
"grossValue": {
"amount": "5000.0024",
"currency": "BRL"
},
"brOKerageFee": {
"amount": "13.8751",
"currency": "BRL"
},
"clearingSettlementFee": {
"amount": "13.8751",
"currency": "BRL"
},
"clearingRegistrationFee": {
"amount": "13.8751",
"currency": "BRL"
},
"stockExchangeAssetTradeNoticeFee": {
"amount": "13.8751",
"currency": "BRL"
},
"stockExchangeFee": {
"amount": "13.8751",
"currency": "BRL"
},
"clearingCustodyFee": {
"amount": "13.8751",
"currency": "BRL"
},
"taxes": {
"amount": "13.8751",
"currency": "BRL"
},
"incomeTax": {
"amount": "13.8751",
"currency": "BRL"
},
"netValue": {
"amount": "4889.0012",
"currency": "BRL"
}
}
]
}
]
},
"externalInfo": {
"myTraceId": "yourtraceid-1",
"myUUID": "youruuid-1"
}
},Data point | Type | Description |
|---|---|---|
productIdentification.issuerInstitutionCnpjNumber | string | CNPJ of the issuing institution. |
productIdentification.isinCode * | string | ISIN code that universally identifies a security or financial instrument, according to ISO 6166. |
productIdentification.ticker * | string | Trading symbol used to identify assets traded on a stock exchange. |
balances.referenceDate * | string (date) | Closing position of the asset as of the previous day. |
balances.priceFactor * | string (double) | Factor indicating the number of shares used to determine the price, with a value greater than zero. |
balances.grossAmount * | object | Gross investment value on the reference date, before deducting taxes, fees and charges. |
balances.grossAmount.amount * | string (double) | Monetary value associated with the object. |
balances.grossAmount.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
balances.blockedBalance * | object | Amount unavailable for transactions due to restrictions, excluding lock-up periods. |
balances.blockedBalance.amount * | string (double) | Monetary value associated with the object. |
balances.blockedBalance.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
balances.quantity * | string (double) | Total quantity of the asset on the reference date. |
balances.closingPrice * | object | Closing price on the reference date. |
balances.closingPrice.amount * | string (double) | Monetary value associated with the object. |
balances.closingPrice.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
transactions.type * | string (enum) | Direction of the investment transaction: inflow or outflow. Dividend payments, interest on equity (JCP) and securities lending payments are considered outflows. |
transactions.transactionType * | string (enum) | Transaction classification: purchase, sale, dividends, interest on equity (JCP), securities lending, custody transfer, ownership transfer or other. |
transactions.transactionDate * | string (date) | Transaction date displayed to the customer through the institution's channels, based on the trading date. |
transasctions.priceFactor | string | A factor that indicates the number of shares used to determine the price. The value provided must be greater than zero. |
transactions.transactionUnitPrice | object | Unit price of the transaction: the value per unit of the product in an investment transaction. In the case of custody transfers, when the original unit price (from the originating institution) is not available to the transferring institution, the unit price recorded by the institution as of the transfer date must be provided. [Restriction] This field must be completed by the participants whenever the `transactionType` field is set to either COMPRA (PURCHASE) or VENDA (SALE). |
transactions.transactionUnitPrice.amount * | string (double) | Monetary value associated with the object. |
transactions.transactionUnitPrice.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
transactions.transactionQuantity | string | Quantity of financial assets involved in transac. |
transactions.transactionValue * | object | Value of the transaction carried out by the customer. |
transactions.transactionValue.amount * | string (double) | Monetary value associated with the object. |
transactions.transactionValue.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
transactions.transactionId * | string | Unique code or identifier provided by the institution to identify an individual transaction. |
transactions.brokerNoteId | string | It uniquely identifies the customer's relationship with the product for each trade note number (brokerNoteNumber), while upholding the rules of immutability within the transmitting institution. |
brokerNoteDetails.brokerNoteId | string | It uniquely identifies the customer's relationship with the product for each trade note number (brokerNoteNumber), while upholding the rules of immutability within the transmitting institution. |
brokerNoteDetails.brokerNoteNumber * | string | Brokerage note identifier. It must not be used as an API key. |
brokerNoteDetails.grossValue * | object | Gross value of the brokerage note, corresponding to the sum of the day's purchase and sale transactions. |
brokerNoteDetails.grossValue.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.grossValue.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
brokerNoteDetails.brokerageFee * | object | Brokerage fee charged on the gross value of the brokerage note, as agreed between the investor and the intermediary. |
brokerNoteDetails.brokerageFee.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.brokerageFee.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
brokerNoteDetails.clearingSettlementFee * | object | Fee charged for settlement through the custody system. |
brokerNoteDetails.clearingSettlementFee.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.clearingSettlementFee.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
brokerNoteDetails.clearingRegistrationFee * | object | Fee charged for registration through the custody system. |
brokerNoteDetails.clearingRegistrationFee.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.clearingRegistrationFee.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
brokerNoteDetails.stockExchangeAssetTradeNoticeFee * | object | Fee charged by the stock exchange for issuing an asset trade notice. |
brokerNoteDetails.stockExchangeAssetTradeNoticeFee.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.stockExchangeAssetTradeNoticeFee.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
brokerNoteDetails.stockExchangeFee * | object | Fee charged by the stock exchange for the registration services provided. |
brokerNoteDetails.stockExchangeFee.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.stockExchangeFee.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
brokerNoteDetails.clearingCustodyFee * | object | Custody fee charged by financial institutions. |
brokerNoteDetails.clearingCustodyFee.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.clearingCustodyFee.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
brokerNoteDetails.taxes * | object | Taxes charged on the transaction, including day-trading income tax, excluding withholding income tax (IRRF). |
brokerNoteDetails.taxes.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.taxes.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
brokerNoteDetails.incomeTax * | object | Income tax withheld at source (IRRF). |
brokerNoteDetails.incomeTax.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.incomeTax.currency * | string | Currency associated with the monetary value, according to ISO 4217. |
brokerNoteDetails.netValue * | object | Net value of the brokerage note after deducting fees, expenses, exchange charges, taxes and withholding income tax. |
brokerNoteDetails.netValue.amount * | string (double) | Monetary value associated with the object. |
brokerNoteDetails.netValue.currency * | string | Currency associated with the monetary value, according to ISO 4217. |