畅捷通T+和道一云单据接口对接

接入系统:道一云
广东道一信息技术股份有限公司(简称:道一云)成立于2004年,是中国领先的产业互联网企业。公司致力于组织的生产力提升,为客户提供低代码、高效率的数字化转型解决方案,涵盖千人千面、智能流控的企业级门户、30多款开箱即用的场景应用,以及面向企业个性化搭建需求的低代码平台。
写入目标:畅捷通T+
畅捷通T+是一款新型互联网企业管理软件,全面满足成长型小微企业对其灵活的业务流程的管控需求,重点解决往来业务管理、订单跟踪、资金、库存等管理难题。产品支持您通过各种固定或移动设备随时迅速获取企业实时、动态的运营信息,以及随时随地,实时掌握的特性带给您全新的体验感受。
数据集成方案配置
使用轻易云系统数据集成平台对应的模块:数据集成方案。然后选择开始创建数据集成方案。在方案配置表单中选择对应的源业务系统:道一云,然后选择对应的连接器。选择对应的获取报销信息列表作为数据对接来源。然后再通过写入目标平台配置目标系统为畅捷通T+,并且选择对应连接器(关于畅捷通T+的接口如何配置可以在轻易云数据集成社区论坛中找到相关信息,选择好对应的凭证创建接口作为数据写入动作,既可以完成第一步的数据对接配置。

道一云接口明细
- 调用接口:qwcgi/api/reimApiCtl/getReimList.do
- 接口名称:获取报销信息列表
- 方法:POST
请求参数
字段字段名称类型配置值
startTime开始时间string{{LAST_SYNC_TIME datetime}}
endTime结束时间string{{CURRENT_TIME datetime}}
currentPage查询页码string1
pageSize分页大小string100
dataKey数据包Keystringdata
响应参数
字段字段名称类型配置值
actualMoney实付金额string
payableMoney应付金额string
verificationMoney核销金额string
auditInfo审批信息string
closePersonName最后审批人string
closeTime最后审批时间string
createTime创建日期string
departmentName创建人部门名称string
detailCount明细数量string
creator创建人idstring
personName创建人名称string
reimNo报销单编号string
statestatestring
statusDesc审批状态string
title报销单标题string
totalMoney报销总金额string
wxUserId创建人账号string
globalRemark全局备注string
fieldListfieldListstring
itemMap全局自定义字段值json字符string
detailList明细数据array
detailList.mediaList附件集合string
detailList.imgPathList图片地址集合string
detailList.time产生日期-开始string
detailList.endTimes产生日期-结束string
detailList.money报销金额string
detailList.projId成本中心idstring
detailList.projName成本中心名称string
detailList.subjId科目idstring
detailList.subjFullName所属科目string
detailList.subjCode科目编码string
detailList.remark备注string
detailList.invoices发票集合string
detailList.type识别的发票类型string
detailList.invoiceCode发票代码string
detailList.invoiceNumber发票号码string
detailList.date发票日期string
detailList.checkCode校验码string
detailList.total发票-总金额string
detailList.tax发票-税额string
detailList.pretaxAmount发票-税前金额string
detailList.reimCustomFieldDataList明细自定义字段string
detailList.customName字段名称string
detailList.value自定义字段值string
畅捷通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 '660216' else '660116' 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 3076d602-dbb1-3431-8977-b7558b1414d1 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 '2221010106' when '{{detailList.invoices.0.invoiceName}}'=16 then '2221010101' when '{{detailList.invoices.0.invoiceName}}'='增值税专用发票百分之9' then '2221010109' when '{{detailList.invoices.0.invoiceName}}'=13 then '2221010106' when '{{detailList.invoices.0.invoiceName}}'='增值税专用发票百分之1' then '2221010110' when '{{detailList.invoices.0.invoiceName}}'='长途汽车票' then '2221010107' 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 3076d602-dbb1-3431-8977-b7558b1414d1 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 3076d602-dbb1-3431-8977-b7558b1414d1 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 3076d602-dbb1-3431-8977-b7558b1414d1 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资产的可插拔、可复用、可组成。

