1.06.电子发票信息查询 (根据订单号)
POST
/m7/bill/invoice/orderno/query请求参数
Query 参数
access_token
string
必需
reqid
string
必需
当前13位毫秒级时间戳加3位随机数字(总共16位)
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数multipart/form-data
orderNo
string
订单号
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
errcode
string
0000
description
string
成功
data
object
必需
serialNo
string
必需
流水号,发票云发票数据唯一值
type
number
0蓝票,1红票
invoiceCode
string
发票代码
invoiceNo
string
发票号码
invoiceDate
string
开票日期
taxFlag
number
含税标记
invoiceAmount
number
不含税金额
totalTaxAmount
number
税额
totalAmount
number
价税合计金额
totalAmountCn
string
必需
价税合计金额(中文繁体)
drawer
string
开票员
payee
string
收款员
reviewer
string
复核人
originalInvoiceCode
string
原发票代码
originalInvoiceNo
string
原发票号码
remark
string
备注
salerTaxNo
string
销货方方识别号
salerName
string
销货方名称
salerAddressPhone
string
必需
销货方地址、固定电话
salerAccount
string
销货方银行账号
buyerTaxNo
string
购货方方识别号
buyerName
string
购货方名称
buyerAddressPhone
string
必需
购货方地址、固定电话
buyerAccount
string
购货方银行账号
buyerMobilePhone
string
购货方手机
checkCode
string
必需
wxCardBagUrl
string
必需
pdfUrl
string
发票pdf下载地址
invoiceType
string
必需
发票种类:1、普通电子发票;2、电子发票专票;3、普通纸质发票;4、专用纸质发票;5、普通纸质卷票;26:全电发票(普通电票);27:全电发票(电子专票)
invoiceStatus
string
必需
发票状态0:正常、1:失控、2:作废、3:红冲、4:异常
items
array [object {13}]
必需
示例
{
"errcode": "string",
"description": "string",
"data": {
"serialNo": "string",
"type": 0,
"invoiceCode": "string",
"invoiceNo": "string",
"invoiceDate": "string",
"taxFlag": 0,
"invoiceAmount": 0,
"totalTaxAmount": 0,
"totalAmount": 0,
"totalAmountCn": "string",
"drawer": "string",
"payee": "string",
"reviewer": "string",
"originalInvoiceCode": "string",
"originalInvoiceNo": "string",
"remark": "string",
"salerTaxNo": "string",
"salerName": "string",
"salerAddressPhone": "string",
"salerAccount": "string",
"buyerTaxNo": "string",
"buyerName": "string",
"buyerAddressPhone": "string",
"buyerAccount": "string",
"buyerMobilePhone": "string",
"checkCode": "string",
"wxCardBagUrl": "string",
"pdfUrl": "string",
"invoiceType": "string",
"invoiceStatus": "string",
"items": [
{
"unit": "string",
"specModel": "string",
"taxAmount": 0,
"goodsName": "string",
"goodsCode": "string",
"unitPrice": 0,
"num": 0,
"detailAmount": 0,
"taxRate": 0,
"zeroTaxRateFlag": "string",
"discountType": "string",
"preferentialPolicy": "string",
"vatException": "string"
}
]
}
}
最后修改时间: 10 个月前