Appearance
简要描述
- 查询发票有多少种版式文件格式
请求 URL
<prefix>/rest/center/bill/invoice/files
请求方式
-GET
参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| tradeNo | String | 发票交易号(请求流水号) |
请求样例
GET <prefix>/rest/center/bill/invoice/files
?tradeNo=2026070147492032001
content-type:{{contentType}}
hid:{{hid}}返回示例
HTTP/1.1 200
Server: nginx
Date: Tue, 07 Jul 2026 14:28:49 GMT
Content-Type: application/json
Content-Length: 77
Connection: close
{
"result": [
"ofd",
"xml",
"pdf"
],
"retCode": 10000,
"retMessage": "",
"success": true
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| result | Array | 发票文件格式列表 |