资产注册 - 发行
创建 - 商业票据
使用以下端点,可以在结构化资产编排系统中注册一张新的票据。
注册的资产初始状态为 pre_operational,以便提交与资产相关的文件。这样可以先预注册资产,待相关手续办理完毕后再启用该资产进行交易,详见下一部分。
以下是各字段的说明,以及其是否必填和类型的详细信息。
Request
ENDPOINT
/security/securityMÉTODO
POSTRequest Body
{
"external_id": "string",
"asset_type": "commercial_paper",
"distribution_type": "private",
"b3_code":"25M000000",
"isin_code":"BR00ABCDE000",
"contract_number": "SCR12345",
"ipoc_code": "string",
"maturity_date": "YYYY-MM-DD",
"allowed_managers": ["00.000.000/0000-00", "00.000.000/0000-00", "00.000.000/0000-00"],
"allowed_consultants": ["00.000.000/0000-00", "00.000.000/0000-00", "00.000.000/0000-00"],
"issuer_document_number": "00.000.000/0000-00",
"bookkeeper_document_number": "00.000.000/0000-00",
"number_of_units": 1,
"principal_unit_price": 1000000.00,
"issue_value": 1000000.00,
"issue_unit_price": 1000000.00,
"issue_date": "YYYY-MM-DD",
"amortization_type": "sac",
"installments": [
{
"installment_number": 1,
"maturity_date": "YYYY-MM-DD",
"principal_unit_price": 1000000.00,
"face_unit_price": 1010000.00,
"amortization_percentage": 1
}
],
"delay": {
"fine": {
"fine_type": "percentage",
"percentage_value": 0.0
},
"interest": {
"method": "compound",
"pre_fixed": {
"monthly_rate": 0.0,
"calendar_base": "calendar_360"
}
}
},
"pre_fixed": {
"monthly_rate": 0.01,
"calendar_base": "calendar_360"
},
"post_fixed": {
"lag": {
"amount": 1,
"reference": "daily"
},
"rate": 1,
"indexer": "di",
"calendar_base": "workdays"
}
}
定义
资产对象(Request Body)
| 字段 | 类型 | 描述 | 必填 |
|---|---|---|---|
asset_type | string | 确定资产类型的枚举值 | 是 |
distribution_type | string | 发行方式:public 或 private。 | 是 |
external_id | string | 资产的外部标识;用于访问该实体的 key | 是 |
b3_code | string | 资产的 Cetip 代码 | 否 |
isin_code | string | ISIN 代码(International Securities Identification Number) | 否 |
ipoc_code | string | 资产的 IPOC 代码 | 否 |
allowed_managers | list | 有权在该发行中操作的管理人 CNPJ 列表 | 否 |
allowed_consultants | list | 有权在该发行中操作的顾问 CNPJ 列表 | 否 |
issuer_document_number | string | 发行人的 CNPJ 或 CPF | 是 |
bookkeeper_document_number | string | 登记机构(escriturador)的 CNPJ | 是 |
number_of_units | float | 单位数量 | 是 |
issue_unit_price | float | 发行时的单价 | 是 |
issue_value | float | 资产的发行金额 | 是 |
principal_unit_price | float | 资产发行时的单位本金 | 是 |
issue_date | string | 发行日期,格式为 YYYY-MM-DD | 是 |
amortization_type | string | 摊销类型枚举值 | 是 |
contract_number | string | 合同编号 | 是 |
maturity_date | string | 资产到期日 | 是 |
installments | dict | 分期对象 | 是 |
delay | dict | 逾期对象 | 是 |
pre_fixed | dict | 固定利率对象 | 是 |
post_fixed | dict | 浮动利率对象 | 否 |
资产类型枚举值
| 枚举值 | 描述 |
|---|---|
| commercial_paper | 商业票据(Nota Comercial)类资产 |
| debenture | 债券(Debênture)类资产 |
| cri | CRI 类资产 |
| cra | CRA 类资产 |
摊销类型枚举值
| 枚举值 | 描述 |
|---|---|
| sac | SAC 摊销 |
| price | Price 摊销 |
| custom | 自定义摊销 |
分期对象
| 字段 | 类型 | 描述 | 必填 |
|---|---|---|---|
installment_number | int | 分期期数 | 是 |
maturity_date | string | 到期日,格式为 YYYY-MM-DD | 是 |
principal_unit_price | float | 资产的单位本金 | 是 |
face_unit_price | float | 资产的单位面值 | 是 |
amortization_percentage | float | 摊销比例 | 否 |
逾期对象
| 字段 | 类型 | 描述 | 必填 |
|---|---|---|---|
fine | object | 到期罚金对象。见 逾期罚金对象。 | 是 |
interest | object | 逾期利息对象。见 逾期利息对象。 | 是 |
逾期罚金对象
| 字段 | 类型 | 描述 | 必填 |
|---|---|---|---|
fine_type | string | 罚金类型。 | 是 |
percentage_value | number | 罚金类型为 percentage 时的罚金值。取值范围:0 到 1,对应 0 到 100% | 是(fixed 时也必填) |
amount | number | 罚金类型为 fixed 时的罚金值。 | 否 |
罚金类型枚举值
| 枚举值 | 描述 |
|---|---|
| percentage | 按分期金额的百分比计算罚金 |
| fixed | 固定金额罚金 |
逾期利息对象
| 字段 | 类型 | 描述 | 必填 |
|---|---|---|---|
method * | string | 见 逾期利息计算方法枚举值。 | 是 |
pre_fixed * | object | 见 固定利率对象。 | 是 |
逾期利息计算方法枚举值
| 枚举值 | 描述 |
|---|---|
| compound | 复利计算逾期利息 |
| simple | 单利计算逾期利息 |
固定利率对象
| 字段 | 类型 | 描述 | 必填 |
|---|---|---|---|
calendar_base * | string | 所使用的计算基准。 | enumerator |
monthly_rate * | number | 合同月利率。1% 请使用 0.01 | 最多 8 位小数 |
浮动利率对象
| 字段 | 类型 | 描述 | 必填 |
|---|---|---|---|
| rate | int | 适用的固定利率 | 是 |
| indexer | string | 调整所参照的指数(di、selic、ipca) | 是 |
| calendar_base | string | 所采用的日历类型 | 是 |
| lag | object | 参见 Lag 对象 | 是 |
Lag 对象
| 字段 | 类型 | 描述 | 必填 |
|---|---|---|---|
| amount | int | 滞后的单位数量 | 是 |
| reference | string | 滞后的时间单位 | 是 |
Lag 参照枚举值
| 枚举值 | 描述 |
|---|---|
| daily | 滞后按天计算 |
| monthly | 滞后按月计算 |
计算基准枚举值
| 枚举值 | 描述 |
|---|---|
| workdays | 以工作日(252)为计算基准 |
| calendar_365 | 以 365 天为计算基准 |
| calendar_360 | 以 360 天为计算基准 |
Response
STATUS
201Response Body
{
"security_key": "41d6ff41-1dac-4df7-9e50-d15210ec57f3",
"status": "pre_operational"
}
错误
| 状态码 | 代码 | 触发条件 |
|---|---|---|
| 400 | QIT000001 | 请求体无效:校验失败的字段见 description。 |
认证、 权限和主机相关错误:参见 API 错误。