金采供应商接收单查询:按单号/PO号/时间范围查询当前appKey供应商的接收单及行明细
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| po_numbers | String | 可选 | ["PO200048858"] | 采购订单号集合(按行bizCode匹配) | |
| approval_finish_start_time | Date | 可选 | 2021-05-18 10:38:05 | 接收审批完成时间范围始 | |
| approval_finishl_end_time | Date | 可选 | 2021-05-18 10:38:05 | 接收审批完成时间范围终 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| contents | SupplierRcvHeaderDto [] | 1 | 供应商接收单列表 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaJincaiRcvRtQueryRequest req = new AlibabaJincaiRcvRtQueryRequest();
req.setPoNumbers("[\"PO200048858\"]");
req.setApprovalFinishStartTime(StringUtils.parseDateTime("2021-05-18 10:38:05"));
req.setApprovalFinishlEndTime(StringUtils.parseDateTime("2021-05-18 10:38:05"));
AlibabaJincaiRcvRtQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_jincai_rcv_rt_query_response>
<contents>
<supplier_rcv_header_dto>
<id>1</id>
<gmt_create>2026-09-01 10:00:00</gmt_create>
<gmt_modified>2026-09-01 10:00:00</gmt_modified>
<creator>10086</creator>
<tenant_id>example</tenant_id>
<remark>备注示例</remark>
<parent_rsh_id>5000000</parent_rsh_id>
<rcv_type>RECEIVE</rcv_type>
<delivery_id>6000001</delivery_id>
<supplier_id>7000001</supplier_id>
<rcv_number>RT2026090900001</rcv_number>
<rcv_shipment_items>
<supplier_rcv_item_dto>
<id>1</id>
<gmt_create>2026-09-01 10:00:00</gmt_create>
<gmt_modified>2026-09-01 10:00:00</gmt_modified>
<creator>10086</creator>
<tenant_id>example</tenant_id>
<receiver>王五</receiver>
<rcv_date>2026-09-01 10:00:00</rcv_date>
<status>processing</status>
<biz_code>PO2026090900001</biz_code>
<rcv_shipment_id>5000001</rcv_shipment_id>
<delivery_item_id>6000001</delivery_item_id>
<purchase_org_id>9000001</purchase_org_id>
<quantity_received>10</quantity_received>
<quantity_accept>10</quantity_accept>
<deductions_amount>0.00</deductions_amount>
<unit_price>100.0000</unit_price>
<tax_rate>13</tax_rate>
<currency_code>CNY</currency_code>
<company_code>ALIBABA</company_code>
<category_use>生产用料</category_use>
<category_code>C001</category_code>
<order_type>STANDARD</order_type>
<uom>个</uom>
<is_delivery_by_detail>true</is_delivery_by_detail>
<is_detail_by_asset_management>false</is_detail_by_asset_management>
<tax_code>TAX001</tax_code>
<item_id>ITEM0001</item_id>
<evaluate_month_start>2026-09-01</evaluate_month_start>
<evaluate_month_end>2026-09-30</evaluate_month_end>
<parent_rsh_id>5000000</parent_rsh_id>
<remark>备注示例</remark>
<biz_id>BIZ2026090900001</biz_id>
<biz_type>PO</biz_type>
<demander>10088</demander>
<gmt_approval_finish>2026-09-02 10:00:00</gmt_approval_finish>
<item_ext>{}</item_ext>
<expense_month>2026-09-01</expense_month>
<is_structure_item_aap>false</is_structure_item_aap>
<line_num>1</line_num>
<attachments>
<supplier_attachment_dto>
<type>rcvInvoiceFile</type>
<object_key>jincai/rcv/2026/09/invoice.pdf</object_key>
<file_name>发票.pdf</file_name>
<file_size>102400</file_size>
<content_type>application/pdf</content_type>
<uploader_name>赵六</uploader_name>
<upload_time>2026-09-01 10:00:00</upload_time>
</supplier_attachment_dto>
</attachments>
<tax_amount>130.00</tax_amount>
</supplier_rcv_item_dto>
</rcv_shipment_items>
<rcv_date>2026-09-01 10:00:00</rcv_date>
<is_ceres>false</is_ceres>
<source_type>YUNCAI</source_type>
<ext>{}</ext>
<approval_end_time>2026-09-02 10:00:00</approval_end_time>
<kp_number>KP2026090001</kp_number>
</supplier_rcv_header_dto>
</contents>
</alibaba_jincai_rcv_rt_query_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|