发票列表
<p>[TOC]</p>
<h5>发票列表</h5>
<ul>
<li>发票列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/cloud/bill-v2/list</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;">start_date</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>开始日期</td>
</tr>
<tr>
<td style="text-align: left;">end_date</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>开始日期</td>
</tr>
<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,updated_at,opened_at,confirmed_at,cancelled_at</td>
</tr>
<tr>
<td style="text-align: left;">party_type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>1供应商采购发票,2客户销售发票</td>
</tr>
<tr>
<td style="text-align: left;">party_name</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>发票客户搜索</td>
</tr>
<tr>
<td style="text-align: left;">sn</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>1待审核,2待开票,3已开票,4已红冲,5已关闭</td>
</tr>
<tr>
<td style="text-align: left;">created_org_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">integer</td>
<td>当前登录组织ID</td>
</tr>
</tbody>
</table>
<p>true,created_id,,string,申请人等了id
true,updated_id,,string,调整人ID
true,confirmed_id,,string,登记、核票人
true,i_type,,string,1增值税发票,2普通发票
true,cancelled,,string,是否关闭:1是,2否,其它全部</p>
<h5>返回示例</h5>
<pre><code>{
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;count&quot;: {
&quot;total&quot;: 1,
&quot;amount&quot;: &quot;359.00&quot;,
&quot;final_amount&quot;: &quot;0.00&quot;,
},
&quot;list&quot;: [
{
&quot;id&quot;: &quot;30&quot;,
&quot;associated_id&quot;: &quot;33&quot;,
&quot;sn&quot;: &quot;NS24101000000030&quot;, // 单号
&quot;i_no&quot;: &quot;&quot;,
&quot;i_type&quot;: &quot;2&quot;, // 1增值税普通发票,2增值税专用发票
&quot;status&quot;: &quot;5&quot;, // 状态 1待审核,2待开票,3已开票,4已红冲,5已关闭
&quot;is_oil&quot;: &quot;0&quot;,// 是否油品 1是,0否
&quot;amount&quot;: 359,
&quot;final_amount&quot;: -0,
&quot;tax_rate&quot;: &quot;13&quot;,
&quot;title&quot;: &quot;12312&quot;,
&quot;inv_code&quot;: &quot;213&quot;,
&quot;mailbox&quot;: &quot;44&quot;, // 邮箱
&quot;party_type&quot;: &quot;2&quot;,
&quot;party_id&quot;: &quot;63351&quot;,
&quot;party_name&quot;: &quot;ZC测试&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;tax_no&quot;: &quot;&quot;,
&quot;enterprise_address&quot;: &quot;&quot;,
&quot;enterprise_tel&quot;: &quot;&quot;,
&quot;invoice_content&quot;: &quot;&quot;,
&quot;red_ticket_type&quot;: &quot;0&quot;,
&quot;red_id&quot;: &quot;0&quot;,
&quot;red_amount&quot;: &quot;0.00&quot;,
&quot;reduser_id&quot;: &quot;0&quot;,
&quot;red_at&quot;: &quot;&quot;,
&quot;details_count&quot;: &quot;0&quot;,
&quot;invoice_no&quot;: &quot;&quot;,
&quot;red_notice_sn&quot;: &quot;&quot;,
&quot;is_urgent&quot;: &quot;0&quot;,
&quot;annex&quot;: &quot;&quot;,
&quot;remark&quot;: &quot;55&quot;,
&quot;created_at&quot;: &quot;2024-10-10 16:57:19&quot;,// 申请时间
&quot;created_id&quot;: &quot;1&quot;,
&quot;created_org_id&quot;: &quot;1&quot;,
&quot;updated_at&quot;: &quot;2024-10-10 17:00:13&quot;,
&quot;updated_id&quot;: &quot;1&quot;,
&quot;updated_org_id&quot;: &quot;1&quot;,
&quot;cancelled_at&quot;: &quot;2024-10-10 17:00:13&quot;,// 取消时间
&quot;deleted&quot;: &quot;0&quot;,
&quot;way_type&quot;: &quot;1&quot;,
&quot;is_discount&quot;: &quot;1&quot;,
&quot;discount_content&quot;: &quot;11&quot;,
&quot;require_number&quot;: &quot;22&quot;,
&quot;require_money&quot;: &quot;33.00&quot;,
&quot;created_user&quot;: &quot;管理员&quot;,
&quot;updated_user&quot;: &quot;管理员&quot;,
&quot;confirmed_user&quot;: &quot;&quot;,
&quot;reduser_user&quot;: &quot;&quot;,
&quot;associated_name&quot;: &quot;张庄-济南老屯汽配城店&quot;,
&quot;created_org_name&quot;: &quot;测试_优配车联测试&quot;,
&quot;red_ticket_type_name&quot;: &quot;返利红票&quot;,
&quot;is_urgent_name&quot;: &quot;否&quot;
}
]
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>