付款单详情接口
业务场景说明
单据详情接口,无法查询到已删除单据信息。
注意事项
支持查询的业务场景包含
- 直接发起的纯付款单
- 用于分期付款场景的付款单
- 暂不支持查询含资金计划申请单的付款单
接口说明
请求方式
GET
接口地址
接口地址中的{formCode}为单据查询列表中的formCode,单据唯一标识码。
/api/openapi/payment/detailInfo/{formCode}
请求参数说明
无参数,URL中{formCode} 需替换为您所需要查询的单据的单据号。
响应参数说明
在相应参数中,具有特殊类型字段,如AmountInput、AmountInput、AttachInput等,该部分的类型字段的数据结构请查看数据类型说明。
响应参数
字段名称 | 字段类型 | 必有 | 字段说明 |
---|---|---|---|
formDataCode | String | 是 | 单据号(单据内码) |
formCode | String | 是 | 单据号 |
formSubTypeBizCode | String | 是 | 付款单单据小类编码 |
formSubTypeName | String | 是 | 付款单单据小类名称 |
paymentName | String | 是 | 付款单事由 |
coverEmployeeName | String | 是 | 申请人名称 |
coverEmployeeId | String | 是 | 申请人工号 |
departmentBizCode | String | 是 | 申请部门业务编码 |
departmentName | String | 是 | 申请部门名称 |
departmentDingtalkId | String | 否 | 钉钉部门id |
legalEntityBizCode | String | 是 | 公司抬头业务编码 |
legalEntityName | String | 是 | 公司抬头名称 |
comment | String | 否 | 备注 |
tradingPartnerBizCode | String | 否 | 往来单位编码 |
tradingPartnerParentBizCode | String | 否 | 当前往来单位的上一级分类的编码 |
tradingPartnerName | String | 否 | 往来单位名称 |
payeeAccount | OpenApiAccountDataDto | 否 | 收款账户 |
payerAccounts | List< PayInfoInput > | 否 | 支付信息 |
submitEmployeeName | String | 是 | 提单人名称 |
submitEmployeeId | String | 是 | 提单人工号 |
fillEmployeeName | String | 是 | 填单人名称 |
fillEmployeeId | String | 是 | 填单人工号 |
formStatus | String | 是 | 单据状态 |
paymentAmount | AmountInput | 是 | 应付金额 |
approvedAmount | AmountInput | 是 | 审批通过金额 |
approvedAt | Long | 否 | 审批通过时间 |
settledAt | Long | 否 | 支付时间 |
auditedAt | Long | 否 | 审核时间 |
remittanceRemark | String | 否 | 汇款备注 |
planPayTime | Long | 否 | 计划付款时间 |
paymentType | String | 否 | 付款执行方式 |
acceptanceDraftCode | String | 否 | 承兑汇票号 |
acceptanceIssueDate | Long | 否 | 承兑汇票出票日期 |
generateVoucher | boolean | 否 | 单据生成凭证标识(false-不生成凭证 true-生成凭证) |
reimburseCode | String | 否 | 关联报销单单号 |
reimburseFormSubTypeBizCode | String | 否 | 关联的报销单的单据小类编码 |
reimburseFormSubTypeName | String | 否 | 关联的报销单的单据小类名称 |
collectionSchedule | List<FormPayeeDetail> | 否 | 分期收款明细 |
customObject | CustomObject | 是 | 非系统级字段的一个Map集合 |
付款执行方式字段paymentType
参数名称 | 参数说明 |
---|---|
BANK | 从公司银行账户付款 |
BANK_AUTOMATIC | 从公司银行账户自动扣款 |
ALIPAY | 从公司支付宝账户付款 |
CASH | 从公司现金付款 |
THIRD_PARTY | 第三方支付 |
MONEY_ORDER | 通过承兑汇票付款 |
OTHER | 通过其他方式付款 |
从公司微信账户付款 | |
CHEQUE | 支票支付 |
NONE | 无 |
数据示例
{
"code": "ACK",
"message": null,
"data": {
"entCode": "EC2104251J8ERCWA",
"formDataCode": "PAY240625WL00IYO",
"formCode": "MK24062385",
"paymentName": "这是收款人的个人的",
"formSubTypeBizCode": "FT2402261OY3LO5C",
"formSubTypeName": "付款单",
"coverEmployeeId": "230095",
"coverEmployeeName": "名称",
"departmentName": "2-忠持",
"departmentBizCode": "DI2104261VG4UCRD",
"departmentDingtalkId": "",
"legalEntityBizCode": "ELC21042811WLNPXC",
"legalEntityName": "可乐新家族",
"comment": "",
"tradingPartnerBizCode": "TRP2109061H52HJ0G",
"tradingPartnerParentBizCode": null,
"tradingPartnerName": "新垣结衣情夫的往来单位",
"payeeAccount": {
"accountType": "PERSONAL",
"payerPaymentType": "BANK",
"bankBranchName": "招商银行股份有限公司杭州余杭支行",
"bankAcctName": "名称",
"bankAcctNumber": "21314213131",
"bankCode": "cmb",
"bankName": "招商银行",
"bankLocation": "domestic-ZH32-ZH32_1",
"bankCityPlaceCode": "330100",
"bankCityName": "杭州市99",
"bankProvincePlaceCode": "330000",
"bankProvinceName": "浙江",
"bankBranchNo": "308331012046",
"accountBizCode": null,
"swiftCode": null,
"payeeBsbNumber": "",
"abaNumber": "",
"ibanNumber": "",
"bankCodeEN": null,
"bankCountry": "CHINA",
"abroadBankAddress": null
},
"submitEmployeeName": "名称",
"submitEmployeeId": "230095",
"fillEmployeeName": "名称",
"fillEmployeeId": "230095",
"formStatus": "APPROVING",
"paymentAmount": {
"currency": "CNY",
"amount": 5.00,
"amountStr": "5.00"
},
"approvedAmount": {
"currency": "CNY",
"amount": 5.00,
"amountStr": "5.00"
},
"approvedAt": null,
"settledAt": null,
"auditedAt": null,
"remittanceRemark": "3",
"planPayTime": 1713774921185,
"paymentType": "BANK",
"acceptanceDraftCode": null,
"acceptanceIssueDate": null,
"generateVoucher": true,
"reimburseCode": "2404220473",
"reimburseFormSubTypeBizCode": "FT240109Z9DXM9S",
"reimburseFormSubTypeName": "报销单_带分期流程",
"collectionSchedule": [
{
"code": "FPI2404221K7OJTKW",
"collectionAmountRatio": 33.33,
"collectionAmount": {
"currency": "CNY",
"amount": 100.00,
"amountStr": "100.00"
},
"payeeAccount": {
"accountType": "PERSONAL",
"payerPaymentType": "BANK",
"bankBranchName": "招商银行股份有限公司杭州余杭支行",
"bankAcctName": "名称",
"bankAcctNumber": "21314213131",
"bankCode": "cmb",
"bankName": "招商银行",
"bankLocation": "domestic-ZH32-ZH32_1",
"bankCityPlaceCode": "330100",
"bankCityName": "杭州市99",
"bankProvincePlaceCode": "330000",
"bankProvinceName": "浙江",
"bankBranchNo": "308331012046",
"accountBizCode": null,
"swiftCode": null,
"payeeBsbNumber": "",
"abaNumber": "",
"ibanNumber": "",
"bankCodeEN": null,
"bankCountry": "CHINA",
"abroadBankAddress": null
},
"collectionTradingPartnerBizCode": null,
"collectionTradingPartnerParentBizCode": null,
"collectionTradingPartnerName": "测试0001",
"collectionType": "BANK",
"collectionUserName": "名称",
"collectionUserNo": "230095",
"acceptanceDraftCode": null,
"acceptanceIssueDate": null,
"paymentSceneCode": null,
"customObject": {},
"remittanceRemark": "3",
"paymentPlanPayLogList": null,
"payerAccount": null,
"collectionObject": null,
"installment": {
"installmentScene": true,
"installmentExpectPeriod": 2,
"installmentExpectDate": 1713774921185
}
},
{
"code": "FPI2404221K7OJTKX",
"collectionAmountRatio": 33.33,
"collectionAmount": {
"currency": "CNY",
"amount": 100.00,
"amountStr": "100.00"
},
"payeeAccount": {
"accountType": "PERSONAL",
"payerPaymentType": "BANK",
"bankBranchName": "招商银行股份有限公司杭州余杭支行",
"bankAcctName": "名称",
"bankAcctNumber": "21314213131",
"bankCode": "cmb",
"bankName": "招商银行",
"bankLocation": "domestic-ZH32-ZH32_1",
"bankCityPlaceCode": "330100",
"bankCityName": "杭州市99",
"bankProvincePlaceCode": "330000",
"bankProvinceName": "浙江",
"bankBranchNo": "308331012046",
"accountBizCode": null,
"swiftCode": null,
"payeeBsbNumber": "",
"abaNumber": "",
"ibanNumber": "",
"bankCodeEN": null,
"bankCountry": "CHINA",
"abroadBankAddress": null
},
"collectionTradingPartnerBizCode": null,
"collectionTradingPartnerParentBizCode": null,
"collectionTradingPartnerName": "测试0001",
"collectionType": "BANK",
"collectionUserName": "名称",
"collectionUserNo": "230095",
"acceptanceDraftCode": null,
"acceptanceIssueDate": null,
"paymentSceneCode": null,
"customObject": {},
"remittanceRemark": "4",
"paymentPlanPayLogList": null,
"payerAccount": null,
"collectionObject": null,
"installment": {
"installmentScene": true,
"installmentExpectPeriod": 2,
"installmentExpectDate": 1713861322414
}
}
],
"customObject": {
"CF1493": "1234",
"CF1494": 12222,
"CF1492": "12"
}
},
"errorCode": null,
"success": true
}
更新记录
2024-06-25 新增文档
2024-10-14 新增返回自定义字段