旺店通·企业版和金蝶云星辰V1单据接口对接
旺店通·企业版和金蝶云星辰V1单据接口对接
接入系统:金蝶云星辰V1
金蝶云·星辰聚焦小微企业在线经营和数字化管理,以“新生产、新零售、新商贸、新财税、新生态”五大特性赋能企业,以财税智能化、门店数字化、供应链流程化、业财税一体化、订货在线化、营销社交化、需求个性化、决策实时化、办公移动化等九大价值赋能企业,助力企业实现数字化、智能化转型升级。
对接目标系统:旺店通·企业版
慧策最先以旺店通ERP切入商家核心管理痛点——订单管理,之后围绕电商经营管理中的核心管理诉求,先后布局流量获取、会员管理、仓库管理等其他重要经营模块。慧策的产品线从旺店通ERP起步,向前向后延伸,全面布局零售企业经营,整体构建一体化智能零售解决方案,打破数据孤岛,AI植入系统,实现智能决策,助力零售企业智能化转型。当前旗下拥有店+小程序、数智门店POS、旺店通ERP、旺店通WMS、卡米全渠道、客优CRM、云筹大数据等多个PssS、SaaS产品,从前端吸引流量到后端集约化管理,助力企业智慧决策
数据接口配置方案
异构系统具有非常丰富的业务流程、复杂的系统架构和服务接口。在很多情况下,这两个系统都是分别独立部署和运行的,各自拥有不同的技术栈和编程模型,甚至两者在系统平台、技术平台和编程语言上是完全异构的。那么对接就需要根据接口配置对应的规则,例如取数就要根据查询接口获取金蝶云星辰V1的数据,并且根据对应的条件进行取数,目标系统就必须根据目标系统的格式,以及获取的数据进行加工处理后进行写入到旺店通·企业版中。轻易云集成平台的可视化配置轻松实现。
金蝶云星辰V1接口明细
- 接口:jdy/pur/pur_inbound_list
- 接口名称:采购入库单查询(列表+详情)
- 接口方法:POST
请求参数
| 字段 | 名称 | 类型 | 描述 |
| deptid | 部门ID | string | 部门ID |
| empid | 职员ID | string | 职员ID |
| supplierid | 供应商ID | string | 供应商ID |
| billstatus | 单据状态(所有:“”,已审核:“C”,未审核:“Z”) | string | 单据状态(所有:“”,已审核:“C”,未审核:“Z”) |
| startdate | 开始日期(格式:“yyyy-MM-dd”,为空表示不过滤),创建日期 | string | 开始日期(格式:“yyyy-MM-dd”,为空表示不过滤),创建日期 |
| enddate | 结束日期(格式:“yyyy-MM-dd”,为空表示不过滤),创建日期 | string | 结束日期(格式:“yyyy-MM-dd”,为空表示不过滤),创建日期 |
| begindate | 开始日期(格式:“yyyy-MM-dd”,为空表示不过滤),修改日期 | string | 开始日期(格式:“yyyy-MM-dd”,为空表示不过滤),修改日期 |
| expiredate | 结束日期(格式:“yyyy-MM-dd”,为空表示不过滤),修改日期 | string | 结束日期(格式:“yyyy-MM-dd”,为空表示不过滤),修改日期 |
| starttime | 开始时间(格式:“时间戳”,-1表示不过滤),创建时间 | string | 开始时间(格式:“时间戳”,-1表示不过滤),创建时间 |
| endtime | 结束时间(格式:“时间戳”,-1表示不过滤),创建时间 | string | 结束时间(格式:“时间戳”,-1表示不过滤),创建时间 |
| begintime | 开始时间(格式:“时间戳”,-1表示不过滤),修改时间 | string | 开始时间(格式:“时间戳”,-1表示不过滤),修改时间 |
| expiretime | 结束时间(格式:“时间戳”,-1表示不过滤),修改时间 | string | 结束时间(格式:“时间戳”,-1表示不过滤),修改时间 |
| startbilldate | 单据日期-开始日期(“yyyy-MM-dd”) | string | 单据日期-开始日期(“yyyy-MM-dd”) |
| endbilldate | 单据日期-结束日期(“yyyy-MM-dd”) | string | 单据日期-结束日期(“yyyy-MM-dd”) |
| search | 模糊搜索,支持供应商名称、职员名称、商品名称、单据编码 | string | 模糊搜索,支持供应商名称、职员名称、商品名称、单据编码 |
| page | 当前页(默认1) | string | 当前页(默认1) |
| pagesize | 每页显示条数,(默认10,最大值100) | string | 每页显示条数,(默认10,最大值100) |
响应参数
| 字段 | 名称 | 类型 | 描述 |
| billno | 单据编码 | string | 单据编码 |
| billdate | 单据日期 | string | 单据日期 |
| billstatus | 单据状态,Z:未审核,C:已审核 | string | 单据状态,Z:未审核,C:已审核 |
| createtime | 创建时间 | string | 创建时间 |
| modifytime | 修改时间 | string | 修改时间 |
| audittime | 审核时间 | string | 审核时间 |
| creatorid_id | 创建人id | string | 创建人id |
| creatorid_name | 创建人名称 | string | 创建人名称 |
| creatorid_number | 创建人编码 | string | 创建人编码 |
| modifierid_id | 修改人id | string | 修改人id |
| modifierid_name | 修改人名称 | string | 修改人名称 |
| modifierid_number | 修改人编码 | string | 修改人编码 |
| auditorid_id | 审核人id | string | 审核人id |
| auditorid_name | 审核人名称 | string | 审核人名称 |
| auditorid_number | 审核人编码 | string | 审核人编码 |
| transtype | 业务类型 | string | 业务类型 |
| remark | 备注 | string | 备注 |
| deptid_id | 部门id | string | 部门id |
| deptid_name | 部门名称 | string | 部门名称 |
| deptid_number | 部门编码 | string | 部门编码 |
| empid_id | 业务员id | string | 业务员id |
| empid_name | 业务员名称 | string | 业务员名称 |
| empid_number | 业务员编码 | string | 业务员编码 |
| customerid_id | 客户id | string | 客户id |
| customerid_name | 客户名称 | string | 客户名称 |
| customerid_number | 客户编码 | string | 客户编码 |
| supplierid_id | 供应商id | string | 供应商id |
| supplierid_name | 供应商名称 | string | 供应商名称 |
| supplierid_number | 供应商编码 | string | 供应商编码 |
| contact_phone | 联系电话 | string | 联系电话 |
| contact_country_id | 客户国家id | string | 客户国家id |
| contact_country_name | 客户国家名称 | string | 客户国家名称 |
| contact_country_number | 客户国家编码 | string | 客户国家编码 |
| contact_province_id | 客户省份id | string | 客户省份id |
| contact_province_name | 客户省份名称 | string | 客户省份名称 |
| contact_province_number | 客户省份编码 | string | 客户省份编码 |
| contact_city_id | 客户市区id | string | 客户市区id |
| contact_city_name | 客户市区名称 | string | 客户市区名称 |
| contact_city_number | 客户市区编码 | string | 客户市区编码 |
| contact_district_id | 客户区县id | string | 客户区县id |
| contact_district_name | 客户区县名称 | string | 客户区县名称 |
| contact_district_number | 客户区县编码 | string | 客户区县编码 |
| contact_address | 具体地址 | string | 具体地址 |
| totalunsettleamount | 已核销金额 | string | 已核销金额 |
| totalunsettleamountfor | 已核销金额(本位币) | string | 已核销金额(本位币) |
| exchangerate | 汇率 | string | 汇率 |
| settlestatus | 本单核销状态 | string | 本单核销状态 |
| alldebt | 应付款余额 | string | 应付款余额 |
| lastdebt | 上次欠款余额 | string | 上次欠款余额 |
| totalamount | 本单成交 | string | 本单成交 |
| edit_pay_type_id | 付款方式id | string | 付款方式id |
| edit_pay_type_name | 付款方式名称 | string | 付款方式名称 |
| edit_pay_type_number | 付款方式编码 | string | 付款方式编码 |
| totalpreamount | 抵扣预付款 | string | 抵扣预付款 |
| bill_dis_amount | 整单折扣额 | string | 整单折扣额 |
| edit_pay_account_id | 付款账户id | string | 付款账户id |
| edit_pay_account_name | 付款账户名称 | string | 付款账户名称 |
| edit_pay_account_number | 付款账户编码 | string | 付款账户编码 |
| bill_dis_rate | 整单折扣率 | string | 整单折扣率 |
| totalinsamount | 付款合计 | string | 付款合计 |
| material_entity | 商品分录 | array | 商品分录 |
| material_entity.id | 分录ID | string | 分录ID |
| material_entity.picture | 图片url | string | 图片url |
| material_entity.seq | 分录序号 | string | 分录序号 |
| material_entity.materialid_id | 商品id | string | 商品id |
| material_entity.materialid_name | 商品名称 | string | 商品名称 |
| material_entity.materialid_number | 商品编码 | string | 商品编码 |
| material_entity.materialid_ismulti_unit | 商品是否多单位 | string | 商品是否多单位 |
| material_entity.materialid_isserial | 商品是否序列号 | string | 商品是否序列号 |
| material_entity.materialid_isasstattr | 商品是否启用辅助属性 | string | 商品是否启用辅助属性 |
| material_entity.materialid_iskfperiod | 商品是否开启保质期 | string | 商品是否开启保质期 |
| material_entity.materialid_isbatch | 商品是否开启批次 | string | 商品是否开启批次 |
| material_entity.materialid_model | 商品规格 | string | 商品规格 |
| material_entity.stockid_id | 仓库id | string | 仓库id |
| material_entity.stockid_name | 仓库名称 | string | 仓库名称 |
| material_entity.stockid_number | 仓库编码 | string | 仓库编码 |
| material_entity.stockid_isallowfreight | 仓库启用仓位管理 | string | 仓库启用仓位管理 |
| material_entity.spid_id | 仓位id | string | 仓位id |
| material_entity.spid_name | 仓位名称 | string | 仓位名称 |
| material_entity.spid_number | 仓位编码 | string | 仓位编码 |
| material_entity.auxpropid_id | 辅助属性id | string | 辅助属性id |
| material_entity.auxpropid_name | 辅助属性名称 | string | 辅助属性名称 |
| material_entity.auxpropid_number | 辅助属性编码 | string | 辅助属性编码 |
| material_entity.auxid1_id | 辅助属性1id | string | 辅助属性1id |
| material_entity.auxid1_name | 辅助属性1名称 | string | 辅助属性1名称 |
| material_entity.auxid1_number | 辅助属性1编码 | string | 辅助属性1编码 |
| material_entity.auxid2_id | 辅助属性2id | string | 辅助属性2id |
| material_entity.auxid2_name | 辅助属性2名称 | string | 辅助属性2名称 |
| material_entity.auxid2_number | 辅助属性2编码 | string | 辅助属性2编码 |
| material_entity.auxid3_id | 辅助属性3id | string | 辅助属性3id |
| material_entity.auxid3_name | 辅助属性3名称 | string | 辅助属性3名称 |
| material_entity.auxid3_number | 辅助属性3编码 | string | 辅助属性3编码 |
| material_entity.barcode | 条形码 | string | 条形码 |
| material_entity.batchno | 批次号 | string | 批次号 |
| material_entity.proplace | 产地 | string | 产地 |
| material_entity.proregno | 注册证号 | string | 注册证号 |
| material_entity.prolicense | 生产许可证号 | string | 生产许可证号 |
| material_entity.kfdate | 生产日期 | string | 生产日期 |
| material_entity.validdate | 有效日期 | string | 有效日期 |
| material_entity.kftype | 保质期类型,1:天,2:月,3:年 | string | 保质期类型,1:天,2:月,3:年 |
| material_entity.kfperiod | 保质期天数 | string | 保质期天数 |
| material_entity.sn | 序列号 | string | 序列号 |
| material_entity.snlistid | 序列号流转ID | string | 序列号流转ID |
| material_entity.baseunit_id | 基本单位id | string | 基本单位id |
| material_entity.baseunit_name | 基本单位名称 | string | 基本单位名称 |
| material_entity.baseunit_number | 基本单位编码 | string | 基本单位编码 |
| material_entity.unit_id | 单位id | string | 单位id |
| material_entity.unit_name | 单位名称 | string | 单位名称 |
| material_entity.unit_number | 单位编码 | string | 单位编码 |
| material_entity.auxunitid_id | 辅助单位id | string | 辅助单位id |
| material_entity.auxunitid_name | 辅助单位名称 | string | 辅助单位名称 |
| material_entity.auxunitid_number | 辅助单位编码 | string | 辅助单位编码 |
| material_entity.conversionrate | 换算公式 | string | 换算公式 |
| material_entity.qty | 数量 | string | 数量 |
| material_entity.inv_qty | 库存数量 | string | 库存数量 |
| material_entity.baseqty | 基本数量 | string | 基本数量 |
| material_entity.inv_baseqty | 基本库存数量 | string | 基本库存数量 |
| material_entity.auxqty | 辅助单位数量 | string | 辅助单位数量 |
| material_entity.deffloatqty | 辅助基本数量 | string | 辅助基本数量 |
| material_entity.auxcoefficient | 辅助换算率 | string | 辅助换算率 |
| material_entity.coefficient | 换算率 | string | 换算率 |
| material_entity.price | 单价 | string | 单价 |
| material_entity.discount | 折扣(小数) | string | 折扣(小数) |
| material_entity.comment | 行备注 | string | 行备注 |
| material_entity.srcbillno | 源单编码 | string | 源单编码 |
| material_entity.srcbilltypeid_id | 源单类型id | string | 源单类型id |
| material_entity.srcbilltypeid_name | 源单类型名称 | string | 源单类型名称 |
| material_entity.srcbilltypeid_number | 源单类型编码 | string | 源单类型编码 |
| material_entity.srcinterid | 源单内码 | string | 源单内码 |
| material_entity.src_billdate | 源单日期 | string | 源单日期 |
| material_entity.srcseq | 源单行号 | string | 源单行号 |
| material_entity.srcentryid | 源单分录内码 | string | 源单分录内码 |
| material_entity.entrysettlestatus | 分录核销状态 | string | 分录核销状态 |
| material_entity.cursettleamountfor | 本次核销金额 | string | 本次核销金额 |
| material_entity.returnable_qty | 可退数量 | string | 可退数量 |
| material_entity.disrate | 折扣率 | string | 折扣率 |
| material_entity.cess | 增值税率 | string | 增值税率 |
| material_entity.cost_view | 入库成本 | string | 入库成本 |
| material_entity.unitcost_view | 入库单位成本 | string | 入库单位成本 |
旺店通·企业版接口明细
- 接口:stockin_order_push
- 接口名称:创建采购入库单
- 接口方法:POST
请求参数
| 字段 | 名称 | 类型 | 描述 |
| outer_no | 外部单号 | string | 外部系统的唯一单据编号,避免重复推送数据 |
| warehouse_no | 仓库编号 | string | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置) |
| logistics_code | 物流编号 | string | 代表物流所有属性的唯一编码,用于物流区分,ERP内支持自定义(ERP物流界面设置) |
| logistics_no | 物流单号 | string | 物流公司的运单号,用于追踪物流、快递流转信息(路由)的数字编码 |
| is_check | 是否审核 | string | 1:审核 0:不审核 默认0 |
| is_create_batch | 是否创建批次 | string | 0:否;1:是,默认是0。ERP“批次管理”不存在推送的批次号,是否允许单据创建成功,并创建新的“批次号”。 |
| post_fee | 邮资 | string | 物流或者快递运输货物产生的费用 |
| other_fee | 其他费用 | string | 其他费用 |
| remark | 备注 | string | 其他入库单备注 |
| reason | 入库原因 | string | 入库原因(需要在客户端维护好该原因,如客户端无该原因或者原因停用,则推送失败,路径:设置—>基本设置—>原因列表) |
| goods_list | 货品明细节点 | array | 入库单货品列表节点 |
| goods_list.spec_no | 商家编码 | string | ERP内单品唯一编码(SKU),代表单品(SKU)所有属性,并且为库存量出入计算最小单元。SKU概念介绍,单击这里 |
| goods_list.stockin_num | 入库数量 | string | 入库数量 |
| goods_list.position_no | 货位编号 | string | 商品在仓库内的位置编号,不传此参数,读ERP配置【入库开单货位优先级配置】,来决定取默认货位、上一次入库货位、ZANCUN货位其中一个货位。 |
| goods_list.batch_no | 批次 | string | 货品批次编号 |
| goods_list.batch_remark | 批次备注 | string | 货品批次备注 |
| goods_list.production_date | 生产日期 | string | 货品生产日期,格式:yyyy-MM-dd HH:mm:ss |
| goods_list.validity_days | 有效期天数 | string | 商品有效期,单位:天 |
| goods_list.src_price | 原价 | string | 上层单据的的货品价格,例如采购单的税前折后单价为采购入库的原价,原价减去入库价得出货品优惠。其他入库没有上层单据,根据业务情况自行传值。无特殊业务建议同入库价一致。 |
| goods_list.stockin_price | 入库价 | string | 入库价格,如推送为0默认取成本价。 |
| goods_list.tax | 税率 | string | 对征税对象的征收比例或征收额度。例如税率为16%,请求时填值为0.16 |
| goods_list.is_enable_sn | 是否开启序列号 | string | 是否开启序列号: 0代表不开启序列号 1代表开启序列号 默认为不开启 |
| goods_list.sn_list | 序列号列表 | string | 序列号列表,多个序列号通过","隔开字符串区分,例如"xxx1,xxx2,xxx3" |
| goods_list.stockin_info | stockin_info | string |
系统对接总览
随着企业数字化业务的深入发展,对于企业的 IT 或者 CIO 来讲,正在面临一个愈发重要的问题——系统的结构太复杂了,尤其是头部企业,至少有十多套系统,这些系统之间的蛛网状的接口如果经常出问题。企业内部以及企业内部与外部建立起越来越多的业务应用系统,如何整合企业的现有IT资源,使企业中计算机孤岛式的应用向集体协作的方向发展,发挥资源效益的最大化,降低企业成本,正在逐渐成为企业关注的重要问题。用户希望企业内所有系统集成在一个平台上,操作统一,以节省培训时间。使用在轻易云应用集成平台 + MDM基础数据平台的解决方案中,轻易云应用集成平台负责实现异构、分布式系统之间互联互通,实现服务API治理以及数据传输交换。通过轻易云预置的各种适配器组件,连接现有各孤立应用系统,以图形化、拖拽方式构建集成流程和服务,提高应用系统集成工作效率,降低异构系统集成风险。针对未来可能出现的业务需求变更,在应用集成平台上进行动态调整,实现各应用系统之间的集成策略平滑升级。
Copyright Notice
The article "旺店通·企业版和金蝶云星辰V1单据接口对接" is original content owned by 广东轻亿云软件科技有限公司. Reposting is welcome, provided the source (including the original link) is credited in a prominent position.



