数电票二维码交付
<h5>简要描述</h5>
<ul>
<li>将开具成功的发票通过访问此接口返回地址进行下载</li>
</ul>
<h5>服务码</h5>
<ul>
<li>yspt_sdp_ewmjf</li>
</ul>
<h5>数据格式</h5>
<ul>
<li><code>JSON</code></li>
</ul>
<h5>请求数据</h5>
<table>
<thead>
<tr>
<th>参数</th>
<th>参数名</th>
<th>类型</th>
<th>长度</th>
<th>必须</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>nsrsbh</td>
<td>销售方纳税人识别号</td>
<td>string</td>
<td>20</td>
<td>是</td>
</tr>
<tr>
<td>fphm</td>
<td>数电发票号码</td>
<td>string</td>
<td>20</td>
<td>是</td>
</tr>
<tr>
<td>wjgs</td>
<td>文件格式</td>
<td>string</td>
<td>1</td>
<td>是</td>
<td>只能是PDF,OFD,XML。随便传个</td>
</tr>
<tr>
<td>kprq</td>
<td>开票日期</td>
<td>string</td>
<td>14</td>
<td>是</td>
<td>格式:yyyyMMddHHmmss</td>
</tr>
</tbody>
</table>
<h5>返回数据</h5>
<table>
<thead>
<tr>
<th>参数</th>
<th>参数名</th>
<th>类型</th>
<th>长度</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>msg</td>
<td>相应消息</td>
<td>string</td>
<td>不定长</td>
<td>请求结果返回信息</td>
</tr>
<tr>
<td>code</td>
<td>响应代码</td>
<td>string</td>
<td>4</td>
<td>请求结果返回代码</td>
</tr>
<tr>
<td>response</td>
<td>返回</td>
<td>string</td>
<td>不定长</td>
<td>url</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code class="language-java">{
&quot;nsrsbh&quot;: &quot;91440604MA5*************&quot; //纳税人识别号,
&quot;kprq&quot;: &quot;20230801163324&quot; //开票日期,
&quot;wjgs&quot;: &quot;PDF&quot; //文件格式,
&quot;fphm&quot;: &quot;234420000***********&quot; //数电号码
}</code></pre>
<h5>返回示例</h5>
<pre><code class="language-json">成功:
{
&quot;msg&quot;: &quot;成功&quot;,
&quot;code&quot;: &quot;0000&quot;,
&quot;response&quot;: &quot;https://dppt99.guangdong.chinatax.gov.cn:8443/v/2_2344200000*************_2023080116332************&quot;
}</code></pre>