核销接口
<h2>用友 - 账单核销接口</h2>
<p><strong>接口地址</strong>:<code>https://10.101.5.3:443/admin-api/bill/verificat</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/json</code></p>
<p><strong>响应数据类型</strong>:无</p>
<p><strong>接口描述</strong>:</p>
<p>token放在请求头中,核销对象以body形式传入</p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>Authorization</td>
<td>认证 Token</td>
<td>header</td>
<td>true</td>
<td>string</td>
</tr>
<tr>
<td>核销对象</td>
<td>body</td>
<td>true</td>
<td>Object</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong>:
<em>把infoDate(2024-07-16)和infoDateTime(11:22:33)合成一个字段"infoDateTime": "2024-07-16 11:22:33"</em></p>
<pre><code class="language-javascript">{
&quot;verifyList&quot;: [
{
&quot;scomment&quot;: &quot;同币种核销&quot;,
&quot;busiDate&quot;: &quot;2024-07-16 11:22:33&quot;,
&quot;busiNo&quot;: &quot;1111111111&quot;,
&quot;billNo&quot;: &quot;YY0001&quot;,
&quot;customerName&quot;: &quot;上药的账号&quot;,
&quot;customer&quot;: &quot;1&quot;,
&quot;creator&quot;: &quot;zhangsan&quot;,
&quot;creatorUserName&quot;: &quot;张三&quot;,
&quot;pkBusiDataInvoiceNo&quot;: &quot;123&quot;,
&quot;quantityDe&quot;: 100.00000000,
&quot;moneyDe&quot;: 100.00000000,
&quot;pkVerifyDetail&quot;: &quot;4444&quot;,
&quot;accumulMoney&quot;: 100.00000000,
&quot;billClass&quot;: &quot;ys&quot;,
&quot;memo&quot;: &quot;企业打钱时的备注&quot;,
&quot;infoDateTime&quot;: &quot;2024-07-16 11:22:33&quot;,//infodate(年月日)和infodatetime(时分秒)合在一起
&quot;oppUnitName&quot;: &quot;李四&quot;,
&quot;oppBankAccount&quot;: &quot;66666&quot;
},{
&quot;scomment&quot;: &quot;同币种核销&quot;,
&quot;busiDate&quot;: &quot;2024-07-17 11:22:33&quot;,
&quot;busiNo&quot;: &quot;222222&quot;,
&quot;billNo&quot;: &quot;YY0002&quot;,
&quot;customerName&quot;: &quot;上药的账号&quot;,
&quot;customer&quot;: &quot;1&quot;,
&quot;creator&quot;: &quot;zhangsan&quot;,
&quot;creatorUserName&quot;: &quot;张三&quot;,
&quot;pkBusiDataInvoiceNo&quot;: &quot;123&quot;,
&quot;quantityDe&quot;: 100.00000000,
&quot;moneyDe&quot;: 100.00000000,
&quot;pkVerifyDetail&quot;: &quot;5555&quot;,
&quot;accumulMoney&quot;: 100.00000000,
&quot;billClass&quot;: &quot;ys&quot;,
&quot;memo&quot;: &quot;企业打钱时的备注&quot;,
&quot;infoDateTime&quot;: &quot;2024-07-16 11:22:33&quot;,
&quot;oppUnitName&quot;: &quot;李四&quot;,
&quot;oppBankAccount&quot;: &quot;66666&quot;
}
]
}</code></pre>
<p><strong>响应参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>类型</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>接口状态码</td>
<td>integer(int32)</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>data</td>
<td>返回内容</td>
<td>string</td>
</tr>
<tr>
<td>msg</td>
<td>提示消息</td>
<td>string</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-javascript">{
&quot;code&quot;: 0,//code为0,说明请求成功
&quot;data&quot;: &quot;true&quot;,
&quot;msg&quot;: &quot;&quot;
}</code></pre>
<pre><code class="language-javascript">{
&quot;code&quot;: 1009017003,
&quot;data&quot;: null,
&quot;msg&quot;: &quot;通过应收单号【D020240718000000073】找不到对应的账单同步记录&quot;
}</code></pre>
<p><strong>调用示例</strong>:
请求头:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=44e932757b922985ee585c8416b20e91&amp;file=file.png" alt="" />
请求体:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=b1116375c13b64460d141a4a05103e7e&amp;file=file.png" alt="" /></p>