从易快报到金蝶云星空通过接口配置打通数据
从易快报到金蝶云星空通过接口配置打通数据
接入系统:易快报
易快报是敏捷的企业报销费控与聚合消费平台,为企业提供移动报销、聚合消费、全程费控、预算管理、发票管理等一站式解决方案。同时,易快报可集成多家银行及第三方支付平台,打通对公对私付款,对接财务软件自动生成凭证,实现申请-订购-报销-验票-支付-记账全流程,并可与企业现有ERP、OA、CRM等业务系统无缝集成,打破信息孤岛,激活数据价值。
写入目标:金蝶云星空
金蝶K/3Cloud(金蝶云星空)是移动互联网时代的新型ERP,是基于WEB2.0与云技术的新时代企业管理服务平台。金蝶K/3Cloud围绕着“生态、人人、体验”,旨在帮助企业打造面向新时代的生态互联与协同平台,围绕生态中的每个角色,提供随手可得的云服务,最终实现敏捷协同,智慧运营的企业运营新境界。整个产品采用SOA架构,完全基于BOS平台组建而成,业务架构上贯穿流程驱动与角色驱动思想,结合中国管理模式与中国管理实践积累,精细化支持企业财务管理、供应链管理、生产管理、供应链协同管理、人力资源管理等核心应用。技术架构上该产品采用平台化构建,支持跨数据库应用,支持本地部署、私有云部署与公有云部署三种部署方式,同时还在公有云上开放中国第一款基于ERP的协同开发云平台。任何一家使用金蝶K/3Cloud产品的企业,其拥有的是包含金蝶在内的众多基于同一个平台提供服务的IT服务伙伴。
数据接口配置
轻易云集成平台的对接是通过一个个对应的对接方案去形成两个系统对接的连线,所以对接方案的配置极其重要,方案可以选择一键复制,轻易云有海量的对接方案可支持一键复制,复制后直接启动使用(对接方案借鉴可以在轻易云系统数据集成交流社区bbs.qeasy.cloud 中找到相关信息。或者可以通过手工配置,配置只要确认源平台:易快报的取数逻辑,例如什么时间取什么样的数据。即可完成配置,目标平台:金蝶云星空,把获取的数据组装成目标系统需要的格式进行写入。
易快报接口明细
- 接口:/api/openapi/v1/docSequences
- 接口名称:获取指定状态单据列表(包含已删除单据)
- 接口方法:POST
请求参数
| 字段 | 名称 | 类型 | 描述 |
| fields | 需要过滤掉的字段 | object | 指定过滤掉的字段返回空值, 从而缩小响应数据 |
| fields.docData | 单据数据 | object | 包含所有单据数据 |
| fields.docData.logs | 审批日志 | string | |
| fields.docData.flowPlan | 审批流信息 | string | |
| fields.type | 单据类型 | string | expense : 报销单 loan : 借款单 repayment : 还款记录 payment : 付款单 requisition : 申请单 custom : 通用审批单 receipt : 收款单 |
| fields.index | 分页查询的起始索引序号 | string | 例如 : 当 index = 1484498318240 时,会查询所有 index > 1484498318240 的单据 |
| fields.count | 查询数据条数 | string | 最大不能超过 100 |
| fields.state | 单据状态 | string | REJECTED : 已驳回 PAYING : 待支付 PROCESSING : 支付中 PAID : 已支付 不传值时,查询四种状态单据 |
响应参数
| 字段 | 名称 | 类型 | 描述 |
| type | type | string | _autoFillResponse |
| id | id | string | _autoFillResponse |
| corporationId | corporationId | string | _autoFillResponse |
| ownerId | ownerId | string | _autoFillResponse |
| dataType | dataType | string | _autoFillResponse |
| remark | remark | string | _autoFillResponse |
| title | title | string | _autoFillResponse |
| updateTime | updateTime | string | _autoFillResponse |
| specificationId | specificationId | string | _autoFillResponse |
| owner | owner | object | _autoFillResponse |
| owner.id | id | string | _autoFillResponse |
| owner.name | name | string | _autoFillResponse |
| owner.departments | departments | string | _autoFillResponse |
| owner.code | code | string | _autoFillResponse |
| owner.department | department | object | _autoFillResponse |
| owner.department.id | id | string | _autoFillResponse |
| owner.department.name | name | string | _autoFillResponse |
| owner.department.code | code | string | _autoFillResponse |
| owner.department.code | code | string | _autoFillResponse |
| owner.department.userProps | userProps | object | _autoFillResponse |
| owner.department.userProps.payeeId | payeeId | string | _autoFillResponse |
| owner.department.userProps.description | description | string | _autoFillResponse |
| owner.department.userProps.submitterId | submitterId | string | _autoFillResponse |
| owner.department.userProps.companyRealPay | companyRealPay | string | _autoFillResponse |
| owner.department.userProps.specificationId | specificationId | string | _autoFillResponse |
| owner.department.userProps.expenseDepartment | expenseDepartment | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_rate | companyRealPay_rate | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_budget | companyRealPay_budget | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_foreign | companyRealPay_foreign | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_budgetRate | companyRealPay_budgetRate | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_budgetUnit | companyRealPay_budgetUnit | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_budgetScale | companyRealPay_budgetScale | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_foreignUnit | companyRealPay_foreignUnit | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_budgetSymbol | companyRealPay_budgetSymbol | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_standardUnit | companyRealPay_standardUnit | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_budgetNumCode | companyRealPay_budgetNumCode | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_budgetStrCode | companyRealPay_budgetStrCode | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_foreignSymbol | companyRealPay_foreignSymbol | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_foreignNumCode | companyRealPay_foreignNumCode | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_foreignStrCode | companyRealPay_foreignStrCode | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_standardSymbol | companyRealPay_standardSymbol | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_standardNumCode | companyRealPay_standardNumCode | string | _autoFillResponse |
| owner.department.userProps.companyRealPay_standardStrCode | companyRealPay_standardStrCode | string | _autoFillResponse |
| owner.department.userProps.state | state | string | _autoFillResponse |
| owner.department.userProps.project | project | string | _autoFillResponse |
| owner.department.userProps.logs | logs | string | _autoFillResponse |
| owner.department.userProps.flowPlan | flowPlan | string | _autoFillResponse |
| owner.department.userProps.sumAmount | sumAmount | string | _autoFillResponse |
| owner.department.userProps.writeOffAmount | writeOffAmount | string | _autoFillResponse |
| owner.department.userProps.expenseDate | expenseDate | string | _autoFillResponse |
| owner.department.userProps.details | details | array | _autoFillResponse |
| owner.department.userProps.details.amount | amount | string | _autoFillResponse |
| owner.department.userProps.details.amount_standardStrCode | amount_standardStrCode | string | _autoFillResponse |
| owner.department.userProps.details.amount_standardNumCode | amount_standardNumCode | string | _autoFillResponse |
| owner.department.userProps.details.amount_standardSymbol | amount_standardSymbol | string | _autoFillResponse |
| owner.department.userProps.details.amount_standardUnit | amount_standardUnit | string | _autoFillResponse |
| owner.department.userProps.details.amount_rate | amount_rate | string | _autoFillResponse |
| owner.department.userProps.details.amount_foreignStrCode | amount_foreignStrCode | string | _autoFillResponse |
| owner.department.userProps.details.amount_foreignNumCode | amount_foreignNumCode | string | _autoFillResponse |
| owner.department.userProps.details.amount_foreign | amount_foreign | string | _autoFillResponse |
| owner.department.userProps.details.amount_foreignSymbol | amount_foreignSymbol | string | _autoFillResponse |
| owner.department.userProps.details.amount_foreignUnit | amount_foreignUnit | string | _autoFillResponse |
| owner.department.userProps.details.date | date | string | _autoFillResponse |
| owner.department.userProps.details.remark | remark | string | _autoFillResponse |
| owner.department.userProps.details.feeTypeId | feeTypeId | string | _autoFillResponse |
| owner.department.userProps.details.userProps | userProps | string | _autoFillResponse |
| owner.department.userProps.details.invoiceCount | invoiceCount | string | _autoFillResponse |
| owner.department.userProps.details.taxAmount | taxAmount | string | _autoFillResponse |
| owner.department.userProps.details.noTaxAmount | noTaxAmount | string | _autoFillResponse |
| owner.department.userProps.details.invoices | invoices | string | _autoFillResponse |
| owner.department.userProps.details.invoiceFormType | invoiceFormType | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo | payeeInfo | string | _autoFillResponse |
| owner.department.userProps.details.writtenOffRecords | writtenOffRecords | object | _autoFillResponse |
| owner.department.userProps.details.submitTime | submitTime | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo | payeeInfo | object | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.sort | sort | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.name | name | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.cardNo | cardNo | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.bank | bank | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.branch | branch | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.type | type | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.province | province | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.city | city | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.certificateType | certificateType | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.certificateNo | certificateNo | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.bankLinkNo | bankLinkNo | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.bankName | bankName | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.swiftCode | swiftCode | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.bankCode | bankCode | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.branchCode | branchCode | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.remark | remark | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.id | id | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.payorId | payorId | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.paymentChannel | paymentChannel | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.paymentAccountId | paymentAccountId | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.payTime | payTime | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.multiplePayeesMode | multiplePayeesMode | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.channelTradeNo | channelTradeNo | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.payPlan | payPlan | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.receiptState | receiptState | string | _autoFillResponse |
| owner.department.userProps.details.payeeInfo.paymentAccount | paymentAccount | string | _autoFillResponse |
金蝶云星空接口明细
- 接口:batchSave
- 接口名称:付款单新增
- 接口方法:POST
请求参数
| 字段 | 名称 | 类型 | 描述 |
| FBillNo | 单据编号 | string | |
| FPAYORGID | 付款组织 | string | |
| FSETTLEORGID | 结算组织 | string | |
| FCURRENCYID | 币别 | string | |
| FDATE | 业务日期 | string | |
| FBillTypeID | 单据类型 | string | |
| FCONTACTUNITTYPE | 往来单位类型 | string | |
| FCONTACTUNIT | 往来单位 | string | |
| FRECTUNITTYPE | 收款单位类型 | string | |
| FRECTUNIT | 收款单位 | string | |
| FDepartment | 部门 | string | |
| FPAYAMOUNTFOR | 付款金额 | string | |
| FEXCHANGETYPE | 汇率类型 | string | |
| FSETTLECUR | 结算币别 | string | |
| FREMARK | 备注 | string | |
| FPAYBILLENTRY | 付款单明细 | array | |
| FPAYBILLENTRY.FSETTLETYPEID | 结算方式 | string | |
| FPAYBILLENTRY.FPAYTOTALAMOUNTFOR | 付款金额 | string | |
| FPAYBILLENTRY.FPURPOSEID | 收付款用途 | string | |
| FPAYBILLENTRY.FACCOUNTID | 我方银行账号 | string | |
| FPAYBILLENTRY.FCOMMENT | 备注 | string | |
| FPAYBILLENTRY.FCOSTID | 费用项目 | string | |
| FPAYBILLENTRY.FEXPENSEDEPTID_E | 费用承担部门 | string | |
| FPAYBILLENTRY.F_wk_KH | 客户 | string | |
| FPAYBILLENTRY.F_PBLH_YKBHEXJE | 易快报核销金额 | string | |
| FPAYBILLENTRY.F_wk_bxje1 | 报销金额 | string | |
| FPAYBILLENTRY.F_wk_hxje | 核销金额 | string | |
| FPAYBILLENTRY.F_wk_YG | 员工 | string | |
| FPAYBILLENTRY.FormId | 业务对象表单Id | string | 必须填写金蝶的表单ID如:PUR_PurchaseOrder |
| FPAYBILLENTRY.Operation | 执行的操作 | string | |
| FPAYBILLENTRY.IsAutoSubmitAndAudit | 提交并审核 | bool | |
| FPAYBILLENTRY.IsVerifyBaseDataField | 验证基础资料 | bool | 是否验证所有的基础资料有效性,布尔类,默认false(非必录) |
系统数据集成价值
当企业规模逐渐增大时,作为支撑业务运营的IT建设也变得越来越重要,不过往往企业的IT建设过程中会发现某一家软件供应商基本不能完全覆盖企业所有的业务运营流程,这样的结果就是,企业上的IT系统很多很全,从ERP到HR、CRM、PDM、OA等,貌似所有的业务都覆盖到了,但实际上因为这些系统的不集成,而形成了企业很多新的信息孤岛,非常不利于企业的后续的管理和战略发展。从现今和往后的发展趋势来看,也不可避免会遇到上述问题,毕竟企业经营的多样化,并不是所有的业务都能在一个系统中完成,所以我们必须在产品架构上支持更好的与外部系统进行协同。通过轻易云集成平台统一的API管理平台,对API进行显性化、可视化,使所有API服务成为企业的数字资产,提升API利用率,发挥业务系统价值,实现企业IT资产的可插拔、可复用、可组成。
版权声明
该文章 《从易快报到金蝶云星空通过接口配置打通数据》 为原创内容,版权归 广东轻亿云软件科技有限公司 所有。欢迎转载,但转载时必须在显著位置注明文章出处(包括原文链接)等信息,以尊重版权。



