Lingxing
切换旧版

查询请款池 - 货款月结

POST/basicOpen/finance/requestFundsPool/inbound/list

接口信息

API Path请求协议请求方式令牌桶容量
/basicOpen/finance/requestFundsPool/inbound/listHTTPSPOST1

请求参数

pay_statusstring
状态:
0 未申请
10 已申请
20 已付清
time_fieldstring
时间搜索类型:
create_time 入库时间
prepay_time 应付款日
start_timestring
开始时间【时间间隔最长不得超过90天】,闭区间,格式:Y-m-d
end_timestring
结束时间【时间间隔最长不得超过90天】,闭区间,格式:Y-m-d
search_fieldstring
搜索类型:
order_sn 入库单号
purchase_order_sn 采购单号
sku SKU
search_valuestring
搜索值
offsetinteger
分页偏移量,默认0
lengthinteger
分页长度,默认20,上限200

请求示例

{
    "pay_status": 0,
    "time_field": "create_time",
    "start_time": "2024-07-25",
    "end_time": "2024-07-25",
    "search_field": "order_sn",
    "search_value": "IB240725029",
    "offset": 0,
    "length": 20
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
消息提示
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 77ac259a67d5462594c83b80669b6eae.1692331008758
response_timestring必填
响应时间
示例 2023-08-18 11:56:49
totalinteger必填
总数
示例 127
dataarray<object>必填
响应数据
隐藏子属性
supplier_idstring必填
供应商id
示例 264
supplier_namestring必填
供应商
示例 ANT供应商
purchase_order_snstring必填
采购单号
示例 PO220725001
purchaser_idstring必填
采购方ID
示例 12
purchaser_namestring必填
采购方名称
示例 ANT
order_snstring必填
入库单号
示例 IB220725003
widstring必填
仓库id
示例 1
ware_house_namestring必填
仓库名字
示例 拉美仓
opt_timestring必填
入库时间
示例 2022-06-25 11:02:25
namestring必填
结算账期
示例 入库后付款
prepay_datestring必填
应付款日
示例 2023-06-30
pay_statusinteger必填
状态:
0 未申请
10 已申请
20 已付清
示例 未申请
pay_status_textstring必填
状态说明
示例 0
request_funds_typeinteger必填
请款维度:
0 -
1 采购单维度
2 产品维度
3 入库单维度
示例 0
quantity_totalstring必填
采购量
示例 1000
order_product_totalstring必填
入库量
示例 7
amount_totalstring必填
采购金额
示例 34000.000000
order_amountstring必填
到货金额
示例 70.00
request_funds_amountstring必填
请款金额
示例 0.000000
request_funds_discountstring必填
折扣金额
示例 70.00
not_apply_amountstring必填
未申请金额
示例 0.00
req_funds_order_snstring必填
请款单号
示例 RF230719003
opt_uidstring必填
入库人id
示例 1
opt_realnamestring必填
入库人姓名
示例 jack
cg_userstring必填
采购员
示例 riry

返回示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "43cb2911449f4074b17acb8ec5989492.1695206632110",
    "response_time": "2023-09-20 18:44:44",
    "data": [
        {
            "supplier_id": 226,
            "supplier_name": "ANT供应商",
            "purchase_order_sn": "PO220714001",
            "purchaser_id": 5,
            "purchaser_name": "ANT",
            "order_sn": "IB220714001",
            "order_id": "1_IB220714001",
            "wid": "91",
            "ware_house_name": "ANT仓库",
            "opt_time": "2022-07-14 14:12:06",
            "name": null,
            "prepay_date": "",
            "pay_status": 20,
            "pay_status_text": "已付清",
            "request_funds_type": 1,
            "quantity_total": 10,
            "order_product_total": "10",
            "amount_total": "10000.000000",
            "request_funds_amount": "0.000000",
            "request_funds_discount": "0.000000",
            "not_apply_amount": "10000.00",
            "req_funds_order_sn": "RF220714001",
            "opt_uid": 128768,
            "opt_realname": null,
            "cg_user": "jack"
        }
    ],
    "total": 1877
}