道一云与畅捷通T+对接集成获取报销信息列表打通凭证创建

接入系统:道一云
在道一云坚实的技术基础上,道一云推出全新升级的2.0产品矩阵,分别是低码平台、智能门户、场景应用。基于云原生底座,为企业提供集智能门户解决网关流量问题、企业微信端的场景应用、低代码解决行业属性需求等全域数字化产品及服务,这三个产品相互作用,客户可以根据自己的需求阶段选购所需模块。
集成系统:畅捷通T+
“T+”是一款灵动、智慧、时尚的互联网管理软件,主要针对中小型工贸和商贸企业的财务业务一体化应用,融入了社交化、移动化、物联网、电子商务、互联网信息订阅等元素。产品全面适应最新2013《小企业会计准则》,为企业打造全新的生意模式、管理模式、工作模式。与传统管理软件相比,“T+”更强调企业管理向企业经营的转变、等级化管人向平等化用人理念的转变。
数据接口配置方案
通过轻易云系统数据集成平台新增创建集成方案,通过轻易云的方案市场可以一键复制,并且可以借鉴其他的方案配置完成方案制作,方案制作只需要两步,第一步先确定好对应的数据来源;源系统:道一云接口:获取报销信息列表通过请求调度者配置对应的请求参数即可获取到对应的数据。目标系统:畅捷通T+接口:凭证创建,通过写入调度者匹配获取到的数据和写入的映射关系,即可自动生成符合目标系统:畅捷通T+写入的数据自动产生写入队列,通过运行概况,系统会自动帮你诊断方案的运行情况。实时监控到方案的运行情况


道一云接口明细
- 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+接口明细
- 调用接口:/tplus/api/v2/doc/Create
- 接口名称:凭证创建
- 方法:POST
请求参数
字段字段名称类型配置值
ExternalCode外部编码string{{reimNo}}{{detailList.subjName}}
DocType凭证字string记
VoucherDate制单日期string{{closeTime}}
EntrysEntrysarraydetailList
Entrys.borrow-1借方-1object
Entrys.borrow-1.Summary-1借方摘要string{{projName}}{{personName}}报{{endTimes}}{{subjFullName}}
Entrys.borrow-1.Account-1借方科目档案string
function case when '{{detailList.projName}}' in ('营运部','设计部','财务部','市场部','人资行政部') then '660230' else '660124' end
Entrys.borrow-1.ExchangeRate-1借方汇率string1
Entrys.borrow-1.Currency-1借方货币stringRMB
Entrys.borrow-1.AmountDr-1借方本币string_function sum({{detailList.invoices.0.amount}}-{{detailList.invoices.0.taxAmount}})
Entrys.borrow-1.AuxInfos-1借方辅助核算项array
Entrys.borrow-1.AuxInfos-1.AuxAccDepartment-1部门string{{detailList.projName}}
Entrys.borrow-1.AuxInfos-1.AuxAccPerson-1个人(员工)string
findCollection find Code from 3076d602-dbb1-3431-8977-b7558b1414d1 where Name={{personName}}
Entrys.borrow-1.AuxInfos-1.AuxAccCustomer-1客户(往来单位)string
Entrys.borrow-1.AuxInfos-1.AuxAccProject-1项目string
Entrys.borrow-1.AuxInfos-1.AuxAccInventory-1存货string
Entrys.borrow-1.borrow-3借方-3object
Entrys.borrow-1.borrow-3.Summary-3借方摘要string{{projName}}{{personName}}报{{endTimes}}{{subjFullName}}{{detailList.invoices.0.invoiceName}}
Entrys.borrow-1.borrow-3.Account-3借方科目档案string_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借方汇率string1
Entrys.borrow-1.borrow-3.Currency-3借方货币stringRMB
Entrys.borrow-1.borrow-3.AmountDr-3借方本币string
function case when '{{detailList.invoices.0.taxAmount}}'=0 then '' else '{{detailList.invoices.0.taxAmount}}' end
Entrys.borrow-1.borrow-3.AuxInfos-3借方辅助核算项array
Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccDepartment-3部门string{{detailList.projName}}
Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccPerson-3个人(员工)string_findCollection find Code from 3076d602-dbb1-3431-8977-b7558b1414d1 where Name={{personName}}
Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccCustomer-3客户(往来单位)string
Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccProject-3项目string
Entrys.borrow-1.borrow-3.AuxInfos-3.AuxAccInventory-3存货string
Entrys.borrow-1.borrow-3.loan-2贷方-2object
Entrys.borrow-1.borrow-3.loan-2.Summary-2贷方摘要string{{projName}}{{personName}}报{{endTimes}}{{subjFullName}}
Entrys.borrow-1.borrow-3.loan-2.Account-2贷方科目档案string
function case when '{{itemMap.fod416dede4ea74efa828be2b39507e93c}}' in ('未付') then '10020101' else '{{detailList.reimCustomFieldDataList_1_value}}' end
Entrys.borrow-1.borrow-3.loan-2.ExchangeRate-2贷方汇率string1
Entrys.borrow-1.borrow-3.loan-2.Currency-2贷方货币stringRMB
Entrys.borrow-1.borrow-3.loan-2.AmountCr-2贷方本币string{{verificationMoney}}
Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2贷方辅助核算项array
Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2.AuxAccDepartment-2部门string_function case when '{{itemMap.fod416dede4ea74efa828be2b39507e93c}}' in ('未付') then '' else '{{detailList.projName}}' end
Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2.AuxAccPerson-2个人(员工)string_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客户(往来单位)string
Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2.AuxAccProject-2项目string
Entrys.borrow-1.borrow-3.loan-2.AuxInfos-2.AuxAccInventory-2存货string
Entrys.borrow-1.borrow-3.loan-2.loan-4贷方-4object
Entrys.borrow-1.borrow-3.loan-2.loan-4.Summary-4贷方摘要string{{projName}}{{personName}}报{{endTimes}}{{subjFullName}}
Entrys.borrow-1.borrow-3.loan-2.loan-4.Account-4贷方科目档案string_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贷方汇率string1
Entrys.borrow-1.borrow-3.loan-2.loan-4.Currency-4贷方货币stringRMB
Entrys.borrow-1.borrow-3.loan-2.loan-4.AmountCr-4贷方本币string
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贷方辅助核算项array
Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4.AuxAccDepartment-4部门string_function case when '{{itemMap.fod416dede4ea74efa828be2b39507e93c}}' in ('未付') then '' else '{{detailList.projName}}' end
Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4.AuxAccPerson-4个人(员工)string
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客户(往来单位)string
Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4.AuxAccProject-4项目string
Entrys.borrow-1.borrow-3.loan-2.loan-4.AuxInfos-4.AuxAccInventory-4存货string
Entrys.dataKeydataKeystringdto
Entrys.accountStrategyId科目基础资料查询方案string367ab75e-7355-3ae5-bb7a-35e6a5d934d3
系统打通概况
通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。
