Skip to content

员工报销新增

Request

Url
text
[POST] : https://eapi.paiago.com/ZKGJ/addReimbursement?access_token={access_token}
Rule
  • 最多支持添加 100 条客户数据
请求参数:
参数类型必填描述示例
titlestring标题
receipt_numberstring单据编号
payment_datestring付款日期
depart_idstring部门id
payment_method_idstring付款账户id
rece_method_idstring收款账户id该条数据创建人下的收款账户
remarkstring备注
add_userstring创建人id
projectarray(object)所属项目
project_idstring项目id
cost_detailsarray(object)明细
create_datestring付款日期
moneystring金额
cost_idstring费用类型id
cost_desstring描述
请求示例:
json
[
    {
        "payment_method_id": "XmmJS0sjj",
        "rece_method_id": "PSxmeyVsk",
        "receipt_number": "001001001",
        "remark": "备注111",
        "title": "报销标题1",
        "depart_id": "lNi0q7k07",
        "payment_date": "2023-08-08",
        "project": [
            {
                "project_id": "lyQsk7qVj"
            },
            {
                "project_id": "lemCs7j0C"
            }
        ],
        "add_user": "lNzq7a0ak",
        "cost_details": [
            {
                "create_date": "2023-08-08",
                "money": "121",
                "cost_id": "XJSmi0ksj",
                "cost_des": "费用说明11"
            },
            {
                "create_date": "2023-08-08",
                "money": "123",
                "cost_id": "XxeJx0ksq",
                "cost_des": "费用说明22"
            }
        ]
    },
    {
        "payment_method_id": "XmmJS0sjj",
        "rece_method_id": "PSxmeyVsk",
        "receipt_number": "001001001",
        "remark": "备注111",
        "title": "报销标题2",
        "depart_id": "lNi0q7k07",
        "payment_date": "2023-08-08",
        "project": [
            {
                "project_id": "lyQsk7qVj"
            },
            {
                "project_id": "lemCs7j0C"
            }
        ],
        "add_user": "lNzq7a0ak",
        "cost_details": [
            {
                "create_date": "2023-08-08",
                "money": "121",
                "cost_id": "XJSmi0ksj",
                "cost_des": "费用说明11"
            },
            {
                "create_date": "2023-08-08",
                "money": "123",
                "cost_id": "XxeJx0ksq",
                "cost_des": "费用说明22"
            }
        ]
    }
]

Response

响应参数
参数描述类型示例
errcode错误码int
errmsg错误信息string
响应示例:
json
{
    "data": [],
    "errcode": 0,
    "errmsg": "请求成功",
    "request_id": null
}