获取已提交对公收款单据详情
接口: /report/corp/repayment/detail?businessCode={businessCode} GET JSON
请求参数
| 参数 | 类型 | 必须 | 默认值 | 主键 | 描述 |
|---|---|---|---|---|---|
| businessCode | string | Y | Y | 报销单号 |
返回数据
| 参数 | 类型 | 描述 |
|---|---|---|
| report_id | string | 单据编号 |
| report_type | string | 单据类型 |
| name | string | 申请事由 |
| formSubType | string | 单据小类业务编码 |
| formSubTypeName | string | 单据小类名称 |
| date | long | 单据审批完成时间 |
| amount | number | 收款金额合计(原金额) |
| approvedAmount | number | 单据批准金额 |
| collectionCurrency | currency | 收款币种 |
| cost_center | string | 申请人所在部门成本中心编码 |
| departmentBusinessCode | string | 申请人所在部门编码 |
| departmentName | string | 申请人所在部门名称 |
| departmentFullName | string | 申请人所在部门全路径 |
| reim_user_code | string | 申请人工号 |
| reimUserName | string | 申请人姓名 |
| reimEmployeeCustFields | Map | 申请人自定义字段键值对,例如{"cust_field_1":"自定义字段1"} |
| status | enum | 单据状态, 包括COMPLETED(已结算), CLOSE(同COMPLETED), SETTLEMENT(待结算) |
| subsidiary_name | string | 业务实体名称 |
| subsidiary_code | string | 业务实体编码 |
| createdAt | date | 单据创建时间 |
| submittedAt | date | 单据提交时间 |
| approvedAt | date | 单据审批结束时间 |
| modifiedAt | date | 单据最后更新时间 |
| corpRepaymentTime | date | 收款时间 |
| corpRepaymentAccountCode | string | 收款方式编码 |
| corpRepaymentAccountName | string | 收款户名 |
| corpRepaymentAccountNumber | string | 收款账号 |
| corpRepaymentAccountProvince | string | 收款银行所在省 |
| corpRepaymentAccountCity | string | 收款银行所在市 |
| corpRepaymentAccountBranchNO | string | 收款银行联行号 |
| corpRepaymentAccountingSubjectBizCode | string | 收款方式对应的会计科目编码 |
| corpRepaymentAccountingSubjectFullName | string | 收款方式对应的会计科目名称 |
| corpRepaymentAccountingSubjectCashFlowCode | string | 收款方式对应的现金流量编码 |
| corpRepaymentAccountingSubjectCashFlowName | string | 收款方式对应的现金流量 |
| corpRepaymentAccountingSubjectAccountingItems.name | string | 收款方式会计科目的核算项目名称 |
| corpRepaymentAccountingSubjectAccountingItems.businessCode | string | 收款方式会计科目的核算项目代码 |
| corpRepaymentAccountingSubjectAccountingItems.seq | int | 收款方式会计科目的核算项目序号 |
| exportStatus | string | 导出状态码 |
| existAttachments | boolean | 是否存在附件 |
| voucherNum | string | 凭证号 |
| exportComments | string | 导出备注 |
| corpRepaymentDetails. corpRepaymentTypeBizCode |
string | 收款类型编码 |
| corpRepaymentDetails. corpRepaymentTypeName |
string | 收款类型名称 |
| corpRepaymentDetails. repaymentAmount |
number | 收款金额(原金额) |
| corpRepaymentDetails.accountingSubjectBizCode | string | 收款明细对应的会计科目编码 |
| corpRepaymentDetails.accountingSubjectFullName | string | 收款明细对应的会计科目名称 |
| corpRepaymentDetails.accountingSubjectCashFlowCode | string | 收款明细对应的现金流量编码 |
| corpRepaymentDetails.accountingSubjectCashFlowName | string | 收款明细对应的现金流量 |
| corpRepaymentDetails.accountingSubjectAccountingItems.name | string | 收款明细会计科目的核算项目名称 |
| corpRepaymentDetails.accountingSubjectAccountingItems.businessCode | string | 收款明细会计科目的核算项目代码 |
| corpRepaymentDetails.accountingSubjectAccountingItems.seq | int | 收款明细会计科目的核算项目序号 |
| corpRepaymentDetails. corpDeductions. corpDeductionDetailTypeName |
string | 冲销类型 |
| corpRepaymentDetails. corpDeductions.corpReimburseName |
string | 冲销单据事由 |
| corpRepaymentDetails. corpDeductions.corpReimburseCode |
string | 冲销单据编号 |
| corpRepaymentDetails. corpDeductions.deductionAmount |
number | 本次冲销金额 |
| corpRepaymentDetails. corpDeductions. residualDeductionAmount |
number | 剩余可冲金额 |
| corpRepaymentDetails. approvedRepaymentAmount |
number | 收款金额(调整后) |
| corpSupplier.supplierName | string | 供应商名称 |
| corpSupplier.supplierBusinessCode | string | 供应商编码 |
| corpSupplier.supplierAccountName | string | 供应商收款账户户名 |
| corpSupplier.supplierAccountBizCode | string | 供应商收款账户编码 |
| corpSupplier.supplierAccount | string | 供应商收款账号 |
| corpSupplier.supplierAccountBankName | string | 供应商收款开户银行 |
| corpSupplier.supplierAccountBankBranchNo | string | 供应商收款银行行号 |
| corpSupplier.supplierAccountBankBranchName | string | 供应商收款分支行信息 |
| corpSupplier.supplierAccountBankBranchLocation | string | 供应商收款开户省市 |
| corpSupplier.contactPhone | string | 供应商联系电话 |
| corpSupplier.contactName | string | 供应商联系人姓名 |
| corpSupplier.contactEmail | string | 供应商联系人邮箱 |
| corpSupplier.contactAddress | string | 供应商联系地址 |
| approval_process.user_code | string | 审批人编号 |
| approval_process.user_name | string | 审批人名字 |
| approval_process.approval_time | long | 审批时间 |
| approval_process.taskName | string | 审批节点名称 |
| approval_process.approvalComment | string | 审批意见 |
| approval_process.taskCategory | string | 审批节点类型, APPROVAL, FINANCE_AUDIT, CASHIER_SETTLE |
| finance_codes | string | 审核人编号 |
| operationLogs.opType | string | 操作历史,操作类型, SUBMIT(提交), RECALL(召回), AGREE(同意), REJECT(驳回) |
| operationLogs.userName | string | 操作历史,操作人 |
| operationLogs.comment | string | 操作历史,通过/驳回意见 |
| operationLogs.opTime | date | 操作历史,操作时间 |
| baseCurrency | string | 本币 |
| collectionToBaseExchangeRate | number | 收款币种到本币的汇率 |
| baseAmount | number | 本币金额 |
| attachments.fileName | string | 附件文件名 |
| attachments.fileUrl | string | 附件下载地址 |
| customFormValues | List<CustomFormValue> | 自定义字段信息 |
CustomFormValue(自定义字段)
| 参数 | 类型 | 描述 |
|---|---|---|
| name | string | 自定义字段名称 |
| identifier | string | 自定义字段占位符 |
| type | string | 自定义字段类型 |
| value | string | 自定义字段内容 |
| optionBizCode | string | 选项编码 |
| detailFieldValues | List<Map<String,String>> | 明细表格内容 |
detailFieldValues 里面多了一个结构
| 参数 | 类型 | 描述 |
|---|---|---|
| optionInfo | Map |
明细字段包含选项的信息 |
{
"detailFieldValues": [
{
"field21":"选项2,选项3",
"field22":"选项1,选项2",
"optionInfo":{
"field21":{
"value":"选项2,选项3",
"optionBizCode":"xuanxiang2,xuanxiang3"
},
"field22":{
"value":"选项1,选项2",
"optionBizCode":"xuanxiang1,xuanxiang2"
}
}
}
]
}