2.1.13 红字确认单编号查询
快速开始环境
快速开始环境
POST
/kapi/app/sim/openApi
/kapi/app/sim/openApi
请求参数
Query 参数
access_token
string
必需
Body 参数application/json
requestId
string
必需
interfaceCode
enum<string>
必需
枚举值:
ALLE.REDCONFIRMBILL.QUERY
businessSystemCode
string
必需
data
object
必需
taxpayerId
string
授权对应的企业税号
<= 20 字符
orgCode
string
可选
<= 20 字符
redInfoBillNo
string
可选
<= 30 字符
identity
enum<string>
录入方身份
枚举值:
01
startDate
string <date>
录入日期起
示例值:
2022-05-05
endDate
string <date>
录入日期止
示例值:
2020-05-05
示例
{
"requestId": "string",
"interfaceCode": "ALLE.REDCONFIRMBILL.QUERY",
"businessSystemCode": "string",
"data": {
"taxpayerId": "string",
"orgCode": "string",
"redInfoBillNo": "string",
"identity": "0",
"startDate": "2022-05-05",
"endDate": "2020-05-05"
}
}
示例代码
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/sim/openApi?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"requestId": "string",
"interfaceCode": "ALLE.REDCONFIRMBILL.QUERY",
"businessSystemCode": "string",
"data": {
"taxpayerId": "string",
"orgCode": "string",
"redInfoBillNo": "string",
"identity": "0",
"startDate": "2022-05-05",
"endDate": "2020-05-05"
}
}'
返回响应
🟢200成功
application/json
Body
errorCode
string
响应码
success
string
响应状态
message
string
响应说明
data
object
返回数据
dataList
array [object {21}]
必需
pageNo
integer
当前分页
pageSize
integer
分页大小
totalElement
integer
总条数
示例
{
"errorCode": "string",
"success": "string",
"message": "string",
"data": {
"dataList": [
{
"govRedConfirmBillUuid": "string",
"redConfirmBillStatus": "01",
"redInfoBillNo": "string",
"redConfirmEnterDate": "string",
"redReason": "1",
"enterIdentity": "0",
"buyerName": "string",
"buyerTaxpayerId": "string",
"sellerName": "string",
"sellerTaxpayerId": "string",
"invoiceNo": "string",
"totalAmount": "string",
"totalTaxAmount": 0,
"invoiceDate": "string",
"originalInvoiceType": "string",
"originalInvoiceCode": "string",
"originalInvoiceNumber": "string",
"originalInvoiceAmount": 0,
"originalTotalTaxAmount": 0,
"originalIssueTime": "string",
"items": [
{
"blueInvoiceItemIndex": "string",
"index": "string",
"revenueCode": "string",
"goodsName": "string",
"specification": "string",
"units": "string",
"quantity": "string",
"price": "string",
"amount": 0,
"taxAmount": 0,
"taxRate": 0
}
]
}
],
"pageNo": 0,
"pageSize": 0,
"totalElement": 0
}
}
修改于 2025-03-14 07:36:32