/bd/sp/api/open/settlement/transaction/detail/list{
"operation": {
"method": "POST",
"path": "/bd/sp/api/open/settlement/transaction/detail/list"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 10,
"text": ""
},
"requestExample": "{\n \"offset\": 0,\n \"length\": 20,\n \"countryCodes\": [\n 1\n ],\n \"sids\": [\n 136\n ],\n \"startDate\": \"2023-09-24\",\n \"endDate\": \"2023-09-30\",\n \"eventType\": \"ShipmentEventList\",\n \"type\": \"Tax\",\n \"searchField\": \"id\",\n \"searchValue\": [\n \"LWCBG07Y55I3\"\n ],\n \"gmtModifiedStart\": \"2022-10-26 15:15:12\",\n \"gmtModifiedEnd\": \"2022-10-26 16:15:12\"\n}",
"responseExample": {
"code": 0,
"msg": null,
"data": {
"records": [
{
"uniqueKey": "",
"amazonOrderId": "202-6458758-1434760",
"sid": 8,
"storeName": "JHL-Official-02",
"countryCode": "UK",
"accountType": "Standard",
"fulfillment": "FBA",
"eventType": "Shipment",
"sellerId": "xxxxxxxxxxxxxxxx",
"sellerSku": "1160U1139-A",
"type": "Commission",
"postedDateLocale": "2022-09-10T23:55:12+01:00",
"currencyCode": "GBP",
"currencyAmount": "-1.93",
"quantity": 1,
"processingStatus": "Closed",
"fundTransferStatus": "Succeeded",
"fid": "QA0DOY5ODNF8",
"settlementId": "",
"localSku": "",
"localName": "",
"id": "18327152",
"gmtModified": "2022-09-11 07:06:37.401",
"sellerOrderId": "",
"marketplaceName": "Amazon.com",
"postedDate": "2024-06-06T08:29:00Z",
"financialEventGroupId": "2bc77df899a347861b669e3b",
"fnsku": "X00000STB1",
"orderItemId": "40667527236852",
"merchantOrderId": "100119933999",
"md5": "4fe4d6bb8d6b2b728f97acd9b11de94f",
"companyId": 1039287,
"gmtCreate": "",
"level1": "一级分类",
"asin": "B00EXAMPLE",
"level2": "二级分类",
"promotionId": "PRM202406",
"dealId": "DEAL12345",
"feeType": "ShippingFee",
"dealDescription": "订单退款",
"invoiceId": "INV202406",
"transactionType": "Refund",
"feeDescription": "运费",
"feeReason": "活动促销",
"couponId": "QP123456",
"sellerCouponDescription": "满减优惠券",
"clipOrRedemptionCount": 2,
"paymentEventId": "PMT67890",
"enrollmentId": "ENR202406",
"parentAsin": "B00PARENT123",
"debtRecoveryType": "DebtRecoveryTypeA",
"groupBeginDate": "2024-06-01",
"groupEndDate": "2024-06-07",
"orderId": "ORDER202406",
"removalShipmentItemId": "RS12345",
"taxCollectionModel": "MarketplaceFacilitator",
"taxWithholdingPeriodStartDate": "2024-06-01",
"taxWithholdingPeriodEndDate": "2024-06-05",
"netCoTransactionId": "NCOTID123",
"swapReason": "换货",
"marketplaceId": "A1F83G8C2ARO7P",
"adjustmentEventId": "ADJ7890",
"safeTClaimId": "STC202406",
"reasonCode": "REASON123",
"productDescription": "产品描述信息",
"sourceBusinessEventType": "EVENT_TYPE_A",
"businessObjectType": "Order",
"amountDescription": "实收金额",
"level1Index": 1,
"level2Index": 2
}
],
"total": 1335
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量 |
| 2 | length | 分页长度 | integer | — | Optional | 分页长度,上限10000 |
| 3 | countryCodes | 站点id | array<any> | — | Optional | 站点id |
| 4 | sids | 店铺id | array<any> | — | Optional | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 5 | startDate | 开始时间【结算时间】 | string | — | Optional | 开始时间【结算时间】,双闭区间,查询时间间隔不得超过7天,格式:Y-m-d 【无搜索值时,结算时间、修改时间二选一必填】 |
| 6 | endDate | 结束时间【结算时间】 | string | — | Optional | 结束时间【结算时间】,双闭区间,查询时间间隔不得超过7天,格式:Y-m-d 【无搜索值时,结算时间、修改时间二选一必填】 |
| 7 | eventType | 来源 | string | — | Optional | 来源,多个英文用逗号隔开,枚举见附加说明 |
| 8 | type | 交易类型 | string | — | Optional | 交易类型 |
| 9 | searchField | 搜索字段 | string | — | Optional | 搜索字段: id 结算编号 amazon_order_id 订单编号 primary_id 主键编号【对应本接口返回id值】 settlement_id 账单编号【此项下,结算时间或更新时间必填】 |
| 10 | searchValue | 搜索值 | array<any> | — | Optional | 搜索值 |
| 11 | gmtModifiedStart | 修改开始时间(北京时间) | string | — | Optional | 修改开始时间(北京时间),格式:Y-m-d H:i:s 【无搜索值时,结算时间、修改时间二选一必填】 |
| 12 | gmtModifiedEnd | 修改结束时间(北京时间) | string | — | Optional | 修改结束时间(北京时间),格式:Y-m-d H:i:s 【无搜索值时,结算时间、修改时间二选一必填】 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | msg | 返回信息 | string | — | Required | 返回信息 |
| 3 | data | 响应数据 | array<object> | — | Required | 响应数据 |
| 3.1 | records | records | array<object> | — | Required | |
| 3.1.1 | uniqueKey | 交易明细唯一标识 | string | — | Required | 交易明细唯一标识 备注:eventType=servicefeeeventlist时,uniqueKey会变动 |
| 3.1.2 | amazonOrderId | 订单号 | string | — | Required | 订单号 |
| 3.1.3 | sid | 店铺id | integer | — | Required | 店铺id |
| 3.1.4 | storeName | 店铺名 | string | — | Required | 店铺名 |
| 3.1.5 | sellerId | 亚马逊店铺id | string | — | Required | 亚马逊店铺id |
| 3.1.6 | countryCode | 国家 | string | — | Required | 国家 |
| 3.1.7 | accountType | 报告类型 | string | — | Required | 报告类型 |
| 3.1.8 | fulfillment | 配送方式 | string | — | Required | 配送方式 |
| 3.1.9 | eventType | 来源 | string | — | Required | 来源 备注:eventType=servicefeeeventlist时,uniqueKey会变动 |
| 3.1.10 | sellerSku | sellerSku | string | — | Required | MSKU |
| 3.1.11 | type | 交易类型 | string | — | Required | 交易类型 |
| 3.1.12 | postedDateLocale | 结算时间(站点时间) | string | — | Required | 结算时间(站点时间) |
| 3.1.13 | currencyCode | 币种 | string | — | Required | 币种 |
| 3.1.14 | currencyAmount | 金额 | number | — | Required | 金额 |
| 3.1.15 | quantity | 数量 | integer | — | Required | 数量 |
| 3.1.16 | processingStatus | 结算状态 | string | — | Required | 结算状态: Open 未结算 Closed 已结算 Reconciled 已对账 |
| 3.1.17 | fundTransferStatus | 转账状态 | string | — | Required | 转账状态: Succeeded 已转账 Processing 转账中 Failed 失败 Unknown 未知 |
| 3.1.18 | fid | 结算编号 | string | — | Required | 结算编号 |
| 3.1.19 | settlementId | settlementId | string | — | Required | settlement_id |
| 3.1.20 | localSku | localSku | string | — | Required | sku |
| 3.1.21 | localName | 品名 | string | — | Required | 品名 |
| 3.1.22 | id | 主键编号【非唯一键】 | string | — | Required | 主键编号【非唯一键】 |
| 3.1.23 | gmtModified | 修改时间 | string | — | Required | 修改时间 |
| 3.1.24 | sellerOrderId | 卖方为订单定义的标识符 | string | — | Required | 卖方为订单定义的标识符 |
| 3.1.25 | marketplaceName | 市场名称 | string | — | Required | 市场名称 |
| 3.1.26 | postedDate | 结算日期 | string | 2024-06-06T08:29:00Z | Optional | 结算日期 0时区 |
| 3.1.27 | financialEventGroupId | financialEventGroupId | string | 2bc77df899a347861b669e3b | Optional | groupID |
| 3.1.28 | fnsku | fnsku | string | X00000STB1 | Optional | FNSKU |
| 3.1.29 | orderItemId | 订单项ID | string | 40667527236852 | Optional | 订单项ID |
| 3.1.30 | merchantOrderId | 商家订单ID | string | 100119933999 | Optional | 商家订单ID |
| 3.1.31 | md5 | md5 | string | 4fe4d6bb8d6b2b728f97acd9b11de94f | Optional | MD5 |
| 3.1.32 | companyId | 公司ID | integer | 1039287 | Optional | 公司ID |
| 3.1.33 | gmtCreate | 创建时间 | string | 2024-06-05 11:22:33 | Optional | 创建时间 |
| 3.1.34 | level1 | 层级1 | string | 一级分类 | Optional | 层级1 |
| 3.1.35 | asin | asin | string | B00EXAMPLE | Optional | ASIN |
| 3.1.36 | level2 | 层级2 | string | 二级分类 | Optional | 层级2 |
| 3.1.37 | promotionId | 促销ID | string | PRM202406 | Optional | 促销ID |
| 3.1.38 | dealId | 交易ID | string | DEAL12345 | Optional | 交易ID |
| 3.1.39 | feeType | 费用类型 | string | ShippingFee | Optional | 费用类型 |
| 3.1.40 | dealDescription | 交易描述 | string | 订单退款 | Optional | 交易描述 |
| 3.1.41 | invoiceId | 发票ID | string | INV202406 | Optional | 发票ID |
| 3.1.42 | transactionType | 交易类型 | string | Refund | Optional | 交易类型 |
| 3.1.43 | feeDescription | 费用描述 | string | 运费 | Optional | 费用描述 |
| 3.1.44 | feeReason | 费用原因 | string | 活动促销 | Optional | 费用原因 |
| 3.1.45 | couponId | 优惠券ID | string | QP123456 | Optional | 优惠券ID |
| 3.1.46 | sellerCouponDescription | 卖家优惠券描述 | string | 满减优惠券 | Optional | 卖家优惠券描述 |
| 3.1.47 | clipOrRedemptionCount | 剪辑或兑换计数 | integer | 2 | Optional | 剪辑或兑换计数 |
| 3.1.48 | paymentEventId | 支付事件ID | string | PMT67890 | Optional | 支付事件ID |
| 3.1.49 | enrollmentId | 注册ID | string | ENR202406 | Optional | 注册ID |
| 3.1.50 | parentAsin | 父ASIN | string | B00PARENT123 | Optional | 父ASIN |
| 3.1.51 | debtRecoveryType | 债务恢复类型 | string | DebtRecoveryTypeA | Optional | 债务恢复类型 |
| 3.1.52 | groupBeginDate | 组开始日期 | string | 2024-06-01 | Optional | 组开始日期 已废弃 |
| 3.1.53 | groupEndDate | 组结束日期 | string | 2024-06-07 | Optional | 组结束日期 已废弃 |
| 3.1.54 | orderId | 订单ID | string | ORDER202406 | Optional | 订单ID |
| 3.1.55 | removalShipmentItemId | 移除货件项ID | string | RS12345 | Optional | 移除货件项ID |
| 3.1.56 | taxCollectionModel | 税收模型 | string | MarketplaceFacilitator | Optional | 税收模型 |
| 3.1.57 | taxWithholdingPeriodStartDate | 预扣税期间开始日期 | string | 2024-06-01 | Optional | 预扣税期间开始日期 已废弃 |
| 3.1.58 | taxWithholdingPeriodEndDate | 预扣税期间结束日期 | string | 2024-06-05 | Optional | 预扣税期间结束日期 已废弃 |
| 3.1.59 | netCoTransactionId | 净CO交易ID | string | NCOTID123 | Optional | 净CO交易ID |
| 3.1.60 | swapReason | 交换原因 | string | 换货 | Optional | 交换原因 |
| 3.1.61 | marketplaceId | 市场ID | string | A1F83G8C2ARO7P | Optional | 市场ID |
| 3.1.62 | adjustmentEventId | 调整事件ID | string | ADJ7890 | Optional | 调整事件ID |
| 3.1.63 | safeTClaimId | SafeT索赔ID | string | STC202406 | Optional | SafeT索赔ID |
| 3.1.64 | reasonCode | 原因代码 | string | REASON123 | Optional | 原因代码 |
| 3.1.65 | productDescription | 产品描述 | string | 产品描述信息 | Optional | 产品描述 |
| 3.1.66 | sourceBusinessEventType | 源业务事件类型 | string | EVENT_TYPE_A | Optional | 源业务事件类型 |
| 3.1.67 | businessObjectType | 业务对象类型 | string | Order | Optional | 业务对象类型 |
| 3.1.68 | amountDescription | 金额描述 | string | 实收金额 | Optional | 金额描述 |
| 3.1.69 | level1Index | 层级1索引 | integer | 1 | Optional | 层级1索引 |
| 3.1.70 | level2Index | 层级2索引 | integer | 2 | Optional | 层级2索引 |
| 3.2 | total | 总数 | integer | 1335 | Required | 总数 |
The 查询结算中心 - 交易明细 API (/bd/sp/api/open/settlement/transaction/detail/list) 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.