APP(合伙人)

合伙人、dms、66智修文档相关


付款核销

<h5>简要描述</h5> <ul> <li>付款核销</li> </ul> <h5>请求URL</h5> <ul> <li><code>/dms/payment/store-account-head-confirm-order-v2</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">total_amount:117197.63</td> <td style="text-align: left;">是</td> <td style="text-align: left;">整型</td> <td>总额</td> </tr> <tr> <td style="text-align: left;">receivables_type:2</td> <td style="text-align: left;">是</td> <td style="text-align: left;">整型</td> <td>收款方式 1现金,2银行</td> </tr> <tr> <td style="text-align: left;">receivables_way:1132</td> <td style="text-align: left;">是</td> <td style="text-align: left;">整型</td> <td>收款账户ID</td> </tr> <tr> <td style="text-align: left;">balance_amount:0</td> <td style="text-align: left;">是</td> <td style="text-align: left;">整型</td> <td>余额核销</td> </tr> <tr> <td style="text-align: left;">purchase_org_id:53488</td> <td style="text-align: left;">是</td> <td style="text-align: left;">整型</td> <td>绑定的客户ID</td> </tr> <tr> <td style="text-align: left;">purchase_type:4</td> <td style="text-align: left;">是</td> <td style="text-align: left;">整型</td> <td>客户类型 4客户</td> </tr> <tr> <td style="text-align: left;">sales_org_id:1</td> <td style="text-align: left;">是</td> <td style="text-align: left;">整型</td> <td>组织ID 销售门店ID</td> </tr> <tr> <td style="text-align: left;">pay_time:2021-10-21 14:31:35</td> <td style="text-align: left;">是</td> <td style="text-align: left;">日期时间</td> <td>付款时间</td> </tr> <tr> <td style="text-align: left;">receivables_remark:备注</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>备注</td> </tr> <tr> <td style="text-align: left;">details[]:{&quot;id&quot;:&quot;9541&quot;,&quot;value&quot;:&quot;117197.63&quot;}</td> <td style="text-align: left;">是</td> <td style="text-align: left;">JSON对象</td> <td>明细数组:[{&quot;id&quot;:&quot;付款记录ID&quot;,&quot;value&quot;:&quot;本次付款金额&quot;}]</td> </tr> <tr> <td style="text-align: left;">ids:9541</td> <td style="text-align: left;">是</td> <td style="text-align: left;">字符串</td> <td>付款记录IDs,逗号分隔</td> </tr> <tr> <td style="text-align: left;">bank_amount:117197.63</td> <td style="text-align: left;">是</td> <td style="text-align: left;">金额</td> <td>银行付款额度</td> </tr> <tr> <td style="text-align: left;">rebate_balance_amount:0</td> <td style="text-align: left;">是</td> <td style="text-align: left;">金额</td> <td>返利余额</td> </tr> <tr> <td style="text-align: left;">rebate_way:0</td> <td style="text-align: left;">是</td> <td style="text-align: left;">整型</td> <td>返利方式</td> </tr> <tr> <td style="text-align: left;">cash_amount:0</td> <td style="text-align: left;">是</td> <td style="text-align: left;">金额</td> <td>付现金付款额度</td> </tr> <tr> <td style="text-align: left;">dms_realname:DMS</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>DMS操作人名字</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "errCode": 1000, "errMsg": "请求成功", "data": { "task": { "sales_org_id": 1, "sales_org_name": "优配车联", "sales_type": 1, "purchase_org_id": 53488, "purchase_org_name": "1-赵丹丹", "purchase_type": 4, "payment_id": 0, "payment_name": "DMS", "payment_mobile": "", "payment_remark": "", "order_amount": 117197.63, "total_amount": 117197.63, "actual_total_amount": 117197.63, "cash_payment_way": 0, "cash_receivables_way": 0, "cash_amount": 0, "bank_payment_way": 0, "bank_receivables_way": 1132, "bank_amount": 117197.63, "rebate_balance_amount": 0, "balance_amount": 0, "online_receivables_way": 1132, "online_amount": 117197.63, "created_at": 1634805662, "created_id": 0, "created_org_id": 0, "updated_at": 1634805662, "updated_id": 0, "updated_org_id": 0, "id": 171529, "order_sn": "REC21102100171529/*付款用到*/" }, "taskDetails": [ { "account_payment_id": 9541, "account_payment_sn": "ACP19100100009541", "payment_id": 0, "payment_name": "DMS", "payment_mobile": "", "payment_remark": "", "order_amount": "117197.63", "submit_amount": "117197.63", "check_amount": "0.00", "sales_org_id": 1, "sales_org_name": "优配车联", "sales_type": 1, "purchase_org_id": 53488, "purchase_org_name": "1-赵丹丹", "purchase_type": 4, "current_amount": 117197.63, "account_payment_task_id": 171529, "account_payment_task_sn": "REC21102100171529", "created_at": 1634805662, "created_id": 0, "created_org_id": 0, "updated_at": 1634805662, "updated_id": 0, "updated_org_id": 0, "id": 150071 } ] } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML