Lingxing
切换旧版

查询请款池 - 货款现结

POST/basicOpen/finance/requestFundsPool/purchase/list

接口信息

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

请求参数

pay_statusstring
支付状态【多个使用英文逗号分隔】:
0 未申请
1 已申请
2 部分付款
3 已付清
time_fieldstring
时间搜索类型:
create_time 创建时间
start_timestring
开始时间【时间间隔最长不得超过90天】,闭区间,格式:Y-m-d
end_timestring
结束时间【时间间隔最长不得超过90天】,闭区间,格式:Y-m-d
search_fieldstring
搜索类型:
sku SKU
order_sn 采购单号
search_valuestring
查询值
offsetinteger
分页偏移量,默认0
lengthinteger
分页长度,默认20,上限200

请求示例

{
    "pay_status": "0,1",
    "time_field": "create_time",
    "start_time": "2024-07-25",
    "end_time": "2024-07-25",
    "search_field": "order_sn",
    "search_value": "PO240725048",
    "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
示例 330
supplier_namestring必填
供应商名称
示例 委外供应商
purchase_order_idstring必填
采购单ID
示例 4617
order_snstring必填
采购单号
示例 PO230807011
custom_order_snstring必填
自定义单号
示例 PO230807011
purchase_typeinteger必填
采购类型:
1 普通采购
2 1688 采购
示例 1
shipping_iconstring必填
运费币种符号
示例 ¥
other_iconstring必填
其他费用币种符号
示例 ¥
purchase_iconstring必填
采购金额
示例 ¥
purchase_currencystring必填
采购币种
示例 CNY
shipping_currencystring必填
运费币种
示例 CNY
other_currencystring必填
其他费用币种
示例 CNY
amount_totalstring必填
货值
示例 0.00
other_feestring必填
运费
示例 0.00
shipping_pricestring必填
其他费用
示例 0.00
quantity_totalstring必填
采购量
示例 20
quantity_entrystring必填
到货量
示例 20
in_stock_amountsstring必填
到货金额
示例 0.00
return_amountsstring必填
退货金额
示例 0.00
discount_amountstring必填
折扣金额
示例 0.00
payable_amountstring必填
应付金额
示例 0.00
amount_paidstring必填
实付金额
示例 0.00
amount_not_paidstring必填
未付金额
示例 0.00
purchase_amountstring必填
采购金额
示例 0.00
applying_amountstring必填
申请中金额
示例 0.00
not_apply_amountstring必填
未申请金额
示例 0.00
settlement_methodstring必填
结算方式
示例 现结
create_usernamestring必填
创建人
示例 张三
create_timestring必填
创建时间
示例 2023-08-07 19:15:45
remarkstring必填
备注
示例 333
request_funds_typeinteger必填
请款类型:
0 无
1 采购单
2 产品
3 入库单
示例 0
request_funds_type_textstring必填
请款类型文本
示例 -
purchaser_idstring必填
采购方ID
示例 4
purchaser_namestring必填
采购方名称
示例 采购公司456
statusinteger必填
状态:
-1 作废
0 待审核
- 草稿
1 待下单
- 已审核
2 待签收
- 已下单
9 完成
示例 9
status_textstring必填
状态说明
示例 已完成
pay_statusinteger必填
请款状态:
0 未申请
1 已申请
2 部分付款
3 已付款
示例 3
pay_status_textstring必填
请款状态说明
示例 已付清

返回示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "60c51fb0ec4d4d009f77e679d72c1252.1695194071872",
    "response_time": "2023-09-20 15:14:33",
    "total": 1266,
    "data": [
        {
            "supplier_id": "3453",
            "supplier_name": "hqf委外供应商",
            "purchase_order_id": "68646",
            "order_sn": "PO220714006",
            "custom_order_sn": "PO220714006",
            "purchase_type": 1,
            "shipping_icon": "¥",
            "other_icon": "¥",
            "purchase_icon": "¥",
            "purchase_currency": "CNY",
            "shipping_currency": "CNY",
            "other_currency": "CNY",
            "amount_total": "72.12",
            "other_fee": "0.00",
            "shipping_price": "0.00",
            "quantity_total": 10,
            "quantity_entry": 10,
            "in_stock_amounts": "72.12",
            "return_amounts": "0.00",
            "discount_amount": "0.00",
            "payable_amount": "72.12",
            "amount_paid": "0.00",
            "amount_not_paid": "72.12",
            "purchase_amount": "72.12",
            "applying_amount": "72.12",
            "not_apply_amount": "0.00",
            "settlement_method": "现结",
            "create_username": "0超级管理员01",
            "create_time": "2022-07-14 21:33:23",
            "remark": "",
            "request_funds_type": 1,
            "request_funds_type_text": "采购单",
            "purchaser_id": 1,
            "purchaser_name": "默认采购方",
            "status": 9,
            "status_text": "已完成",
            "pay_status": 1,
            "pay_status_text": "已申请"
        }
    ]
}