简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2026-08-12

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 凭证

请求参数:

参数名 是否必须 类型 说明
source string 1=pos 2=线上点餐 3=Ubereats 4=Foodpanda 5=自助點餐
store_id string 门店id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "ok",
    "data": [
        {
            "record_id": 384,
            "employee_id": 2,
            "created_at": "2026-08-12 11:46:39",
            "close_status": false,
            "json_str": [
                {
                    "name": "營業額",
                    "amount": 7293,
                    "item_list": [
                        {
                            "name": "信用卡",
                            "amount": 0,
                            "item_list": [
                                {
                                    "name": "+信用卡",
                                    "amount": 0
                                }
                            ]
                        },
                        {
                            "name": "Ubereats",
                            "amount": 0,
                            "item_list": [
                                {
                                    "name": "+Ubereats",
                                    "amount": 0
                                }
                            ]
                        },
                        {
                            "name": "現金付款",
                            "amount": 7293,
                            "item_list": [
                                {
                                    "name": "+現金付款",
                                    "amount": 7500
                                },
                                {
                                    "name": "-溢收找零",
                                    "amount": 207
                                }
                            ]
                        },
                        {
                            "name": "LINE Pay",
                            "amount": 0,
                            "item_list": [
                                {
                                    "name": "+LinePay(POS)",
                                    "amount": 0
                                },
                                {
                                    "name": "+LinePay(線上)",
                                    "amount": 0
                                },
                                {
                                    "name": "+LinePay(自助機)",
                                    "amount": 0
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "錢櫃應收金額",
                    "amount": 17293,
                    "item_list": [
                        {
                            "name": "錢櫃現金",
                            "amount": 7293
                        },
                        {
                            "name": "留存金",
                            "amount": 10000
                        },
                        {
                            "name": "其他收入",
                            "amount": 0
                        },
                        {
                            "name": "其他支出",
                            "amount": 0
                        },
                        {
                            "name": "溢收找零",
                            "amount": 0
                        }
                    ]
                },
                {
                    "name": "短溢",
                    "amount": 0,
                    "item_list": [
                        {
                            "name": "錢櫃實點現金",
                            "amount": 17293
                        },
                        {
                            "name": "錢櫃應收現金",
                            "amount": 17293
                        }
                    ]
                },
                {
                    "name": "作廢總額",
                    "amount": 0,
                    "item_list": []
                },
                {
                    "name": "折扣",
                    "amount": 0,
                    "item_list": [
                        {
                            "name": "手動折扣",
                            "amount": 0
                        },
                        {
                            "name": "總折扣",
                            "amount": 0
                        }
                    ]
                }
            ],
            "employee_name": "阿明師傅(0001)"
        }
    ],
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "验证错误"
}

返回参数说明:

参数名 类型 说明
record_id string 小结id
created_at string 时间
close_status string 关帐状态【true=已关帐 false=未关帐】
json_str.name string 名称
json_str.key string 标识
json_str.amount string 金额
json_str.remark string 备注
json_str.created_at string 时间
json_str.action_type_msg string 类型提示
json_str.employee_name string 操作者

备注:

作者:admin  创建时间:2026-08-12 12:24
最后编辑:admin  更新时间:2026-08-12 13:10
上一篇:
下一篇: