Asset Settlement
This section documents the APIs that enable the Asset Settlement process for Investment Funds administered by QI CTVM. Through these APIs, it is possible to record installment payments, amortizations, repurchases, and other settlement events for assets in the fund's portfolio.
The asset settlement described in this section applies exclusively to credit rights (CCBs, invoices, contracts, etc.) already included in the fund's portfolio. Treasury Bills, Debentures, and other fixed-income assets do not apply to this flow.
- To access these services, contact integracao.dtvm@qitech.com.br to enable access to the Sandbox (Staging) and Production environments.
- You will need the
fund_class_key(fund key), which is part of the base URL for all endpoints in this API:
/settlement/fund_class/{fund_class_key}
Settlement Flow
The diagram below shows the main path, the branches and the resulting status of each step. Hover a node to see the endpoint and click to open its documentation.
Container for all settlements that will be processed together, identified by a unique external_id.
/settlement/fund_class/{fund_class_key}/payment_batchOne request per settlement, specifying asset type, amount, settlement type and identifiers.
.../payment_batch/{external_id}/settlementDiscards a settlement inserted by mistake. Only possible while the batch has not been closed.
.../settlement/{settlement_external_id}Sets batch_status. At least one settlement must have been inserted.
.../payment_batch/{external_id}No settlement is processed and no financial movement is generated. Flow terminated.
QI Tech confirms the payment. From this event onwards the individual settlements start being processed.
View documentation →Each settlement is reconciled in the fund's portfolio and notified individually via webhook.
View documentation →All settlements reached a final status and the batch cycle is closed.
View documentation →For every status transition, the webhook payloads and the exception paths, see the Asset Settlement Flow.
Step by Step
1. Payment Batch Creation
Create a payment batch with a unique identifier (external_id). The batch is the container for all settlements that will be processed together.
Access payment batch creation documentation