tencentcloud-sdk-nodejs-ocr 4.0.746 → 4.0.747
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 +17 -17
- package/src/services/ocr/v20181119/ocr_client.ts +16 -3
- package/src/services/ocr/v20181119/ocr_models.ts +285 -49
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +12 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +11 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +282 -49
package/package.json
CHANGED
package/products.md
CHANGED
@@ -71,7 +71,7 @@
|
|
71
71
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-11-23 01:14:32 |
|
72
72
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-11-29 01:11:08 |
|
73
73
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
74
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-11-
|
74
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-11-30 03:21:01 |
|
75
75
|
| dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-11-17 01:12:46 |
|
76
76
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
77
77
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
@@ -79,7 +79,7 @@
|
|
79
79
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-08-22 01:11:33 |
|
80
80
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-11-13 00:10:11 |
|
81
81
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-10-30 00:33:47 |
|
82
|
-
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-11-
|
82
|
+
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-11-30 03:35:40 |
|
83
83
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-11-15 01:33:00 |
|
84
84
|
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-11-29 01:52:55 |
|
85
85
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-11-10 01:14:28 |
|
@@ -95,8 +95,8 @@
|
|
95
95
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
96
96
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-10-16 01:15:50 |
|
97
97
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-11-23 01:18:36 |
|
98
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-11-29
|
99
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-11-
|
98
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-11-29 19:36:06 |
|
99
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-11-30 04:06:09 |
|
100
100
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-09-18 01:48:33 |
|
101
101
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-11-14 01:16:39 |
|
102
102
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
|
@@ -128,9 +128,9 @@
|
|
128
128
|
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2023-09-22 02:00:51 |
|
129
129
|
| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2023-11-09 01:16:39 |
|
130
130
|
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2023-05-18 01:35:21 |
|
131
|
-
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-11-
|
131
|
+
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-11-30 04:52:16 |
|
132
132
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-08-17 03:51:31 |
|
133
|
-
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2023-11-
|
133
|
+
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2023-11-30 04:55:06 |
|
134
134
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-11-24 01:18:24 |
|
135
135
|
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-11-21 01:21:33 |
|
136
136
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
@@ -145,14 +145,14 @@
|
|
145
145
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-09-15 02:08:53 |
|
146
146
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-11-24 01:19:23 |
|
147
147
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-10-25 01:21:31 |
|
148
|
-
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-11-
|
148
|
+
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-11-30 05:22:15 |
|
149
149
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-11-20 00:15:31 |
|
150
150
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-08-17 04:18:22 |
|
151
151
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
152
152
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 |
|
153
153
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
154
154
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-11-28 01:20:57 |
|
155
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-11-
|
155
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-11-30 05:24:08 |
|
156
156
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-11-14 01:22:26 |
|
157
157
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-11-08 02:00:11 |
|
158
158
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
|
@@ -166,7 +166,7 @@
|
|
166
166
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-08-17 04:33:51 |
|
167
167
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
168
168
|
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2023-10-13 01:22:31 |
|
169
|
-
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-11-
|
169
|
+
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-11-30 05:41:26 |
|
170
170
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-11-07 02:07:25 |
|
171
171
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-07-11 01:37:49 |
|
172
172
|
| smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2023-05-18 01:47:59 |
|
@@ -174,9 +174,9 @@
|
|
174
174
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-11-28 01:23:01 |
|
175
175
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-10-16 01:23:02 |
|
176
176
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
177
|
-
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-11-
|
177
|
+
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-11-30 05:44:58 |
|
178
178
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
|
179
|
-
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-11-
|
179
|
+
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-11-30 05:53:04 |
|
180
180
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-08-17 04:46:28 |
|
181
181
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2023-08-17 04:46:36 |
|
182
182
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2023-10-27 02:11:56 |
|
@@ -202,7 +202,7 @@
|
|
202
202
|
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-11-28 01:25:42 |
|
203
203
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 |
|
204
204
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
|
205
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-11-
|
205
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-11-30 06:41:00 |
|
206
206
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-11-27 00:20:12 |
|
207
207
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
208
208
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
@@ -212,7 +212,7 @@
|
|
212
212
|
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-09-01 01:23:47 |
|
213
213
|
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-11-27 00:20:30 |
|
214
214
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-11-01 01:23:35 |
|
215
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-11-
|
215
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-11-30 06:52:41 |
|
216
216
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
217
217
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-11-28 01:28:13 |
|
218
218
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-09-27 01:26:36 |
|
@@ -223,18 +223,18 @@
|
|
223
223
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
|
224
224
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-11-29 02:06:56 |
|
225
225
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-11-23 01:30:34 |
|
226
|
-
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-11-
|
226
|
+
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-11-30 07:09:40 |
|
227
227
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
228
228
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-11-27 00:22:20 |
|
229
229
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-08-17 05:50:27 |
|
230
230
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-11-15 02:36:58 |
|
231
231
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-08-17 05:50:56 |
|
232
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-11-
|
232
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-11-30 07:24:28 |
|
233
233
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-11-29 02:08:37 |
|
234
234
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-11-27 00:23:42 |
|
235
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-11-
|
235
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-11-30 08:14:53 |
|
236
236
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-11-15 02:42:49 |
|
237
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-11-
|
237
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-11-30 08:21:21 |
|
238
238
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2023-11-28 01:32:20 |
|
239
239
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
240
240
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-08-10 01:50:27 |
|
@@ -45,6 +45,7 @@ import {
|
|
45
45
|
CreateAIFormTaskRequest,
|
46
46
|
Words,
|
47
47
|
TextDetectionEn,
|
48
|
+
ElectronicFlightTicketFull,
|
48
49
|
PermitOCRResponse,
|
49
50
|
InvoiceGeneralOCRRequest,
|
50
51
|
Rect,
|
@@ -80,6 +81,7 @@ import {
|
|
80
81
|
BankCardOCRRequest,
|
81
82
|
StructuralItem,
|
82
83
|
OnlineTaxiItineraryInfo,
|
84
|
+
FlightItemInfo,
|
83
85
|
VehicleRegCertOCRRequest,
|
84
86
|
PropOwnerCertOCRResponse,
|
85
87
|
FinanBillInfo,
|
@@ -99,7 +101,7 @@ import {
|
|
99
101
|
VatInvoiceUserInfo,
|
100
102
|
GeneralMachineItem,
|
101
103
|
GeneralAccurateOCRResponse,
|
102
|
-
|
104
|
+
ElectronicTrainTicketFull,
|
103
105
|
BusInvoice,
|
104
106
|
QuotaInvoice,
|
105
107
|
TaxiInvoiceOCRResponse,
|
@@ -183,6 +185,7 @@ import {
|
|
183
185
|
DetailInformationOfAirTicketTupleList,
|
184
186
|
TextVehicleFront,
|
185
187
|
AdvertiseTextDetection,
|
188
|
+
TextTable,
|
186
189
|
FinanBillSliceInfo,
|
187
190
|
RideHailingDriverLicenseOCRRequest,
|
188
191
|
ArithmeticOCRRequest,
|
@@ -236,7 +239,7 @@ import {
|
|
236
239
|
SealOCRRequest,
|
237
240
|
VerifyOfdVatInvoiceOCRResponse,
|
238
241
|
MedicalInvoice,
|
239
|
-
|
242
|
+
HmtResidentPermitOCRRequest,
|
240
243
|
RecognizeTableAccurateOCRResponse,
|
241
244
|
ResidenceBookletOCRRequest,
|
242
245
|
BusInvoiceOCRResponse,
|
@@ -1468,7 +1471,7 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1468
1471
|
}
|
1469
1472
|
|
1470
1473
|
/**
|
1471
|
-
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14
|
1474
|
+
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
1472
1475
|
|
1473
1476
|
默认接口请求频率限制:5次/秒。
|
1474
1477
|
|
@@ -1527,6 +1530,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
1527
1530
|
<td> VatElectronicInvoiceFull</td>
|
1528
1531
|
<td> 电子发票(普通发票) </td>
|
1529
1532
|
<td> 16 </td>
|
1533
|
+
</tr>
|
1534
|
+
<tr>
|
1535
|
+
<td> ElectronicFlightTicketFull</td>
|
1536
|
+
<td> 电子发票(机票行程单),该子类目前仅支持ofd发票</td>
|
1537
|
+
<td> 16 </td>
|
1538
|
+
</tr>
|
1539
|
+
<tr>
|
1540
|
+
<td> ElectronicTrainTicketFull</td>
|
1541
|
+
<td> 电子发票(铁路电子客票),该子类目前仅支持ofd发票</td>
|
1542
|
+
<td> 16 </td>
|
1530
1543
|
</tr>
|
1531
1544
|
<tr>
|
1532
1545
|
<td> MotorVehicleSaleInvoice </td>
|
@@ -946,6 +946,104 @@ export interface TextDetectionEn {
|
|
946
946
|
Words: Array<Words>
|
947
947
|
}
|
948
948
|
|
949
|
+
/**
|
950
|
+
* 电子发票(机票行程单)
|
951
|
+
*/
|
952
|
+
export interface ElectronicFlightTicketFull {
|
953
|
+
/**
|
954
|
+
* 旅客姓名
|
955
|
+
*/
|
956
|
+
UserName?: string
|
957
|
+
/**
|
958
|
+
* 有效身份证件号码
|
959
|
+
*/
|
960
|
+
UserID?: string
|
961
|
+
/**
|
962
|
+
* 签注
|
963
|
+
*/
|
964
|
+
Endorsement?: string
|
965
|
+
/**
|
966
|
+
* GP单号
|
967
|
+
*/
|
968
|
+
GPOrder?: string
|
969
|
+
/**
|
970
|
+
* 发票号码
|
971
|
+
*/
|
972
|
+
Number?: string
|
973
|
+
/**
|
974
|
+
* 票价
|
975
|
+
*/
|
976
|
+
Fare?: string
|
977
|
+
/**
|
978
|
+
* 燃油附加费
|
979
|
+
*/
|
980
|
+
FuelSurcharge?: string
|
981
|
+
/**
|
982
|
+
* 增值税税率
|
983
|
+
*/
|
984
|
+
TaxRate?: string
|
985
|
+
/**
|
986
|
+
* 增值税税额
|
987
|
+
*/
|
988
|
+
Tax?: string
|
989
|
+
/**
|
990
|
+
* 民航发展基金
|
991
|
+
*/
|
992
|
+
DevelopmentFund?: string
|
993
|
+
/**
|
994
|
+
* 其他税费
|
995
|
+
*/
|
996
|
+
OtherTax?: string
|
997
|
+
/**
|
998
|
+
* 合计
|
999
|
+
*/
|
1000
|
+
Total?: string
|
1001
|
+
/**
|
1002
|
+
* 电子客票号码
|
1003
|
+
*/
|
1004
|
+
ElectronicTicketNum?: string
|
1005
|
+
/**
|
1006
|
+
* 验证码
|
1007
|
+
*/
|
1008
|
+
VerificationCode?: string
|
1009
|
+
/**
|
1010
|
+
* 提示信息
|
1011
|
+
*/
|
1012
|
+
PromptInformation?: string
|
1013
|
+
/**
|
1014
|
+
* 保险费
|
1015
|
+
*/
|
1016
|
+
Insurance?: string
|
1017
|
+
/**
|
1018
|
+
* 填开单位
|
1019
|
+
*/
|
1020
|
+
Issuer?: string
|
1021
|
+
/**
|
1022
|
+
* 填开时间
|
1023
|
+
*/
|
1024
|
+
Date?: string
|
1025
|
+
/**
|
1026
|
+
* 国内国际标识
|
1027
|
+
*/
|
1028
|
+
DomesticInternationalTag?: string
|
1029
|
+
/**
|
1030
|
+
* 购买方名称
|
1031
|
+
*/
|
1032
|
+
Buyer?: string
|
1033
|
+
/**
|
1034
|
+
* 销售方名称
|
1035
|
+
*/
|
1036
|
+
Seller?: string
|
1037
|
+
/**
|
1038
|
+
* 统一社会信用代码
|
1039
|
+
*/
|
1040
|
+
BuyerTaxID?: string
|
1041
|
+
/**
|
1042
|
+
* 机票详细信息元组
|
1043
|
+
*/
|
1044
|
+
FlightItems?: Array<FlightItemInfo>
|
1045
|
+
}
|
1046
|
+
|
949
1047
|
/**
|
950
1048
|
* PermitOCR返回参数结构体
|
951
1049
|
*/
|
@@ -2029,6 +2127,48 @@ export interface OnlineTaxiItineraryInfo {
|
|
2029
2127
|
Row: number
|
2030
2128
|
}
|
2031
2129
|
|
2130
|
+
/**
|
2131
|
+
* 机票详细信息元组
|
2132
|
+
*/
|
2133
|
+
export interface FlightItemInfo {
|
2134
|
+
/**
|
2135
|
+
* 出发站
|
2136
|
+
*/
|
2137
|
+
TerminalGetOn?: string
|
2138
|
+
/**
|
2139
|
+
* 到达站
|
2140
|
+
*/
|
2141
|
+
TerminalGetOff?: string
|
2142
|
+
/**
|
2143
|
+
* 承运人
|
2144
|
+
*/
|
2145
|
+
Carrier?: string
|
2146
|
+
/**
|
2147
|
+
* 航班号
|
2148
|
+
*/
|
2149
|
+
FlightNumber?: string
|
2150
|
+
/**
|
2151
|
+
* 座位等级
|
2152
|
+
*/
|
2153
|
+
Seat?: string
|
2154
|
+
/**
|
2155
|
+
* 乘机日期
|
2156
|
+
*/
|
2157
|
+
DateGetOn?: string
|
2158
|
+
/**
|
2159
|
+
* 乘机时间
|
2160
|
+
*/
|
2161
|
+
TimeGetOn?: string
|
2162
|
+
/**
|
2163
|
+
* 客票级别/客票类别
|
2164
|
+
*/
|
2165
|
+
FareBasis?: string
|
2166
|
+
/**
|
2167
|
+
* 免费行李额
|
2168
|
+
*/
|
2169
|
+
Allow?: string
|
2170
|
+
}
|
2171
|
+
|
2032
2172
|
/**
|
2033
2173
|
* VehicleRegCertOCR请求参数结构体
|
2034
2174
|
*/
|
@@ -2602,30 +2742,89 @@ export interface GeneralAccurateOCRResponse {
|
|
2602
2742
|
}
|
2603
2743
|
|
2604
2744
|
/**
|
2605
|
-
*
|
2745
|
+
* 电子发票(火车票)
|
2606
2746
|
*/
|
2607
|
-
export interface
|
2747
|
+
export interface ElectronicTrainTicketFull {
|
2608
2748
|
/**
|
2609
|
-
*
|
2610
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
2611
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
2612
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
2749
|
+
* 电子发票类型
|
2613
2750
|
*/
|
2614
|
-
|
2751
|
+
TypeOfVoucher?: string
|
2615
2752
|
/**
|
2616
|
-
*
|
2617
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
2618
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
2619
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
2620
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
2753
|
+
* 电子客票号
|
2621
2754
|
*/
|
2622
|
-
|
2755
|
+
ElectronicTicketNum?: string
|
2623
2756
|
/**
|
2624
|
-
*
|
2625
|
-
BACK:无照片的一面(国徽面),
|
2626
|
-
该参数如果不填或填错,将为您自动判断正反面。
|
2757
|
+
* 开票日期
|
2627
2758
|
*/
|
2628
|
-
|
2759
|
+
Date?: string
|
2760
|
+
/**
|
2761
|
+
* 始发站
|
2762
|
+
*/
|
2763
|
+
StationGetOn?: string
|
2764
|
+
/**
|
2765
|
+
* 到达站
|
2766
|
+
*/
|
2767
|
+
StationGetOff?: string
|
2768
|
+
/**
|
2769
|
+
* 火车号
|
2770
|
+
*/
|
2771
|
+
TrainNumber?: string
|
2772
|
+
/**
|
2773
|
+
* 乘车日期
|
2774
|
+
*/
|
2775
|
+
DateGetOn?: string
|
2776
|
+
/**
|
2777
|
+
* 始发时间
|
2778
|
+
*/
|
2779
|
+
TimeGetOn?: string
|
2780
|
+
/**
|
2781
|
+
* 座位类型
|
2782
|
+
*/
|
2783
|
+
Seat?: string
|
2784
|
+
/**
|
2785
|
+
* 座位号
|
2786
|
+
*/
|
2787
|
+
SeatNumber?: string
|
2788
|
+
/**
|
2789
|
+
* 票价
|
2790
|
+
*/
|
2791
|
+
Fare?: string
|
2792
|
+
/**
|
2793
|
+
* 发票号码
|
2794
|
+
*/
|
2795
|
+
Number?: string
|
2796
|
+
/**
|
2797
|
+
* 身份证号
|
2798
|
+
*/
|
2799
|
+
UserID?: string
|
2800
|
+
/**
|
2801
|
+
* 乘车人姓名
|
2802
|
+
*/
|
2803
|
+
UserName?: string
|
2804
|
+
/**
|
2805
|
+
* 金额
|
2806
|
+
*/
|
2807
|
+
Total?: string
|
2808
|
+
/**
|
2809
|
+
* 税率
|
2810
|
+
*/
|
2811
|
+
TaxRate?: string
|
2812
|
+
/**
|
2813
|
+
* 税额
|
2814
|
+
*/
|
2815
|
+
Tax?: string
|
2816
|
+
/**
|
2817
|
+
* 购买方名称
|
2818
|
+
*/
|
2819
|
+
Buyer?: string
|
2820
|
+
/**
|
2821
|
+
* 统一社会信用代码
|
2822
|
+
*/
|
2823
|
+
BuyerTaxID?: string
|
2824
|
+
/**
|
2825
|
+
* 原发票号码
|
2826
|
+
*/
|
2827
|
+
OriginalNumber?: string
|
2629
2828
|
}
|
2630
2829
|
|
2631
2830
|
/**
|
@@ -3657,6 +3856,16 @@ export interface SingleInvoiceItem {
|
|
3657
3856
|
注意:此字段可能返回 null,表示取不到有效值。
|
3658
3857
|
*/
|
3659
3858
|
VatSalesList?: VatInvoiceInfo
|
3859
|
+
/**
|
3860
|
+
* 电子发票(火车票)
|
3861
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3862
|
+
*/
|
3863
|
+
ElectronicTrainTicketFull?: ElectronicTrainTicketFull
|
3864
|
+
/**
|
3865
|
+
* 电子发票(机票行程单)
|
3866
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3867
|
+
*/
|
3868
|
+
ElectronicFlightTicketFull?: ElectronicFlightTicketFull
|
3660
3869
|
}
|
3661
3870
|
|
3662
3871
|
/**
|
@@ -5963,6 +6172,48 @@ GeneralBasicOcr接口返回段落信息Parag,包含ParagNo。
|
|
5963
6172
|
AdvancedInfo: string
|
5964
6173
|
}
|
5965
6174
|
|
6175
|
+
/**
|
6176
|
+
* 表格识别结果
|
6177
|
+
*/
|
6178
|
+
export interface TextTable {
|
6179
|
+
/**
|
6180
|
+
* 单元格左上角的列索引
|
6181
|
+
*/
|
6182
|
+
ColTl: number
|
6183
|
+
/**
|
6184
|
+
* 单元格左上角的行索引
|
6185
|
+
*/
|
6186
|
+
RowTl: number
|
6187
|
+
/**
|
6188
|
+
* 单元格右下角的列索引
|
6189
|
+
*/
|
6190
|
+
ColBr: number
|
6191
|
+
/**
|
6192
|
+
* 单元格右下角的行索引
|
6193
|
+
*/
|
6194
|
+
RowBr: number
|
6195
|
+
/**
|
6196
|
+
* 单元格文字
|
6197
|
+
*/
|
6198
|
+
Text: string
|
6199
|
+
/**
|
6200
|
+
* 单元格类型,包含body(表格主体)、header(表头)、footer(表尾)三种
|
6201
|
+
*/
|
6202
|
+
Type: string
|
6203
|
+
/**
|
6204
|
+
* 置信度 0 ~100
|
6205
|
+
*/
|
6206
|
+
Confidence: number
|
6207
|
+
/**
|
6208
|
+
* 文本行坐标,以四个顶点坐标表示
|
6209
|
+
*/
|
6210
|
+
Polygon: Array<Coord>
|
6211
|
+
/**
|
6212
|
+
* 此字段为扩展字段
|
6213
|
+
*/
|
6214
|
+
AdvancedInfo: string
|
6215
|
+
}
|
6216
|
+
|
5966
6217
|
/**
|
5967
6218
|
* 金融票据切片识别单个字段的内容
|
5968
6219
|
*/
|
@@ -7722,45 +7973,30 @@ export interface MedicalInvoice {
|
|
7722
7973
|
}
|
7723
7974
|
|
7724
7975
|
/**
|
7725
|
-
*
|
7976
|
+
* HmtResidentPermitOCR请求参数结构体
|
7726
7977
|
*/
|
7727
|
-
export interface
|
7728
|
-
/**
|
7729
|
-
* 单元格左上角的列索引
|
7730
|
-
*/
|
7731
|
-
ColTl: number
|
7732
|
-
/**
|
7733
|
-
* 单元格左上角的行索引
|
7734
|
-
*/
|
7735
|
-
RowTl: number
|
7736
|
-
/**
|
7737
|
-
* 单元格右下角的列索引
|
7738
|
-
*/
|
7739
|
-
ColBr: number
|
7740
|
-
/**
|
7741
|
-
* 单元格右下角的行索引
|
7742
|
-
*/
|
7743
|
-
RowBr: number
|
7744
|
-
/**
|
7745
|
-
* 单元格文字
|
7746
|
-
*/
|
7747
|
-
Text: string
|
7748
|
-
/**
|
7749
|
-
* 单元格类型,包含body(表格主体)、header(表头)、footer(表尾)三种
|
7750
|
-
*/
|
7751
|
-
Type: string
|
7978
|
+
export interface HmtResidentPermitOCRRequest {
|
7752
7979
|
/**
|
7753
|
-
*
|
7980
|
+
* 图片的 Base64 值。
|
7981
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7982
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
7983
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7754
7984
|
*/
|
7755
|
-
|
7985
|
+
ImageBase64?: string
|
7756
7986
|
/**
|
7757
|
-
*
|
7987
|
+
* 图片的 Url 地址。
|
7988
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7989
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
7990
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
7991
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7758
7992
|
*/
|
7759
|
-
|
7993
|
+
ImageUrl?: string
|
7760
7994
|
/**
|
7761
|
-
*
|
7995
|
+
* FRONT:有照片的一面(人像面),
|
7996
|
+
BACK:无照片的一面(国徽面),
|
7997
|
+
该参数如果不填或填错,将为您自动判断正反面。
|
7762
7998
|
*/
|
7763
|
-
|
7999
|
+
CardSide?: string
|
7764
8000
|
}
|
7765
8001
|
|
7766
8002
|
/**
|
@@ -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,
|
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, IDCardOCRResponse, 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
|
@@ -704,7 +704,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
704
704
|
*/
|
705
705
|
RecognizePhilippinesTinIDOCR(req: RecognizePhilippinesTinIDOCRRequest, cb?: (error: string, rep: RecognizePhilippinesTinIDOCRResponse) => void): Promise<RecognizePhilippinesTinIDOCRResponse>;
|
706
706
|
/**
|
707
|
-
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14
|
707
|
+
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
708
708
|
|
709
709
|
默认接口请求频率限制:5次/秒。
|
710
710
|
|
@@ -763,6 +763,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
763
763
|
<td> VatElectronicInvoiceFull</td>
|
764
764
|
<td> 电子发票(普通发票) </td>
|
765
765
|
<td> 16 </td>
|
766
|
+
</tr>
|
767
|
+
<tr>
|
768
|
+
<td> ElectronicFlightTicketFull</td>
|
769
|
+
<td> 电子发票(机票行程单),该子类目前仅支持ofd发票</td>
|
770
|
+
<td> 16 </td>
|
771
|
+
</tr>
|
772
|
+
<tr>
|
773
|
+
<td> ElectronicTrainTicketFull</td>
|
774
|
+
<td> 电子发票(铁路电子客票),该子类目前仅支持ofd发票</td>
|
775
|
+
<td> 16 </td>
|
766
776
|
</tr>
|
767
777
|
<tr>
|
768
778
|
<td> MotorVehicleSaleInvoice </td>
|
@@ -883,7 +883,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
883
883
|
return this.request("RecognizePhilippinesTinIDOCR", req, cb);
|
884
884
|
}
|
885
885
|
/**
|
886
|
-
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14
|
886
|
+
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
887
887
|
|
888
888
|
默认接口请求频率限制:5次/秒。
|
889
889
|
|
@@ -942,6 +942,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
942
942
|
<td> VatElectronicInvoiceFull</td>
|
943
943
|
<td> 电子发票(普通发票) </td>
|
944
944
|
<td> 16 </td>
|
945
|
+
</tr>
|
946
|
+
<tr>
|
947
|
+
<td> ElectronicFlightTicketFull</td>
|
948
|
+
<td> 电子发票(机票行程单),该子类目前仅支持ofd发票</td>
|
949
|
+
<td> 16 </td>
|
950
|
+
</tr>
|
951
|
+
<tr>
|
952
|
+
<td> ElectronicTrainTicketFull</td>
|
953
|
+
<td> 电子发票(铁路电子客票),该子类目前仅支持ofd发票</td>
|
954
|
+
<td> 16 </td>
|
945
955
|
</tr>
|
946
956
|
<tr>
|
947
957
|
<td> MotorVehicleSaleInvoice </td>
|
@@ -901,6 +901,103 @@ export interface TextDetectionEn {
|
|
901
901
|
*/
|
902
902
|
Words: Array<Words>;
|
903
903
|
}
|
904
|
+
/**
|
905
|
+
* 电子发票(机票行程单)
|
906
|
+
*/
|
907
|
+
export interface ElectronicFlightTicketFull {
|
908
|
+
/**
|
909
|
+
* 旅客姓名
|
910
|
+
*/
|
911
|
+
UserName?: string;
|
912
|
+
/**
|
913
|
+
* 有效身份证件号码
|
914
|
+
*/
|
915
|
+
UserID?: string;
|
916
|
+
/**
|
917
|
+
* 签注
|
918
|
+
*/
|
919
|
+
Endorsement?: string;
|
920
|
+
/**
|
921
|
+
* GP单号
|
922
|
+
*/
|
923
|
+
GPOrder?: string;
|
924
|
+
/**
|
925
|
+
* 发票号码
|
926
|
+
*/
|
927
|
+
Number?: string;
|
928
|
+
/**
|
929
|
+
* 票价
|
930
|
+
*/
|
931
|
+
Fare?: string;
|
932
|
+
/**
|
933
|
+
* 燃油附加费
|
934
|
+
*/
|
935
|
+
FuelSurcharge?: string;
|
936
|
+
/**
|
937
|
+
* 增值税税率
|
938
|
+
*/
|
939
|
+
TaxRate?: string;
|
940
|
+
/**
|
941
|
+
* 增值税税额
|
942
|
+
*/
|
943
|
+
Tax?: string;
|
944
|
+
/**
|
945
|
+
* 民航发展基金
|
946
|
+
*/
|
947
|
+
DevelopmentFund?: string;
|
948
|
+
/**
|
949
|
+
* 其他税费
|
950
|
+
*/
|
951
|
+
OtherTax?: string;
|
952
|
+
/**
|
953
|
+
* 合计
|
954
|
+
*/
|
955
|
+
Total?: string;
|
956
|
+
/**
|
957
|
+
* 电子客票号码
|
958
|
+
*/
|
959
|
+
ElectronicTicketNum?: string;
|
960
|
+
/**
|
961
|
+
* 验证码
|
962
|
+
*/
|
963
|
+
VerificationCode?: string;
|
964
|
+
/**
|
965
|
+
* 提示信息
|
966
|
+
*/
|
967
|
+
PromptInformation?: string;
|
968
|
+
/**
|
969
|
+
* 保险费
|
970
|
+
*/
|
971
|
+
Insurance?: string;
|
972
|
+
/**
|
973
|
+
* 填开单位
|
974
|
+
*/
|
975
|
+
Issuer?: string;
|
976
|
+
/**
|
977
|
+
* 填开时间
|
978
|
+
*/
|
979
|
+
Date?: string;
|
980
|
+
/**
|
981
|
+
* 国内国际标识
|
982
|
+
*/
|
983
|
+
DomesticInternationalTag?: string;
|
984
|
+
/**
|
985
|
+
* 购买方名称
|
986
|
+
*/
|
987
|
+
Buyer?: string;
|
988
|
+
/**
|
989
|
+
* 销售方名称
|
990
|
+
*/
|
991
|
+
Seller?: string;
|
992
|
+
/**
|
993
|
+
* 统一社会信用代码
|
994
|
+
*/
|
995
|
+
BuyerTaxID?: string;
|
996
|
+
/**
|
997
|
+
* 机票详细信息元组
|
998
|
+
*/
|
999
|
+
FlightItems?: Array<FlightItemInfo>;
|
1000
|
+
}
|
904
1001
|
/**
|
905
1002
|
* PermitOCR返回参数结构体
|
906
1003
|
*/
|
@@ -1949,6 +2046,47 @@ export interface OnlineTaxiItineraryInfo {
|
|
1949
2046
|
*/
|
1950
2047
|
Row: number;
|
1951
2048
|
}
|
2049
|
+
/**
|
2050
|
+
* 机票详细信息元组
|
2051
|
+
*/
|
2052
|
+
export interface FlightItemInfo {
|
2053
|
+
/**
|
2054
|
+
* 出发站
|
2055
|
+
*/
|
2056
|
+
TerminalGetOn?: string;
|
2057
|
+
/**
|
2058
|
+
* 到达站
|
2059
|
+
*/
|
2060
|
+
TerminalGetOff?: string;
|
2061
|
+
/**
|
2062
|
+
* 承运人
|
2063
|
+
*/
|
2064
|
+
Carrier?: string;
|
2065
|
+
/**
|
2066
|
+
* 航班号
|
2067
|
+
*/
|
2068
|
+
FlightNumber?: string;
|
2069
|
+
/**
|
2070
|
+
* 座位等级
|
2071
|
+
*/
|
2072
|
+
Seat?: string;
|
2073
|
+
/**
|
2074
|
+
* 乘机日期
|
2075
|
+
*/
|
2076
|
+
DateGetOn?: string;
|
2077
|
+
/**
|
2078
|
+
* 乘机时间
|
2079
|
+
*/
|
2080
|
+
TimeGetOn?: string;
|
2081
|
+
/**
|
2082
|
+
* 客票级别/客票类别
|
2083
|
+
*/
|
2084
|
+
FareBasis?: string;
|
2085
|
+
/**
|
2086
|
+
* 免费行李额
|
2087
|
+
*/
|
2088
|
+
Allow?: string;
|
2089
|
+
}
|
1952
2090
|
/**
|
1953
2091
|
* VehicleRegCertOCR请求参数结构体
|
1954
2092
|
*/
|
@@ -2503,30 +2641,89 @@ export interface GeneralAccurateOCRResponse {
|
|
2503
2641
|
RequestId?: string;
|
2504
2642
|
}
|
2505
2643
|
/**
|
2506
|
-
*
|
2644
|
+
* 电子发票(火车票)
|
2507
2645
|
*/
|
2508
|
-
export interface
|
2646
|
+
export interface ElectronicTrainTicketFull {
|
2509
2647
|
/**
|
2510
|
-
*
|
2511
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
2512
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
2513
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
2648
|
+
* 电子发票类型
|
2514
2649
|
*/
|
2515
|
-
|
2650
|
+
TypeOfVoucher?: string;
|
2516
2651
|
/**
|
2517
|
-
*
|
2518
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
2519
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
2520
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
2521
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
2652
|
+
* 电子客票号
|
2522
2653
|
*/
|
2523
|
-
|
2654
|
+
ElectronicTicketNum?: string;
|
2524
2655
|
/**
|
2525
|
-
*
|
2526
|
-
BACK:无照片的一面(国徽面),
|
2527
|
-
该参数如果不填或填错,将为您自动判断正反面。
|
2656
|
+
* 开票日期
|
2528
2657
|
*/
|
2529
|
-
|
2658
|
+
Date?: string;
|
2659
|
+
/**
|
2660
|
+
* 始发站
|
2661
|
+
*/
|
2662
|
+
StationGetOn?: string;
|
2663
|
+
/**
|
2664
|
+
* 到达站
|
2665
|
+
*/
|
2666
|
+
StationGetOff?: string;
|
2667
|
+
/**
|
2668
|
+
* 火车号
|
2669
|
+
*/
|
2670
|
+
TrainNumber?: string;
|
2671
|
+
/**
|
2672
|
+
* 乘车日期
|
2673
|
+
*/
|
2674
|
+
DateGetOn?: string;
|
2675
|
+
/**
|
2676
|
+
* 始发时间
|
2677
|
+
*/
|
2678
|
+
TimeGetOn?: string;
|
2679
|
+
/**
|
2680
|
+
* 座位类型
|
2681
|
+
*/
|
2682
|
+
Seat?: string;
|
2683
|
+
/**
|
2684
|
+
* 座位号
|
2685
|
+
*/
|
2686
|
+
SeatNumber?: string;
|
2687
|
+
/**
|
2688
|
+
* 票价
|
2689
|
+
*/
|
2690
|
+
Fare?: string;
|
2691
|
+
/**
|
2692
|
+
* 发票号码
|
2693
|
+
*/
|
2694
|
+
Number?: string;
|
2695
|
+
/**
|
2696
|
+
* 身份证号
|
2697
|
+
*/
|
2698
|
+
UserID?: string;
|
2699
|
+
/**
|
2700
|
+
* 乘车人姓名
|
2701
|
+
*/
|
2702
|
+
UserName?: string;
|
2703
|
+
/**
|
2704
|
+
* 金额
|
2705
|
+
*/
|
2706
|
+
Total?: string;
|
2707
|
+
/**
|
2708
|
+
* 税率
|
2709
|
+
*/
|
2710
|
+
TaxRate?: string;
|
2711
|
+
/**
|
2712
|
+
* 税额
|
2713
|
+
*/
|
2714
|
+
Tax?: string;
|
2715
|
+
/**
|
2716
|
+
* 购买方名称
|
2717
|
+
*/
|
2718
|
+
Buyer?: string;
|
2719
|
+
/**
|
2720
|
+
* 统一社会信用代码
|
2721
|
+
*/
|
2722
|
+
BuyerTaxID?: string;
|
2723
|
+
/**
|
2724
|
+
* 原发票号码
|
2725
|
+
*/
|
2726
|
+
OriginalNumber?: string;
|
2530
2727
|
}
|
2531
2728
|
/**
|
2532
2729
|
* 汽车票
|
@@ -3531,6 +3728,16 @@ export interface SingleInvoiceItem {
|
|
3531
3728
|
注意:此字段可能返回 null,表示取不到有效值。
|
3532
3729
|
*/
|
3533
3730
|
VatSalesList?: VatInvoiceInfo;
|
3731
|
+
/**
|
3732
|
+
* 电子发票(火车票)
|
3733
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3734
|
+
*/
|
3735
|
+
ElectronicTrainTicketFull?: ElectronicTrainTicketFull;
|
3736
|
+
/**
|
3737
|
+
* 电子发票(机票行程单)
|
3738
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3739
|
+
*/
|
3740
|
+
ElectronicFlightTicketFull?: ElectronicFlightTicketFull;
|
3534
3741
|
}
|
3535
3742
|
/**
|
3536
3743
|
* InvoiceGeneralOCR返回参数结构体
|
@@ -5780,6 +5987,47 @@ export interface AdvertiseTextDetection {
|
|
5780
5987
|
*/
|
5781
5988
|
AdvancedInfo: string;
|
5782
5989
|
}
|
5990
|
+
/**
|
5991
|
+
* 表格识别结果
|
5992
|
+
*/
|
5993
|
+
export interface TextTable {
|
5994
|
+
/**
|
5995
|
+
* 单元格左上角的列索引
|
5996
|
+
*/
|
5997
|
+
ColTl: number;
|
5998
|
+
/**
|
5999
|
+
* 单元格左上角的行索引
|
6000
|
+
*/
|
6001
|
+
RowTl: number;
|
6002
|
+
/**
|
6003
|
+
* 单元格右下角的列索引
|
6004
|
+
*/
|
6005
|
+
ColBr: number;
|
6006
|
+
/**
|
6007
|
+
* 单元格右下角的行索引
|
6008
|
+
*/
|
6009
|
+
RowBr: number;
|
6010
|
+
/**
|
6011
|
+
* 单元格文字
|
6012
|
+
*/
|
6013
|
+
Text: string;
|
6014
|
+
/**
|
6015
|
+
* 单元格类型,包含body(表格主体)、header(表头)、footer(表尾)三种
|
6016
|
+
*/
|
6017
|
+
Type: string;
|
6018
|
+
/**
|
6019
|
+
* 置信度 0 ~100
|
6020
|
+
*/
|
6021
|
+
Confidence: number;
|
6022
|
+
/**
|
6023
|
+
* 文本行坐标,以四个顶点坐标表示
|
6024
|
+
*/
|
6025
|
+
Polygon: Array<Coord>;
|
6026
|
+
/**
|
6027
|
+
* 此字段为扩展字段
|
6028
|
+
*/
|
6029
|
+
AdvancedInfo: string;
|
6030
|
+
}
|
5783
6031
|
/**
|
5784
6032
|
* 金融票据切片识别单个字段的内容
|
5785
6033
|
*/
|
@@ -7486,45 +7734,30 @@ export interface MedicalInvoice {
|
|
7486
7734
|
Reviewer?: string;
|
7487
7735
|
}
|
7488
7736
|
/**
|
7489
|
-
*
|
7737
|
+
* HmtResidentPermitOCR请求参数结构体
|
7490
7738
|
*/
|
7491
|
-
export interface
|
7492
|
-
/**
|
7493
|
-
* 单元格左上角的列索引
|
7494
|
-
*/
|
7495
|
-
ColTl: number;
|
7496
|
-
/**
|
7497
|
-
* 单元格左上角的行索引
|
7498
|
-
*/
|
7499
|
-
RowTl: number;
|
7500
|
-
/**
|
7501
|
-
* 单元格右下角的列索引
|
7502
|
-
*/
|
7503
|
-
ColBr: number;
|
7504
|
-
/**
|
7505
|
-
* 单元格右下角的行索引
|
7506
|
-
*/
|
7507
|
-
RowBr: number;
|
7508
|
-
/**
|
7509
|
-
* 单元格文字
|
7510
|
-
*/
|
7511
|
-
Text: string;
|
7512
|
-
/**
|
7513
|
-
* 单元格类型,包含body(表格主体)、header(表头)、footer(表尾)三种
|
7514
|
-
*/
|
7515
|
-
Type: string;
|
7739
|
+
export interface HmtResidentPermitOCRRequest {
|
7516
7740
|
/**
|
7517
|
-
*
|
7741
|
+
* 图片的 Base64 值。
|
7742
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7743
|
+
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
7744
|
+
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
7518
7745
|
*/
|
7519
|
-
|
7746
|
+
ImageBase64?: string;
|
7520
7747
|
/**
|
7521
|
-
*
|
7748
|
+
* 图片的 Url 地址。
|
7749
|
+
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
7750
|
+
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
7751
|
+
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
7752
|
+
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
7522
7753
|
*/
|
7523
|
-
|
7754
|
+
ImageUrl?: string;
|
7524
7755
|
/**
|
7525
|
-
*
|
7756
|
+
* FRONT:有照片的一面(人像面),
|
7757
|
+
BACK:无照片的一面(国徽面),
|
7758
|
+
该参数如果不填或填错,将为您自动判断正反面。
|
7526
7759
|
*/
|
7527
|
-
|
7760
|
+
CardSide?: string;
|
7528
7761
|
}
|
7529
7762
|
/**
|
7530
7763
|
* RecognizeTableAccurateOCR返回参数结构体
|