查账收款
<h5>简要描述</h5>
<ul>
<li>查账收款</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/dms/purchase/app-credit</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;">org_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>客户ID</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"balance": 0,
"setting_credit": 1,
"credit_limit": "30000.00",
"freezing_amount": "5800.00",
"used_limit": "144144.20",
"available_amount": "-119944.20",
"total_available_amount": "-119944.20",
"credit_mode": "1",
"account_days": "60 天",
"total_used_limit": 144144.20000000001,
"credit_end_time": "2019-10-31",
"is_expired": 1,
"expired_limit": "144144.20",
"un_check_num": 8
}
}</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;">total_used_limit</td>
<td style="text-align: left;">float</td>
<td>应收款总额</td>
</tr>
<tr>
<td style="text-align: left;">credit_end_time</td>
<td style="text-align: left;">string</td>
<td>最近收款日</td>
</tr>
<tr>
<td style="text-align: left;">total_available_amount</td>
<td style="text-align: left;">float</td>
<td>可用总额度</td>
</tr>
<tr>
<td style="text-align: left;">balance</td>
<td style="text-align: left;">float</td>
<td>可用余额</td>
</tr>
<tr>
<td style="text-align: left;">available_amount</td>
<td style="text-align: left;">float</td>
<td>可用额度</td>
</tr>
<tr>
<td style="text-align: left;">account_days</td>
<td style="text-align: left;">string</td>
<td>账期</td>
</tr>
<tr>
<td style="text-align: left;">credit_limit</td>
<td style="text-align: left;">float</td>
<td>信用额度</td>
</tr>
<tr>
<td style="text-align: left;">un_check_num</td>
<td style="text-align: left;">float</td>
<td>未支付数量</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>