分期单详情接口
业务场景说明
单据详情接口,无法查询到已删除单据信息。
接口说明
请求方式
GET
接口地址
接口地址中的{formCode}为单据查询列表中的formCode,单据唯一标识码。
/api/openapi/form/installment/{formCode}
请求参数说明
无参数,URL中{formCode} 需替换为您所需要查询的单据的单据号。
响应参数说明
在相应参数中,具有特殊类型字段,如AmountInput、AmountInput、AttachInput等,该部分的类型字段的数据结构请查看数据类型说明。
响应参数
字段名称 | 字段类型 | 必有 | 字段说明 |
---|---|---|---|
formDataCode | String | 是 | 单据号(单据内码) |
formCode | String | 是 | 单据号 |
formSubTypeBizCode | String | 是 | 对应报销单的单据小类编码 |
formSubTypeName | String | 是 | 对应报销单的单据小类名称 |
installmentName | String | 是 | 分期单名称 |
coverEmployeeName | String | 是 | 承担人名称 |
coverEmployeeId | String | 是 | 承担人工号 |
departmentBizCode | String | 是 | 部门业务编码 |
departmentName | String | 是 | 部门名称 |
departmentDingtalkId | String | 否 | 钉钉部门id |
payerAccounts | List<OpenApiPayInfoDataDto> | 否 | 支付信息 |
legalEntityBizCode | String | 是 | 公司抬头业务编码 |
legalEntityName | String | 是 | 公司抬头名称 |
submittedAt | Long | 是 | 最新一次提单时间 |
amount | AmountInput | 是 | 分期金额 |
insEmployeeName | String | 是 | 提单人名称 |
insmEmployeeId | String | 是 | 提单人工号 |
fillEmployeeName | String | 是 | 填单人名称 |
fillEmployeeId | String | 是 | 填单人工号 |
formStatus | String | 是 | 单据状态 |
paymentAmount | AmountInput | 是 | 应付金额 |
approvedAt | Long | 否 | 审批通过时间 |
approvedAmount | AmountInput | 否 | 审批通过金额 |
settledAt | Long | 否 | 支付时间 |
auditedAt | Long | 否 | 审核时间 |
collectionSchedule | List<FormPayeeDetail> | 是 | 分期收款明细 |
generateVoucher | boolean | 是 | 单据生成凭证标识(false-不生成凭证 true-生成凭证) |
reimburseCode | String | 否 | 关联报销单单号 |
customObject | CustomObject | 是 | 非系统级字段的一个Map集合 |
数据示例
{
"code": "ACK",
"message": "",
"data": {
"formDataCode": "INS2008111CEL74LC",
"formCode": "MK20084105",
"formSubTypeBizCode": "FT20021014C11O1S",
"formSubTypeName": "收款明细 -3期",
"reimburseName": "邱蒙蒙",
"coverEmployeeName": "邱蒙蒙",
"coverEmployeeId": "",
"departmentBizCode": "DI1803221E22UHXF",
"departmentName": "杭州每时每刻有限公司",
"departmentDingtalkId": "1",
"comment": null,
"payeeAccount": null,
"payerAccount": null,
"payerAccounts": [],
"legalEntityBizCode": "ELC190409YP3435S",
"legalEntityName": "杭州每刻科技有限公司",
"submittedAt": 1597126419783,
"amount": {
"currency": "CNY",
"amount": 10.00,
"amountStr": "10.00"
},
"insEmployeeName": "邱蒙蒙",
"insmEmployeeId": "888888",
"fillEmployeeName": "邱蒙蒙",
"fillEmployeeId": "888888",
"formStatus": "SETTLEMENT",
"baseCcy": "CNY",
"baseCcySymbol": "¥",
"paymentAmount": {
"currency": "CNY",
"amount": 10.00,
"amountStr": "10.00"
},
"approvedAt": 1597145670661,
"approvedAmount": {
"currency": "CNY",
"amount": 10.00,
"amountStr": "10.00"
},
"settledAt": null,
"auditedAt": 1597145670661,
"createdAt": null,
"customObject": {},
"collectionSchedule": [
{
"code": "FPI2008111CEL86IO",
"collectionAmountRatio": 100.00,
"collectionAmount": {
"currency": "CNY",
"amount": 10.00,
"amountStr": "10.00"
},
"payeeAccount": {
"accountType": "PERSONAL",
"payerPaymentType": "BANK",
"bankBranchName": "中国农业银行股份有限公司安庆龙山路支行",
"bankAcctName": "自动扣款1",
"bankAcctNumber": "1111",
"bankCode": "abc",
"bankName": "农业银行",
"bankLocation": "domestic-ZH3-ZH3_1-ZH3_1_01",
"bankCityPlaceCode": "340801",
"bankCityName": "安庆市区",
"bankProvincePlaceCode": "340000",
"bankProvinceName": "安徽",
"bankBranchNo": "103368065010"
},
"collectionTradingPartnerBizCode": null,
"collectionTradingPartnerName": null,
"collectionType": null,
"collectionUserName": "邱蒙蒙",
"collectionUserNo": "888888",
"acceptanceDraftCode": null,
"paymentSceneCode": null,
"customObject": {},
"remittanceRemark": null,
"installment": {
"installmentScene": true,
"installmentExpectPeriod": 3,
"installmentExpectDate": 1597895553736
}
}
]
},
"success": true
}