单据审核驳回

接口: /report/audit/reject POST JSON

请求参数

参数 类型 必须 默认值 主键 描述
operatorEmployeeId string Y 操作人工号,与每刻平台一致
businessCode string Y 单据号
formType string Y 单据类型,支持五种单据类型的审核驳回:报销单(REIMBURSE),申请单(PRECONSUME),对公支付(CORP_REIMBURSE),对公收款(CORP_REPAYMENT),还款单(REPAYMENT)
opinion string Y 审核意见,驳回时审核意见必填
backToReject boolean N false 再次提交是否直接提交至驳回人
clearErpInfo boolean N false 是否清除导出ERP状态信息
taskId string N 当前流程节点taskId

备注:

  • 默认驳回到报销人

示例:

请求数据

{
    "timestamp":1604970860778,
    "data":{
        "operatorEmployeeId":"123",
        "businessCode":"MK1201000603",
        "formType":"REIMBURSE",
        "opinion":"api审核通过意见",
        "backToReject": true,
        "clearErpInfo": true
    }
}

返回数据(成功)

{
    "code": "ACK",
    "message": "操作成功!",
    "data": null,
    "args": null,
    "linkDetail": false,
    "nonBizError": false
}

返回数据(失败)

{
    "code": "NACK",
    "message": null,
    "data": {
        "MK1201000603": "任务不存在"
    },
    "args": null,
    "linkDetail": false,
    "errorData": {
        "MK1201000603": "任务不存在"
    },
    "warningData": null,
    "requestErrorData": {
        "operatorEmployeeId": "123",
        "businessCode": "MK1201000603",
        "formType": "REIMBURSE",
        "opinion": "api审核通过意见",
        "creditRuleCode": null,
        "rejectTo": null,
        "targetTaskId": null,
        "backToReject": true
    },
    "nonBizError": false
}

results matching ""

    No results matching ""