付款单详情接口

业务场景说明

单据详情接口,无法查询到已删除单据信息。

注意事项

支持查询的业务场景包含

  1. 直接发起的纯付款单
  2. 用于分期付款场景的付款单
  3. 暂不支持查询含资金计划申请单的付款单

接口说明

请求方式

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 通过其他方式付款
WECHAT 从公司微信账户付款
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  新增返回自定义字段
Copyright © 杭州每刻科技有限公司 www.maycur.com all right reserved,powered by Gitbook该文件修订时间: 2024-11-20 10:52:00

results matching ""

    No results matching ""

    results matching ""

      No results matching ""