接口文档· 更新于 2026-11-26
红字确认单查询
POST
/openapi/invoice/nuoNuo/queryInvoiceRedConfirm.do发票外部服务转发接口;上游原始路径:/nuoNuo/queryInvoiceRedConfirm.do;来源 Controller:NuoNuoController;上游鉴权:无上游拦截器鉴权;OpenAPI 发票转发层要求 appkey/timestamp/sign/source
请求地址
生产环境
https://open.gch168.com/openapi/invoice/nuoNuo/queryInvoiceRedConfirm.do- 请求方式
- POST
- 内容类型
- application/json
- 传输安全
- TLS 1.2 及以上
支持的鉴权方式
查看接入认证说明 →以下任一鉴权方式通过即可调用,签名细节与凭证获取请查看接入说明。
Header 签名(普通开放接口)API_KEY
通过 ApiKey、客户号或企业号识别租户,并对时间戳、随机串进行 MD5 签名校验,适用于绝大多数普通开放接口。
Sign = MD5(secretKey + timestamp + nonceStr),签名比较忽略大小写
请求头
公共请求头 →| 请求头 | 必填 | 类型 | 示例值 | 说明 |
|---|---|---|---|---|
| appkey | 必填 | String | invoice-app-key | 调用方应用密钥,发票转发层用于签名归属和计量 |
| timestamp | 必填 | String | 1710000000000 | 请求时间戳,5 分钟内有效,发票转发层用于签名归属和计量 |
| sign | 必填 | String | A1234567890123456789012345678901 |
请求参数
| 参数名 | 位置 | 类型 | 必填 | 示例值 | 说明 |
|---|---|---|---|---|---|
userTax | BODY | String | 选填 | 91330000123456789X | taxNum |
isSandbox | BODY | String | 选填 | isSandboxValue | isSandbox |
appKey | BODY | String | 选填 | appKeyValue | appKey |
identity | BODY | String | 必填 | identityValue | 操作方身份 |
billStatus | BODY | String | 选填 | billStatusValue | 红字确认单状态 |
billId | BODY | String | 选填 | billIdValue | 红字确认单申请号 |
billNo | BODY | String | 选填 | billNoValue | 红字确认单编号 |
billUuid | BODY | String | 选填 | billUuidValue | 红字确认单uuid |
billTimeStart | BODY | String | 选填 | 2026-05-27 12:00:00 | 填开起始时间 |
billTimeEnd | BODY | String | 选填 | 2026-05-27 12:00:00 | 填开结束时间 |
pageSize | BODY | Integer | 选填 | 1001 | 每页数量 |
pageNo | BODY | Integer | 选填 | 1001 | 当前页码 |
响应参数
业务成功时返回 code = 200,其余状态码见下方接口状态码与全局状态码。
| 字段名 | 类型 | 示例值 | 说明 |
|---|---|---|---|
errCode | Integer | 200 | 业务响应码 |
errMsg | String | success | 响应消息 |
data | String | ok | 响应数据;上游 NuoNuoController 返回 JsonResult 字符串,serviceImpl 未暴露稳定响应 POJO 时按第三方原始 JSON 字符串记录 |
状态码
全局状态码 →| 状态码 | 说明 |
|---|---|
| 200 | 调用成功 |
请求与响应示例
请求示例
请求示例
POST /openapi/invoice/nuoNuo/queryInvoiceRedConfirm.do
appkey: invoice-app-key
timestamp: 1710000000000
sign: A1234567890123456789012345678901
source: pb
{"userTax":"91330000123456789X","isSandbox":"isSandboxValue","appKey":"appKeyValue","identity":"identityValue","billStatus":"billStatusValue","billId":"billIdValue","billNo":"billNoValue","billUuid":"billUuidValue","billTimeStart":"2026-05-27 12:00:00","billTimeEnd":"2026-05-27 12:00:00"}
响应示例
响应示例
{
"errCode": 200,
"errMsg": "success",
"data": "ok"
}