已开票 - 详情

创建于 2021-10-15 / 最近更新于 2021-10-15 / 3054
字体: [默认] [大] [更大]

简要描述

已开票列表

接口版本

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

请求URL

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

请求方式

POST

公共参数

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

请求参数

{
    "id": 1
}
参数名 是否必须 类型 默认值 描述
id 是 int 发票id

返回示例

正确时返回

{
    "msg": "success",
    "code": 0,
    "data": {
        "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

参数名 是否必须 类型 描述
invoice_type 是 string 发票类型
apply_type 是 string 申请类型
invoice_content 是 string 发票内容
invoice_title 是 string 发票抬头
ids 是 string 订单id
invoice_account 是 string 企业信用代码编号
invoice_address 是 string 企业注册地址
invoice_bank 是 string 企业开户行名称
invoice_code 是 string 企业注册地址
invoice_tel 是 string 企业联系电话
name 是 string 联系人
tel 是 string 联系电话
address 是 string 细地址
type 是 string 类型(订单order)
user_note 是 string 备注信息
express_name 是 string 快递名称
express_number 是 string 快递单号
electronic_invoice 是 array 已开具的电子发票

备注

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

1 人点赞过