/yonbip/sd/voucherorder/singleSave{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | resubmitCheckKey | resubmitCheckKey | string | 1 | Required | 保证请求的幂等性,该值由客户端生成,并且必须是全局唯一的,长度不能超过32位。更多信息,请参见«MDD幂等性» |
| 2 | salesOrgId | salesOrgId | string | 1 | Required | 销售组织,传id或者code 示例:2282800216593664 |
| 3 | transactionTypeId | transactionTypeId | string | 1 | Required | 交易类型,传id或者code 示例:2291507369660672 |
| 4 | vouchdate | vouchdate | string | 1 | Required | 单据日期,格式为:yyyy-MM-dd HH:mm:ss 示例:2021-06-09 00:00:00 |
| 5 | code | code | string | 1 | Optional | 单据编码,以系统编码规则配置为准:系统设置为手工编号时必输,系统设置为自动编号时非必输;修改时必传 示例:UO-366420210609000004 |
| 6 | agentId | agentId | string | 1 | Required | 客户,传id或者code 示例:2282507926999296 |
| 7 | corpContact | corpContact | string | 1 | Optional | 销售业务员,传id或者code 示例:1123123565864 |
| 8 | saleDepartmentId | saleDepartmentId | string | 1 | Optional | 销售部门,传id或者code 示例:3455313215 |
| 9 | retailInvestors | retailInvestors | string | 1 | Optional | 是否散户 示例:false |
| 10 | retailAgentName | retailAgentName | string | 1 | Optional | 散户名称 示例:abc |
| 11 | receiveContacter | receiveContacter | string | 1 | Optional | 客户联系人 示例:刘德华 |
| 12 | receiveContacterPhone | receiveContacterPhone | string | 1 | Optional | 客户联系电话 示例:19877754612 |
| 13 | settlementOrgId | settlementOrgId | string | 1 | Required | 开票组织,传id或者code 示例:2282800216593664 |
| 14 | hopeReceiveDate | hopeReceiveDate | string | 1 | Optional | 希望到货日期,格式为:yyyy-MM-dd HH:mm:ss 示例:2021-06-28 00:00:00 |
| 15 | sendDate | sendDate | string | 1 | Optional | 计划发货日期,格式为:yyyy-MM-dd HH:mm:ss 示例:2021-06-23 00:00:00 |
| 16 | source | source | string | 1 | Optional | 单据来源, 0:PC、1:移动、2:导入、3:ERP、4:OPENAPI、 示例:0 |
| 17 | orderDate | orderDate | string | 1 | Optional | 订单日期,格式为:yyyy-MM-dd HH:mm:ss 示例:2021-06-09 11:34:26 |
| 18 | bizId | bizId | string | 1 | Optional | 商家id 示例:2281151360143616 |
| 19 | agentRelationId | agentRelationId | string | 1 | Optional | 客户交易关系id 示例:2282800485126656 |
| 20 | invoiceMoney | invoiceMoney | string | 1 | Optional | 发票金额 示例:0 |
| 21 | version | version | string | 1 | Optional | 版本号 示例:0 |
| 22 | isWfControlled | isWfControlled | string | 1 | Optional | 是否审批流控制 示例:false |
| 23 | orderPrices!currency | orderPrices!currency | string | 1 | Required | 币种,传id或者code 示例:2281153755730176 |
| 24 | orderPrices!exchRate | orderPrices!exchRate | string | 1 | Required | 汇率 示例:1 |
| 25 | orderPrices!exchangeRateType | orderPrices!exchangeRateType | string | 1 | Required | 汇率类型,传id或者code 示例:0000KPC165PABLPTS60000 |
| 26 | orderPrices!natCurrency | orderPrices!natCurrency | string | 1 | Required | 本币,传id或者code 示例:2281153755730176 |
| 27 | orderPrices!taxInclusive | orderPrices!taxInclusive | string | 1 | Required | 单价含税 示例:true |
| 28 | creditBalance | creditBalance | string | 1 | Optional | 客户信用余额 示例:0 |
| 29 | agentTaxItem | agentTaxItem | string | 1 | Optional | 客户销项税率ID 示例:123555 |
| 30 | lockIn | lockIn | string | 1 | Optional | 标记锁 示例:false |
| 31 | bmake_voucher_delivery | bmake_voucher_delivery | string | 1 | Optional | 流程发货 示例:true |
| 32 | bizFlow | bizFlow | string | 1 | Optional | 流程ID 示例:19f1e925-c7fd-11eb-a68a-0624d60000dc |
| 33 | bizFlow_version | bizFlow_version | string | 1 | Optional | 版本信息 示例:V1.0 |
| 34 | isFlowCoreBill | isFlowCoreBill | string | 1 | Optional | 是否流程核心单据 示例:true |
| 35 | rebateValidFlag | rebateValidFlag | string | 1 | Optional | 返利有效标志 示例:false |
| 36 | id | id | string | 1 | Optional | 新增时无需填写,修改时必填 |
| 37 | receiveId | receiveId | string | 1 | Optional | 收货人id 示例:2282530502643968 |
| 38 | receiveZipCode | receiveZipCode | string | 1 | Optional | 收货人邮编 示例:010000 |
| 39 | receiveTelePhone | receiveTelePhone | string | 1 | Optional | 收货人固定电话 示例:010-7453214 |
| 40 | receiver | receiver | string | 1 | Optional | 收货人 示例:地址联系我 |
| 41 | receiveMobile | receiveMobile | string | 1 | Optional | 收货电话 示例:1879936325 |
| 42 | receiveAddress | receiveAddress | string | 1 | Optional | 收货地址 示例:123 |
| 43 | orderPayType | orderPayType | string | 1 | Optional | 支付方式, FIRSTPAY:款到发货、FIRSTDELIVER:其他、 示例:FIRSTDELIVER |
| 44 | settlement | settlement | string | 1 | Optional | 结算方式,传id或者code 示例:月结 |
| 45 | shippingChoiceId | shippingChoiceId | string | 1 | Optional | 发运方式, 传id或者code 示例:陆运 |
| 46 | invoiceAgentId | invoiceAgentId | string | 1 | Required | 开票客户,传id或者code 示例:2282507926999296 |
| 47 | modifyInvoiceType | modifyInvoiceType | string | 1 | Optional | 发票类型可改, true:是、false:否、 示例:true |
| 48 | invoiceUpcType | invoiceUpcType | string | 1 | Required | 发票类型, 0:收据、1:增值税专用发票、2:增值税普通发票、3:增值税电子普通发票、4:机动车销售销售统一发票、 示例:0 |
| 49 | invoiceTitle | invoiceTitle | string | 1 | Optional | 发票抬头 示例:2 |
| 50 | bankName | bankName | string | 1 | Optional | 开户银行 示例:中国工商银行 |
| 51 | subBankName | subBankName | string | 1 | Optional | 开户支行 示例:中国工商银行股份有限公司濮阳兴工支行 |
| 52 | promotionMoney | promotionMoney | string | 1 | Optional | 总优惠金额。可精确到6位小数。 示例:1333 |
| 53 | rebateMoney | rebateMoney | string | 1 | Optional | 折扣返利金额。可精确到6位小数。 示例:1333 |
| 54 | rebateCashMoney | rebateCashMoney | string | 1 | Optional | 抵现返利金额。可精确到6位小数。 示例:1333 |
| 55 | pointsMoney | pointsMoney | string | 1 | Optional | 积分抵扣金额。可精确到6位小数。 示例:1333 |
| 56 | reight | reight | string | 1 | Optional | 运费。可精确到6位小数 示例:10 |
| 57 | payMoney | payMoney | string | 1 | Required | 合计含税金额。可精确到6位小数,需等于表体含税金额的合计。 示例:77.28 |
| 58 | orderPayMoney | orderPayMoney | string | 1 | Optional | 商品实付金额。可精确到6位小数。 示例:77.28 |
| 59 | realMoney | realMoney | string | 1 | Optional | 应收金额,和表头合计含税金额相等,可精确到6位小数。 示例:77.28 |
| 60 | orderRealMoney | orderRealMoney | string | 1 | Optional | 商品应付金额。可精确到6位小数。 示例:77.28 |
| 61 | orderPrices!totalMoneyOrigTaxfree | orderPrices!totalMoneyOrigTaxfree | string | 1 | Optional | 无税总金额 示例:1.0 |
| 62 | orderPrices!orderPayMoneyOrigTaxfree | orderPrices!orderPayMoneyOrigTaxfree | string | 1 | Optional | 商品实付无税金额 示例:73.6 |
| 63 | orderPrices!orderPayMoneyDomestic | orderPrices!orderPayMoneyDomestic | string | 1 | Optional | 商品本币含税实付金额 示例:77.28 |
| 64 | orderPrices!orderPayMoneyDomesticTaxfree | orderPrices!orderPayMoneyDomesticTaxfree | string | 1 | Optional | 商品本币无税金额 示例:73.6 |
| 65 | orderPrices!orderId | orderPrices!orderId | string | 1 | Optional | 新增时无需填写,修改时必填 示例:2293918375186688 |
| 66 | orderPrices!wholeDiscountRate | orderPrices!wholeDiscountRate | string | 1 | Optional | 整单扣率% 示例:100 |
| 67 | orderPrices!discountAfterMoney | orderPrices!discountAfterMoney | string | 1 | Optional | 整单折后金额 示例:1 |
| 68 | orderPrices!discountMoney | orderPrices!discountMoney | string | 1 | Optional | 折扣总金额 示例:1 |
| 69 | orderDetails | orderDetails | array | 1 | Optional | 销售订单子表[voucher.order.OrderDetail] |
| 70 | id | id | string | 1 | Optional | 订单子表id,新增时无需填写,修改时必填 示例:2293918375219456 |
| 71 | stockId | stockId | string | 1 | Optional | 仓库,传id或者code 示例:aaa |
| 72 | orderDetailPrices!discountRate | orderDetailPrices!discountRate | string | 1 | Optional | 扣率% 示例:100 |
| 73 | isExpiryDateManage | isExpiryDateManage | string | 1 | Optional | 是否有效期管理, true:是、false:否、 示例:false |
| 74 | bizId | bizId | string | 1 | Optional | 商家id 示例:2281151360143616 |
| 75 | orderDetailPrices!particularlyMoneyDomesticTaxfree | orderDetailPrices!particularlyMoneyDomesticTaxfree | string | 1 | Optional | 本币无税特殊优惠 |
| 76 | isSkuReserve | isSkuReserve | string | 1 | Optional | 是否支持预留 示例:false |
| 77 | orderDetailPrices!natSum | orderDetailPrices!natSum | string | 1 | Required | 本币含税金额 示例:77.28 |
| 78 | orderDetailPrices!natMoney | orderDetailPrices!natMoney | string | 1 | Required | 本币无税金额 示例:73.6 |
| 79 | productId | productId | string | 1 | Required | 商品,传id或者code 示例:2293858192511232 |
| 80 | orderDetailPrices!orderDetailId | orderDetailPrices!orderDetailId | string | 1 | Optional | 订单详情id,新增时无需填写,修改时必填 示例:2293918375219456 |
| 81 | pointsMoney | pointsMoney | string | 1 | Optional | 积分抵扣金额 示例:0 |
| 82 | promotionMoney | promotionMoney | string | 1 | Optional | 促销 示例:0 |
| 83 | orderDetailPrices!saleCost_domestic_taxfree | orderDetailPrices!saleCost_domestic_taxfree | string | 1 | Optional | 报价本币无税金额 示例:0 |
| 84 | productId_priceListFlag | productId_priceListFlag | string | 1 | Optional | 价表取价标记 示例:1 |
| 85 | masterUnitId | masterUnitId | string | 1 | Required | 主计量单位,传id或者code 示例:2281391353483520 |
| 86 | cusDiscountMoney | cusDiscountMoney | string | 1 | Optional | 报价扣额 示例:0 |
| 87 | invExchRate | invExchRate | string | 1 | Required | 销售换算率 示例:4 |
| 88 | cusDiscountRate | cusDiscountRate | string | 1 | Optional | 报价扣率% 示例:0 |
| 89 | unitExchangeTypePrice | unitExchangeTypePrice | string | 1 | Required | 浮动(销售) 示例:0 |
| 90 | orderDetailPrices!saleCost_orig_taxfree | orderDetailPrices!saleCost_orig_taxfree | string | 1 | Optional | 原币无税合计 示例:0 |
| 91 | orderDetailPrices!oriTax | orderDetailPrices!oriTax | string | 1 | Required | 税额 示例:3.68 |
| 92 | particularlyMoney | particularlyMoney | string | 1 | Optional | 特殊优惠 示例:-77.28 |
| 93 | iProductAuxUnitId | iProductAuxUnitId | string | 1 | Required | 销售单位,传id或者code 示例:2281391349666048 |
| 94 | orderDetailPrices!particularlyMoneyOrigTaxfree | orderDetailPrices!particularlyMoneyOrigTaxfree | string | 1 | Optional | 无税特殊优惠 示例:-77.28 |
| 95 | orderDetailPrices!natUnitPrice | orderDetailPrices!natUnitPrice | string | 1 | Required | 本币无税单价 示例:3.2 |
| 96 | orderDetailPrices!saleCost_domestic | orderDetailPrices!saleCost_domestic | string | 1 | Optional | 报价本币含税金额 示例:0 |
| 97 | invPriceExchRate | invPriceExchRate | string | 1 | Required | 计价换算率 示例:1 |
| 98 | isBatchManage | isBatchManage | string | 1 | Optional | 是否批次管理, true:是、false:否、 示例:false |
| 99 | orderDetailPrices!isDeleted | orderDetailPrices!isDeleted | string | 1 | Optional | 是否删除 示例:false |
| 100 | oriSum | oriSum | string | 1 | Required | 含税金额。可精确到6位小数。 示例:77.28 |
| 101 | salePrice | salePrice | string | 1 | Optional | 含税报价 示例:22 |
| 102 | orderDetailPrices!oriMoney | orderDetailPrices!oriMoney | string | 1 | Required | 无税金额 示例:73.6 |
| 103 | priceQty | priceQty | string | 1 | Required | 计价数量 示例:23 |
| 104 | stockOrgId | stockOrgId | string | 1 | Required | 库存组织id或库存组织code 示例:2282800216593664 |
| 105 | prodPrice | prodPrice | string | 1 | Optional | 基础报价 示例:0 |
| 106 | iProductUnitId | iProductUnitId | string | 1 | Required | 计价单位,传id或者code 示例:2281391353483520 |
| 107 | orderDetailPrices!natTaxUnitPrice | orderDetailPrices!natTaxUnitPrice | string | 1 | Required | 本币含税单价 示例:3.36 |
| 108 | orderProductType | orderProductType | string | 1 | Required | 商品售卖类型, SALE:销售品、GIFT:赠品、MARKUP:加价购、REBATE:返利商品、 示例:SALE |
| 109 | subQty | subQty | string | 1 | Required | 销售数量 示例:5.75 |
| 110 | consignTime | consignTime | string | 1 | Required | 计划发货日期,格式为:yyyy-MM-dd HH:mm:ss 示例:2021-06-23 00:00:00 |
| 111 | skuId | skuId | string | 1 | Required | 商品SKUid或SKUcode 示例:2293858201112832 |
| 112 | ordRealMoney | ordRealMoney | string | 1 | Optional | 应收金额。可精确到6位小数。 示例:77.28 |
| 113 | orderDetailPrices!salePrice_domestic | orderDetailPrices!salePrice_domestic | string | 1 | Optional | 报价本币含税单价 示例:0 |
| 114 | marketPricie | marketPricie | string | 1 | Optional | 物料/sku 价格 示例:0 |
| 115 | taxId | taxId | string | 1 | Required | 税目税率,传id或者code 示例:2281153771049217 |
| 116 | qty | qty | string | 1 | Required | 数量 示例:23 |
| 117 | realProductCode | realProductCode | string | 1 | Optional | 商品编码 示例:000023 |
| 118 | settlementOrgId | settlementOrgId | string | 1 | Required | 开票组织,传id或者code 示例:2282800216593664 |
| 119 | oriTaxUnitPrice | oriTaxUnitPrice | string | 1 | Required | 含税成交价,可精确到6位小数 示例:3.36 |
| 120 | orderDetailPrices!lineDiscountMoney | orderDetailPrices!lineDiscountMoney | string | 1 | Optional | 行折扣金额 示例:0 |
| 121 | orderDetailPrices!natTax | orderDetailPrices!natTax | string | 1 | Required | 本币税额 示例:3.68 |
| 122 | isreserve | isreserve | string | 1 | Optional | 是否预留 示例:false |
| 123 | prodCost | prodCost | string | 1 | Optional | 基础报价金额 示例:0 |
| 124 | productId_pbatchName | productId_pbatchName | string | 1 | Optional | 商品包装单位 示例:1 |
| 125 | specDescription | specDescription | string | 1 | Optional | 规格描述 |
| 126 | orderDetailPrices!salePrice_domestic_taxfree | orderDetailPrices!salePrice_domestic_taxfree | string | 1 | Optional | 报价本币无税单价 示例:0 |
| 127 | unitExchangeType | unitExchangeType | string | 1 | Required | 浮动(计价) 示例:0 |
| 128 | saleCost | saleCost | string | 1 | Optional | 报价含税金额。可精确到6位小数。 示例:0 |
| 129 | orderDetailPrices!oriUnitPrice | orderDetailPrices!oriUnitPrice | string | 1 | Required | 无税成交价 示例:3.2 |
| 130 | salesOrgId | salesOrgId | string | 1 | Optional | 销售组织,传id或者code 示例:2282800216593664 |
| 131 | orderRebateMoney | orderRebateMoney | string | 1 | Optional | 返利整单折扣 示例:0 |
| 132 | cashRebateMoney | cashRebateMoney | string | 1 | Optional | 返利直接抵现 示例:0 |
| 133 | _status | _status | string | 1 | Required | 操作标识, Insert:新增、Update:更新 示例:Insert |
| 134 | orderProductApportionName | orderProductApportionName | string | 1 | Optional | 分摊优惠 示例:特殊优惠省-77.2800; |
| 135 | projectId_code | projectId_code | string | 1 | Optional | 项目编码 示例:00023 |
| 136 | paymentSchedules | paymentSchedules | array | 1 | Optional | 收款协议 |
| 137 | startDateTime | startDateTime | string | 1 | Optional | 起算日 示例:2021-06-09 00:00:00 |
| 138 | fixAccoutDateTime | fixAccoutDateTime | string | 1 | Optional | 出账日 示例:2021-06-09 00:00:00 |
| 139 | expiringDateTime | expiringDateTime | string | 1 | Optional | 到期日 示例:2021-07-09 00:00:00 |
| 140 | number | number | string | 1 | Optional | 期号 示例:1 |
| 141 | name | name | string | 1 | Optional | 收款名称 示例:1 |
| 142 | payRatio | payRatio | string | 1 | Optional | 收款比例 示例:25 |
| 143 | startDate | startDate | string | 1 | Optional | 起算时点id 示例:2020875402352084 |
| 144 | startName | startName | string | 1 | Optional | 起算时点name 示例:订单单据日期 |
| 145 | accountType | accountType | string | 1 | Optional | 账期类型 示例:0 |
| 146 | accountUnit | accountUnit | string | 1 | Optional | 账期单位 示例:0 |
| 147 | accountDay | accountDay | string | 1 | Optional | 账期 示例:30 |
| 148 | currencyPk | currencyPk | string | 1 | Optional | 币种 示例:248f097be0e5fdaf0ad05b831bf61cbf |
| 149 | rate | rate | string | 1 | Optional | 汇率 示例:1 |
| 150 | natCurrencyPk | natCurrencyPk | string | 1 | Optional | 本币 示例:248f097be0e5fdaf0ad05b831bf61cbf |
| 151 | amount | amount | string | 1 | Optional | 收款金额 示例:41.67 |
| 152 | _status | _status | string | 1 | Optional | 操作标识, Insert:新增、Update:更新 示例:Insert |
| 153 | memo | memo | string | 1 | Optional | 备注 示例:222222 |
No parameter reference available
The 销售订单单个保存_v1 API (/yonbip/sd/voucherorder/singleSave) of 用友BIP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 用友BIP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.