Lingxing
切换旧版

应收报告 - 列表查询

POST/bd/sp/api/open/monthly/receivable/report/list

接口信息

API Path请求协议请求方式令牌桶容量
/bd/sp/api/open/monthly/receivable/report/listHTTPSPOST1

请求参数

sidsarray<any>
店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】
midsarray<any>
国家id
currencyCodestring
币种code
archiveStatusinteger
对账状态 :
1 已对账,
0 未对账
settleMonthstring必填
结算月,格式:Y-m
sortFieldstring
排序字段:
beginningBalanceCurrencyAmount 期初余额
incomeAmount 收入
refundAmount 退款
spendAmount 支出
other 其他
sortTypestring
排序规则:
asc 升序
desc 降序
receivedStateinteger
转账/到账金额:
0 不相符
1 相符
offsetinteger
分页偏移量, 默认0
lengthinteger
分页长度,默认20

请求示例

{
    "sids": [109,123],
    "mids": [1],
    "currencyCode": "US",
    "archiveStatus": "0",
    "settleMonth": "2023-01",
    "sortField": "beginningBalanceCurrencyAmount",
    "sortType": "desc",
    "receivedState": 1,
    "offset": 0,
    "length": 20
}

返回结果

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
提示信息
示例 操作成功
request_idstring必填
请求链路id
示例 ad9c1a8625c74f3ea0525e216374e31a1676514819613
response_timestring必填
响应时间
示例 2023-02-16 10:33:40
dataarray<object>必填
响应数据
隐藏子属性
storeNamestring必填
店铺名称
示例 JHL Official-01
sidinteger必填
店铺id
示例 8
countrystring必填
站点
示例 英国
countryCodestring必填
国家编码
示例 UK
settlementDatestring必填
结算月
示例 2021-01
archiveStatusinteger必填
对账状态:
已对账 1
未对账 0
示例 0
archiveStatusNamestring必填
对账状态名称
示例 未对账
currencyCodestring必填
币种code
示例 CNY
currencyIconstring必填
币种icon
示例 ¥
beginningBalanceCurrencyAmountnumber必填
期初余额
示例 98102.5
incomeAmountnumber必填
收入
示例 634711.85
refundAmountnumber必填
退款
示例 -8548.59
spendAmountnumber必填
支出
示例 -350595.94
othernumber必填
其他
示例 0
cardnumber必填
其他-信用卡(其他的子项)
示例 0
otherItemnumber必填
其他-其他项目(其他的子项)
示例 0
convertedSuccessAmountnumber必填
转账成功金额
示例 167112.7
convertedFailedAmountnumber必填
转账失败金额
示例 0
receivedAmountnumber必填
到账金额
示例 0
endingBalancenumber必填
期末
示例 206557.12
remarkstring
备注
示例 this is a remark

返回成功示例

{
    "code": 0,
    "data": [
        {
            "storeName": "8P-US-2024",
            "sid": 109,
            "country": "美国",
            "countryCode": "US",
            "settlementDate": "2023-01",
            "archiveStatus": 0,
            "archiveStatusName": "未对账",
            "currencyCode": "USD",
            "currencyIcon": "$",
            "beginningBalanceCurrencyAmount": -39.99,
            "incomeAmount": 0,
            "refundAmount": 0,
            "spendAmount": -41.47,
            "other": 40.03,
            "card": 40.03,
            "otherItem": 0,
            "convertedSuccessAmount": 0,
            "convertedFailedAmount": 0,
            "receivedAmount": 0,
            "endingBalance": -41.43,
            "remark": null
        }
    ],
    "response_time": "2024-04-03 11:11:43",
    "total": 9,
    "error_details": [],
    "message": "操作成功",
    "request_id": "eca49f3b-0b81-4cbc-a08c-de6e11420190.1712113903371"
}