轻易云
注册体验

用友BIP销售订单单个保存_v1接口

所属平台
用友BIP
类型
WebAPI
作用
EXECUTE
接口版本
0.1
适配器
\Adapter\YYBIP\BIPExecuteAdapter
授权方式
OTHER
更新日期
2022-06-18

销售订单单个保存_v1

POST/yonbip/sd/voucherorder/singleSave
加工厂
{
  "operation": {
    "method": "none"
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1resubmitCheckKeyresubmitCheckKeystring1必填保证请求的幂等性,该值由客户端生成,并且必须是全局唯一的,长度不能超过32位。更多信息,请参见«MDD幂等性»
2salesOrgIdsalesOrgIdstring1必填销售组织,传id或者code    示例:2282800216593664
3transactionTypeIdtransactionTypeIdstring1必填交易类型,传id或者code    示例:2291507369660672
4vouchdatevouchdatestring1必填单据日期,格式为:yyyy-MM-dd HH:mm:ss    示例:2021-06-09 00:00:00
5codecodestring1可选单据编码,以系统编码规则配置为准:系统设置为手工编号时必输,系统设置为自动编号时非必输;修改时必传    示例:UO-366420210609000004
6agentIdagentIdstring1必填客户,传id或者code    示例:2282507926999296
7corpContactcorpContactstring1可选销售业务员,传id或者code    示例:1123123565864
8saleDepartmentIdsaleDepartmentIdstring1可选销售部门,传id或者code    示例:3455313215
9retailInvestorsretailInvestorsstring1可选是否散户    示例:false
10retailAgentNameretailAgentNamestring1可选散户名称    示例:abc
11receiveContacterreceiveContacterstring1可选客户联系人    示例:刘德华
12receiveContacterPhonereceiveContacterPhonestring1可选客户联系电话    示例:19877754612
13settlementOrgIdsettlementOrgIdstring1必填开票组织,传id或者code    示例:2282800216593664
14hopeReceiveDatehopeReceiveDatestring1可选希望到货日期,格式为:yyyy-MM-dd HH:mm:ss    示例:2021-06-28 00:00:00
15sendDatesendDatestring1可选计划发货日期,格式为:yyyy-MM-dd HH:mm:ss    示例:2021-06-23 00:00:00
16sourcesourcestring1可选单据来源, 0:PC、1:移动、2:导入、3:ERP、4:OPENAPI、    示例:0
17orderDateorderDatestring1可选订单日期,格式为:yyyy-MM-dd HH:mm:ss    示例:2021-06-09 11:34:26
18bizIdbizIdstring1可选商家id    示例:2281151360143616
19agentRelationIdagentRelationIdstring1可选客户交易关系id    示例:2282800485126656
20invoiceMoneyinvoiceMoneystring1可选发票金额    示例:0
21versionversionstring1可选版本号    示例:0
22isWfControlledisWfControlledstring1可选是否审批流控制    示例:false
23orderPrices!currencyorderPrices!currencystring1必填币种,传id或者code    示例:2281153755730176
24orderPrices!exchRateorderPrices!exchRatestring1必填汇率    示例:1
25orderPrices!exchangeRateTypeorderPrices!exchangeRateTypestring1必填汇率类型,传id或者code    示例:0000KPC165PABLPTS60000
26orderPrices!natCurrencyorderPrices!natCurrencystring1必填本币,传id或者code    示例:2281153755730176
27orderPrices!taxInclusiveorderPrices!taxInclusivestring1必填单价含税    示例:true
28creditBalancecreditBalancestring1可选客户信用余额    示例:0
29agentTaxItemagentTaxItemstring1可选客户销项税率ID    示例:123555
30lockInlockInstring1可选标记锁    示例:false
31bmake_voucher_deliverybmake_voucher_deliverystring1可选流程发货    示例:true
32bizFlowbizFlowstring1可选流程ID    示例:19f1e925-c7fd-11eb-a68a-0624d60000dc
33bizFlow_versionbizFlow_versionstring1可选版本信息    示例:V1.0
34isFlowCoreBillisFlowCoreBillstring1可选是否流程核心单据    示例:true
35rebateValidFlagrebateValidFlagstring1可选返利有效标志    示例:false
36ididstring1可选新增时无需填写,修改时必填
37receiveIdreceiveIdstring1可选收货人id    示例:2282530502643968
38receiveZipCodereceiveZipCodestring1可选收货人邮编    示例:010000
39receiveTelePhonereceiveTelePhonestring1可选收货人固定电话    示例:010-7453214
40receiverreceiverstring1可选收货人    示例:地址联系我
41receiveMobilereceiveMobilestring1可选收货电话    示例:1879936325
42receiveAddressreceiveAddressstring1可选收货地址    示例:123
43orderPayTypeorderPayTypestring1可选支付方式, FIRSTPAY:款到发货、FIRSTDELIVER:其他、    示例:FIRSTDELIVER
44settlementsettlementstring1可选结算方式,传id或者code    示例:月结
45shippingChoiceIdshippingChoiceIdstring1可选发运方式, 传id或者code    示例:陆运
46invoiceAgentIdinvoiceAgentIdstring1必填开票客户,传id或者code    示例:2282507926999296
47modifyInvoiceTypemodifyInvoiceTypestring1可选发票类型可改, true:是、false:否、    示例:true
48invoiceUpcTypeinvoiceUpcTypestring1必填发票类型, 0:收据、1:增值税专用发票、2:增值税普通发票、3:增值税电子普通发票、4:机动车销售销售统一发票、    示例:0
49invoiceTitleinvoiceTitlestring1可选发票抬头    示例:2
50bankNamebankNamestring1可选开户银行    示例:中国工商银行
51subBankNamesubBankNamestring1可选开户支行    示例:中国工商银行股份有限公司濮阳兴工支行
52promotionMoneypromotionMoneystring1可选总优惠金额。可精确到6位小数。     示例:1333
53rebateMoneyrebateMoneystring1可选折扣返利金额。可精确到6位小数。     示例:1333
54rebateCashMoneyrebateCashMoneystring1可选抵现返利金额。可精确到6位小数。     示例:1333
55pointsMoneypointsMoneystring1可选积分抵扣金额。可精确到6位小数。     示例:1333
56reightreightstring1可选运费。可精确到6位小数    示例:10
57payMoneypayMoneystring1必填合计含税金额。可精确到6位小数,需等于表体含税金额的合计。    示例:77.28
58orderPayMoneyorderPayMoneystring1可选商品实付金额。可精确到6位小数。     示例:77.28
59realMoneyrealMoneystring1可选应收金额,和表头合计含税金额相等,可精确到6位小数。    示例:77.28
60orderRealMoneyorderRealMoneystring1可选商品应付金额。可精确到6位小数。     示例:77.28
61orderPrices!totalMoneyOrigTaxfreeorderPrices!totalMoneyOrigTaxfreestring1可选无税总金额    示例:1.0
62orderPrices!orderPayMoneyOrigTaxfreeorderPrices!orderPayMoneyOrigTaxfreestring1可选商品实付无税金额    示例:73.6
63orderPrices!orderPayMoneyDomesticorderPrices!orderPayMoneyDomesticstring1可选商品本币含税实付金额    示例:77.28
64orderPrices!orderPayMoneyDomesticTaxfreeorderPrices!orderPayMoneyDomesticTaxfreestring1可选商品本币无税金额    示例:73.6
65orderPrices!orderIdorderPrices!orderIdstring1可选新增时无需填写,修改时必填    示例:2293918375186688
66orderPrices!wholeDiscountRateorderPrices!wholeDiscountRatestring1可选整单扣率%    示例:100
67orderPrices!discountAfterMoneyorderPrices!discountAfterMoneystring1可选整单折后金额    示例:1
68orderPrices!discountMoneyorderPrices!discountMoneystring1可选折扣总金额    示例:1
69orderDetailsorderDetailsarray1可选销售订单子表[voucher.order.OrderDetail]
70ididstring1可选订单子表id,新增时无需填写,修改时必填    示例:2293918375219456
71stockIdstockIdstring1可选仓库,传id或者code    示例:aaa
72orderDetailPrices!discountRateorderDetailPrices!discountRatestring1可选扣率%    示例:100
73isExpiryDateManageisExpiryDateManagestring1可选是否有效期管理, true:是、false:否、    示例:false
74bizIdbizIdstring1可选商家id    示例:2281151360143616
75orderDetailPrices!particularlyMoneyDomesticTaxfreeorderDetailPrices!particularlyMoneyDomesticTaxfreestring1可选本币无税特殊优惠
76isSkuReserveisSkuReservestring1可选是否支持预留    示例:false
77orderDetailPrices!natSumorderDetailPrices!natSumstring1必填本币含税金额    示例:77.28
78orderDetailPrices!natMoneyorderDetailPrices!natMoneystring1必填本币无税金额    示例:73.6
79productIdproductIdstring1必填商品,传id或者code    示例:2293858192511232
80orderDetailPrices!orderDetailIdorderDetailPrices!orderDetailIdstring1可选订单详情id,新增时无需填写,修改时必填    示例:2293918375219456
81pointsMoneypointsMoneystring1可选积分抵扣金额    示例:0
82promotionMoneypromotionMoneystring1可选促销    示例:0
83orderDetailPrices!saleCost_domestic_taxfreeorderDetailPrices!saleCost_domestic_taxfreestring1可选报价本币无税金额    示例:0
84productId_priceListFlagproductId_priceListFlagstring1可选价表取价标记    示例:1
85masterUnitIdmasterUnitIdstring1必填主计量单位,传id或者code    示例:2281391353483520
86cusDiscountMoneycusDiscountMoneystring1可选报价扣额    示例:0
87invExchRateinvExchRatestring1必填销售换算率    示例:4
88cusDiscountRatecusDiscountRatestring1可选报价扣率%    示例:0
89unitExchangeTypePriceunitExchangeTypePricestring1必填浮动(销售)    示例:0
90orderDetailPrices!saleCost_orig_taxfreeorderDetailPrices!saleCost_orig_taxfreestring1可选原币无税合计    示例:0
91orderDetailPrices!oriTaxorderDetailPrices!oriTaxstring1必填税额    示例:3.68
92particularlyMoneyparticularlyMoneystring1可选特殊优惠    示例:-77.28
93iProductAuxUnitIdiProductAuxUnitIdstring1必填销售单位,传id或者code    示例:2281391349666048
94orderDetailPrices!particularlyMoneyOrigTaxfreeorderDetailPrices!particularlyMoneyOrigTaxfreestring1可选无税特殊优惠    示例:-77.28
95orderDetailPrices!natUnitPriceorderDetailPrices!natUnitPricestring1必填本币无税单价    示例:3.2
96orderDetailPrices!saleCost_domesticorderDetailPrices!saleCost_domesticstring1可选报价本币含税金额    示例:0
97invPriceExchRateinvPriceExchRatestring1必填计价换算率    示例:1
98isBatchManageisBatchManagestring1可选是否批次管理, true:是、false:否、    示例:false
99orderDetailPrices!isDeletedorderDetailPrices!isDeletedstring1可选是否删除    示例:false
100oriSumoriSumstring1必填含税金额。可精确到6位小数。     示例:77.28
101salePricesalePricestring1可选含税报价    示例:22
102orderDetailPrices!oriMoneyorderDetailPrices!oriMoneystring1必填无税金额    示例:73.6
103priceQtypriceQtystring1必填计价数量    示例:23
104stockOrgIdstockOrgIdstring1必填库存组织id或库存组织code    示例:2282800216593664
105prodPriceprodPricestring1可选基础报价    示例:0
106iProductUnitIdiProductUnitIdstring1必填计价单位,传id或者code    示例:2281391353483520
107orderDetailPrices!natTaxUnitPriceorderDetailPrices!natTaxUnitPricestring1必填本币含税单价    示例:3.36
108orderProductTypeorderProductTypestring1必填商品售卖类型, SALE:销售品、GIFT:赠品、MARKUP:加价购、REBATE:返利商品、    示例:SALE
109subQtysubQtystring1必填销售数量    示例:5.75
110consignTimeconsignTimestring1必填计划发货日期,格式为:yyyy-MM-dd HH:mm:ss    示例:2021-06-23 00:00:00
111skuIdskuIdstring1必填商品SKUid或SKUcode    示例:2293858201112832
112ordRealMoneyordRealMoneystring1可选应收金额。可精确到6位小数。     示例:77.28
113orderDetailPrices!salePrice_domesticorderDetailPrices!salePrice_domesticstring1可选报价本币含税单价    示例:0
114marketPriciemarketPriciestring1可选物料/sku 价格    示例:0
115taxIdtaxIdstring1必填税目税率,传id或者code    示例:2281153771049217
116qtyqtystring1必填数量    示例:23
117realProductCoderealProductCodestring1可选商品编码    示例:000023
118settlementOrgIdsettlementOrgIdstring1必填开票组织,传id或者code    示例:2282800216593664
119oriTaxUnitPriceoriTaxUnitPricestring1必填含税成交价,可精确到6位小数    示例:3.36
120orderDetailPrices!lineDiscountMoneyorderDetailPrices!lineDiscountMoneystring1可选行折扣金额    示例:0
121orderDetailPrices!natTaxorderDetailPrices!natTaxstring1必填本币税额    示例:3.68
122isreserveisreservestring1可选是否预留    示例:false
123prodCostprodCoststring1可选基础报价金额    示例:0
124productId_pbatchNameproductId_pbatchNamestring1可选商品包装单位    示例:1
125specDescriptionspecDescriptionstring1可选规格描述
126orderDetailPrices!salePrice_domestic_taxfreeorderDetailPrices!salePrice_domestic_taxfreestring1可选报价本币无税单价    示例:0
127unitExchangeTypeunitExchangeTypestring1必填浮动(计价)    示例:0
128saleCostsaleCoststring1可选报价含税金额。可精确到6位小数。     示例:0
129orderDetailPrices!oriUnitPriceorderDetailPrices!oriUnitPricestring1必填无税成交价    示例:3.2
130salesOrgIdsalesOrgIdstring1可选销售组织,传id或者code    示例:2282800216593664
131orderRebateMoneyorderRebateMoneystring1可选返利整单折扣    示例:0
132cashRebateMoneycashRebateMoneystring1可选返利直接抵现    示例:0
133_status_statusstring1必填操作标识, Insert:新增、Update:更新    示例:Insert
134orderProductApportionNameorderProductApportionNamestring1可选分摊优惠    示例:特殊优惠省-77.2800;
135projectId_codeprojectId_codestring1可选项目编码    示例:00023
136paymentSchedulespaymentSchedulesarray1可选收款协议
137startDateTimestartDateTimestring1可选起算日    示例:2021-06-09 00:00:00
138fixAccoutDateTimefixAccoutDateTimestring1可选出账日    示例:2021-06-09 00:00:00
139expiringDateTimeexpiringDateTimestring1可选到期日    示例:2021-07-09 00:00:00
140numbernumberstring1可选期号    示例:1
141namenamestring1可选收款名称    示例:1
142payRatiopayRatiostring1可选收款比例    示例:25
143startDatestartDatestring1可选起算时点id    示例:2020875402352084
144startNamestartNamestring1可选起算时点name    示例:订单单据日期
145accountTypeaccountTypestring1可选账期类型    示例:0
146accountUnitaccountUnitstring1可选账期单位    示例:0
147accountDayaccountDaystring1可选账期    示例:30
148currencyPkcurrencyPkstring1可选币种    示例:248f097be0e5fdaf0ad05b831bf61cbf
149rateratestring1可选汇率    示例:1
150natCurrencyPknatCurrencyPkstring1可选本币    示例:248f097be0e5fdaf0ad05b831bf61cbf
151amountamountstring1可选收款金额    示例:41.67
152_status_statusstring1可选操作标识, Insert:新增、Update:更新    示例:Insert
153memomemostring1可选备注    示例:222222

接口响应参数

暂无参数说明

用友BIP的接口:销售订单单个保存_v1(/yonbip/sd/voucherorder/singleSave),由轻易云数据集成平台 API 资产管理模块整理收纳,并随用友BIP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。