更新无流水回单文件

接口 /paymenttransaction/update/paymentFile/noSequence POST JSON

参数

参数 类型 必须 默认值 描述
paymentSystemFile string Y 回单文件(base64)
fileUrl string N 回单文件(有效url)
fileName string Y 文件名
formType string Y 单据类型(REIMBURSE-报销单; CORP_REIMBURSE - -对公支付; PRECONSUME -- 申请单)
formCode string Y 单据号
employeeId string N 收款人对应工号(单人收款可不传,多人收款必传),对应报销单、申请单
supplierBizCode string N 对公支付,供应商编码(单供应商可不传,多供应商必传)
supplierAccountBizCode string N 对公支付, 供应商账号编码(单供应商可不传,多供应商必传)

注:paymentSystemFile、fileUrl二选一必填一个,fileUrl优先

示例

请求数据

{
    "timestamp":"1623319479",
    "data":[
        {
            "paymentSystemFile":"BClCAAhQwmAALAAabMIZLAQpQgAIUoAAFKEABClCAAhRQI/D/5lJfgOIJgcoAAAAASUVORK5CYII=",
            "fileName":"测试.png",
            "formType":"REIMBURSE",
            "formCode":"MK21110091",
            "employeeId":"",
            "supplierBizCode":"",
            "supplierAccountBizCode":""
        }
    ]
}

返回数据

返回数据(成功)

{
    "code":"ACK",
    "message":null,
    "total":1,
    "successNum":1,
    "failNum":0
}

返回数据(失败)

{
    "code":"ACK",
    "message":null,
    "total":1,
    "successNum":0,
    "failNum":1,
    "failDatas":[
        {
            "errorReason":"没有单据类型",
            "sourceData":{
                "paymentSystemFile":"BClCAAhRQI/D/5lJfgOIJgcoAAAAASUVORK5CYII=",
                "fileName":"测试.png",
                "formType":"",
                "formCode":"MK21110091",
                "employeeId":"",
                "userCode":null,
                "supplierCode":null,
                "supplierBizCode":"",
                "supplierAccountCode":null,
                "supplierAccountBizCode":""
            }
        }
    ]
}

results matching ""

    No results matching ""