/bd/fee/management/open/feeManagement/otherFee/create{
"operation": {
"method": "POST",
"path": "/bd/fee/management/open/feeManagement/otherFee/create"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"submit_type": 2,
"dimension": 1,
"apportion_rule": 1,
"is_request_pool": 0,
"remark": "备注",
"fee_items": [
{
"sids": [
106
],
"dimension_value": "FO-F20Y-K0KC",
"date": "2023-02",
"other_fee_type_id": 1167,
"fee": -100,
"currency_code": "CNY",
"remark": "费用子项备注"
}
]
},
"responseExample": {
"code": 0,
"msg": "操作成功",
"data": true
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | submit_type | 提交类型 | int | 2 | Required | 提交类型:1 暂存,2 提交 |
| 2 | dimension | 分摊维度 | int | 2 | Required | 分摊维度: 1 msku 2 asin 3 店铺 4 父asin 5 sku 6 企业 |
| 3 | apportion_rule | 分摊规则 | int | 1 | Required | 分摊规则: 0 无 1 按销售额 2 按销量 3 店铺均摊后按销售额占比分摊 4 店铺均摊后按销量占比分摊 |
| 4 | is_request_pool | 是否请款 | int | 0 | Required | 是否请款:0 否,1 是 |
| 5 | remark | 费用单备注 | string | 备注 | Required | 费用单备注 |
| 6 | fee_items | 费用明细项 | array | — | Required | 费用明细项 |
| 6.1 | sids | 店铺id | array | [1,2] | Required | 店铺id: 单选店铺传店铺id 全部店铺传[99999999] 企业费用传[88888888] 多选店铺传[77777777] ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 6.2 | dimension_value | 纬度值 | string | B0ABCD001 | Required | 纬度值,例如ASIN值 |
| 6.3 | date | 分摊日期 | string | 2023-02 | Required | 分摊日期,格式:Y-m-d 或 Y-m |
| 6.4 | other_fee_type_id | 费用类型id | number | 1000014 | Required | 费用类型id,查询费用类型列表 接口对应字段【id】 |
| 6.5 | fee | 金额 | number | -100 | Required | 金额 |
| 6.6 | fee | 原币金额(注意正负数) | number | -100 | Required | 原币金额(注意正负数) |
| 6.7 | currency_code | 币种代码 | string | CNY | Required | 币种代码 |
| 6.8 | remark | 费用子项备注 | string | 费用子项备注 | Required | 费用子项备注 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | msg | 消息提示 | string | 操作成功 | Required | 消息提示 |
| 3 | data | 响应数据 | string | true | Required | 响应数据 |
The 创建费用单 API (/bd/fee/management/open/feeManagement/otherFee/create) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.