2.01 发票查验
快速开始环境
快速开始环境
POST
/kapi/app/rim/message
请求参数
Query 参数
access_token
string
token
Body 参数application/json
messageType
enum<string>
必需
枚举值:
invoiceCheck
messageId
string
请求id
data
object
请求参数
invoiceCode
string
可选
<= 12 字符
invoiceNo
string
发票号码
<= 20 字符
invoiceDate
string
开票日期
checkCode
string
可选
<= 20 字符
invoiceAmount
number
可选
resource
string
可选
<= 10 字符
orgNumber
string
可选
<= 30 字符
taxNo
string
可选
<= 20 字符
verifyFlag
string
可选
billType
string
可选
<= 20 字符
companyInfo
array [object {2}]
合规性 校验企业信息
示例
{
"messageType": "invoiceCheck",
"messageId": "string",
"data": {
"invoiceCode": "string",
"invoiceNo": "string",
"invoiceDate": "string",
"checkCode": "string",
"invoiceAmount": 0,
"resource": "string",
"orgNumber": "string",
"taxNo": "string",
"verifyFlag": "string",
"billType": "string",
"companyInfo": [
{
"taxNo": "string",
"name": "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": {}
}
修改于 2025-03-14 09:33:51