Qeasy Cloud
Get Started

道一云和畅捷通T+接口打通对接实战

1 comments

道一云和畅捷通T+接口打通对接实战

吉客云系统对接ERP

数据源平台:道一云

在道一云坚实的技术基础上,道一云推出全新升级的2.0产品矩阵,分别是低码平台、智能门户、场景应用。基于云原生底座,为企业提供集智能门户解决网关流量问题、企业微信端的场景应用、低代码解决行业属性需求等全域数字化产品及服务,这三个产品相互作用,客户可以根据自己的需求阶段选购所需模块。

写入目标:畅捷通T+

畅捷通T+适用于异地多组织、多机构对企业财务汇总的管理需求;全面支持企业对远程仓库、异地办事处的管理需求;全面满足企业财务业务一体化管理需求。

数据集成方案配置

数据集成平台对应的配置道一云与畅捷通T+的对接只要三步就能完成两个系统之间的数据对接。第一步根据道一云的接口参数要求记录在轻易云集成平台。第二步配置道一云与畅捷通T+之间的字段对应关系(更多方案可借鉴轻易云数据集成社区论坛中找到相关方案信息)第三步完成方案的检查参数设置:传递时间、重试次数、是否启动、前置条件等上线运行。
电商接口对接
用友ERP对接
ERP与电商数据对接

道一云接口明细

  • API:qwcgi/api/reimApiCtl/getReimList.do
  • NAME:获取报销信息列表
  • METHOD:POST

请求参数

接口字段字段名称预设值描述 startTime开始时间{{LAST_SYNC_TIME datetime}} endTime结束时间{{CURRENT_TIME datetime}} currentPage查询页码1 pageSize分页大小100默认为100,并且不超过1000 dataKey数据包Keydata

响应参数

接口字段字段名称预设值描述 actualMoney实付金额实付金额 payableMoney应付金额应付金额 verificationMoney核销金额核销金额 auditInfo审批信息审批信息 closePersonName最后审批人最后审批人 closeTime最后审批时间最后审批时间 createTime创建日期创建日期 departmentName创建人部门名称创建人部门名称 detailCount明细数量明细数量 creator创建人id创建人id personName创建人名称创建人名称 reimNo报销单编号报销单编号 statestate1:审批中,2:已取消,3:已退审,4:已审批,5:转账中,6:已转账,7:转账失败 statusDesc审批状态审批状态(审批中,已取消,退审,已审批,转账中,已转账,转账失败) title报销单标题报销单标题 totalMoney报销总金额报销总金额 wxUserId创建人账号创建人账号 globalRemark全局备注全局备注 fieldListfieldListitemKey:字段key itemName:字段名称 itemType:字段类型 itemMap全局自定义字段值json字符全局自定义字段值json字符 detailList明细数据明细数据 detailList.mediaList附件集合附件集合 detailList.imgPathList图片地址集合图片地址集合 detailList.time产生日期-开始产生日期-开始 detailList.endTimes产生日期-结束产生日期-结束 detailList.money报销金额报销金额 detailList.projId成本中心id成本中心id detailList.projName成本中心名称成本中心名称 detailList.subjId科目id科目id detailList.subjFullName所属科目所属科目(多级科目以“ ”分隔) detailList.subjCode科目编码科目编码 detailList.remark备注备注 detailList.invoices发票集合发票集合 detailList.type识别的发票类型识别的发票类型 detailList.invoiceCode发票代码发票代码 detailList.invoiceNumber发票号码发票号码 detailList.date发票日期发票日期 detailList.checkCode校验码校验码 detailList.total发票-总金额发票-总金额 detailList.tax发票-税额发票-税额 detailList.pretaxAmount发票-税前金额发票-税前金额 detailList.reimCustomFieldDataList明细自定义字段明细自定义字段 detailList.customName字段名称字段名称 detailList.value自定义字段值自定义字段值

畅捷通T+接口明细

  • API:/tplus/api/v2/doc/Create
  • NAME:凭证创建
  • METHOD:POST

请求参数

接口字段字段名称预设值描述 ExternalCode外部编码{{reimNo}}{{detailList.subjName}}字符串长度<50 DocType凭证字记 VoucherDate制单日期{{closeTime}} EntrysEntrysdetailList Entrys.borrow-1借方-1 Entrys.borrow-1.Summary-1借方摘要{{projName}}{{personName}}报{{endTimes}}{{subjFullName}}字符串长度<200 Entrys.borrow-1.Account-1借方科目档案function case when '{{detailList.projName}}' in ('西宁总部','西宁配送中心','财务部','市场部') then '660225' else '660123' end必须是末级科目 Entrys.borrow-1.ExchangeRate-1借方汇率1科目启用外币核算必输,否则默认1 Entrys.borrow-1.Currency-1借方货币RMB举例:Currency: { Code: "RMB" } Entrys.borrow-1.AmountDr-1借方本币_function sum({{detailList.invoices.0.amount}}-{{detailList.invoices.0.taxAmount}}) Entrys.borrow-1.AuxInfos-1借方辅助核算项 Entrys.borrow-1.AuxInfos-1.AuxAccDepartment-1部门{{detailList.projName}} Entrys.borrow-1.AuxInfos-1.AuxAccPerson-1个人(员工)findCollection find Code from 5a9075b4-d2aa-329f-9a63-6b2f7dc62c7f where Name={{personName}} Entrys.borrow-1.AuxInfos-1.AuxAccCustomer-1客户(往来单位) Entrys.borrow-1.AuxInfos-1.AuxAccProject-1项目 Entrys.borrow-1.AuxInfos-1.AuxAccInventory-1存货 Entrys.borrow-1.borrow-3借方-3 Entrys.borrow-1.borrow-3.Summary-3借方摘要{{projName}}{{personName}}报{{endTimes}}{{subjFullName}}{{detailList.invoices.0.invoiceName}}字符串长度<200 Entrys.borrow-1.borrow-3.Account-3借方科目档案_function case when '{{detailList.invoices.0.invoiceName}}'='增值税专用发票百分之6' then '2221010104' when '{{detailList.invoices.0.invoiceName}}'='增值税专用发票百分之5' then '2221010103' when '{{detailList.invoices.0.invoiceName}}'='增值税专用发票百分之3' then '2221010102' when '{{detailList.invoices.0.invoiceName}}'=10 then '2221010105' when '{{detailList.invoices.0.invoiceName}}'='增值税专用发票百分之13' then '2221010107' when '{{detailList.invoices.0.invoiceName}}'=16 then '2221010101' when '{{detailList.invoices.0.invoiceName}}'='增值税专用发票百分之9' then '2221010106' when '{{detailList.invoices.0.invoiceName}}'=13 then '2221010106' when '{{detailList.invoices.0.invoiceName}}'='增值税专用发票百分之1' then '2221010110' when '{{detailList.invoices.0.invoiceName}}'='长途汽车票' then '2221010109' when '{{detailList.invoices.0.invoiceName}}'='飞机票' then '2221010108' when '{{detailList.invoices.0.invoiceName}}'='火车票' then '2221010108' else '22210101' end必须是末级科目 Entrys.borrow-1.borrow-3.ExchangeRate-3借方汇率1科目启用外币核算必输,否则默认1 Entrys.borrow-1.borrow-3.Currency-3借方货币RMB举例:Currency: { Code: "RMB" } Entrys.borrow-1.borrow-3.AmountDr-3借方本币function case when '{{detailList.invoices.0.taxAmount}}'=0 then '' else '{{detailList.invoices.0.taxAmount}}' end Entrys.borrow-1.borrow-3.AuxInfos-3借方辅助核算项 Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccDepartment-3部门{{detailList.projName}} Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccPerson-3个人(员工)_findCollection find Code from 5a9075b4-d2aa-329f-9a63-6b2f7dc62c7f where Name={{personName}} Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccCustomer-3客户(往来单位) Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccProject-3项目 Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccInventory-3存货 Entrys.borrow-1.borrow-3.loan-2贷方-2 Entrys.borrow-1.borrow-3.loan-2.Summary-2贷方摘要{{projName}}{{personName}}报{{endTimes}}{{subjFullName}} Entrys.borrow-1.borrow-3.loan-2.Account-2贷方科目档案function case when '{{itemMap.fod416dede4ea74efa828be2b39507e93c}}' in ('未付') then '10020101' else '{{detailList.reimCustomFieldDataList_1_value}}' end Entrys.borrow-1.borrow-3.loan-2.ExchangeRate-2贷方汇率1 Entrys.borrow-1.borrow-3.loan-2.Currency-2贷方货币RMB Entrys.borrow-1.borrow-3.loan-2.AmountCr-2贷方本币{{verificationMoney}} Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2贷方辅助核算项 Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2.AuxAccDepartment-2部门_function case when '{{itemMap.fod416dede4ea74efa828be2b39507e93c}}' in ('未付') then '' else '{{detailList.projName}}' end Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2.AuxAccPerson-2个人(员工)_function case when '{{itemMap.fod416dede4ea74efa828be2b39507e93c}}' in ('未付') then '' else _findCollection find Code from 5a9075b4-d2aa-329f-9a63-6b2f7dc62c7f where Name={{personName}} endFind end Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2.AuxAccCustomer-2客户(往来单位) Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2.AuxAccProject-2项目 Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2.AuxAccInventory-2存货 Entrys.borrow-1.borrow-3.loan-2.loan-4贷方-4 Entrys.borrow-1.borrow-3.loan-2.loan-4.Summary-4贷方摘要{{projName}}{{personName}}报{{endTimes}}{{subjFullName}} Entrys.borrow-1.borrow-3.loan-2.loan-4.Account-4贷方科目档案_function case when '{{itemMap.fod416dede4ea74efa828be2b39507e93c}}' in ('未付') then '10020101' else '{{detailList.reimCustomFieldDataList_1_value}}' end Entrys.borrow-1.borrow-3.loan-2.loan-4.ExchangeRate-4贷方汇率1 Entrys.borrow-1.borrow-3.loan-2.loan-4.Currency-4贷方货币RMB Entrys.borrow-1.borrow-3.loan-2.loan-4.AmountCr-4贷方本币function case when '{{verificationMoney}}' in ('') then '{{detailList.money}}' else sum('{{detailList.money}}'-'{{verificationMoney}}') end Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4贷方辅助核算项 Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4.AuxAccDepartment-4部门_function case when '{{itemMap.fod416dede4ea74efa828be2b39507e93c}}' in ('未付') then '' else '{{detailList.projName}}' end Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4.AuxAccPerson-4个人(员工)function case when '{{itemMap.fod416dede4ea74efa828be2b39507e93c}}' in ('未付') then '' else 'findCollection find Code from 5a9075b4-d2aa-329f-9a63-6b2f7dc62c7f where Name={{personName}} _endFind' end Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4.AuxAccCustomer-4客户(往来单位) Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4.AuxAccProject-4项目 Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4.AuxAccInventory-4存货 Entrys.dataKeydataKeydto Entrys.accountStrategyId科目基础资料查询方案367ab75e-7355-3ae5-bb7a-35e6a5d934d3

系统数据对接

当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。
ERP接口数据对接