入库单
<p>[TOC]</p>
<h5>概述</h5>
<p>入库单元数据接收接口</p>
<h5>请求方式</h5>
<ul>
<li><a href="https://www.showdoc.com.cn/2408347292986702/10707580304343109">参考通用接口</a></li>
</ul>
<h5>请求参数说明</h5>
<ul>
<li><a href="https://www.showdoc.com.cn/2408347292986702/10708991673231672">参数说明详细文档</a></li>
</ul>
<h5>请求参数示例(xml)</h5>
<pre><code>&lt;datas&gt;
&lt;data&gt;
&lt;arc appId=&quot;wsdarchiveerp&quot;&gt;
&lt;/arc&gt;
&lt;files&gt;
&lt;file&gt;
&lt;document ftpName=&quot;&quot; needDownLoad=&quot;true&quot;&gt;
&lt;param name=&quot;arc_document_name&quot; title=&quot;文档名称(带后缀)&quot;&gt;&lt;/param&gt;
&lt;param name=&quot;path&quot; title=&quot;文件路径&quot;&gt;&lt;/param&gt;
&lt;/document&gt;
&lt;metadata type=&quot;uf_arc_warehouse_receipt&quot;&gt;
&lt;field name=&quot;document_number&quot; title=&quot;单据编号&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;shipper&quot; title=&quot;发货方&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;examine&quot; title=&quot;审核&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;warehouse_keeper&quot; title=&quot;库管员&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;supplier&quot; title=&quot;供应商&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;inventory_org&quot; title=&quot;库存组织&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;preparation_time&quot; title=&quot;制单时间&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;total_quantity&quot; title=&quot;总数量&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;document_type&quot; title=&quot;单据类型&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;creator&quot; title=&quot;制单人&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;ratify&quot; title=&quot;批准&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;ctrantypeid&quot; title=&quot;出入库类型&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;warehouse&quot; title=&quot;仓库&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;salesperson&quot; title=&quot;业务员&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;total_amount&quot; title=&quot;总金额&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;recipient&quot; title=&quot;收货方&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;accounting_date&quot; title=&quot;会计日期&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;remarks&quot; title=&quot;备注&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;owner_user&quot; title=&quot;所属人员&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;owner_dept&quot; title=&quot;所属部门&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;owner_company&quot; title=&quot;所属分部&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;data_type&quot; title=&quot;数据类型&quot;&gt;&lt;/field&gt;
&lt;field name=&quot;unique_code&quot; title=&quot;唯一编码&quot;&gt;&lt;/field&gt;
&lt;/metadata&gt;
&lt;/file&gt;
&lt;/files&gt;
&lt;/data&gt;
&lt;/datas&gt;</code></pre>
<h5>请求参数示例(json)</h5>
<pre><code>{
&quot;datas&quot;:[
{
&quot;arc&quot;:{
&quot;appId&quot;:&quot;wsdarchiveerp&quot;
},
&quot;files&quot;:[
{
&quot;metadata&quot;:{
&quot;field&quot;:[
{
&quot;name&quot;:&quot;document_number&quot;,
&quot;title&quot;:&quot;单据编号&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;shipper&quot;,
&quot;title&quot;:&quot;发货方&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;examine&quot;,
&quot;title&quot;:&quot;审核&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;warehouse_keeper&quot;,
&quot;title&quot;:&quot;库管员&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;supplier&quot;,
&quot;title&quot;:&quot;供应商&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;inventory_org&quot;,
&quot;title&quot;:&quot;库存组织&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;preparation_time&quot;,
&quot;title&quot;:&quot;制单时间&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;total_quantity&quot;,
&quot;title&quot;:&quot;总数量&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;document_type&quot;,
&quot;title&quot;:&quot;单据类型&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;creator&quot;,
&quot;title&quot;:&quot;制单人&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;ratify&quot;,
&quot;title&quot;:&quot;批准&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;ctrantypeid&quot;,
&quot;title&quot;:&quot;出入库类型&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;warehouse&quot;,
&quot;title&quot;:&quot;仓库&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;salesperson&quot;,
&quot;title&quot;:&quot;业务员&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;total_amount&quot;,
&quot;title&quot;:&quot;总金额&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;recipient&quot;,
&quot;title&quot;:&quot;收货方&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;accounting_date&quot;,
&quot;title&quot;:&quot;会计日期&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;remarks&quot;,
&quot;title&quot;:&quot;备注&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;owner_user&quot;,
&quot;title&quot;:&quot;所属人员&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;owner_dept&quot;,
&quot;title&quot;:&quot;所属部门&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;owner_company&quot;,
&quot;title&quot;:&quot;所属分部&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;data_type&quot;,
&quot;title&quot;:&quot;数据类型&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;unique_code&quot;,
&quot;title&quot;:&quot;唯一编码&quot;,
&quot;content&quot;:&quot;&quot;
}
],
&quot;type&quot;:&quot;uf_arc_warehouse_receipt&quot;
},
&quot;document&quot;:[
{
&quot;ftpName&quot;:&quot;&quot;,
&quot;needDownLoad&quot;:&quot;true&quot;,
&quot;param&quot;:[
{
&quot;name&quot;:&quot;arc_document_name&quot;,
&quot;title&quot;:&quot;文档名称(带后缀)&quot;,
&quot;content&quot;:&quot;&quot;
},
{
&quot;name&quot;:&quot;path&quot;,
&quot;title&quot;:&quot;文件路径&quot;,
&quot;content&quot;:&quot;&quot;
}
]
}
]
}
]
}
]
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">docFormBizId</td>
<td style="text-align: left;">String</td>
<td>预归档库电子原文ID</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">boolean</td>
<td>接口执行状态</td>
</tr>
<tr>
<td style="text-align: left;">messsage</td>
<td style="text-align: left;">String</td>
<td>提示信息</td>
</tr>
<tr>
<td style="text-align: left;">uniqueV</td>
<td style="text-align: left;">String</td>
<td>业务请求传入的唯一值</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>
{
&quot;result&quot;: [
{
&quot;docFormBizId&quot;: &quot;54581000524,54582000524&quot;,
&quot;formBizId&quot;: &quot;-1&quot;,
&quot;messsage&quot;: &quot;xml接收成功!&quot;,
&quot;status&quot;: true,
&quot;uniqueV&quot;: &quot;2dcbd2d3-d25e-4e91-8558-f0e0738adddb&quot;
},
{
&quot;docFormBizId&quot;: &quot;54581000524,54582000524&quot;,
&quot;formBizId&quot;: &quot;-1&quot;,
&quot;messsage&quot;: &quot;更新成功!&quot;,
&quot;status&quot;: true,
&quot;uniqueV&quot;: &quot;2dcbd2d3-d25e-4e91-8558-f0e0738adddb&quot;
}
],
&quot;runStatus&quot;: true
}
</code></pre>