还款单详情
接口说明
单据详情接口,无法查询到已删除单据信息。
请求方式
GET
接口地址
/api/openapi/form/repayment/{formCode}
请求参数说明
无参数,URL中{formCode} 需替换为您所需要查询的单据的单据号。
响应参数说明
在相应参数中,具有特殊类型字段,如AmountInput、AmountInput、AttachInput等,该部分的类型字段的数据结构请查看数据类型说明。
还款单响应参数
字段名称 | 字段类型(建议长度) | 必有 | 字段说明 |
---|---|---|---|
formDataCode | String(100) | 是 | 单据号(单据内码) |
formCode | String(100) | 是 | 单据号 |
formSubTypeBizCode | String(100) | 是 | 单据小类编码 |
formSubTypeName | String(150) | 是 | 单据小类名称 |
repaymentName | String(600) | 是 | 事由 |
coverEmployeeName | String(150) | 是 | 责任人人 |
coverEmployeeId | String(150) | 是 | 责任人工号 |
departmentBizCode | String(150) | 是 | 部门业务编码 |
departmentDingtalkId | String(150) | 是 | 钉钉部门ID |
departmentName | String(400) | 是 | 部门Name |
comment | String(text) | 否 | 备注 |
paymentType | String(50) | 否 | 付款执行方式BANK-银行,ALIPAY-支付宝,CASH-现金 |
repayAmount | AmountInput | 是 | 还款金额 |
repaymentDate | Long | 否 | 还款日期 |
payerAccount | AmountInput | 否 | 还款账户(AccountInput) |
payeeAccount | AmountInput | 否 | 公司收款账户(AccountInput) |
legalEntityBizCode | String(150) | 是 | 公司抬头编码 |
legalEntityName | String(150) | 是 | 公司抬头 |
tradingPartnerBizCode | String(150) | 否 | 往来单位code |
tradingPartnerParentBizCode | String(150) | 否 | 当前往来单位的上一级分类的编码 |
tradingPartnerName | String(600) | 否 | 往来单位名称 |
submittedAt | Long | 是 | 提单时间 |
repayBaseAmount | AmountInput | 是 | 还款本币金额 |
submittedEmployeeName | String(150) | 是 | 提单人姓名 |
submittedEmployeeId | String(150) | 是 | 提单人工号 |
fillEmployeeName | String(150) | 是 | 填单人姓名 |
fillEmployeeId | String(150) | 是 | 填单人工号 |
formStatus | String(100) | 是 | 单据状态 |
approvedAt | Long | 是 | 审批通过时间 |
approvedAmount | AmountInput | 是 | 审批通过金额 |
approvedBaseAmount | AmountInput | 是 | 审批通过本币金额 |
createdAt | Long | 是 | 单据创建时间 |
customObject | customObject | 否 | 自定义字段Map集合(表单的“控件”列所有组件) |
loanDeductions | List<LoanDeductionInput> | 是 | 借款核销信息 |
externalVoucherCodes | String(600) | 否 暂不支持 |
外部凭证编码 |
validationResult | List<ValidationDetail> | 否 暂不支持 |
单据校验结果 |
creditScore | Long | 否 暂不支持 |
信用分 |
creditRank | String(50) | 否 暂不支持 |
信用等级 |
deductionAmount | AmountInput | 是 | 核销金额=还款 |
submitUserDepartmentBizCode | String(150) | 是 | 提单人部门的编码 |
submitUserDepartmentName | String(150) | 是 | 提单人部门的名称 |
tagList | List<OpenApiDynaTagDataDto> | 否 | 标签列表 |
returnDeductions | List<OpenApiExpenseDeductionDataDto> | 否 | 预付退回列表 |
creditScore | BigDecimal | 否 | 信用分 |
creditRank | String | 否 | 信用等级 |
数据示例
{
"formDataCode": "RP2303021JQU6DJ4",
"formCode": "MK23030051",
"formSubTypeBizCode": "FT2211261K9KPY0W",
"formSubTypeName": "you的还款单",
"repaymentName": "dsfaf",
"coverEmployeeName": "游赟周",
"coverEmployeeId": "YYZ002",
"departmentBizCode": "DP1",
"departmentDingtalkId": "",
"departmentName": "财务部",
"comment": "djfasjfkasjk啊觉得舒服你就开始打",
"paymentType": "BANK",
"repayAmount": {
"currency": "CNY",
"amount": 7.00,
"amountStr": "7.00"
},
"repaymentDate": 1677745476493,
"payeeAccount": {
"accountType": null,
"payerPaymentType": "BANK",
"bankBranchName": "中国建设银行股份有限公司河池分行",
"bankAcctName": "新可乐家族专用支付账户",
"bankAcctNumber": "62825729892903",
"bankCode": "ccb",
"bankName": "建设银行",
"bankLocation": "CHINA",
"bankCityPlaceCode": "341700",
"bankCityName": "池州市",
"bankProvincePlaceCode": "340000",
"bankProvinceName": "安徽",
"bankBranchNo": null,
"accountBizCode": "GJM00000001",
"swiftCode": null,
"payeeBsbNumber": null,
"bankCodeEN": null
},
"payerAccount": {
"accountType": "PERSONAL",
"payerPaymentType": "BANK",
"bankBranchName": "中国邮政储蓄银行股份有限公司合肥大钟楼支行",
"bankAcctName": "游赟周的账户",
"bankAcctNumber": "56897569000",
"bankCode": "post",
"bankName": "中国邮政储蓄银行",
"bankLocation": "domestic-ZH3-ZH3_8",
"bankCityPlaceCode": "340100",
"bankCityName": "合肥市",
"bankProvincePlaceCode": "340000",
"bankProvinceName": "安徽",
"bankBranchNo": "403361000055",
"accountBizCode": null,
"swiftCode": null,
"payeeBsbNumber": null,
"bankCodeEN": null
},
"legalEntityBizCode": "ELC2104281BIIMDJ4",
"legalEntityName": "K3CloudLedger-CNY",
"tradingPartnerBizCode": "TRP220419XXOHZ7K",
"tradingPartnerParentBizCode": null,
"tradingPartnerName": "dsfaf",
"submittedAt": 1677745842721,
"repayBaseAmount": {
"currency": "CNY",
"amount": 7.00,
"amountStr": "7.00"
},
"submittedEmployeeName": "游赟周",
"submittedEmployeeId": "YYZ002",
"fillEmployeeName": "游赟周",
"fillEmployeeId": "YYZ002",
"formStatus": "APPROVING",
"approvedAt": null,
"approvedAmount": {
"currency": "CNY",
"amount": 7.00,
"amountStr": "7.00"
},
"approvedBaseAmount": {
"currency": "CNY",
"amount": 7.00,
"amountStr": "7.00"
},
"createdAt": 1677745650981,
"customObject": {
"CF151": []
},
"loanDeductions": [{
"owedAmount": {
"currency": "CNY",
"amount": 10.00,
"amountStr": "10.00"
},
"title": "dfasf",
"repaymentAt": 1677917902314,
"formDataCode": "LF2303021J8T55HC",
"formCode": "MK323030049",
"loanCode": "UL2303021J8TQ39C",
"deductionAmount": {
"currency": "CNY",
"amount": 7.00,
"amountStr": "7.00"
},
"approvedDeductionAmount": {
"currency": "CNY",
"amount": 7.00,
"amountStr": "7.00"
}
}],
"externalVoucherCodes": "",
"validationResult": null,
"deductionAmount": {
"currency": "CNY",
"amount": 7.00,
"amountStr": "7.00"
},
"submitUserDepartmentBizCode": "DP1",
"submitUserDepartmentName": "财务部",
"tagList": [{
"name": "YH标签003",
"code": "DT2208231BFGPFR4"
},
{
"name": "我的世界",
"code": "DT2210251SSN44U8"
}
],
"returnDeductions": [
{
"recordFormCode": "MK24033576",
"recordFormDataCode": "BX24031911RP0T1C",
"recordDeductionAmount": {
"currency": "CNY",
"amount": 100.00,
"amountStr": "100.00"
},
"approvedRecordDeductionAmount": {
"currency": "CNY",
"amount": 100.00,
"amountStr": "100.00"
},
"nonReceiptAmount": {
"currency": "CNY",
"amount": 102.00,
"amountStr": "102.00"
},
"recordExpenseCode": "FD2403181PI5Y632"
}
],
"creditScore": 80,
"creditRank": "A"
}
更新记录
2024-03-30 增加预付退回 returnDeductions
2024-09-25 新增返回参数:"creditScore","creditRank"