轻易云
注册体验

领星ERPTemu本土 - 账务明细接口

所属平台
领星ERP
类型
WebAPI
作用
QUERY
接口版本
1.0
适配器
\Adapter\LingXing\LXQueryAdapter
授权方式
OTHER
描述
多平台 / 财务 / Temu本土财务 · POST · 请求参数 23 个(必填 0) · 响应参数 64 个 · 限流令牌桶容量 1
更新日期
2026-11-21

Temu本土 - 账务明细

POST/basicOpen/multiplatformFinance/temuLocal/bill/list
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/basicOpen/multiplatformFinance/temuLocal/bill/list"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/multiplatformFinance/temuLocal/bill/list?access_token=value&timestamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"sids\": [1, 2],\n    \"currencyCode\": \"CNY\",\n    \"startDate\": \"2026-01-01\",\n    \"endDate\": \"2026-01-31\",\n    \"offset\": 0,\n    \"length\": 20\n}'",
  "responseExample": {
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "a0d54debf93140f3b58d1ed81e8e3583",
    "response_time": "2026-06-01 12:00:00",
    "data": {
      "totalCount": 1,
      "list": [
        {
          "id": 1001,
          "isDelete": 0,
          "reportId": 2001,
          "companyId": 123,
          "paymentDate": "2026-01-15",
          "transactionType": "sale",
          "platformOrderNo": "ORD123456",
          "platformOrderItemNo": "ITEM001",
          "skuId": "10001",
          "sku": "SKU001",
          "quantity": 10,
          "retailPrice": 100,
          "platformDiscount": 5,
          "sellerDiscount": 3,
          "serviceFee": 2,
          "platformIncentive": 1,
          "shipping": 10,
          "platformIncentiveShipping": 2,
          "productTax": 1.5,
          "shippingTax": 0.5,
          "marketplaceWithheldTax": 1,
          "withholdingTax": 0.8,
          "others": 0.2,
          "total": 110,
          "othersAll": 0.2,
          "subtotal": 105,
          "relatedId": "REL001",
          "shipCity": "City",
          "shipState": "State",
          "gmtCreate": "2026-01-10 10:00:00",
          "gmtModified": "2026-01-10 10:00:00",
          "includedInSettlement": true,
          "currencyIcon": "¥",
          "currency": "CNY",
          "storeName": "MyStore"
        }
      ],
      "totalSum": {
        "quantity": 10,
        "retailPrice": 100,
        "platformDiscount": 5,
        "sellerDiscount": 3,
        "serviceFee": 2,
        "platformIncentive": 1,
        "shipping": 10,
        "platformIncentiveShipping": 2,
        "productTax": 1.5,
        "shippingTax": 0.5,
        "marketplaceWithheldTax": 1,
        "withholdingTax": 0.8,
        "others": 0.2,
        "total": 110,
        "othersAll": 0.2,
        "subtotal": 105,
        "totalCount": 1,
        "currencyIcon": "¥",
        "currency": "CNY"
      }
    },
    "total": 1
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1sids店铺 IDarray<any>—可选店铺 ID
2currencyCode目标展示币种string—可选目标展示币种。留空时按原始币种返回;传入后金额和币种按目标币种换算/展示
3startDatestartDatestring—可选Settlement Time(结算时间)筛选开始时间,格式 yyyy-MM-dd HH:mm:ss
4endDateendDatestring—可选Settlement Time(结算时间)筛选结束时间,格式 yyyy-MM-dd HH:mm:ss;服务端按当天结束时间处理
5transactionTypes交易类型页面编码数组array<any>—可选交易类型页面编码数组。可选值:1=Order Payment,2=Refund,3=Shipping label purchase adjustment,4=Shipping label purchase,5=Shipping label for return purchase,6=Shipping label for return purchase adjustment,7=Seller repayment,8=Seller repayment failed,9=Return shipping fee reimbursement,10=Delayed fulfillment deduction,11=Out of stock deduction,12=Fraudulent fulfillment deduction,13=Aggravated fraudulent fulfillment deduction,14=Advertising service fee,15=Compensation due to problematic product qualificationmaterials,16=Chargeback processing fee,17=Return shipping credit,18=Transfer of funds unsuccessful,19=Transfer,20=其他交易类型
6includedInSettlement可选值boolean—可选可选值:true(仅查询已纳入结算的记录)、false(仅查询未纳入结算的记录);不传时不按此条件筛选
7searchField1商品搜索字段string—可选商品搜索字段,可选值:msku(MSKUName / MSKU)、mskuId(MSKU ID)
8searchExactly1商品搜索是否精确匹配boolean—可选商品搜索是否精确匹配,可选值:true(精确匹配)、false(模糊匹配,默认)。传入对应的搜索数组时服务端会自动设为 true
9productSearchValue商品搜索值string—可选商品搜索值;多个值以英文逗号分隔
10productSearchArr商品精确搜索值数组array<any>—可选商品精确搜索值数组;传入后服务端自动按精确匹配处理
11mskuListMSKUName(MSKU)列表array<any>—可选MSKUName(MSKU)列表
12mskuIdListMSKU ID 列表array<any>—可选MSKU ID 列表
13searchField2单号搜索字段string—可选单号搜索字段,可选值:platformOrderNo(平台订单号)、platformOrderItemNo(平台订单子项号)、relatedId(关联单号)
14searchExactly2单号搜索是否精确匹配boolean—可选单号搜索是否精确匹配,可选值:true(精确匹配)、false(模糊匹配,默认)。传入对应的搜索数组时服务端会自动设为 true
15orderSearchValue单号搜索值string—可选单号搜索值;多个值以英文逗号分隔
16orderSearchArr单号精确搜索值数组array<any>—可选单号精确搜索值数组;传入后服务端自动按精确匹配处理
17platformOrderNoList平台订单号列表array<any>—可选平台订单号列表
18platformOrderItemNoList平台订单子项号列表array<any>—可选平台订单子项号列表
19relatedIdList关联单号/关联 ID 列表array<any>—可选关联单号/关联 ID 列表
20sortField排序字段string—可选排序字段,可选值:paymentDate(Settlement Time / 结算时间)、quantity(数量)、retailPrice(销售价)、platformDiscount(平台折扣)、sellerDiscount(卖家折扣)、serviceFee(服务费(含税))、platformIncentive(平台补贴)、subtotal(小计)、shipping(买家运费)、platformIncentiveShipping(运费补贴)、productTax(商品税)、shippingTax(运费税)、marketplaceWithheldTax(市场税)、withholdingTax(预扣税)、others(其他交易费)、total(总金额)、othersAll(其他)。不传时使用默认排序
21sortType排序顺序string—可选排序顺序,可选值:asc(升序)、desc(降序)
22offset分页起始位置integer—可选分页起始位置,从 0 开始
23length分页每页记录数integer—可选分页每页记录数

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0:成功
2message消息提示stringsuccess必填消息提示
3error_details数据校验失败时的错误详情array<any>—必填数据校验失败时的错误详情
4request_id请求链路idstringa0d54debf93140f3b58d1ed81e8e3583必填请求链路id
5response_time响应时间string2026-06-01 12:00:00必填响应时间
6data响应数据object—必填响应数据
6.1totalCount符合筛选条件的总记录数integer100必填符合筛选条件的总记录数。
6.2list当前页明细记录列表array<object>—必填当前页明细记录列表。
6.2.1id记录 IDinteger1001必填记录 ID。
6.2.2isDelete删除标记integer0必填删除标记。
6.2.3reportId报表 IDinteger2001必填报表 ID。
6.2.4companyId公司 IDinteger123必填公司 ID;服务端从鉴权上下文写入,调用方无需传入。
6.2.5paymentDateSettlement Time(结算时间)string2026-01-15必填Settlement Time(结算时间)。
6.2.6transactionType交易类型stringsale必填交易类型。
6.2.7platformOrderNo平台订单号stringORD123456必填平台订单号。
6.2.8platformOrderItemNo平台订单子项号stringITEM001必填平台订单子项号。
6.2.9skuIdSKU IDstring10001必填SKU ID。
6.2.10skuskustringSKU001必填SKU。
6.2.11quantity数量integer10必填数量。
6.2.12retailPrice零售价number100必填零售价。
6.2.13platformDiscount平台折扣金额number5必填平台折扣金额。
6.2.14sellerDiscount卖家折扣金额number3必填卖家折扣金额。
6.2.15serviceFee服务费金额number2必填服务费金额。
6.2.16platformIncentive平台激励金额number1必填平台激励金额。
6.2.17shipping运费金额number10必填运费金额。
6.2.18platformIncentiveShipping平台运费激励金额number2必填平台运费激励金额。
6.2.19productTax商品税金额number1.5必填商品税金额。
6.2.20shippingTax运费税金额number0.5必填运费税金额。
6.2.21marketplaceWithheldTax平台代扣税金额number1必填平台代扣税金额。
6.2.22withholdingTax预扣税金额number0.8必填预扣税金额。
6.2.23others其他金额number0.2必填其他金额。
6.2.24total总金额number110必填总金额。
6.2.25othersAll其他金额合计number0.2必填其他金额合计。
6.2.26subtotal小计金额number105必填小计金额。
6.2.27relatedId关联IDstringREL001必填关联ID
6.2.28shipCity收货城市stringCity必填收货城市。
6.2.29shipState收货州/省stringState必填收货州/省。
6.2.30gmtCreate创建时间string2026-01-10 10:00:00必填创建时间。
6.2.31gmtModified数据更新时间string2026-01-10 10:00:00必填数据更新时间。
6.2.32includedInSettlement是否包含在结算中booleantrue必填是否包含在结算中。
6.2.33currencyIcon币种图标或符号string¥必填币种图标或符号。
6.2.34currency币种代码stringCNY必填币种代码。
6.2.35storeName店铺名称stringMyStore必填店铺名称。
6.3totalSum符合筛选条件的汇总数据object—必填符合筛选条件的汇总数据;字段结构见对应汇总模型。
6.3.1quantity数量integer1000必填数量。
6.3.2retailPrice零售价number10000必填零售价。
6.3.3platformDiscount平台折扣金额number500必填平台折扣金额。
6.3.4sellerDiscount卖家折扣金额number300必填卖家折扣金额。
6.3.5serviceFee服务费金额number200必填服务费金额。
6.3.6platformIncentive平台激励金额number100必填平台激励金额。
6.3.7shipping运费金额number1000必填运费金额。
6.3.8platformIncentiveShipping平台运费激励金额number200必填平台运费激励金额。
6.3.9productTax商品税金额number150必填商品税金额。
6.3.10shippingTax运费税金额number50必填运费税金额。
6.3.11marketplaceWithheldTax平台代扣税金额number100必填平台代扣税金额。
6.3.12withholdingTax预扣税金额number80必填预扣税金额。
6.3.13others其他金额number20必填其他金额。
6.3.14total总金额number11000必填总金额。
6.3.15othersAll其他金额合计number20必填其他金额合计。
6.3.16subtotal小计金额number10500必填小计金额。
6.3.17totalCount符合筛选条件的总记录数integer100必填符合筛选条件的总记录数。
6.3.18currencyIcon币种图标或符号string¥必填币种图标或符号。
6.3.19currency币种代码stringCNY必填币种代码。
7total总数integer100必填总数

领星ERP的接口:Temu本土 - 账务明细(/basicOpen/multiplatformFinance/temuLocal/bill/list),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。