更新报销状态
<h5>简要描述</h5>
<ul>
<li>更新报销状态</li>
</ul>
<h5>请求URL</h5>
<ul>
<li>
<p>测试环境:<code>http://119.45.5.33:8601/test/invoice/reimbursement/update_status</code></p>
</li>
<li>正式环境:<code>http://api2.taxdata.tax/new_api/invoice/reimbursement/update_status</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>请求示例</h5>
<pre><code>{
&quot;app_key&quot;: &quot;string&quot;, // key
&quot;timestamp&quot;: &quot;string&quot;, // 时间戳
&quot;token&quot;: &quot;string&quot;, // 根据key secret和时间戳算法加密
&quot;param&quot;: [
{
&quot;bill_no&quot;: &quot;报销单号1&quot;,
&quot;status_code&quot;: &quot;报销状态 0:提交中, 1:审核, 2:反审核 , 3: 删除&quot;,
&quot;invoices&quot;: [
{
&quot;invoice_code&quot;: &quot;发票代码&quot;,
&quot;invoice_number&quot;: &quot;发票号码&quot;
},
{
&quot;invoice_code&quot;: &quot;发票代码&quot;,
&quot;invoice_number&quot;: &quot;发票号码&quot;
},
...
]
},
{
&quot;bill_no&quot;: &quot;报销单号1&quot;,
&quot;status_code&quot;: &quot;报销状态 0:提交中, 1:审核, 2:反审核 , 3: 删除&quot;,
&quot;invoices&quot;: [
{
&quot;invoice_code&quot;: &quot;发票代码&quot;,
&quot;invoice_number&quot;: &quot;发票号码&quot;
},
{
&quot;invoice_code&quot;: &quot;发票代码&quot;,
&quot;invoice_number&quot;: &quot;发票号码&quot;
},
...
]
},
.......
]
}</code></pre>
<h3>返回参数</h3>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数类型</th>
<th>示例值</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>int</td>
<td>0</td>
<td>返回状态码</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>success</td>
<td>返回信息描述</td>
</tr>
<tr>
<td>data</td>
<td>array</td>
<td>[{...}]</td>
<td>返回数据,单条数据包含bill_no、invoice_number和code字段</td>
</tr>
</tbody>
</table>
<h3>返回示例</h3>
<pre><code>{
&quot;code&quot;: 0, // 0=全部成功, 1=部分成功 2=全部失败, 500=内部错误
&quot;msg&quot;: &quot;&quot;, // 描述信息 错误时查看描述信息
&quot;data&quot;: [
{
&quot;line_code&quot;: 0, // 0=成功, 2=失败
&quot;bill_no&quot;: &quot;报销单号1&quot;,
&quot;status_code&quot;: &quot;报销状态 0:提交中, 1:审核, 2:反审核 , 3: 删除&quot;,
&quot;invoices&quot;: [
{
&quot;invoice_code&quot;: &quot;发票代码&quot;,
&quot;invoice_number&quot;: &quot;发票号码&quot;
},
{
&quot;invoice_code&quot;: &quot;发票代码&quot;,
&quot;invoice_number&quot;: &quot;发票号码&quot;
},
...
]
},
{
&quot;line_code&quot;: 0, // 0=成功, 2=失败
&quot;bill_no&quot;: &quot;报销单号1&quot;,
&quot;status_code&quot;: &quot;报销状态 0:提交中, 1:审核, 2:反审核 , 3: 删除&quot;,
&quot;invoices&quot;: [
{
&quot;invoice_code&quot;: &quot;发票代码&quot;,
&quot;invoice_number&quot;: &quot;发票号码&quot;
},
{
&quot;invoice_code&quot;: &quot;发票代码&quot;,
&quot;invoice_number&quot;: &quot;发票号码&quot;
},
...
]
},
.......
]
}</code></pre>