tencentcloud-sdk-nodejs-ocr 4.0.336 → 4.0.339

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/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 06:00:18 |
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 |
@@ -40,13 +40,13 @@
40
40
  | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
41
41
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-04-04 06:17:11 |
42
42
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-04-04 06:17:16 |
43
- | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-04-08 06:03:52 |
43
+ | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-05-12 06:07:30 |
44
44
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2022-04-04 06:18:22 |
45
45
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-04-04 06:18:39 |
46
46
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
47
47
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
48
- | ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-04-29 06:04:35 |
49
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-05-10 06:03:18 |
48
+ | ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-05-12 06:07:46 |
49
+ | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-05-11 06:06:40 |
50
50
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-04-04 06:21:08 |
51
51
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-04-04 06:21:17 |
52
52
  | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-04-29 06:05:02 |
@@ -55,7 +55,7 @@
55
55
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
56
56
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-05-05 11:48:14 |
57
57
  | 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-09 06:05:50 |
58
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-05-13 06:09:29 |
59
59
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-05-05 10:52:23 |
60
60
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
61
61
  | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-05-09 06:06:32 |
@@ -63,25 +63,25 @@
63
63
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-04-25 06:05:43 |
64
64
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2022-04-13 06:36:47 |
65
65
  | 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-10 06:05:37 |
66
+ | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-05-12 06:10:06 |
67
67
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2022-04-04 06:38:13 |
68
68
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2022-04-21 06:11:32 |
69
69
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
70
70
  | ds | [电子合同服务](https://cloud.tencent.com/document/product/869) | 2022-04-04 06:38:52 |
71
71
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
72
- | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-04-28 06:11:50 |
72
+ | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-05-11 06:09:11 |
73
73
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-04-04 06:39:12 |
74
74
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
75
75
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
76
76
  | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2022-04-04 06:39:43 |
77
- | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-04-29 10:41:12 |
77
+ | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-05-13 06:11:29 |
78
78
  | 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-04-28 06:12:20 |
79
+ | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-05-13 06:12:03 |
80
80
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-05-09 06:08:06 |
81
81
  | ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-05-09 06:08:11 |
82
82
  | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-05-06 06:10:19 |
83
83
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-04-04 06:42:42 |
84
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-04-22 06:09:59 |
84
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-05-12 06:11:15 |
85
85
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
86
86
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
87
87
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-04-13 06:43:04 |
@@ -99,7 +99,7 @@
99
99
  | iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 |
100
100
  | ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2022-04-04 06:48:07 |
101
101
  | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2022-04-04 06:48:08 |
102
- | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-04-01 15:20:13 |
102
+ | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-05-11 10:24:44 |
103
103
  | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-04-18 06:13:51 |
104
104
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
105
105
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-04-04 06:49:51 |
@@ -116,8 +116,8 @@
116
116
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-04-04 06:57:46 |
117
117
  | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
118
118
  | 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-10 06:09:42 |
120
- | mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-05-09 06:11:15 |
119
+ | monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-05-13 06:15:04 |
120
+ | mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-05-11 06:13:00 |
121
121
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-04-04 07:00:09 |
122
122
  | ms | [移动应用安全](https://cloud.tencent.com/document/product) | 2020-06-05 08:13:52 |
123
123
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2022-04-04 07:00:13 |
@@ -125,7 +125,7 @@
125
125
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
126
126
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
127
127
  | 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-10 06:10:17 |
128
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-05-12 06:14:35 |
129
129
  | organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-04-04 07:01:46 |
130
130
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-04-04 07:01:49 |
131
131
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
@@ -137,7 +137,7 @@
137
137
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
138
138
  | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-04-04 07:04:08 |
139
139
  | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-05-09 06:12:32 |
140
- | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-04-15 06:11:52 |
140
+ | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-05-13 06:16:33 |
141
141
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-04-25 06:11:28 |
142
142
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2022-04-04 07:05:41 |
143
143
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2022-04-14 06:16:29 |
@@ -160,7 +160,7 @@
160
160
  | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-04-26 06:16:06 |
161
161
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-04-04 07:10:49 |
162
162
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
163
- | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-04-07 07:10:53 |
163
+ | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-05-11 06:15:29 |
164
164
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2022-04-08 06:13:14 |
165
165
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-05-09 06:14:07 |
166
166
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2022-04-04 07:15:36 |
@@ -174,14 +174,14 @@
174
174
  | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
175
175
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
176
176
  | 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-10 06:13:33 |
177
+ | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-05-13 06:18:48 |
178
178
  | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-04-04 07:17:26 |
179
179
  | 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-09 06:15:13 |
180
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-05-12 06:17:58 |
181
181
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
182
182
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
183
183
  | 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-09 06:15:32 |
184
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-05-13 06:19:15 |
185
185
  | tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-04-22 06:17:09 |
186
186
  | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-05-09 06:15:37 |
187
187
  | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
@@ -189,9 +189,9 @@
189
189
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
190
190
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-05-10 06:14:42 |
191
191
  | 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-09 06:16:13 |
192
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-05-13 06:19:52 |
193
193
  | 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-10 06:15:42 |
194
+ | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-05-12 06:19:46 |
195
195
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
196
196
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
197
197
  | 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
  */
@@ -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
  */
@@ -4527,6 +4593,36 @@ export interface BankSlipOCRResponse {
4527
4593
  RequestId?: string
4528
4594
  }
4529
4595
 
4596
+ /**
4597
+ * 通行费发票信息
4598
+ */
4599
+ export interface PassInvoiceInfo {
4600
+ /**
4601
+ * 通行费车牌号
4602
+ */
4603
+ NumberPlate: string
4604
+
4605
+ /**
4606
+ * 通行费类型
4607
+ */
4608
+ Type: string
4609
+
4610
+ /**
4611
+ * 通行日期起
4612
+ */
4613
+ PassDateBegin: string
4614
+
4615
+ /**
4616
+ * 通行日期止
4617
+ */
4618
+ PassDateEnd: string
4619
+
4620
+ /**
4621
+ * 税收分类编码
4622
+ */
4623
+ TaxClassifyCode: string
4624
+ }
4625
+
4530
4626
  /**
4531
4627
  * 试题识别结构化信息
4532
4628
  */
@@ -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
  */
@@ -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
  */
@@ -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
  */
@@ -3849,6 +3904,31 @@ export interface BankSlipOCRResponse {
3849
3904
  */
3850
3905
  RequestId?: string;
3851
3906
  }
3907
+ /**
3908
+ * 通行费发票信息
3909
+ */
3910
+ export interface PassInvoiceInfo {
3911
+ /**
3912
+ * 通行费车牌号
3913
+ */
3914
+ NumberPlate: string;
3915
+ /**
3916
+ * 通行费类型
3917
+ */
3918
+ Type: string;
3919
+ /**
3920
+ * 通行日期起
3921
+ */
3922
+ PassDateBegin: string;
3923
+ /**
3924
+ * 通行日期止
3925
+ */
3926
+ PassDateEnd: string;
3927
+ /**
3928
+ * 税收分类编码
3929
+ */
3930
+ TaxClassifyCode: string;
3931
+ }
3852
3932
  /**
3853
3933
  * 试题识别结构化信息
3854
3934
  */