1. 外部接口-全电发票进销项下载全量数据查询接口
开发中POST
/bill-websocket/digitalInvoice/query获取租户token接口文档地址:[租户token获取](http://api-doc.piaozone.com/independent/#/share/project/api/detail?groupID=299&apiID=2040&projectHashKey=F1Lm5KLec362e602a174df088cbace89dd383f076ffcb58&shareType=project&shareCode=1bKC1C&shareToken=$2y$10$ZKLITyviF3AmYQr3pOALI.Jf451IrICwgMjKjdtUacQJ4d4Si8Fpa&shareID=27 "租户token获取")
请求参数
Query 参数
reqid
string
请求id
示例值:
46134y1y2hry
taxNo
string
企业税号
示例值:
440301999999980
access_token
string
必需
租户token,获取方式参考额外说明
示例值:
88cd07b8bbc3fdaeadef21f26199318e
Body 参数application/json
batchNo
string
下载任务批次号
pageSize
integer
可选
每页数量(默认100)
currentPage
integer
页码(默认1)
示例
{
"batchNo": "string",
"pageSize": 0,
"currentPage": 0
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
errorCode
string
必需
响应码,0000-成功
message
string
响应描述
totalElement
integer
记录总数
totalPage
integer
总共页数
pageSize
integer
每页数量
currentPage
integer
当前页码
data
array [object {24}]
必需
invoiceType
string
发票类型
invoiceCode
string
发票代码
invoiceNo
string
发票号码
invoiceDate
string
开票日期
invoiceStatus
string
发票状态
salerTaxNo
string
销方税号
salerName
string
销方名称
buyerTaxNo
string
购方税号
buyerName
string
购方名称
invoiceAmount
string
不含税金额
totalTaxAmount
string
总税额
totalAmount
string
总金额
checkCode
string
可选
校验码,暂时返回为空字符串
salerAddressPhone
string
暂时返回为空字符串
salerAccount
string
暂时返回为空字符串
buyerAddressPhone
string
暂时返回为空字符串
buyerAccount
string
暂时返回为空字符串
password
string
暂时返回为空字符串
remark
string
暂时返回为空字符串
machineNo
string
暂时返回为空字符串
drawer
string
暂时返回为空字符串
payee
string
暂时返回为空字符串
reviewer
string
暂时返回为空字符串
items
array [object {8}]
可选
示例
{
"errorCode": "string",
"message": "string",
"totalElement": 0,
"totalPage": 0,
"pageSize": 0,
"currentPage": 0,
"data": [
{
"invoiceType": "string",
"invoiceCode": "string",
"invoiceNo": "string",
"invoiceDate": "string",
"invoiceStatus": "string",
"salerTaxNo": "string",
"salerName": "string",
"buyerTaxNo": "string",
"buyerName": "string",
"invoiceAmount": "string",
"totalTaxAmount": "string",
"totalAmount": "string",
"checkCode": "string",
"salerAddressPhone": "string",
"salerAccount": "string",
"buyerAddressPhone": "string",
"buyerAccount": "string",
"password": "string",
"remark": "string",
"machineNo": "string",
"drawer": "string",
"payee": "string",
"reviewer": "string",
"items": [
{
"goodsCode": "string",
"goodsName": "string",
"unit": "string",
"num": "string",
"unitPrice": "string",
"detailAmount": "string",
"taxRate": "string",
"taxAmount": "string"
}
]
}
]
}
最后修改时间: 8 个月前