Qeasy Cloud
Get Started
POSThttps://openapi.yonyoucloud.com/yonbip/sd/voucherorder/listaccess_token

Sales Order List Query

YonBIP 销售管理域销售订单列表接口,POST JSON 分页查询订单头与行信息,支持按时间、状态过滤,用于电商/经销商订单回写 ERP 后的核对与下游同步。

## Overview This endpoint belongs to the YonBIP sales cloud (sd domain) and returns sales orders page by page. It is invoked with POST plus a JSON body, while the access_token travels in the URL query string. A typical use case: after a dealer portal or e-commerce mid-office writes sales orders into YonBIP, finance and supply-chain systems pull order status, amounts and fulfillment progress back through this API for reconciliation and tracking. ### Request essentials 1. Put access_token in the URL; set Content-Type: application/json. 2. pageIndex (1-based) and pageSize (recommended at or below 100) control pagination; use pageCount or totalElements in the response to decide when to stop. 3. Filters are passed via the condition object — by bill date, voucher state or customer code; the exact condition fields depend on the tenant's YonBIP version, so confirm against the tenant-scoped API docs. 4. For incremental sync, drive the cursor from the order modify/approve time and overlap the window by 5-10 minutes to avoid boundary losses. ### Fields The data array carries order code, customer, vouchdate, taxRate, origMoney, origTaxMoney and orderDetails rows (product, quantity, taxUnitPrice). Mind currency and tax-inclusive vs tax-exclusive semantics before posting amounts into finance systems. ### Operational tips Keep the request id of every page in the integration logs — YonBIP support will ask for it when investigating data gaps. When the same order appears in overlapping windows, deduplicate on the order id rather than the order code, because codes can be reissued in rare correction flows. Finally, confirm the tenant's number-format settings before parsing amounts into decimals.

Code examples

curl
curl -X POST "https://openapi.yonyoucloud.com/yonbip/sd/voucherorder/list?access_token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"pageIndex":1,"pageSize":100,"beginTime":"2026-06-01 00:00:00","endTime":"2026-06-02 00:00:00"}'

Error codes

CodeMessageMeaning
00000success成功
20002token 失效access_token 过期,需重新调用 getAccessToken
40000参数错误分页或条件参数不合法,检查 pageIndex/pageSize 与时间格式