开发指南 官网
API 2.0 > 12.1 报表 > 12.1.1 财务对账

12.1.1 财务对账

开启令牌和权限后可调用。签名方式请查看开发指南
查询时间端内财务对账数据

请求地址

请求方式 版本信息 请求地址
POST V2 http://openapi.zvcms.com/api/v2

公共参数

参数 参数类型 是否必填 默认值 描述
OpenId string 密钥Id
GrantCode string 授权code
Token string 签名,参考《数字签名sign》
Timestamp string 当前时间戳
Nonce string 随机正整数
Action string data.bi.financial-reconciliation 接口方法
Params array 业务参数

请求参数

参数 参数类型 是否必填 默认值 描述
startDate string 开始日期
endData string 截止日期
multiMark string 门店编码
perPage int 20 每页显示条数,最大100

响应参数

参数 参数类型 描述
itemList array
 ├thedate string 日期统计
 ├storeId int ID门店
 ├storeName string 名称门店
 ├wxMerchantNo string 微信商户号
 ├aliStoreNo string 支付宝门店编码
 ├orderSource int 订单来源
 ├sourceName string 来源名称
 ├gmv float 营业额
 ├refundAmt float 退款金额
 ├discountAmt float 优惠金额
 ├realIncome float 实收金额
total int 总条数
perPage int 条数显示每页
lastPage int 最后一页页数
currentPage int 当前页面页数

请求示例

{
    "OpenId": "6dc05b4ac175cf316d226252b05cf685",
    "GrantCode": "782c281f62",
    "Timestamp": "1547186244",
    "Nonce": "658965",
    "Token": "0%2B%2B3c6hthjwAml4ABAXOYF4Q6UY%3D",
    "Action": "data.bi.financial-reconciliation",
    "Params": {
        "startDate": "2020-01-01",
        "endData": "2020-01-03",
        "multiMark": "",
        "perPage": ""
    }
} 

响应示例

{
    "status": "true",
    "code": "0",
    "message": "说明",
    "data": {
        "itemList": {
            "thedate": "2020-01-01",
            "storeId": "2",
            "storeName": "测试门店",
            "wxMerchantNo": "334422",
            "aliStoreNo": "",
            "orderSource": "",
            "sourceName": "",
            "gmv": "0.00",
            "refundAmt": "0.00",
            "discountAmt": "0.00",
            "realIncome": "0.00"
        },
        "total": "139",
        "perPage": "20",
        "lastPage": "7",
        "currentPage": "1"
    }
}

异常示例

{
    "status": true,
    "code": "异常编码,根据不同的业务返回编码",
    "message": "异常说明:查询的信息不存在"
}

错误码

{
    "status": false,
    "code": "系统错误编码:详见全局返回编码",
    "message": "系统错误说明"
}

免费升级

营销功能、插件持续每月更新开发升级

免费专业培训

每月建站、微信营销、电商等互联网增值培训

7×24小时服务支持

400电话、QQ、微信、在线等多渠道售后支持

 

安徽智迈科技股份有限公司 版权所有 Copyright 2009-2018 皖公网安备 34019202000074号 增值电信业务经营许可证:皖B2-20170075