发票列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>发票列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/cloud/bill/list</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<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;">date_type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>默认 created_at</td>
</tr>
<tr>
<td style="text-align: left;">party_type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>默认 2</td>
</tr>
<tr>
<td style="text-align: left;">person_type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>默认 1</td>
</tr>
<tr>
<td style="text-align: left;">created_org_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">是</td>
<td>当前账套ID</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>默认 2</td>
</tr>
<tr>
<td style="text-align: left;">cancelled</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>默认 2</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>页</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>每页展示数</td>
</tr>
<tr>
<td style="text-align: left;">party_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>客户ID</td>
</tr>
<tr>
<td style="text-align: left;">query</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>客户名称、简称模糊搜索</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;count&quot;: {
&quot;total&quot;: 18,
&quot;amount&quot;: &quot;78138.86&quot;,
&quot;final_amount&quot;: &quot;55094.86&quot;,
&quot;total_id&quot;: [
&quot;3&quot;,
&quot;7&quot;,
&quot;9&quot;,
&quot;10&quot;,
&quot;58&quot;,
&quot;59&quot;,
&quot;60&quot;,
&quot;61&quot;,
&quot;63&quot;,
&quot;64&quot;,
&quot;65&quot;,
&quot;66&quot;,
&quot;79&quot;,
&quot;108&quot;,
&quot;134&quot;,
&quot;169&quot;,
&quot;208&quot;,
&quot;209&quot;
]
},
&quot;list&quot;: [
{
&quot;id&quot;: &quot;209&quot;,
&quot;sn&quot;: &quot;AP22090600000209&quot;,
&quot;i_no&quot;: &quot;&quot;,
&quot;i_noi&quot;: &quot;&quot;,
&quot;bonus_amount&quot;: &quot;0.00&quot;,
&quot;i_type&quot;: &quot;2&quot;,
&quot;status&quot;: &quot;2&quot;,
&quot;amount&quot;: &quot;527.27&quot;,
&quot;final_amount&quot;: &quot;527.27&quot;,
&quot;tax_rate&quot;: &quot;13&quot;,
&quot;title&quot;: &quot;1&quot;,
&quot;party_type&quot;: &quot;2&quot;,
&quot;party_id&quot;: &quot;63823&quot;,
&quot;party_name&quot;: &quot;王宁测试智能仓新&quot;,
&quot;opened_at&quot;: &quot;&quot;,
&quot;confirmed_at&quot;: &quot;&quot;,
&quot;confirmed_id&quot;: &quot;0&quot;,
&quot;details_view&quot;: &quot;0&quot;,
&quot;remark&quot;: &quot;1&quot;,
&quot;created_at&quot;: &quot;2022-09-06 09:50:13&quot;,
&quot;created_id&quot;: &quot;950&quot;,
&quot;created_org_id&quot;: &quot;1&quot;,
&quot;updated_at&quot;: &quot;2022-09-06 09:50:13&quot;,
&quot;updated_id&quot;: &quot;950&quot;,
&quot;updated_org_id&quot;: &quot;1&quot;,
&quot;cancelled_at&quot;: &quot;&quot;,
&quot;deleted&quot;: &quot;0&quot;,
&quot;source_id&quot;: &quot;0&quot;,
&quot;created_user&quot;: &quot;陈鸿鑫&quot;,
&quot;updated_user&quot;: &quot;陈鸿鑫&quot;,
&quot;confirmed_user&quot;: &quot;&quot;,
&quot;created_org_name&quot;: &quot;测试_优配车联测试&quot;
}
]
}
}</code></pre>
<p><strong>返回参数说明:</strong> </p>
<p><strong>---客户列表---</strong></p>
<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;">id</td>
<td style="text-align: left;">int</td>
<td>申请ID</td>
</tr>
<tr>
<td style="text-align: left;">party_name</td>
<td style="text-align: left;">string</td>
<td>客户名称</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">int</td>
<td>状态 2 待登记</td>
</tr>
<tr>
<td style="text-align: left;">created_at</td>
<td style="text-align: left;">string</td>
<td>申请时间</td>
</tr>
<tr>
<td style="text-align: left;">i_type</td>
<td style="text-align: left;">int</td>
<td>发票类型 1增值税普通发票 2增值税专用发票</td>
</tr>
<tr>
<td style="text-align: left;">sn</td>
<td style="text-align: left;">string</td>
<td>单号</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>