Appearance
新建预收款
Request
Url
text
[POST] : https://eapi.paiago.com/ZKGJ/advancePayment/Add/?access_token={access_token}请求参数:
| 参数 | 类型 | 必填 | 描述 | 示例 |
|---|---|---|---|---|
| customer_id | string | 是 | 客户id | FzNxCk700 |
| account_id | string | 是 | 账户id | XxSNJ00Cj |
| arrival_date | string | 是 | 收款日期 | 2021-04-23 |
| return_money | number | 是 | 收款金额 | 2.00 |
| remark | string | 否 | 备注 | 备注 |
| bill_number | string | 否 | 单据编号 | n10010 |
| income_id | string | 否 | 回款类型id(多个id用,隔开) | PSxNSxaqC,PiixiSaqa |
| add_user | string | 否 | 创建人id | WiiiJmSy0 |
请求示例:
json
[
{
"customer_id":"FzNxCk700",
"account_id":"XxSNJ00Cj",
"arrival_date":"2021-04-23",
"return_money":"9",
"remark":"备注beizhu",
"bill_number":"n10010",
"income_id":"PSxNSxaqC,PiixiSaqa",
"add_user":"WiiiJmSy0"
}
]Response
响应参数
| 参数 | 描述 | 类型 | 示例 |
|---|---|---|---|
| errcode | 错误码 | int | |
| errmsg | 错误信息 | string |
响应示例:
json
{
"data": [],
"errcode": 0,
"errmsg": "请求成功",
"request_id": null,
"env": "zkgj-cs"
}