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

数据源系统:道一云
在道一云坚实的技术基础上,道一云推出全新升级的2.0产品矩阵,分别是低码平台、智能门户、场景应用。基于云原生底座,为企业提供集智能门户解决网关流量问题、企业微信端的场景应用、低代码解决行业属性需求等全域数字化产品及服务,这三个产品相互作用,客户可以根据自己的需求阶段选购所需模块。
对接目标平台:畅捷通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借方科目档案string6601040102
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
系统对接总览
通过数据集成平台可视化的快速配置调用接口打通道一云与畅捷通T+之间的数据接口,使得两个系统之间的对接更加快捷、稳定。轻易云数据集成平台打破信息孤岛、适配多种场景、降低运营成本、缩短开发周期、灵活调度配置是这种多系统数据打通时的特性优势。采用元数据模型驱动的低代码集成工具,基于系统预置的数据模型、映射、编排、日志、脚本等集成核心引擎,通过可视化配置,快速实现客户灵活多变的动态集成需求,让集成开发简单、执行过程可靠、问题风险可控。
