金税市场更新发票号码
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>金税市场更新发票号码</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://api2.taxdata.tax/new_api/single_window/update_invoice_number</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>请求示例</h5>
<pre><code>{
&quot;app_key&quot;: &quot;string&quot;,
&quot;token&quot;: &quot;string&quot;,
&quot;timestamp&quot;: &quot;string&quot;,
&quot;param&quot;: {
&quot;tax_id&quot;: &quot;string&quot;, // 税号 必填
&quot;ic_card&quot;: &quot;string&quot;, // ic卡号 必填
&quot;cus_ciq_no&quot;: &quot;string&quot;, // 预录入编号 必填
&quot;invoice_number&quot;: &quot;string&quot; // 发票号码
}
}</code></pre>
<h5>返回示例</h5>
<pre><code>正常:
{
&quot;errCode&quot;: 200,
&quot;errMsg&quot;: &quot;更新成功&quot;,
&quot;data&quot;: {
&quot;tax_id&quot;: &quot;string&quot;,
&quot;ic_card&quot;: &quot;string&quot;,
&quot;cus_ciq_no&quot;: &quot;string&quot;,
&quot;invoice_number&quot;: &quot;string&quot;
}
}
失败:
{
&quot;errCode&quot;: 404,
&quot;errMsg&quot;: &quot;未查到该报关单&quot;,
&quot;data&quot;: {
&quot;tax_id&quot;: &quot;string&quot;,
&quot;ic_card&quot;: &quot;string&quot;,
&quot;cus_ciq_no&quot;: &quot;string&quot;,
&quot;invoice_number&quot;: &quot;string&quot;
}
}</code></pre>