tencentcloud-sdk-nodejs-ocr 4.0.761 → 4.0.763
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/package.json +1 -1
- package/products.md +23 -23
- package/src/services/ocr/v20181119/ocr_client.ts +4 -1
- package/src/services/ocr/v20181119/ocr_models.ts +328 -44
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +325 -44
package/package.json
CHANGED
package/products.md
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-11-16 01:06:33 |
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-12-15 18:59:23 |
|
19
19
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-11-20 00:01:45 |
|
20
|
-
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-
|
20
|
+
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-12-21 01:08:50 |
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
|
22
22
|
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2023-10-13 01:07:08 |
|
23
23
|
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-12-15 19:00:41 |
|
@@ -45,11 +45,11 @@
|
|
45
45
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-10-27 01:17:34 |
|
46
46
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
|
47
47
|
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-12-11 00:15:21 |
|
48
|
-
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2023-12-
|
48
|
+
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2023-12-20 01:16:54 |
|
49
49
|
| cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2023-12-15 19:11:22 |
|
50
50
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-11-24 01:09:00 |
|
51
51
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-11-10 01:10:02 |
|
52
|
-
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-12-
|
52
|
+
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-12-20 01:17:35 |
|
53
53
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-08-17 01:47:49 |
|
54
54
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-07-06 01:13:25 |
|
55
55
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
|
@@ -60,7 +60,7 @@
|
|
60
60
|
| cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2023-12-15 19:16:07 |
|
61
61
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-08-17 01:57:08 |
|
62
62
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-08-03 01:03:28 |
|
63
|
-
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-12-
|
63
|
+
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2023-12-20 01:21:08 |
|
64
64
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2023-12-05 01:27:33 |
|
65
65
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2023-08-17 02:03:39 |
|
66
66
|
| cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2023-08-24 01:10:10 |
|
@@ -78,9 +78,9 @@
|
|
78
78
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
79
79
|
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-10-09 01:12:39 |
|
80
80
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-08-22 01:11:33 |
|
81
|
-
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-12-
|
81
|
+
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-12-20 01:30:30 |
|
82
82
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-10-30 00:33:47 |
|
83
|
-
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-12-
|
83
|
+
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-12-21 01:31:01 |
|
84
84
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-11-15 01:33:00 |
|
85
85
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-12-15 01:10:52 |
|
86
86
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-11-10 01:14:28 |
|
@@ -91,13 +91,13 @@
|
|
91
91
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2023-12-15 19:35:27 |
|
92
92
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2023-09-13 01:42:58 |
|
93
93
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2023-08-17 03:03:04 |
|
94
|
-
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-
|
94
|
+
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-12-20 01:36:00 |
|
95
95
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 |
|
96
96
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
97
97
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-12-19 01:39:39 |
|
98
98
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-12-05 01:46:13 |
|
99
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-12-
|
100
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-12-
|
99
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-12-21 01:37:51 |
|
100
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-12-21 01:38:43 |
|
101
101
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-12-15 19:41:44 |
|
102
102
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-12-06 01:49:35 |
|
103
103
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
|
@@ -132,8 +132,8 @@
|
|
132
132
|
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-05-18 01:35:21 |
|
133
133
|
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-11-30 04:52:16 |
|
134
134
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-08-17 03:51:31 |
|
135
|
-
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2023-12-
|
136
|
-
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-12-
|
135
|
+
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2023-12-21 01:48:52 |
|
136
|
+
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-12-20 01:50:09 |
|
137
137
|
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-12-19 01:53:39 |
|
138
138
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
139
139
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
@@ -153,8 +153,8 @@
|
|
153
153
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
154
154
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 |
|
155
155
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
156
|
-
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-12-
|
157
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-12-
|
156
|
+
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-12-20 01:57:04 |
|
157
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-12-21 01:56:34 |
|
158
158
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-12-13 02:14:02 |
|
159
159
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-11-08 02:00:11 |
|
160
160
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
|
@@ -178,14 +178,14 @@
|
|
178
178
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
179
179
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-12-04 00:17:13 |
|
180
180
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
|
181
|
-
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-12-
|
181
|
+
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-12-20 02:05:02 |
|
182
182
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-08-17 04:46:28 |
|
183
183
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2023-12-12 02:23:51 |
|
184
184
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2023-10-27 02:11:56 |
|
185
185
|
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2023-08-17 04:47:19 |
|
186
186
|
| tag | [标签](https://cloud.tencent.com/document/product/651) | 2023-10-31 02:21:34 |
|
187
187
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2023-05-18 01:50:16 |
|
188
|
-
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-12-
|
188
|
+
| tat | [自动化助手](https://cloud.tencent.com/document/product/1340) | 2023-12-20 02:06:26 |
|
189
189
|
| tav | [文件检测](https://cloud.tencent.com/document/product) | 2019-11-28 22:10:04 |
|
190
190
|
| tbaas | [腾讯云区块链服务平台 TBaaS](https://cloud.tencent.com/document/product/663) | 2023-11-23 01:26:18 |
|
191
191
|
| tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
|
@@ -201,10 +201,10 @@
|
|
201
201
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-11-29 02:03:30 |
|
202
202
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
|
203
203
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
|
204
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-12-
|
204
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-12-21 02:11:13 |
|
205
205
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 |
|
206
|
-
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-
|
207
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-12-
|
206
|
+
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-12-20 02:13:36 |
|
207
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-12-21 02:13:02 |
|
208
208
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-11-27 00:20:12 |
|
209
209
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
210
210
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
@@ -212,7 +212,7 @@
|
|
212
212
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2023-08-17 05:26:12 |
|
213
213
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
214
214
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-09-01 01:23:47 |
|
215
|
-
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-12-
|
215
|
+
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-12-21 02:14:50 |
|
216
216
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-12-01 01:26:06 |
|
217
217
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-12-13 02:38:08 |
|
218
218
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
@@ -224,19 +224,19 @@
|
|
224
224
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-10-26 14:46:10 |
|
225
225
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
|
226
226
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-12-15 20:34:23 |
|
227
|
-
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-
|
227
|
+
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-12-20 02:20:03 |
|
228
228
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-12-14 02:42:40 |
|
229
229
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
230
230
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-11-27 00:22:20 |
|
231
231
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-08-17 05:50:27 |
|
232
232
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-11-15 02:36:58 |
|
233
233
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-08-17 05:50:56 |
|
234
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-12-
|
234
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-12-21 02:21:45 |
|
235
235
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-12-19 02:27:19 |
|
236
236
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-11-27 00:23:42 |
|
237
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-12-
|
237
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-12-20 02:27:15 |
|
238
238
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-11-15 02:42:49 |
|
239
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-12-
|
239
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-12-20 02:28:42 |
|
240
240
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2023-12-14 02:56:46 |
|
241
241
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
242
242
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-08-10 01:50:27 |
|
@@ -56,6 +56,7 @@ import {
|
|
56
56
|
HmtResidentPermitOCRResponse,
|
57
57
|
VatInvoiceItem,
|
58
58
|
VehicleRegCertInfo,
|
59
|
+
IDCardOCRResponse,
|
59
60
|
FlightItem,
|
60
61
|
Value,
|
61
62
|
EnterpriseLicenseOCRResponse,
|
@@ -117,7 +118,7 @@ import {
|
|
117
118
|
VehicleLicenseOCRResponse,
|
118
119
|
RecognizePhilippinesSssIDOCRRequest,
|
119
120
|
Key,
|
120
|
-
|
121
|
+
ElectronicAirTransport,
|
121
122
|
ClassifyDetectOCRRequest,
|
122
123
|
DutyPaidProofOCRResponse,
|
123
124
|
TollInvoiceOCRRequest,
|
@@ -155,6 +156,7 @@ import {
|
|
155
156
|
PassportOCRResponse,
|
156
157
|
TextDetectRequest,
|
157
158
|
RecognizeTravelCardOCRResponse,
|
159
|
+
ElectronicAirTransportDetail,
|
158
160
|
WordCoordPoint,
|
159
161
|
LicensePlateOCRRequest,
|
160
162
|
GeneralBasicOCRRequest,
|
@@ -188,6 +190,7 @@ import {
|
|
188
190
|
TextTable,
|
189
191
|
FinanBillSliceInfo,
|
190
192
|
RideHailingDriverLicenseOCRRequest,
|
193
|
+
ElectronicTrainTicket,
|
191
194
|
ArithmeticOCRRequest,
|
192
195
|
NonTaxIncomeBill,
|
193
196
|
VerifyOfdVatInvoiceOCRRequest,
|
@@ -1364,6 +1364,71 @@ export interface VehicleRegCertInfo {
|
|
1364
1364
|
Value: string
|
1365
1365
|
}
|
1366
1366
|
|
1367
|
+
/**
|
1368
|
+
* IDCardOCR返回参数结构体
|
1369
|
+
*/
|
1370
|
+
export interface IDCardOCRResponse {
|
1371
|
+
/**
|
1372
|
+
* 姓名(人像面)
|
1373
|
+
*/
|
1374
|
+
Name?: string
|
1375
|
+
/**
|
1376
|
+
* 性别(人像面)
|
1377
|
+
*/
|
1378
|
+
Sex?: string
|
1379
|
+
/**
|
1380
|
+
* 民族(人像面)
|
1381
|
+
*/
|
1382
|
+
Nation?: string
|
1383
|
+
/**
|
1384
|
+
* 出生日期(人像面)
|
1385
|
+
*/
|
1386
|
+
Birth?: string
|
1387
|
+
/**
|
1388
|
+
* 地址(人像面)
|
1389
|
+
*/
|
1390
|
+
Address?: string
|
1391
|
+
/**
|
1392
|
+
* 身份证号(人像面)
|
1393
|
+
*/
|
1394
|
+
IdNum?: string
|
1395
|
+
/**
|
1396
|
+
* 发证机关(国徽面)
|
1397
|
+
*/
|
1398
|
+
Authority?: string
|
1399
|
+
/**
|
1400
|
+
* 证件有效期(国徽面)
|
1401
|
+
*/
|
1402
|
+
ValidDate?: string
|
1403
|
+
/**
|
1404
|
+
* 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
|
1405
|
+
IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
|
1406
|
+
Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
|
1407
|
+
|
1408
|
+
Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
|
1409
|
+
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
1410
|
+
|
1411
|
+
WarnInfos,告警信息,Code 告警码列表和释义:
|
1412
|
+
-9100 身份证有效日期不合法告警,
|
1413
|
+
-9101 身份证边框不完整告警,
|
1414
|
+
-9102 身份证复印件告警,
|
1415
|
+
-9103 身份证翻拍告警,
|
1416
|
+
-9105 身份证框内遮挡告警,
|
1417
|
+
-9104 临时身份证告警,
|
1418
|
+
-9106 身份证疑似存在PS痕迹告警,
|
1419
|
+
-9107 身份证反光告警。
|
1420
|
+
*/
|
1421
|
+
AdvancedInfo?: string
|
1422
|
+
/**
|
1423
|
+
* 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
1424
|
+
*/
|
1425
|
+
ReflectDetailInfos?: Array<ReflectDetailInfo>
|
1426
|
+
/**
|
1427
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1428
|
+
*/
|
1429
|
+
RequestId?: string
|
1430
|
+
}
|
1431
|
+
|
1367
1432
|
/**
|
1368
1433
|
* 机票行程卡条目
|
1369
1434
|
*/
|
@@ -3374,68 +3439,91 @@ export interface Key {
|
|
3374
3439
|
}
|
3375
3440
|
|
3376
3441
|
/**
|
3377
|
-
*
|
3442
|
+
* 全电发票(航空运输电子客票行程单)
|
3378
3443
|
*/
|
3379
|
-
export interface
|
3444
|
+
export interface ElectronicAirTransport {
|
3380
3445
|
/**
|
3381
|
-
*
|
3446
|
+
* 发票代码
|
3447
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3382
3448
|
*/
|
3383
|
-
|
3449
|
+
Code?: string
|
3384
3450
|
/**
|
3385
|
-
*
|
3451
|
+
* 发票号码
|
3452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3386
3453
|
*/
|
3387
|
-
|
3454
|
+
Number?: string
|
3388
3455
|
/**
|
3389
|
-
*
|
3456
|
+
* 开票日期
|
3457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3390
3458
|
*/
|
3391
|
-
|
3459
|
+
Date?: string
|
3392
3460
|
/**
|
3393
|
-
*
|
3461
|
+
* 金额
|
3462
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3394
3463
|
*/
|
3395
|
-
|
3464
|
+
Amount?: string
|
3396
3465
|
/**
|
3397
|
-
*
|
3466
|
+
* 校验码
|
3467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3398
3468
|
*/
|
3399
|
-
|
3469
|
+
CheckCode?: string
|
3400
3470
|
/**
|
3401
|
-
*
|
3471
|
+
* 价税合计
|
3472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3402
3473
|
*/
|
3403
|
-
|
3474
|
+
Total?: string
|
3404
3475
|
/**
|
3405
|
-
*
|
3476
|
+
* 抵扣标志
|
3477
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3406
3478
|
*/
|
3407
|
-
|
3479
|
+
DeductionMark?: string
|
3408
3480
|
/**
|
3409
|
-
*
|
3481
|
+
* 发票状态代码,0正常 1 未更新 2作废 3已红冲
|
3482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3410
3483
|
*/
|
3411
|
-
|
3484
|
+
StateCode?: string
|
3412
3485
|
/**
|
3413
|
-
*
|
3414
|
-
|
3415
|
-
Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
|
3416
|
-
|
3417
|
-
Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
|
3418
|
-
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
3419
|
-
|
3420
|
-
WarnInfos,告警信息,Code 告警码列表和释义:
|
3421
|
-
-9100 身份证有效日期不合法告警,
|
3422
|
-
-9101 身份证边框不完整告警,
|
3423
|
-
-9102 身份证复印件告警,
|
3424
|
-
-9103 身份证翻拍告警,
|
3425
|
-
-9105 身份证框内遮挡告警,
|
3426
|
-
-9104 临时身份证告警,
|
3427
|
-
-9106 身份证疑似存在PS痕迹告警,
|
3428
|
-
-9107 身份证反光告警。
|
3486
|
+
* 购方识别号
|
3487
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3429
3488
|
*/
|
3430
|
-
|
3489
|
+
BuyerTaxCode?: string
|
3431
3490
|
/**
|
3432
|
-
*
|
3491
|
+
* 购方名称
|
3492
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3433
3493
|
*/
|
3434
|
-
|
3494
|
+
BuyerName?: string
|
3435
3495
|
/**
|
3436
|
-
*
|
3496
|
+
* 合计税额
|
3497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3437
3498
|
*/
|
3438
|
-
|
3499
|
+
Tax?: string
|
3500
|
+
/**
|
3501
|
+
* 国内国际标识
|
3502
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3503
|
+
*/
|
3504
|
+
DomesticInternationalMark?: string
|
3505
|
+
/**
|
3506
|
+
* 旅客姓名
|
3507
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3508
|
+
*/
|
3509
|
+
PassengerName?: string
|
3510
|
+
/**
|
3511
|
+
* 有效身份证件号码
|
3512
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3513
|
+
*/
|
3514
|
+
PassengerNo?: string
|
3515
|
+
/**
|
3516
|
+
* 电子客票号码
|
3517
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3518
|
+
*/
|
3519
|
+
ElectronicNumber?: string
|
3520
|
+
/**
|
3521
|
+
* 全电发票(航空运输电子客票行程单)详细信息
|
3522
|
+
|
3523
|
+
|
3524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3525
|
+
*/
|
3526
|
+
ElectronicAirTransportDetails?: Array<ElectronicAirTransportDetail>
|
3439
3527
|
}
|
3440
3528
|
|
3441
3529
|
/**
|
@@ -3905,21 +3993,30 @@ export interface SmartFormFileUrl {
|
|
3905
3993
|
*/
|
3906
3994
|
export interface VatInvoiceVerifyNewResponse {
|
3907
3995
|
/**
|
3908
|
-
*
|
3996
|
+
* 增值税发票、购车发票、全电发票的基础要素字段信息。
|
3909
3997
|
*/
|
3910
3998
|
Invoice?: VatInvoice
|
3911
3999
|
/**
|
3912
|
-
*
|
4000
|
+
* 机动车销售统一发票详细字段信息。
|
3913
4001
|
*/
|
3914
4002
|
VehicleInvoiceInfo?: VehicleInvoiceInfo
|
3915
4003
|
/**
|
3916
|
-
*
|
4004
|
+
* 二手车销售统一发票详细字段信息。
|
3917
4005
|
*/
|
3918
4006
|
UsedVehicleInvoiceInfo?: UsedVehicleInvoiceInfo
|
3919
4007
|
/**
|
3920
|
-
*
|
4008
|
+
* 通行费发票详细字段信息。
|
3921
4009
|
*/
|
3922
4010
|
PassInvoiceInfoList?: Array<PassInvoiceInfo>
|
4011
|
+
/**
|
4012
|
+
* 全电发票(铁路电子客票)详细字段信息。
|
4013
|
+
|
4014
|
+
*/
|
4015
|
+
ElectronicTrainTicket?: ElectronicTrainTicket
|
4016
|
+
/**
|
4017
|
+
* 全电发票(航空运输电子客票行程单)详细字段信息。
|
4018
|
+
*/
|
4019
|
+
ElectronicAirTransport?: ElectronicAirTransport
|
3923
4020
|
/**
|
3924
4021
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3925
4022
|
*/
|
@@ -5142,6 +5239,57 @@ export interface RecognizeTravelCardOCRResponse {
|
|
5142
5239
|
RequestId?: string
|
5143
5240
|
}
|
5144
5241
|
|
5242
|
+
/**
|
5243
|
+
* 全电发票(航空运输电子客票行程单)详细信息
|
5244
|
+
*/
|
5245
|
+
export interface ElectronicAirTransportDetail {
|
5246
|
+
/**
|
5247
|
+
* 航段序号
|
5248
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5249
|
+
*/
|
5250
|
+
FlightSegment?: string
|
5251
|
+
/**
|
5252
|
+
* 始发站
|
5253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5254
|
+
*/
|
5255
|
+
StationGetOn?: string
|
5256
|
+
/**
|
5257
|
+
* 目的站
|
5258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5259
|
+
*/
|
5260
|
+
StationGetOff?: string
|
5261
|
+
/**
|
5262
|
+
* 承运人
|
5263
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5264
|
+
*/
|
5265
|
+
Carrier?: string
|
5266
|
+
/**
|
5267
|
+
* 航班号
|
5268
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5269
|
+
*/
|
5270
|
+
FlightNumber?: string
|
5271
|
+
/**
|
5272
|
+
* 座位等级
|
5273
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5274
|
+
*/
|
5275
|
+
SeatLevel?: string
|
5276
|
+
/**
|
5277
|
+
* 承运日期
|
5278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5279
|
+
*/
|
5280
|
+
FlightDate?: string
|
5281
|
+
/**
|
5282
|
+
* 起飞时间
|
5283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5284
|
+
*/
|
5285
|
+
DepartureTime?: string
|
5286
|
+
/**
|
5287
|
+
* 客票级别/客票类别
|
5288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5289
|
+
*/
|
5290
|
+
FareBasis?: string
|
5291
|
+
}
|
5292
|
+
|
5145
5293
|
/**
|
5146
5294
|
* 英文OCR识别出的单词在原图中的四点坐标数组
|
5147
5295
|
*/
|
@@ -6251,6 +6399,132 @@ export interface RideHailingDriverLicenseOCRRequest {
|
|
6251
6399
|
ImageUrl?: string
|
6252
6400
|
}
|
6253
6401
|
|
6402
|
+
/**
|
6403
|
+
* 全电发票(铁路电子客票)
|
6404
|
+
*/
|
6405
|
+
export interface ElectronicTrainTicket {
|
6406
|
+
/**
|
6407
|
+
* 购方名称
|
6408
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6409
|
+
*/
|
6410
|
+
BuyerName?: string
|
6411
|
+
/**
|
6412
|
+
* 购方识别号
|
6413
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6414
|
+
*/
|
6415
|
+
BuyerTaxCode?: string
|
6416
|
+
/**
|
6417
|
+
* 发票号码
|
6418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6419
|
+
*/
|
6420
|
+
Number?: string
|
6421
|
+
/**
|
6422
|
+
* 开票日期
|
6423
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6424
|
+
*/
|
6425
|
+
Date?: string
|
6426
|
+
/**
|
6427
|
+
* 价税合计(中文大写)
|
6428
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6429
|
+
*/
|
6430
|
+
TotalCN?: string
|
6431
|
+
/**
|
6432
|
+
* 税额
|
6433
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6434
|
+
*/
|
6435
|
+
Tax?: string
|
6436
|
+
/**
|
6437
|
+
* 业务类型,0:退票,1:售票
|
6438
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6439
|
+
*/
|
6440
|
+
ServiceType?: string
|
6441
|
+
/**
|
6442
|
+
* 出发时间
|
6443
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6444
|
+
*/
|
6445
|
+
TimeGetOn?: string
|
6446
|
+
/**
|
6447
|
+
* 车次
|
6448
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6449
|
+
*/
|
6450
|
+
TrainNumber?: string
|
6451
|
+
/**
|
6452
|
+
* 发票代码
|
6453
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6454
|
+
*/
|
6455
|
+
Code?: string
|
6456
|
+
/**
|
6457
|
+
* 席别
|
6458
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6459
|
+
*/
|
6460
|
+
SeatType?: string
|
6461
|
+
/**
|
6462
|
+
* 乘车日期
|
6463
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6464
|
+
*/
|
6465
|
+
DateGetOn?: string
|
6466
|
+
/**
|
6467
|
+
* 车厢
|
6468
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6469
|
+
*/
|
6470
|
+
TrainCabin?: string
|
6471
|
+
/**
|
6472
|
+
* 出发站
|
6473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6474
|
+
*/
|
6475
|
+
StationGetOn?: string
|
6476
|
+
/**
|
6477
|
+
* 电子客票号
|
6478
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6479
|
+
*/
|
6480
|
+
ElectronicNumber?: string
|
6481
|
+
/**
|
6482
|
+
* 姓名
|
6483
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6484
|
+
*/
|
6485
|
+
PassengerName?: string
|
6486
|
+
/**
|
6487
|
+
* 证件号
|
6488
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6489
|
+
*/
|
6490
|
+
PassengerNo?: string
|
6491
|
+
/**
|
6492
|
+
* 金额
|
6493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6494
|
+
*/
|
6495
|
+
Amount?: string
|
6496
|
+
/**
|
6497
|
+
* 到达站
|
6498
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6499
|
+
*/
|
6500
|
+
StationGetOff?: string
|
6501
|
+
/**
|
6502
|
+
* 税率
|
6503
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6504
|
+
*/
|
6505
|
+
TaxRate?: string
|
6506
|
+
/**
|
6507
|
+
* 席位
|
6508
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6509
|
+
*/
|
6510
|
+
Seat?: string
|
6511
|
+
/**
|
6512
|
+
* 价税合计
|
6513
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6514
|
+
*/
|
6515
|
+
Total?: string
|
6516
|
+
/**
|
6517
|
+
* 校验码
|
6518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6519
|
+
*/
|
6520
|
+
CheckCode?: string
|
6521
|
+
/**
|
6522
|
+
* 发票状态代码,0正常 1 未更新 2作废 3已红冲
|
6523
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6524
|
+
*/
|
6525
|
+
StateCode?: string
|
6526
|
+
}
|
6527
|
+
|
6254
6528
|
/**
|
6255
6529
|
* ArithmeticOCR请求参数结构体
|
6256
6530
|
*/
|
@@ -8150,7 +8424,7 @@ export interface MainlandPermitOCRResponse {
|
|
8150
8424
|
}
|
8151
8425
|
|
8152
8426
|
/**
|
8153
|
-
*
|
8427
|
+
* 增值税发票、购车发票、全电发票的基础要素字段信息。
|
8154
8428
|
*/
|
8155
8429
|
export interface VatInvoice {
|
8156
8430
|
/**
|
@@ -8167,18 +8441,22 @@ export interface VatInvoice {
|
|
8167
8441
|
Date?: string
|
8168
8442
|
/**
|
8169
8443
|
* 购方抬头
|
8444
|
+
通用机打发票类型时不返回
|
8170
8445
|
*/
|
8171
8446
|
BuyerName?: string
|
8172
8447
|
/**
|
8173
8448
|
* 购方税号
|
8449
|
+
通用机打发票类型时不返回
|
8174
8450
|
*/
|
8175
8451
|
BuyerTaxCode?: string
|
8176
8452
|
/**
|
8177
8453
|
* 购方地址电话
|
8454
|
+
通用机打发票类型做不返回
|
8178
8455
|
*/
|
8179
8456
|
BuyerAddressPhone?: string
|
8180
8457
|
/**
|
8181
8458
|
* 购方银行账号
|
8459
|
+
通用机打发票类型时不返回
|
8182
8460
|
*/
|
8183
8461
|
BuyerBankAccount?: string
|
8184
8462
|
/**
|
@@ -8218,8 +8496,14 @@ export interface VatInvoice {
|
|
8218
8496
|
15:二手车销售统一发票,
|
8219
8497
|
32:深圳区块链发票,
|
8220
8498
|
102:通用机打电子发票
|
8499
|
+
61:电子发票(航空运输电子客票行程单)
|
8500
|
+
83:电子发票(铁路电子发票)
|
8221
8501
|
*/
|
8222
8502
|
Type?: string
|
8503
|
+
/**
|
8504
|
+
* 具体的全电发票类型:01: 全电专用发票;02:全电普通发票;03:全电火车票;04:全电机票行程单
|
8505
|
+
*/
|
8506
|
+
ElectronicType?: string
|
8223
8507
|
/**
|
8224
8508
|
* 检验码
|
8225
8509
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
2
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, GeneralHandwritingOCRResponse, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest,
|
2
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, GeneralHandwritingOCRResponse, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, ImageEnhancementResponse, PassportOCRResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, RecognizePhilippinesUMIDOCRResponse, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, QrcodeOCRRequest, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest, RecognizePhilippinesUMIDOCRRequest, MLIDCardOCRResponse, RecognizePhilippinesTinIDOCRRequest, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, QuotaInvoiceOCRResponse, GeneralFastOCRResponse } from "./ocr_models";
|
3
3
|
/**
|
4
4
|
* ocr client
|
5
5
|
* @class
|
@@ -1308,6 +1308,70 @@ export interface VehicleRegCertInfo {
|
|
1308
1308
|
*/
|
1309
1309
|
Value: string;
|
1310
1310
|
}
|
1311
|
+
/**
|
1312
|
+
* IDCardOCR返回参数结构体
|
1313
|
+
*/
|
1314
|
+
export interface IDCardOCRResponse {
|
1315
|
+
/**
|
1316
|
+
* 姓名(人像面)
|
1317
|
+
*/
|
1318
|
+
Name?: string;
|
1319
|
+
/**
|
1320
|
+
* 性别(人像面)
|
1321
|
+
*/
|
1322
|
+
Sex?: string;
|
1323
|
+
/**
|
1324
|
+
* 民族(人像面)
|
1325
|
+
*/
|
1326
|
+
Nation?: string;
|
1327
|
+
/**
|
1328
|
+
* 出生日期(人像面)
|
1329
|
+
*/
|
1330
|
+
Birth?: string;
|
1331
|
+
/**
|
1332
|
+
* 地址(人像面)
|
1333
|
+
*/
|
1334
|
+
Address?: string;
|
1335
|
+
/**
|
1336
|
+
* 身份证号(人像面)
|
1337
|
+
*/
|
1338
|
+
IdNum?: string;
|
1339
|
+
/**
|
1340
|
+
* 发证机关(国徽面)
|
1341
|
+
*/
|
1342
|
+
Authority?: string;
|
1343
|
+
/**
|
1344
|
+
* 证件有效期(国徽面)
|
1345
|
+
*/
|
1346
|
+
ValidDate?: string;
|
1347
|
+
/**
|
1348
|
+
* 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
|
1349
|
+
IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
|
1350
|
+
Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
|
1351
|
+
|
1352
|
+
Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
|
1353
|
+
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
1354
|
+
|
1355
|
+
WarnInfos,告警信息,Code 告警码列表和释义:
|
1356
|
+
-9100 身份证有效日期不合法告警,
|
1357
|
+
-9101 身份证边框不完整告警,
|
1358
|
+
-9102 身份证复印件告警,
|
1359
|
+
-9103 身份证翻拍告警,
|
1360
|
+
-9105 身份证框内遮挡告警,
|
1361
|
+
-9104 临时身份证告警,
|
1362
|
+
-9106 身份证疑似存在PS痕迹告警,
|
1363
|
+
-9107 身份证反光告警。
|
1364
|
+
*/
|
1365
|
+
AdvancedInfo?: string;
|
1366
|
+
/**
|
1367
|
+
* 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
1368
|
+
*/
|
1369
|
+
ReflectDetailInfos?: Array<ReflectDetailInfo>;
|
1370
|
+
/**
|
1371
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1372
|
+
*/
|
1373
|
+
RequestId?: string;
|
1374
|
+
}
|
1311
1375
|
/**
|
1312
1376
|
* 机票行程卡条目
|
1313
1377
|
*/
|
@@ -3257,68 +3321,91 @@ export interface Key {
|
|
3257
3321
|
ConfigName?: string;
|
3258
3322
|
}
|
3259
3323
|
/**
|
3260
|
-
*
|
3324
|
+
* 全电发票(航空运输电子客票行程单)
|
3261
3325
|
*/
|
3262
|
-
export interface
|
3326
|
+
export interface ElectronicAirTransport {
|
3263
3327
|
/**
|
3264
|
-
*
|
3328
|
+
* 发票代码
|
3329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3265
3330
|
*/
|
3266
|
-
|
3331
|
+
Code?: string;
|
3267
3332
|
/**
|
3268
|
-
*
|
3333
|
+
* 发票号码
|
3334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3269
3335
|
*/
|
3270
|
-
|
3336
|
+
Number?: string;
|
3271
3337
|
/**
|
3272
|
-
*
|
3338
|
+
* 开票日期
|
3339
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3273
3340
|
*/
|
3274
|
-
|
3341
|
+
Date?: string;
|
3275
3342
|
/**
|
3276
|
-
*
|
3343
|
+
* 金额
|
3344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3277
3345
|
*/
|
3278
|
-
|
3346
|
+
Amount?: string;
|
3279
3347
|
/**
|
3280
|
-
*
|
3348
|
+
* 校验码
|
3349
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3281
3350
|
*/
|
3282
|
-
|
3351
|
+
CheckCode?: string;
|
3283
3352
|
/**
|
3284
|
-
*
|
3353
|
+
* 价税合计
|
3354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3285
3355
|
*/
|
3286
|
-
|
3356
|
+
Total?: string;
|
3287
3357
|
/**
|
3288
|
-
*
|
3358
|
+
* 抵扣标志
|
3359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3289
3360
|
*/
|
3290
|
-
|
3361
|
+
DeductionMark?: string;
|
3291
3362
|
/**
|
3292
|
-
*
|
3363
|
+
* 发票状态代码,0正常 1 未更新 2作废 3已红冲
|
3364
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3293
3365
|
*/
|
3294
|
-
|
3366
|
+
StateCode?: string;
|
3295
3367
|
/**
|
3296
|
-
*
|
3297
|
-
|
3298
|
-
Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
|
3299
|
-
|
3300
|
-
Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
|
3301
|
-
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
3302
|
-
|
3303
|
-
WarnInfos,告警信息,Code 告警码列表和释义:
|
3304
|
-
-9100 身份证有效日期不合法告警,
|
3305
|
-
-9101 身份证边框不完整告警,
|
3306
|
-
-9102 身份证复印件告警,
|
3307
|
-
-9103 身份证翻拍告警,
|
3308
|
-
-9105 身份证框内遮挡告警,
|
3309
|
-
-9104 临时身份证告警,
|
3310
|
-
-9106 身份证疑似存在PS痕迹告警,
|
3311
|
-
-9107 身份证反光告警。
|
3368
|
+
* 购方识别号
|
3369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3312
3370
|
*/
|
3313
|
-
|
3371
|
+
BuyerTaxCode?: string;
|
3314
3372
|
/**
|
3315
|
-
*
|
3373
|
+
* 购方名称
|
3374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3316
3375
|
*/
|
3317
|
-
|
3376
|
+
BuyerName?: string;
|
3318
3377
|
/**
|
3319
|
-
*
|
3378
|
+
* 合计税额
|
3379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3320
3380
|
*/
|
3321
|
-
|
3381
|
+
Tax?: string;
|
3382
|
+
/**
|
3383
|
+
* 国内国际标识
|
3384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3385
|
+
*/
|
3386
|
+
DomesticInternationalMark?: string;
|
3387
|
+
/**
|
3388
|
+
* 旅客姓名
|
3389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3390
|
+
*/
|
3391
|
+
PassengerName?: string;
|
3392
|
+
/**
|
3393
|
+
* 有效身份证件号码
|
3394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3395
|
+
*/
|
3396
|
+
PassengerNo?: string;
|
3397
|
+
/**
|
3398
|
+
* 电子客票号码
|
3399
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3400
|
+
*/
|
3401
|
+
ElectronicNumber?: string;
|
3402
|
+
/**
|
3403
|
+
* 全电发票(航空运输电子客票行程单)详细信息
|
3404
|
+
|
3405
|
+
|
3406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3407
|
+
*/
|
3408
|
+
ElectronicAirTransportDetails?: Array<ElectronicAirTransportDetail>;
|
3322
3409
|
}
|
3323
3410
|
/**
|
3324
3411
|
* ClassifyDetectOCR请求参数结构体
|
@@ -3774,21 +3861,30 @@ export interface SmartFormFileUrl {
|
|
3774
3861
|
*/
|
3775
3862
|
export interface VatInvoiceVerifyNewResponse {
|
3776
3863
|
/**
|
3777
|
-
*
|
3864
|
+
* 增值税发票、购车发票、全电发票的基础要素字段信息。
|
3778
3865
|
*/
|
3779
3866
|
Invoice?: VatInvoice;
|
3780
3867
|
/**
|
3781
|
-
*
|
3868
|
+
* 机动车销售统一发票详细字段信息。
|
3782
3869
|
*/
|
3783
3870
|
VehicleInvoiceInfo?: VehicleInvoiceInfo;
|
3784
3871
|
/**
|
3785
|
-
*
|
3872
|
+
* 二手车销售统一发票详细字段信息。
|
3786
3873
|
*/
|
3787
3874
|
UsedVehicleInvoiceInfo?: UsedVehicleInvoiceInfo;
|
3788
3875
|
/**
|
3789
|
-
*
|
3876
|
+
* 通行费发票详细字段信息。
|
3790
3877
|
*/
|
3791
3878
|
PassInvoiceInfoList?: Array<PassInvoiceInfo>;
|
3879
|
+
/**
|
3880
|
+
* 全电发票(铁路电子客票)详细字段信息。
|
3881
|
+
|
3882
|
+
*/
|
3883
|
+
ElectronicTrainTicket?: ElectronicTrainTicket;
|
3884
|
+
/**
|
3885
|
+
* 全电发票(航空运输电子客票行程单)详细字段信息。
|
3886
|
+
*/
|
3887
|
+
ElectronicAirTransport?: ElectronicAirTransport;
|
3792
3888
|
/**
|
3793
3889
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3794
3890
|
*/
|
@@ -4987,6 +5083,56 @@ export interface RecognizeTravelCardOCRResponse {
|
|
4987
5083
|
*/
|
4988
5084
|
RequestId?: string;
|
4989
5085
|
}
|
5086
|
+
/**
|
5087
|
+
* 全电发票(航空运输电子客票行程单)详细信息
|
5088
|
+
*/
|
5089
|
+
export interface ElectronicAirTransportDetail {
|
5090
|
+
/**
|
5091
|
+
* 航段序号
|
5092
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5093
|
+
*/
|
5094
|
+
FlightSegment?: string;
|
5095
|
+
/**
|
5096
|
+
* 始发站
|
5097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5098
|
+
*/
|
5099
|
+
StationGetOn?: string;
|
5100
|
+
/**
|
5101
|
+
* 目的站
|
5102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5103
|
+
*/
|
5104
|
+
StationGetOff?: string;
|
5105
|
+
/**
|
5106
|
+
* 承运人
|
5107
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5108
|
+
*/
|
5109
|
+
Carrier?: string;
|
5110
|
+
/**
|
5111
|
+
* 航班号
|
5112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5113
|
+
*/
|
5114
|
+
FlightNumber?: string;
|
5115
|
+
/**
|
5116
|
+
* 座位等级
|
5117
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5118
|
+
*/
|
5119
|
+
SeatLevel?: string;
|
5120
|
+
/**
|
5121
|
+
* 承运日期
|
5122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5123
|
+
*/
|
5124
|
+
FlightDate?: string;
|
5125
|
+
/**
|
5126
|
+
* 起飞时间
|
5127
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5128
|
+
*/
|
5129
|
+
DepartureTime?: string;
|
5130
|
+
/**
|
5131
|
+
* 客票级别/客票类别
|
5132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5133
|
+
*/
|
5134
|
+
FareBasis?: string;
|
5135
|
+
}
|
4990
5136
|
/**
|
4991
5137
|
* 英文OCR识别出的单词在原图中的四点坐标数组
|
4992
5138
|
*/
|
@@ -6063,6 +6209,131 @@ export interface RideHailingDriverLicenseOCRRequest {
|
|
6063
6209
|
*/
|
6064
6210
|
ImageUrl?: string;
|
6065
6211
|
}
|
6212
|
+
/**
|
6213
|
+
* 全电发票(铁路电子客票)
|
6214
|
+
*/
|
6215
|
+
export interface ElectronicTrainTicket {
|
6216
|
+
/**
|
6217
|
+
* 购方名称
|
6218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6219
|
+
*/
|
6220
|
+
BuyerName?: string;
|
6221
|
+
/**
|
6222
|
+
* 购方识别号
|
6223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6224
|
+
*/
|
6225
|
+
BuyerTaxCode?: string;
|
6226
|
+
/**
|
6227
|
+
* 发票号码
|
6228
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6229
|
+
*/
|
6230
|
+
Number?: string;
|
6231
|
+
/**
|
6232
|
+
* 开票日期
|
6233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6234
|
+
*/
|
6235
|
+
Date?: string;
|
6236
|
+
/**
|
6237
|
+
* 价税合计(中文大写)
|
6238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6239
|
+
*/
|
6240
|
+
TotalCN?: string;
|
6241
|
+
/**
|
6242
|
+
* 税额
|
6243
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6244
|
+
*/
|
6245
|
+
Tax?: string;
|
6246
|
+
/**
|
6247
|
+
* 业务类型,0:退票,1:售票
|
6248
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6249
|
+
*/
|
6250
|
+
ServiceType?: string;
|
6251
|
+
/**
|
6252
|
+
* 出发时间
|
6253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6254
|
+
*/
|
6255
|
+
TimeGetOn?: string;
|
6256
|
+
/**
|
6257
|
+
* 车次
|
6258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6259
|
+
*/
|
6260
|
+
TrainNumber?: string;
|
6261
|
+
/**
|
6262
|
+
* 发票代码
|
6263
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6264
|
+
*/
|
6265
|
+
Code?: string;
|
6266
|
+
/**
|
6267
|
+
* 席别
|
6268
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6269
|
+
*/
|
6270
|
+
SeatType?: string;
|
6271
|
+
/**
|
6272
|
+
* 乘车日期
|
6273
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6274
|
+
*/
|
6275
|
+
DateGetOn?: string;
|
6276
|
+
/**
|
6277
|
+
* 车厢
|
6278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6279
|
+
*/
|
6280
|
+
TrainCabin?: string;
|
6281
|
+
/**
|
6282
|
+
* 出发站
|
6283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6284
|
+
*/
|
6285
|
+
StationGetOn?: string;
|
6286
|
+
/**
|
6287
|
+
* 电子客票号
|
6288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6289
|
+
*/
|
6290
|
+
ElectronicNumber?: string;
|
6291
|
+
/**
|
6292
|
+
* 姓名
|
6293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6294
|
+
*/
|
6295
|
+
PassengerName?: string;
|
6296
|
+
/**
|
6297
|
+
* 证件号
|
6298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6299
|
+
*/
|
6300
|
+
PassengerNo?: string;
|
6301
|
+
/**
|
6302
|
+
* 金额
|
6303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6304
|
+
*/
|
6305
|
+
Amount?: string;
|
6306
|
+
/**
|
6307
|
+
* 到达站
|
6308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6309
|
+
*/
|
6310
|
+
StationGetOff?: string;
|
6311
|
+
/**
|
6312
|
+
* 税率
|
6313
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6314
|
+
*/
|
6315
|
+
TaxRate?: string;
|
6316
|
+
/**
|
6317
|
+
* 席位
|
6318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6319
|
+
*/
|
6320
|
+
Seat?: string;
|
6321
|
+
/**
|
6322
|
+
* 价税合计
|
6323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6324
|
+
*/
|
6325
|
+
Total?: string;
|
6326
|
+
/**
|
6327
|
+
* 校验码
|
6328
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6329
|
+
*/
|
6330
|
+
CheckCode?: string;
|
6331
|
+
/**
|
6332
|
+
* 发票状态代码,0正常 1 未更新 2作废 3已红冲
|
6333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6334
|
+
*/
|
6335
|
+
StateCode?: string;
|
6336
|
+
}
|
6066
6337
|
/**
|
6067
6338
|
* ArithmeticOCR请求参数结构体
|
6068
6339
|
*/
|
@@ -7905,7 +8176,7 @@ export interface MainlandPermitOCRResponse {
|
|
7905
8176
|
RequestId?: string;
|
7906
8177
|
}
|
7907
8178
|
/**
|
7908
|
-
*
|
8179
|
+
* 增值税发票、购车发票、全电发票的基础要素字段信息。
|
7909
8180
|
*/
|
7910
8181
|
export interface VatInvoice {
|
7911
8182
|
/**
|
@@ -7922,18 +8193,22 @@ export interface VatInvoice {
|
|
7922
8193
|
Date?: string;
|
7923
8194
|
/**
|
7924
8195
|
* 购方抬头
|
8196
|
+
通用机打发票类型时不返回
|
7925
8197
|
*/
|
7926
8198
|
BuyerName?: string;
|
7927
8199
|
/**
|
7928
8200
|
* 购方税号
|
8201
|
+
通用机打发票类型时不返回
|
7929
8202
|
*/
|
7930
8203
|
BuyerTaxCode?: string;
|
7931
8204
|
/**
|
7932
8205
|
* 购方地址电话
|
8206
|
+
通用机打发票类型做不返回
|
7933
8207
|
*/
|
7934
8208
|
BuyerAddressPhone?: string;
|
7935
8209
|
/**
|
7936
8210
|
* 购方银行账号
|
8211
|
+
通用机打发票类型时不返回
|
7937
8212
|
*/
|
7938
8213
|
BuyerBankAccount?: string;
|
7939
8214
|
/**
|
@@ -7973,8 +8248,14 @@ export interface VatInvoice {
|
|
7973
8248
|
15:二手车销售统一发票,
|
7974
8249
|
32:深圳区块链发票,
|
7975
8250
|
102:通用机打电子发票
|
8251
|
+
61:电子发票(航空运输电子客票行程单)
|
8252
|
+
83:电子发票(铁路电子发票)
|
7976
8253
|
*/
|
7977
8254
|
Type?: string;
|
8255
|
+
/**
|
8256
|
+
* 具体的全电发票类型:01: 全电专用发票;02:全电普通发票;03:全电火车票;04:全电机票行程单
|
8257
|
+
*/
|
8258
|
+
ElectronicType?: string;
|
7978
8259
|
/**
|
7979
8260
|
* 检验码
|
7980
8261
|
*/
|