报销单详情接口

说明

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

接口限制

 10次/秒

接口地址

报销单详情接口(包含附件)

/api/openapi/form/reimburse/{formCode}

报销单详情接口(不包含附件)

/api/openapi/form/reimburse/noFile/{formCode}

请求类型

GET

请求参数

参数说明

参数名称 类型 是否必填 参数说明
formCode String(50) 单据号

参数样例

MK230209001

响应参数

响应参数说明

参数名称 类型 是否必填 参数说明
formDataCode String(100) 单据内码
formCode String(100) 单据号
formSubTypeBizCode String(100) 单据小类编码
formSubTypeName String(150) 单据小类名称
reimburseName String(600) 报销事由
coverEmployeeName String(150) 承担人姓名
coverEmployeeId String(150) 承担人工号
departmentBizCode String(150) 部门业务编码
departmentDingtalkId String(150) 钉钉部门ID
departmentName String(400) 部门名称
comment String(1000) 备注,长度以表单配置为准
payeeAccount AccountInput 收款账户
payerAccounts List< PayInfoInput > 支付信息
legalEntityBizCode String(150) 公司抬头信息
legalEntityName String(150) 公司抬头名称
consumeApplicationCodes List< String > 关联申请单的号
associatedFormCodes List< String > 关联内部单据号
associatedForms List<AssociatedFormsDto> 关联单据组件对象列表
associatedExternalFormList List<OpenApiExternalFormAssociationDto> 关联外部单据对象列表
contractNumbers List<String> 关联合同编号列表
contractCodes List<String> 关联合同单据号列表
tradingPartnerBizCode String(150) 往来单位编码
tradingPartnerParentBizCode String(150) 当前往来单位的上一级分类的编码
tradingPartnerName String(150) 往来单位名称
submittedAt Long 最新一次提单时间
firstSubmittedAt Long 首次提单时间
amount AmountInput 报销金额
baseAmount AmountInput 报销本币金额
reimEmployeeName String(150) 提单人姓名
fillEmployeeName String(150) 填单人姓名
fillEmployeeId String(150) 填单人工号
formStatus String(150) 单据状态
paymentAmount AmountInput 应付金额
paymentBaseAmount AmountInput 应付本币金额
approvedAt Long 审批通过时间
approvedAmount AmountInput 审批通过金额
approvedBaseAmount AmountInput 审批通过本币金额
settledAt Long 支付时间
auditedAt Long 审核时间
createdAt Long 第一次单据创建时间(若单据先暂存,则值为第一次暂存时间)
expenseList List<ExpenseInputList> 费用列表
customObject CustomObject 自定义字段Map集合(表单的“控件”列所有组件)
loanDeductions List<LoanDeductionInput> 借款核销信息
collectionSchedule List<FormPayeeDetail> 多人收款
installment Boolean 是否使用分期付款
installmentStatus String(100) 分期状态,INIT:分期支付待开始;PAYING:分期支付中;COMPLETE:分期支付完成;DISUSE_APPROVE:停用审批中; DISUSE:停用
externalVoucherCodes String(600) 外部凭证编码(报销单标记接口返回的外部凭证编号)
validationResult List<ValidateDetail> 单据校验结果
signEmployeeName String(100) 签收人姓名(最后一个)
signEmployeeId String(100) 签收人工号(最后一个)
creditScore Long 信用分
creditRank Long 信用等级
applyRules List<ApplyRule> 适用费用标准列表
formDeductionAmount AmountInput 核销金额
firstPeriodPayment boolean 分期情况下首期是否随本单支付
generateVoucher boolean 单据生成凭证标识(false-不生成凭证 true-生成凭证)
invoiceBagCode String(150) 发票袋编码
detailTotalAmount Map<String,List<OpenApiTotalAmountDataDto>> 明细组件下的金额组件的总金额
taxDeductBaseAmount AmountInput 单据税额抵扣本币金额
taxDeductAcceptAmount AmountInput 单据税额抵扣收款金额
payerAccountObject AccountInput 支付账户组件
travelRouteList List<TravelRoute> 行程
submitUserDepartmentBizCode String(150) 提单人部门编码
submitUserDepartmentName String(150) 提单人部门名称
tagList List<OpenApiDynaTagDataDto> 标签列表
datahubBillList List<DatahubBillListInput> 月结账单
planPayTime Long 计划付款时间

参数样例

  1. 正常响应参数示例

    {
    "code": "ACK",
    "message": "",
    "data": {
       "formDataCode": "BX19101510VPV56O",
       "formCode": "MK19101502",
       "formSubTypeBizCode": "FT18081314B9DJB4",
       "formSubTypeName": "张三的报销单",
       "reimburseName": "测试费用分类",
       "coverEmployeeName": "张三",
       "coverEmployeeId": "MK001",
       "departmentBizCode": "",
       "departmentDingtalkId":"",
       "departmentName": "开发一部",
       "comment": "评论信息",
       "payeeAccount": {
          "bankBranchName": "中国工商银行股份有限公司杭州西城支行",
          "bankAcctName": "张三",
          "bankAcctNumber": "6210002870002188096"
       },
      "payerAccounts":[
        {
          "payerPaymentType": "BANK",
          "payerName": "每刻研发工程师",
          "payerBankName": "杭州每刻银行",
          "payerBankAccount": 621000000000000,
          "accountBizCode": "ABC200612149DH5OG"
        }
      ],
      "legalEntityBizCode": "EC1803221E22UHXD",
       "legalEntityName": "杭州每时每刻有限公司",
       "consumeApplicationCodes": ["PRE001", "PRE002"],
       "tradingPartnerBizCode": "TPB001",
       "tradingPartnerName": "每刻科技往来单位有限公司",
       "submittedAt": 1571128001340,
       "firstSubmittedAt": 1571128001340,
       "amount": {
          "currency": "CNY",
          "amount": 3
       },
       "reimEmployeeName": "张三",
       "reimEmployeeId": "empNo001",
       "formStatus": "DRAFT",
       "paymentAmount": {
          "currency": "CNY",
          "amount": 3
       },
       "approvedAt": 1571208001340,
       "approvedAmount": {
          "currency": "CNY",
          "amount": 3
       },
       "settledAt": 1571208001340,
       "auditedAt": 1571208001340,
       "createdAt": 1571108001340,
       "signEmployeeName":"小明",
       "signEmployeeId":"190121",
       "expenseList": [
          {
             "expenseTypeBizCode": "EXPENSE001",
             "consumeAmount": {
                "currency": "CNY",
                "amount": 3
             },
             "comments": "备注信息",
             "airClass": {},
             "consumeTime": {
                "startTime":1546272000000, 
                "endTime":1548950400000
             },
             "consumeLocation": {
                "departure":"domestic-ZH32-ZH32_1",  
                "departureText":"杭州市", 
                "destination":"domestic-ZH1-ZH1_0",  
                "destinationText":"北京市"
             },
             "invoiceList": [
                {
                   "invoiceUrl":"xxxx",
                   "validateStatusDesc":"xxx",
                   "invoiceType":"xxx",
                   "invoiceInfo":{
    
                     "invoiceOriginalInfo": {
                       "aaa.pdf": "https://oss-ng-accelerate.maycur.com/458c7605-40c3-4b2e-9f9a-e77ee473c5c8.jpg?Expires=1724054653&OSSAccessKeyId=LTAI4GFjSbZ82hyPuwCBC9Sg&Signature=DJ1PkXFeUbBzZ0kNBrMWQ8Ox7i0%3D&x-oss-process=image%2Fresize%2Cw_1876%2Ch_1239%2Fcrop%2Cx_1%2Cy_11%2Cw_1875%2Ch_1228%2Frotate%2C360%2Fauto-orient%2C0"
                     }
                   } 
                }
             ],
             "status":"OPEN",
             "customObject": {
                "CF1201": {
                   "type": "AmountInput",
                   "value":{
                      "currency": "USD",     
                      "amount": 800        
                   }
                },
                "cityId": {
                   "type": "CityInput",
                   "value":{
                      "code": "domestic-ZH32-ZH32_1",  
                      "text": "杭州市"  
                   }
                }
             },
             "applyRules": [
                {
                   "ruleCode": "ER2101091AXYTOTH",
                   "ruleName": "QC期控月度修改漂移测试规则",
                   "factorType": "AMOUNT",
                   "amountStd": {
                      "amount": "100.00",
                      "currency": "CNY"
                   },
                   "otherStds": []
                }
             ]
          }
       ],
       "customObject": {
    
       },
       "externalVoucherCodes": "外部凭证编码", 
       "generateVoucher":false,  
       "taxDeductBaseAmount": {
          "currency": "CNY",
          "amount": 3
       },
       "taxDeductAcceptAmount": {
          "currency": "CNY",
          "amount": 3
       },
       "detailTotalAmount": { 
          "mingzi01": [  
             {
                "currency": "CNY",  
                "amount": 11.1,  
                "businessCode": "totalamount",  
                "amountStr": "11.1"
             },
             {
                "currency": "CNY",
                "amount": 11.2,
                "businessCode": "CF161",
                "amountStr": "11.2"
             }
          ],
          "CF156": [ 
             {
                "currency": "CNY",
                "amount": 1.1,
                "businessCode": "CF158",
                "amountStr": "1.1"
             }
          ]
       },
      "planPayTime": 1697184095261
    }
    }
    

修改记录

2023-02-08  新增报销单详情文档
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 ""