API接口文档

已开票 - 列表

创建于 2021-10-15 / 最近更新于 2021-10-15 / 73

简要描述

已开票列表

接口版本

版本号 制定人 制定日期 修订日期
1.0.0 Devil 2020-09-29

请求URL

plugins/index&pluginsname=invoice&pluginscontrol=user&pluginsaction=index

请求方式

POST

公共参数

参数名 是否必须 类型 默认值 描述
application string web 请求应用、参考公共中详解
application_client_type string pc 请求客户端、参考公共中详解
token string token

请求参数

{
    "page": 1
}
参数名 是否必须 类型 默认值 描述
page int 分页值
status int 状态值

返回示例

正确时返回

{
    "msg": "success",
    "code": 0,
    "data": {
        "total": 1,
        "page_total": 1,
        "data": [
            {
                "id": "3",
                "user_id": "1",
                "business_type": "0",
                "status": "2",
                "total_price": "5357.45",
                "apply_type": "1",
                "invoice_type": "0",
                "invoice_content": "hello",
                "invoice_title": "上海纵之格科技有限公司",
                "invoice_code": "56456",
                "invoice_bank": "",
                "invoice_account": "",
                "invoice_tel": "",
                "invoice_address": "",
                "name": "",
                "tel": "",
                "email": "",
                "address": "",
                "electronic_invoice": [
                    {
                        "title": "20200625954796565.pdf",
                        "url": "https://d1.shopxo.vip/static/upload/file/plugins_invoice/electronic/0/3/2021/10/15/1634288815548853.pdf"
                    },
                    {
                        "title": "20200625954801040.pdf",
                        "url": "https://d1.shopxo.vip/static/upload/file/plugins_invoice/electronic/0/3/2021/10/15/1634288815987996.pdf"
                    }
                ],
                "express_name": "",
                "express_number": "",
                "refuse_reason": "",
                "user_note": "备注信息哦",
                "add_time": "2021-10-15 15:39:34",
                "upd_time": "2021-10-15 17:06:57",
                "business_type_name": "订单",
                "status_name": "已开票",
                "apply_type_name": "企业",
                "invoice_type_name": "增值税普通电子发票"
            }
        ]
    }
}

错误时返回

{
    "msg": "error",
    "code": -1,
    "data": []
}

返回参数说明 -> data

参数名 是否必须 类型 描述
page_total int 分页总数
total int 数据总数
data array 数据列表

备注

更多返回错误代码请看首页的错误代码描述

0 人点赞过