轻易云
注册体验

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

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

销售出库单个保存_v1

POST/yonbip/scm/salesout/single/save
加工厂
{
  "operation": {
    "method": "none"
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1receiveAccountingBasisreceiveAccountingBasisstring1必填立账开票依据, voucher_order:销售订单、voucher_delivery:销售发货单、st_salesout:销售出库单、unsettle:不结算、    示例:st_salesout
2salesoutAccountingMethodsalesoutAccountingMethodstring1必填出库立账方式, salesoutEstimate:出库暂估应收、salesoutConfirm:出库确认应收、invoiceConfirm:开票确认应收、    示例:salesoutConfirm
3accountOrgaccountOrgstring1必填会计主体id或编码    示例:guanlong_001
4orgorgstring1必填发货组织id或编码    示例:guanlong_001
5salesOrgsalesOrgstring1必填销售组织id或编码    示例:guanlong_001
6invoiceOrginvoiceOrgstring1必填开票组织id或编码    示例:guanlong_001
7vouchdatevouchdatestring1必填单据日期    示例:2020-11-30 00:00:00
8codecodestring1可选单据编号    示例:XSCK20201130000002
9bustypebustypestring1必填交易类型id或编码    示例:A30001
10warehousewarehousestring1必填仓库id或编码    示例:Z001
11stockMgrstockMgrstring1可选库管员ID或编码    示例:A000005
12invoiceCustinvoiceCuststring1可选开票客户ID或编码,如果使用信用服务则必输    示例:_001000002
13custcuststring1必填客户id或编码    示例:_001000002
14srcBillTypesrcBillTypestring1必填来源类型, 0:无来源、st_purinrecord:采购入库单、1:发货单、2:销售订单、3:退货单、tradeorder:电商订单、refundorder:电商退换货订单、retailvouch:零售单、mallvouch:商城发货单、    示例:0
15retailInvestorsretailInvestorsboolean1可选是否散户, true:是、false:否、    示例:false
16natCurrencynatCurrencystring1必填本币id或编码    示例:CNY
17currencycurrencystring1必填币种id或编码    示例:CNY
18exchRateTypeexchRateTypestring1可选汇率类型id    示例:lzu07egu
19exchRateexchRatelong1可选汇率    示例:1
20modifyInvoiceTypemodifyInvoiceTypestring1可选发票类型是否可改:"1"可改;“0”不可改    示例:1
21invoiceUpcTypeinvoiceUpcTypestring1可选发票类型,"0":收据 "1":增值税专用发票 "2":增值税普通发票 "3":增值税电子普通发票 "4":机动车销售销售统一发票 "5":增值税电子普通发票(成品油) "6":增值税普通发票(成品油) "7":增值税专用发票(成品油) "8":电子收购发票 "9":增值税电子专用发票    示例:0
22invoiceTitleTypeinvoiceTitleTypestring1可选抬头类型,"0":企业 "1":个人 "2":非营利组织    示例:0
23invoiceTitleinvoiceTitlestring1可选发票抬头    示例:AA股份有限公司
24taxNumtaxNumstring1可选纳税识别号    示例:141241
25bankNamebankNamestring1可选开户银行    示例:招商银行
26subBankNamesubBankNamestring1可选开户支行    示例:海淀永丰支行
27bankAccountbankAccountstring1可选银行账号    示例:34234234234234234
28invoiceTelephoneinvoiceTelephonestring1可选营业电话    示例:123324234
29invoiceAddressinvoiceAddressstring1可选营业地址    示例:某区某路34号
30operatoroperatorstring1可选销售员id或编码    示例:A001
31iLogisticIdiLogisticIdstring1可选物流公司id或者编码    示例:sf
32sourcesyssourcesysstring1可选有来源时必填,来源单据领域,udinghuo:销售,retail:零售,dst:电商
33detailsdetailsarray1必填销售出库单子表[st.salesout.SalesOuts]
34_status_statusstring1必填操作标识, Insert:新增、Update:更新    示例:Insert
35sourcesourcestring1必填来源单据类型, 0:无来源、st_purinrecord:采购入库单、1:发货单、2:销售订单、3:退货单、tradeorder:电商订单、refundorder:电商退换货订单、retailvouch:零售单、mallvouch:商城发货单、    示例:0
36taxRatetaxRatelong1必填税率    示例:0
37productproductstring1必填物料id或编码    示例:121000089
38productskuproductskustring1必填商品SKUid或编码    示例:121000089
39invExchRateinvExchRatelong1必填换算率    示例:1
40qtyqtylong1必填数量    示例:12
41stockUnitstockUnitstring1必填库存单位id或编码    示例:fgl_004
42saleStylesaleStylestring1可选商品售卖方式, SALE:销售品、GIFT:赠品、REBATE:返利商品、    示例:SALE
43oriSumoriSumlong1必填含税金额    示例:24
44priceUOMpriceUOMstring1必填计价单位id或编码    示例:fgl_004
45invPriceExchRateinvPriceExchRatelong1必填计价换算率    示例:1
46taxUnitPriceTagtaxUnitPriceTagboolean1必填价格含税, true:是、false:否、    示例:true
47unitExchangeTypeunitExchangeTypelong1必填库存单位转换率的换算方式 0:固定 1:浮动    示例:0
48orderIdorderIdlong1必填销售订单id    示例:564654646546
49orderDetailIdorderDetailIdlong1可选销售订单行id    示例:543532181358321
50orderCodeorderCodestring1可选销售订单编码    示例:XSDD1111111
51sourceidsourceidlong1可选来源单据主表id,如果有来源则必输
52sourceautoidsourceautoidlong1可选来源单据行id,有来源必输
53upcodeupcodestring1可选来源单据编号,有来源时必输
54makeRuleCodemakeRuleCodestring1可选单据转换规则,有来源时必输,deliveryTostoreout:发货单生销售出库,salereturnTosalesout:退货单生销售出库,orderTosalesout:销售订单生销售出库
55batchnobatchnostring1可选批次号,仓库商品均开启批次管理则必填
56taxIdtaxIdstring1必填税目id或编码    示例:8b99f589-bc47-4c3a-bfqw-13d78cad20b0
57goodspositiongoodspositionstring1可选货位,仓库开启货位则必填    示例:whhw2467516
58salesOutsSNssalesOutsSNsarray1可选销售出库单孙表[st.salesout.SalesOutsSN]
59_status_statusstring1可选操作标识, Insert:新增、Update:更新    示例:Insert
60snsnstring1可选序列号,仓库商品均开启序列号管理则必填    示例:qwer85
61_status_statusstring1必填操作标识, Insert:新增、Update:更新    示例:Insert

接口响应参数

暂无参数说明

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

需要对接这个接口?

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