tencentcloud-sdk-nodejs-ocr 4.0.337 → 4.0.340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +414 -0
- package/SERVICE_CHANGELOG.md +399 -33
- package/package.json +1 -1
- package/products.md +23 -22
- package/src/services/ocr/v20181119/ocr_client.ts +14 -1
- package/src/services/ocr/v20181119/ocr_models.ts +103 -15
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +6 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +7 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +87 -15
package/products.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-04-04 06:03:11 |
|
|
8
8
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
|
|
9
9
|
| ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2022-04-04 06:03:33 |
|
|
10
|
-
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-05-
|
|
10
|
+
| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-05-12 06:05:03 |
|
|
11
11
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
12
12
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
13
13
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-04-08 06:01:32 |
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
| ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2022-04-04 06:08:45 |
|
|
20
20
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-04-04 06:08:47 |
|
|
21
21
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-05-09 06:02:49 |
|
|
22
|
+
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2022-05-13 18:34:36 |
|
|
22
23
|
| billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2022-04-04 06:09:17 |
|
|
23
24
|
| bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
|
|
24
25
|
| bm | [黑石物理服务器1.0](https://cloud.tencent.com/document/product/386) | 2021-11-10 08:02:45 |
|
|
@@ -40,12 +41,12 @@
|
|
|
40
41
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
|
|
41
42
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-04-04 06:17:11 |
|
|
42
43
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-04-04 06:17:16 |
|
|
43
|
-
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-
|
|
44
|
+
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-05-12 06:07:30 |
|
|
44
45
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2022-04-04 06:18:22 |
|
|
45
46
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-04-04 06:18:39 |
|
|
46
47
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
47
48
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
48
|
-
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-
|
|
49
|
+
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-05-16 06:05:48 |
|
|
49
50
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-05-11 06:06:40 |
|
|
50
51
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-04-04 06:21:08 |
|
|
51
52
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-04-04 06:21:17 |
|
|
@@ -55,7 +56,7 @@
|
|
|
55
56
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
56
57
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-05-05 11:48:14 |
|
|
57
58
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
58
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-05-
|
|
59
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-05-13 06:09:29 |
|
|
59
60
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-05-05 10:52:23 |
|
|
60
61
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
61
62
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-05-09 06:06:32 |
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-04-25 06:05:43 |
|
|
64
65
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-04-13 06:36:47 |
|
|
65
66
|
| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-04-26 06:09:14 |
|
|
66
|
-
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-05-
|
|
67
|
+
| dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-05-12 06:10:06 |
|
|
67
68
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-04-04 06:38:13 |
|
|
68
69
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-04-21 06:11:32 |
|
|
69
70
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
|
|
@@ -74,17 +75,17 @@
|
|
|
74
75
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
|
|
75
76
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
|
|
76
77
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-04-04 06:39:43 |
|
|
77
|
-
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-
|
|
78
|
+
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
|
|
78
79
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-04-04 06:42:05 |
|
|
79
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-
|
|
80
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-05-13 06:12:03 |
|
|
80
81
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-05-09 06:08:06 |
|
|
81
|
-
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-05-
|
|
82
|
+
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-05-16 06:09:12 |
|
|
82
83
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-05-06 06:10:19 |
|
|
83
84
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-04-04 06:42:42 |
|
|
84
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-
|
|
85
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-05-12 06:11:15 |
|
|
85
86
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
86
87
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
|
|
87
|
-
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-
|
|
88
|
+
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-05-16 06:09:28 |
|
|
88
89
|
| gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-04-04 06:44:28 |
|
|
89
90
|
| gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-04-04 06:44:42 |
|
|
90
91
|
| gs | [云游戏解决方案](https://cloud.tencent.com/document/product/1162) | 2022-04-08 06:07:59 |
|
|
@@ -99,8 +100,8 @@
|
|
|
99
100
|
| iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 |
|
|
100
101
|
| ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2022-04-04 06:48:07 |
|
|
101
102
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2022-04-04 06:48:08 |
|
|
102
|
-
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-
|
|
103
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-
|
|
103
|
+
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-05-11 10:24:44 |
|
|
104
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-05-16 06:10:42 |
|
|
104
105
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
|
|
105
106
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-04-04 06:49:51 |
|
|
106
107
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-04-04 06:51:27 |
|
|
@@ -116,7 +117,7 @@
|
|
|
116
117
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-04-04 06:57:46 |
|
|
117
118
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
|
|
118
119
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-04-21 06:15:03 |
|
|
119
|
-
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-05-
|
|
120
|
+
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-05-13 06:15:04 |
|
|
120
121
|
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-05-11 06:13:00 |
|
|
121
122
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-04-04 07:00:09 |
|
|
122
123
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product) | 2020-06-05 08:13:52 |
|
|
@@ -125,19 +126,19 @@
|
|
|
125
126
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
|
|
126
127
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
127
128
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-04-08 06:10:55 |
|
|
128
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-05-
|
|
129
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-05-16 06:12:45 |
|
|
129
130
|
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-04-04 07:01:46 |
|
|
130
131
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-04-04 07:01:49 |
|
|
131
132
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
|
|
132
133
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-05-09 06:11:56 |
|
|
133
134
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2022-04-04 07:02:49 |
|
|
134
135
|
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2022-04-21 06:16:10 |
|
|
135
|
-
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-05-
|
|
136
|
+
| redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-05-16 06:13:15 |
|
|
136
137
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-04-04 07:04:04 |
|
|
137
138
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
138
139
|
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-04-04 07:04:08 |
|
|
139
140
|
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-05-09 06:12:32 |
|
|
140
|
-
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-
|
|
141
|
+
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-05-13 06:16:33 |
|
|
141
142
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-04-25 06:11:28 |
|
|
142
143
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2022-04-04 07:05:41 |
|
|
143
144
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2022-04-14 06:16:29 |
|
|
@@ -174,24 +175,24 @@
|
|
|
174
175
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
175
176
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
|
|
176
177
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-04-04 07:17:01 |
|
|
177
|
-
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-05-
|
|
178
|
+
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-05-13 06:18:48 |
|
|
178
179
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-04-04 07:17:26 |
|
|
179
180
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-04-04 07:17:39 |
|
|
180
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-05-
|
|
181
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-05-12 06:17:58 |
|
|
181
182
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
182
183
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
|
|
183
184
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-04-04 07:18:12 |
|
|
184
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-05-
|
|
185
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-05-16 06:16:22 |
|
|
185
186
|
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-04-22 06:17:09 |
|
|
186
|
-
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-05-
|
|
187
|
+
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-05-16 06:16:28 |
|
|
187
188
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
|
|
188
189
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-04-04 07:22:42 |
|
|
189
190
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
190
191
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-05-10 06:14:42 |
|
|
191
192
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
192
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-05-
|
|
193
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-05-13 06:19:52 |
|
|
193
194
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-04-28 06:20:20 |
|
|
194
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-05-
|
|
195
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-05-12 06:19:46 |
|
|
195
196
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
196
197
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
197
198
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
|
@@ -90,6 +90,7 @@ import {
|
|
|
90
90
|
CellContent,
|
|
91
91
|
MixedInvoiceOCRResponse,
|
|
92
92
|
ClassifyDetectOCRResponse,
|
|
93
|
+
VatInvoiceVerifyNewRequest,
|
|
93
94
|
VehicleLicenseOCRResponse,
|
|
94
95
|
VatInvoiceOCRRequest,
|
|
95
96
|
IDCardOCRResponse,
|
|
@@ -101,6 +102,7 @@ import {
|
|
|
101
102
|
VatInvoiceGoodsInfo,
|
|
102
103
|
PermitOCRRequest,
|
|
103
104
|
InvoiceGeneralOCRResponse,
|
|
105
|
+
VatInvoiceVerifyNewResponse,
|
|
104
106
|
TaxiInvoiceOCRRequest,
|
|
105
107
|
PropOwnerCertOCRRequest,
|
|
106
108
|
RecognizeContainerOCRRequest,
|
|
@@ -154,6 +156,7 @@ import {
|
|
|
154
156
|
FinanBillOCRResponse,
|
|
155
157
|
RecognizeHealthCodeOCRRequest,
|
|
156
158
|
BankSlipOCRResponse,
|
|
159
|
+
PassInvoiceInfo,
|
|
157
160
|
QuestionObj,
|
|
158
161
|
VinOCRResponse,
|
|
159
162
|
EduPaperOCRRequest,
|
|
@@ -372,6 +375,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
372
375
|
return this.request("MLIDCardOCR", req, cb)
|
|
373
376
|
}
|
|
374
377
|
|
|
378
|
+
/**
|
|
379
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
|
380
|
+
*/
|
|
381
|
+
async VatInvoiceVerifyNew(
|
|
382
|
+
req: VatInvoiceVerifyNewRequest,
|
|
383
|
+
cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void
|
|
384
|
+
): Promise<VatInvoiceVerifyNewResponse> {
|
|
385
|
+
return this.request("VatInvoiceVerifyNew", req, cb)
|
|
386
|
+
}
|
|
387
|
+
|
|
375
388
|
/**
|
|
376
389
|
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
377
390
|
*/
|
|
@@ -1166,7 +1179,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1166
1179
|
}
|
|
1167
1180
|
|
|
1168
1181
|
/**
|
|
1169
|
-
*
|
|
1182
|
+
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
1170
1183
|
*/
|
|
1171
1184
|
async RecognizeHealthCodeOCR(
|
|
1172
1185
|
req: RecognizeHealthCodeOCRRequest,
|
|
@@ -2344,6 +2344,42 @@ export interface ClassifyDetectOCRResponse {
|
|
|
2344
2344
|
RequestId?: string
|
|
2345
2345
|
}
|
|
2346
2346
|
|
|
2347
|
+
/**
|
|
2348
|
+
* VatInvoiceVerifyNew请求参数结构体
|
|
2349
|
+
*/
|
|
2350
|
+
export interface VatInvoiceVerifyNewRequest {
|
|
2351
|
+
/**
|
|
2352
|
+
* 发票号码,8位、20位(全电票)
|
|
2353
|
+
*/
|
|
2354
|
+
InvoiceNo: string
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* 开票日期(不支持当天发票查询,支持五年以内开具的发票),格式:“YYYY-MM-DD”,如:2019-12-20。
|
|
2358
|
+
*/
|
|
2359
|
+
InvoiceDate: string
|
|
2360
|
+
|
|
2361
|
+
/**
|
|
2362
|
+
* 发票代码(10或12 位),全电发票为空。查验未成功超过5次后当日无法再查。
|
|
2363
|
+
*/
|
|
2364
|
+
InvoiceCode?: string
|
|
2365
|
+
|
|
2366
|
+
/**
|
|
2367
|
+
* 票种类型 01:增值税专用发票, 02:货运运输业增值税专用发 票, 03:机动车销售统一发票, 04:增值税普通发票, 08:增值税电子专用发票(含全电), 10:增值税电子普通发票(含全电), 11:增值税普通发票(卷式), 14:增值税电子(通行费)发 票, 15:二手车销售统一发票, 32:深圳区块链发票(云南区块链因业务调整现已下线)。
|
|
2368
|
+
*/
|
|
2369
|
+
InvoiceKind?: string
|
|
2370
|
+
|
|
2371
|
+
/**
|
|
2372
|
+
* 校验码后 6 位,增值税普通发票、增值税电子普通发票、增值税普通发票(卷式)、增值税电子普通发票(通行费)时必填;
|
|
2373
|
+
区块链为 5 位
|
|
2374
|
+
*/
|
|
2375
|
+
CheckCode?: string
|
|
2376
|
+
|
|
2377
|
+
/**
|
|
2378
|
+
* 不含税金额,增值税专用发票、增值税电子专用发票、机动车销售统一发票、二手车销售统一发票、区块链发票时必填; 全电发票为价税合计(含税金额)
|
|
2379
|
+
*/
|
|
2380
|
+
Amount?: string
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2347
2383
|
/**
|
|
2348
2384
|
* VehicleLicenseOCR返回参数结构体
|
|
2349
2385
|
*/
|
|
@@ -2777,6 +2813,36 @@ export interface InvoiceGeneralOCRResponse {
|
|
|
2777
2813
|
RequestId?: string
|
|
2778
2814
|
}
|
|
2779
2815
|
|
|
2816
|
+
/**
|
|
2817
|
+
* VatInvoiceVerifyNew返回参数结构体
|
|
2818
|
+
*/
|
|
2819
|
+
export interface VatInvoiceVerifyNewResponse {
|
|
2820
|
+
/**
|
|
2821
|
+
* 增值税发票信息,详情请点击左侧链接。
|
|
2822
|
+
*/
|
|
2823
|
+
Invoice: VatInvoice
|
|
2824
|
+
|
|
2825
|
+
/**
|
|
2826
|
+
* 机动车销售统一发票信息
|
|
2827
|
+
*/
|
|
2828
|
+
VehicleInvoiceInfo: VehicleInvoiceInfo
|
|
2829
|
+
|
|
2830
|
+
/**
|
|
2831
|
+
* 二手车销售统一发票信息
|
|
2832
|
+
*/
|
|
2833
|
+
UsedVehicleInvoiceInfo: UsedVehicleInvoiceInfo
|
|
2834
|
+
|
|
2835
|
+
/**
|
|
2836
|
+
* 通行费发票信息
|
|
2837
|
+
*/
|
|
2838
|
+
PassInvoiceInfoList: Array<PassInvoiceInfo>
|
|
2839
|
+
|
|
2840
|
+
/**
|
|
2841
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2842
|
+
*/
|
|
2843
|
+
RequestId?: string
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2780
2846
|
/**
|
|
2781
2847
|
* TaxiInvoiceOCR请求参数结构体
|
|
2782
2848
|
*/
|
|
@@ -4495,14 +4561,6 @@ export interface RecognizeHealthCodeOCRRequest {
|
|
|
4495
4561
|
/**
|
|
4496
4562
|
* 需要识别的健康码类型列表,为空或不填表示默认为自动识别。
|
|
4497
4563
|
0:自动识别
|
|
4498
|
-
|
|
4499
|
-
1:粤康码
|
|
4500
|
-
|
|
4501
|
-
2:随申码
|
|
4502
|
-
|
|
4503
|
-
3:健康宝
|
|
4504
|
-
|
|
4505
|
-
4.穗康码
|
|
4506
4564
|
*/
|
|
4507
4565
|
Type?: number
|
|
4508
4566
|
}
|
|
@@ -4527,6 +4585,36 @@ export interface BankSlipOCRResponse {
|
|
|
4527
4585
|
RequestId?: string
|
|
4528
4586
|
}
|
|
4529
4587
|
|
|
4588
|
+
/**
|
|
4589
|
+
* 通行费发票信息
|
|
4590
|
+
*/
|
|
4591
|
+
export interface PassInvoiceInfo {
|
|
4592
|
+
/**
|
|
4593
|
+
* 通行费车牌号
|
|
4594
|
+
*/
|
|
4595
|
+
NumberPlate: string
|
|
4596
|
+
|
|
4597
|
+
/**
|
|
4598
|
+
* 通行费类型
|
|
4599
|
+
*/
|
|
4600
|
+
Type: string
|
|
4601
|
+
|
|
4602
|
+
/**
|
|
4603
|
+
* 通行日期起
|
|
4604
|
+
*/
|
|
4605
|
+
PassDateBegin: string
|
|
4606
|
+
|
|
4607
|
+
/**
|
|
4608
|
+
* 通行日期止
|
|
4609
|
+
*/
|
|
4610
|
+
PassDateEnd: string
|
|
4611
|
+
|
|
4612
|
+
/**
|
|
4613
|
+
* 税收分类编码
|
|
4614
|
+
*/
|
|
4615
|
+
TaxClassifyCode: string
|
|
4616
|
+
}
|
|
4617
|
+
|
|
4530
4618
|
/**
|
|
4531
4619
|
* 试题识别结构化信息
|
|
4532
4620
|
*/
|
|
@@ -4685,37 +4773,37 @@ export interface DutyPaidProofOCRRequest {
|
|
|
4685
4773
|
*/
|
|
4686
4774
|
export interface RecognizeHealthCodeOCRResponse {
|
|
4687
4775
|
/**
|
|
4688
|
-
*
|
|
4776
|
+
* 持码人姓名,如:王*(允许返回空值)
|
|
4689
4777
|
*/
|
|
4690
4778
|
Name: string
|
|
4691
4779
|
|
|
4692
4780
|
/**
|
|
4693
|
-
* 持码人身份证号,如:11**************01
|
|
4781
|
+
* 持码人身份证号,如:11**************01(允许返回空值)
|
|
4694
4782
|
*/
|
|
4695
4783
|
IDNumber: string
|
|
4696
4784
|
|
|
4697
4785
|
/**
|
|
4698
|
-
*
|
|
4786
|
+
* 健康码更新时间(允许返回空值)
|
|
4699
4787
|
*/
|
|
4700
4788
|
Time: string
|
|
4701
4789
|
|
|
4702
4790
|
/**
|
|
4703
|
-
*
|
|
4791
|
+
* 健康码颜色:绿色、黄色、红色(允许返回空值)
|
|
4704
4792
|
*/
|
|
4705
4793
|
Color: string
|
|
4706
4794
|
|
|
4707
4795
|
/**
|
|
4708
|
-
*
|
|
4796
|
+
* 核酸检测间隔时长(允许返回空值)
|
|
4709
4797
|
*/
|
|
4710
4798
|
TestingInterval: string
|
|
4711
4799
|
|
|
4712
4800
|
/**
|
|
4713
|
-
*
|
|
4801
|
+
* 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
|
|
4714
4802
|
*/
|
|
4715
4803
|
TestingResult: string
|
|
4716
4804
|
|
|
4717
4805
|
/**
|
|
4718
|
-
*
|
|
4806
|
+
* 核酸检测时间(允许返回空值)
|
|
4719
4807
|
*/
|
|
4720
4808
|
TestingTime: string
|
|
4721
4809
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, WaybillOCRResponse, MLIDCardOCRRequest, VehicleLicenseOCRRequest, EnterpriseLicenseOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RideHailingDriverLicenseOCRRequest, QueryBarCodeRequest, OrgCodeCertOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, HmtResidentPermitOCRResponse, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
|
|
2
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, WaybillOCRResponse, MLIDCardOCRRequest, VehicleLicenseOCRRequest, EnterpriseLicenseOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, RideHailingDriverLicenseOCRRequest, QueryBarCodeRequest, OrgCodeCertOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, HmtResidentPermitOCRResponse, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
|
|
3
3
|
/**
|
|
4
4
|
* ocr client
|
|
5
5
|
* @class
|
|
@@ -93,6 +93,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
93
93
|
|
|
94
94
|
*/
|
|
95
95
|
MLIDCardOCR(req: MLIDCardOCRRequest, cb?: (error: string, rep: MLIDCardOCRResponse) => void): Promise<MLIDCardOCRResponse>;
|
|
96
|
+
/**
|
|
97
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
|
98
|
+
*/
|
|
99
|
+
VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
|
|
96
100
|
/**
|
|
97
101
|
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
98
102
|
*/
|
|
@@ -545,7 +549,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
545
549
|
*/
|
|
546
550
|
MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
|
|
547
551
|
/**
|
|
548
|
-
*
|
|
552
|
+
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
549
553
|
*/
|
|
550
554
|
RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
|
|
551
555
|
/**
|
|
@@ -132,6 +132,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
132
132
|
async MLIDCardOCR(req, cb) {
|
|
133
133
|
return this.request("MLIDCardOCR", req, cb);
|
|
134
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
|
137
|
+
*/
|
|
138
|
+
async VatInvoiceVerifyNew(req, cb) {
|
|
139
|
+
return this.request("VatInvoiceVerifyNew", req, cb);
|
|
140
|
+
}
|
|
135
141
|
/**
|
|
136
142
|
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
137
143
|
*/
|
|
@@ -698,7 +704,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
698
704
|
return this.request("MixedInvoiceOCR", req, cb);
|
|
699
705
|
}
|
|
700
706
|
/**
|
|
701
|
-
*
|
|
707
|
+
* 本接口支持北京、上海、广东、江苏、吉林、黑龙江省市健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,七个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
702
708
|
*/
|
|
703
709
|
async RecognizeHealthCodeOCR(req, cb) {
|
|
704
710
|
return this.request("RecognizeHealthCodeOCR", req, cb);
|
|
@@ -1976,6 +1976,36 @@ export interface ClassifyDetectOCRResponse {
|
|
|
1976
1976
|
*/
|
|
1977
1977
|
RequestId?: string;
|
|
1978
1978
|
}
|
|
1979
|
+
/**
|
|
1980
|
+
* VatInvoiceVerifyNew请求参数结构体
|
|
1981
|
+
*/
|
|
1982
|
+
export interface VatInvoiceVerifyNewRequest {
|
|
1983
|
+
/**
|
|
1984
|
+
* 发票号码,8位、20位(全电票)
|
|
1985
|
+
*/
|
|
1986
|
+
InvoiceNo: string;
|
|
1987
|
+
/**
|
|
1988
|
+
* 开票日期(不支持当天发票查询,支持五年以内开具的发票),格式:“YYYY-MM-DD”,如:2019-12-20。
|
|
1989
|
+
*/
|
|
1990
|
+
InvoiceDate: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* 发票代码(10或12 位),全电发票为空。查验未成功超过5次后当日无法再查。
|
|
1993
|
+
*/
|
|
1994
|
+
InvoiceCode?: string;
|
|
1995
|
+
/**
|
|
1996
|
+
* 票种类型 01:增值税专用发票, 02:货运运输业增值税专用发 票, 03:机动车销售统一发票, 04:增值税普通发票, 08:增值税电子专用发票(含全电), 10:增值税电子普通发票(含全电), 11:增值税普通发票(卷式), 14:增值税电子(通行费)发 票, 15:二手车销售统一发票, 32:深圳区块链发票(云南区块链因业务调整现已下线)。
|
|
1997
|
+
*/
|
|
1998
|
+
InvoiceKind?: string;
|
|
1999
|
+
/**
|
|
2000
|
+
* 校验码后 6 位,增值税普通发票、增值税电子普通发票、增值税普通发票(卷式)、增值税电子普通发票(通行费)时必填;
|
|
2001
|
+
区块链为 5 位
|
|
2002
|
+
*/
|
|
2003
|
+
CheckCode?: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* 不含税金额,增值税专用发票、增值税电子专用发票、机动车销售统一发票、二手车销售统一发票、区块链发票时必填; 全电发票为价税合计(含税金额)
|
|
2006
|
+
*/
|
|
2007
|
+
Amount?: string;
|
|
2008
|
+
}
|
|
1979
2009
|
/**
|
|
1980
2010
|
* VehicleLicenseOCR返回参数结构体
|
|
1981
2011
|
*/
|
|
@@ -2350,6 +2380,31 @@ export interface InvoiceGeneralOCRResponse {
|
|
|
2350
2380
|
*/
|
|
2351
2381
|
RequestId?: string;
|
|
2352
2382
|
}
|
|
2383
|
+
/**
|
|
2384
|
+
* VatInvoiceVerifyNew返回参数结构体
|
|
2385
|
+
*/
|
|
2386
|
+
export interface VatInvoiceVerifyNewResponse {
|
|
2387
|
+
/**
|
|
2388
|
+
* 增值税发票信息,详情请点击左侧链接。
|
|
2389
|
+
*/
|
|
2390
|
+
Invoice: VatInvoice;
|
|
2391
|
+
/**
|
|
2392
|
+
* 机动车销售统一发票信息
|
|
2393
|
+
*/
|
|
2394
|
+
VehicleInvoiceInfo: VehicleInvoiceInfo;
|
|
2395
|
+
/**
|
|
2396
|
+
* 二手车销售统一发票信息
|
|
2397
|
+
*/
|
|
2398
|
+
UsedVehicleInvoiceInfo: UsedVehicleInvoiceInfo;
|
|
2399
|
+
/**
|
|
2400
|
+
* 通行费发票信息
|
|
2401
|
+
*/
|
|
2402
|
+
PassInvoiceInfoList: Array<PassInvoiceInfo>;
|
|
2403
|
+
/**
|
|
2404
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2405
|
+
*/
|
|
2406
|
+
RequestId?: string;
|
|
2407
|
+
}
|
|
2353
2408
|
/**
|
|
2354
2409
|
* TaxiInvoiceOCR请求参数结构体
|
|
2355
2410
|
*/
|
|
@@ -3821,14 +3876,6 @@ export interface RecognizeHealthCodeOCRRequest {
|
|
|
3821
3876
|
/**
|
|
3822
3877
|
* 需要识别的健康码类型列表,为空或不填表示默认为自动识别。
|
|
3823
3878
|
0:自动识别
|
|
3824
|
-
|
|
3825
|
-
1:粤康码
|
|
3826
|
-
|
|
3827
|
-
2:随申码
|
|
3828
|
-
|
|
3829
|
-
3:健康宝
|
|
3830
|
-
|
|
3831
|
-
4.穗康码
|
|
3832
3879
|
*/
|
|
3833
3880
|
Type?: number;
|
|
3834
3881
|
}
|
|
@@ -3849,6 +3896,31 @@ export interface BankSlipOCRResponse {
|
|
|
3849
3896
|
*/
|
|
3850
3897
|
RequestId?: string;
|
|
3851
3898
|
}
|
|
3899
|
+
/**
|
|
3900
|
+
* 通行费发票信息
|
|
3901
|
+
*/
|
|
3902
|
+
export interface PassInvoiceInfo {
|
|
3903
|
+
/**
|
|
3904
|
+
* 通行费车牌号
|
|
3905
|
+
*/
|
|
3906
|
+
NumberPlate: string;
|
|
3907
|
+
/**
|
|
3908
|
+
* 通行费类型
|
|
3909
|
+
*/
|
|
3910
|
+
Type: string;
|
|
3911
|
+
/**
|
|
3912
|
+
* 通行日期起
|
|
3913
|
+
*/
|
|
3914
|
+
PassDateBegin: string;
|
|
3915
|
+
/**
|
|
3916
|
+
* 通行日期止
|
|
3917
|
+
*/
|
|
3918
|
+
PassDateEnd: string;
|
|
3919
|
+
/**
|
|
3920
|
+
* 税收分类编码
|
|
3921
|
+
*/
|
|
3922
|
+
TaxClassifyCode: string;
|
|
3923
|
+
}
|
|
3852
3924
|
/**
|
|
3853
3925
|
* 试题识别结构化信息
|
|
3854
3926
|
*/
|
|
@@ -3989,31 +4061,31 @@ export interface DutyPaidProofOCRRequest {
|
|
|
3989
4061
|
*/
|
|
3990
4062
|
export interface RecognizeHealthCodeOCRResponse {
|
|
3991
4063
|
/**
|
|
3992
|
-
*
|
|
4064
|
+
* 持码人姓名,如:王*(允许返回空值)
|
|
3993
4065
|
*/
|
|
3994
4066
|
Name: string;
|
|
3995
4067
|
/**
|
|
3996
|
-
* 持码人身份证号,如:11**************01
|
|
4068
|
+
* 持码人身份证号,如:11**************01(允许返回空值)
|
|
3997
4069
|
*/
|
|
3998
4070
|
IDNumber: string;
|
|
3999
4071
|
/**
|
|
4000
|
-
*
|
|
4072
|
+
* 健康码更新时间(允许返回空值)
|
|
4001
4073
|
*/
|
|
4002
4074
|
Time: string;
|
|
4003
4075
|
/**
|
|
4004
|
-
*
|
|
4076
|
+
* 健康码颜色:绿色、黄色、红色(允许返回空值)
|
|
4005
4077
|
*/
|
|
4006
4078
|
Color: string;
|
|
4007
4079
|
/**
|
|
4008
|
-
*
|
|
4080
|
+
* 核酸检测间隔时长(允许返回空值)
|
|
4009
4081
|
*/
|
|
4010
4082
|
TestingInterval: string;
|
|
4011
4083
|
/**
|
|
4012
|
-
*
|
|
4084
|
+
* 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
|
|
4013
4085
|
*/
|
|
4014
4086
|
TestingResult: string;
|
|
4015
4087
|
/**
|
|
4016
|
-
*
|
|
4088
|
+
* 核酸检测时间(允许返回空值)
|
|
4017
4089
|
*/
|
|
4018
4090
|
TestingTime: string;
|
|
4019
4091
|
/**
|