智慧平台与用友对接

智慧平台在账单需求中,与用友对接账单核销的功能。


反核销接口

<h2>用友 - 账单反核销接口</h2> <p><strong>接口地址</strong>:<code>http://10.101.5.3:8002/admin-api/bill/reverse-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>:</p> <pre><code class="language-javascript">{   &amp;quot;reverseVerifyList&amp;quot;: [     {       &amp;quot;busiNo&amp;quot;: &amp;quot;1111111111&amp;quot;,       &amp;quot;billNo&amp;quot;: &amp;quot;D02024071800000007&amp;quot;,       &amp;quot;customerName&amp;quot;: &amp;quot;上药的账号&amp;quot;,       &amp;quot;customer&amp;quot;: &amp;quot;20366527&amp;quot;,       &amp;quot;scomment&amp;quot;: &amp;quot;同币种反核销&amp;quot;,       &amp;quot;pkBusiDataInvoiceNo&amp;quot;: &amp;quot;123&amp;quot;,       &amp;quot;quantityDe&amp;quot;: -100.00000000,       &amp;quot;moneyDe&amp;quot;: -100.00000000,       &amp;quot;pkVerifyDetail&amp;quot;: &amp;quot;1001A110000000DGS2P0&amp;quot;,       &amp;quot;billClass&amp;quot;: &amp;quot;ys&amp;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">{ &amp;quot;code&amp;quot;: 0, &amp;quot;data&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;msg&amp;quot;: &amp;quot;&amp;quot; }</code></pre> <pre><code class="language-javascript">{ &amp;quot;code&amp;quot;: 1009017006, &amp;quot;data&amp;quot;: null, &amp;quot;msg&amp;quot;: &amp;quot;通过核销明细id【123】找到的核销记录已经反核销过,无法再次反核销&amp;quot; }</code></pre> <p><strong>调用示例</strong>: 请求头: <img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=e62a071b8edb2770cc7b2d1ba352180f&amp;amp;file=file.png" alt="" /> 请求体: <img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=d07b43c056b7c788ae1e838d8bf9ff2c&amp;amp;file=file.png" alt="" /></p>

页面列表

ITEM_HTML