付款单详情
<h5>简要描述</h5>
<ul>
<li>付款单详情</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/dms/payment/account-record-view?id=171392</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">整型</td>
<td>ID</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"id": 171392,
"order_sn": "REC21080300171392",
"sales_org_id": 1,
"sales_org_name": "优配车联",
"sales_org_address": "",
"sales_type": 1,
"supplier_id": 0,
"supplier_name": "",
"purchase_org_id": 53574,
"purchase_org_name": "北京亮华维商贸有限公司",
"purchase_org_address": "",
"purchase_type": 4,
"customer_id": 0,
"customer_name": "",
"receivables_id": 0,
"receivables_name": "",
"receivables_mobile": "",
"receivables_remark": "系统自动关闭",
"payment_id": 1,
"payment_name": "管理员",
"payment_mobile": "18953111000",
"payment_remark": "",
"order_amount": "11448.00",
"total_amount": "18.00",
"balance_amount": "0.00",
"rebate_way": 0,
"rebate_balance_amount": "0.0000",
"cash_receivables_way": 0,
"cash_payment_way": 4,
"cash_amount": "0.00",
"bank_receivables_way": 1132,
"bank_payment_way": 0,
"bank_amount": "18.00",
"actual_total_amount": "18.00",
"is_check": "0",
"is_return": 1,
"check_time": 0,
"pay_status": 0,
"online_receivables_way": "1132",
"online_amount": "18.00",
"pay_time": "2021-08-03 16:57:11",
"created_org_id": 1,
"updated_org_id": 0,
"created_at": 1627981031,
"created_id": 1,
"updated_at": 1627985102,
"updated_id": 0,
"deleted": 0,
"created_user": "管理员",
"updated_user": "",
"created_time": "2021-08-03 16:57:11",
"updated_time": "2021-08-03 18:05:02",
"is_check_name": "未支付",
"receive_time": "",
"payment_type": 2,
"receivables_type": 2,
"payment_way": 0,
"receivables_way": 1132,
"payment_type_name": "银行账户",
"receivables_type_name": "银行账户",
"payment_way_name": "",
"receivables_way_name": "总部分享给济阳银行账户",
"sales_org_type": 1,
"purchase_org_type": 4,
"sales_org_type_name": "公司总部",
"purchase_org_type_name": "客户",
"shop_name": "优配车联",
"order_total_amount": 11448,
"submit_total_amount": 3260.03,
"check_total_amount": 3055.03,
"current_total_amount": 18,
"order_list": [ // 应收款单明细
{
"id": "149805",
"account_payment_id": "45432",
"account_payment_sn": "ACP19101000045432",// 应收款单号
"sales_org_id": "1",
"sales_org_name": "优配车联",
"sales_type": "1",
"supplier_id": "0",
"supplier_name": "",
"purchase_org_id": "53574",
"purchase_org_name": "北京亮华维商贸有限公司",
"purchase_type": "4",
"customer_id": "0",
"customer_name": "",
"receivables_id": "0",
"receivables_name": "",
"receivables_mobile": "",
"receivables_remark": "",
"payment_id": "1",
"payment_name": "管理员",
"payment_mobile": "18953111000",
"payment_remark": "",
"order_amount": "11448.00", // 订单金额
"submit_amount": "3260.03",
"check_amount": "3055.03", // 已核销金额
"current_amount": "18.00", // 本次付款
"check_status": "0",
"check_time": "0",
"account_payment_task_id": "171392",
"account_payment_task_sn": "REC21080300171392",
"created_org_id": "1",
"updated_org_id": "1",
"created_at": "1627981031",
"created_id": "1",
"updated_at": "1627981031",
"updated_id": "1",
"deleted": "0",
"unsubmit_amount": "8187.97",
"created_time": "2019-10-10",
"credit_start_time": "2019-10-10", // 信用生效日
"credit_end_time": "2019-10-25", // 信用到期日
"sales_order_id": "37137",
"sales_order_sn": "SO19100900037137", // 关联单号
"sales_order_type": "1",
"stock_order_sn": "WO19100900044150"
}
],
"log_list": [
{
"id": "46117",
"org_id": "1",
"type": "1",
"order_id": "45432",
"order_sn": "ACP19101000045432",
"before_status": "0",
"status": "0",
"before_param": "a:1:{s:8:\"order_sn\";s:0:\"\";}",
"param": "a:1:{s:8:\"order_sn\";s:17:\"ACP19101000045432\";}",
"remark": "创建",
"client_id": "0",
"ip": "",
"created_org_id": "1",
"created_at": "1570670950",
"created_id": "581",
"deleted": "0",
"created_user": "于欣玫001",
"created_time": "2019-10-10 09:29:10",
"created_org_name": "测试优配车联"
}
]
}
}</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;">actual_total_amount</td>
<td style="text-align: left;">string</td>
<td>付款金额</td>
</tr>
<tr>
<td style="text-align: left;">receivables_way_name</td>
<td style="text-align: left;">string</td>
<td>收款账户</td>
</tr>
<tr>
<td style="text-align: left;">purchase_org_name</td>
<td style="text-align: left;">string</td>
<td>客户名称</td>
</tr>
<tr>
<td style="text-align: left;">order_sn</td>
<td style="text-align: left;">string</td>
<td>待付款单号</td>
</tr>
</tbody>
</table>
<h5>order_list返回参数说明</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;">credit_start_time</td>
<td style="text-align: left;">string</td>
<td>时间</td>
</tr>
<tr>
<td style="text-align: left;">sales_order_sn</td>
<td style="text-align: left;">string</td>
<td>关联单号</td>
</tr>
<tr>
<td style="text-align: left;">account_payment_sn</td>
<td style="text-align: left;">string</td>
<td>应付款单号</td>
</tr>
<tr>
<td style="text-align: left;">order_amount</td>
<td style="text-align: left;">string</td>
<td>订单金额</td>
</tr>
<tr>
<td style="text-align: left;">check_amount</td>
<td style="text-align: left;">string</td>
<td>已核销金额</td>
</tr>
<tr>
<td style="text-align: left;">xxx</td>
<td style="text-align: left;">string</td>
<td>未核销 订单金额-已核销</td>
</tr>
<tr>
<td style="text-align: left;">current_amount</td>
<td style="text-align: left;">string</td>
<td>本次付款</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>