1.01 发票查询
快速开始环境
快速开始环境
POST
/kapi/app/rim/message
请求参数
Query 参数
access_token
string
token
Body 参数application/json
messageType
enum<string>
必需
枚举值:
invoiceQuery
messageId
string
请求id
data
object
请求内容
pageNo
integer
页码;页码从1开始
>= 1
pageSize
integer
必需
invoiceDateStart
string
可选
invoiceDateEnd
string
可选
invoiceStatus
enum<string>
增值税发票状态
枚举值:
0123478
invoiceCode
string
发票代码
<= 12 字符
invoiceNo
string
发票号
<= 20 字符
authenticateFlag
enum<string>
增值税认证状态
枚举值:
01234
createTimeStart
string
可选
creatTimeEnd
string
可选
creatorNo
string
可选
buyerTaxNo
string
购方税 号
<= 20 字符
salerTaxNo
string
销方税号
<= 20 字符
serialNos
array[string]
发票流水号
selectTimeStart
string
可选
selectTimeEnd
string
可选
taxPeriod
string
可选
updateTime
string
可选
updateTimeEnd
string
可选
queryAttach
string
可选
示例
{
"messageType": "invoiceQuery",
"messageId": "string",
"data": {
"pageNo": 1,
"pageSize": 0,
"invoiceDateStart": "string",
"invoiceDateEnd": "string",
"invoiceType": "st",
"invoiceStatus": "0",
"invoiceCode": "string",
"invoiceNo": "string",
"authenticateFlag": "0",
"createTimeStart": "string",
"creatTimeEnd": "string",
"creatorNo": "string",
"buyerTaxNo": "string",
"salerTaxNo": "string",
"serialNos": [
"string"
],
"selectTimeStart": "string",
"selectTimeEnd": "string",
"taxPeriod": "string",
"updateTime": "string",
"updateTimeEnd": "string",
"queryAttach": "string"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://cosmic-sandbox.piaozone.com/jdpjykjyxgs/kapi/app/rim/message?access_token=' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
示例
{
"success": "string",
"errorCode": "string",
"message": "string",
"data": [
"string"
]
}
修改于 2025-03-14 10:30:19