tencentcloud-sdk-nodejs-ocr 4.0.548 → 4.0.550
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +463 -0
- package/SERVICE_CHANGELOG.md +676 -123
- package/package.json +1 -1
- package/products.md +33 -33
- package/src/services/ocr/v20181119/ocr_client.ts +48 -23
- package/src/services/ocr/v20181119/ocr_models.ts +69 -59
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +48 -23
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +48 -23
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +67 -59
@@ -121,8 +121,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
121
121
|
return this.request("IDCardOCR", req, cb);
|
122
122
|
}
|
123
123
|
/**
|
124
|
-
|
125
|
-
|
124
|
+
* 本接口支持对过路过桥费发票的发票代码、发票号码、日期、小写金额等关键字段的识别。
|
125
|
+
|
126
|
+
默认接口请求频率限制:5次/秒。
|
127
|
+
*/
|
126
128
|
async TollInvoiceOCR(req, cb) {
|
127
129
|
return this.request("TollInvoiceOCR", req, cb);
|
128
130
|
}
|
@@ -135,8 +137,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
135
137
|
return this.request("MLIDCardOCR", req, cb);
|
136
138
|
}
|
137
139
|
/**
|
138
|
-
|
139
|
-
|
140
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
|
141
|
+
|
142
|
+
默认接口请求频率限制:20次/秒。
|
143
|
+
*/
|
140
144
|
async VatInvoiceVerifyNew(req, cb) {
|
141
145
|
return this.request("VatInvoiceVerifyNew", req, cb);
|
142
146
|
}
|
@@ -215,8 +219,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
215
219
|
return this.request("GeneralAccurateOCR", req, cb);
|
216
220
|
}
|
217
221
|
/**
|
218
|
-
|
219
|
-
|
222
|
+
* 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
|
223
|
+
|
224
|
+
默认接口请求频率限制:5次/秒。
|
225
|
+
*/
|
220
226
|
async FlightInvoiceOCR(req, cb) {
|
221
227
|
return this.request("FlightInvoiceOCR", req, cb);
|
222
228
|
}
|
@@ -240,8 +246,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
240
246
|
return this.request("MixedInvoiceDetect", req, cb);
|
241
247
|
}
|
242
248
|
/**
|
243
|
-
|
244
|
-
|
249
|
+
* 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
|
250
|
+
|
251
|
+
默认接口请求频率限制:5次/秒。
|
252
|
+
*/
|
245
253
|
async ShipInvoiceOCR(req, cb) {
|
246
254
|
return this.request("ShipInvoiceOCR", req, cb);
|
247
255
|
}
|
@@ -255,14 +263,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
255
263
|
return this.request("MLIDPassportOCR", req, cb);
|
256
264
|
}
|
257
265
|
/**
|
258
|
-
|
259
|
-
|
266
|
+
* 本接口支持对增值税发票(卷票)的发票代码、发票号码、日期、校验码、合计金额(小写)等关键字段的识别。
|
267
|
+
|
268
|
+
默认接口请求频率限制:5次/秒。
|
269
|
+
*/
|
260
270
|
async VatRollInvoiceOCR(req, cb) {
|
261
271
|
return this.request("VatRollInvoiceOCR", req, cb);
|
262
272
|
}
|
263
273
|
/**
|
264
|
-
|
265
|
-
|
274
|
+
* 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
275
|
+
|
276
|
+
默认接口请求频率限制:5次/秒。
|
277
|
+
*/
|
266
278
|
async QuotaInvoiceOCR(req, cb) {
|
267
279
|
return this.request("QuotaInvoiceOCR", req, cb);
|
268
280
|
}
|
@@ -312,20 +324,26 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
312
324
|
return this.request("WaybillOCR", req, cb);
|
313
325
|
}
|
314
326
|
/**
|
315
|
-
|
316
|
-
|
327
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
328
|
+
|
329
|
+
默认接口请求频率限制:20次/秒。
|
330
|
+
*/
|
317
331
|
async VatInvoiceVerify(req, cb) {
|
318
332
|
return this.request("VatInvoiceVerify", req, cb);
|
319
333
|
}
|
320
334
|
/**
|
321
|
-
|
322
|
-
|
335
|
+
* 本接口支持出租车发票关键字段的识别,包括发票号码、发票代码、金额、日期、上下车时间、里程、车牌号、发票类型及所属地区等字段。
|
336
|
+
|
337
|
+
默认接口请求频率限制:5次/秒。
|
338
|
+
*/
|
323
339
|
async TaxiInvoiceOCR(req, cb) {
|
324
340
|
return this.request("TaxiInvoiceOCR", req, cb);
|
325
341
|
}
|
326
342
|
/**
|
327
|
-
|
328
|
-
|
343
|
+
* 本接口支持对通用机打发票的发票代码、发票号码、日期、购买方识别号、销售方识别号、校验码、小写金额等关键字段的识别。
|
344
|
+
|
345
|
+
默认接口请求频率限制:5次/秒。
|
346
|
+
*/
|
329
347
|
async InvoiceGeneralOCR(req, cb) {
|
330
348
|
return this.request("InvoiceGeneralOCR", req, cb);
|
331
349
|
}
|
@@ -364,8 +382,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
364
382
|
return this.request("CreateAIFormTask", req, cb);
|
365
383
|
}
|
366
384
|
/**
|
367
|
-
|
368
|
-
|
385
|
+
* 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
|
386
|
+
|
387
|
+
默认接口请求频率限制:5次/秒。
|
388
|
+
*/
|
369
389
|
async DutyPaidProofOCR(req, cb) {
|
370
390
|
return this.request("DutyPaidProofOCR", req, cb);
|
371
391
|
}
|
@@ -468,14 +488,17 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
468
488
|
return this.request("VerifyEnterpriseFourFactors", req, cb);
|
469
489
|
}
|
470
490
|
/**
|
471
|
-
|
472
|
-
|
491
|
+
* 本接口支持识别公路汽车客票的发票代码、发票号码、日期、姓名、票价等字段。
|
492
|
+
|
493
|
+
默认接口请求频率限制:5次/秒。
|
494
|
+
*/
|
473
495
|
async BusInvoiceOCR(req, cb) {
|
474
496
|
return this.request("BusInvoiceOCR", req, cb);
|
475
497
|
}
|
476
498
|
/**
|
477
499
|
* 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
478
500
|
|
501
|
+
默认接口请求频率限制:5次/秒。
|
479
502
|
*/
|
480
503
|
async RecognizeMedicalInvoiceOCR(req, cb) {
|
481
504
|
return this.request("RecognizeMedicalInvoiceOCR", req, cb);
|
@@ -565,13 +588,15 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
565
588
|
/**
|
566
589
|
* 本接口支持火车票全字段的识别,包括编号、票价、姓名、座位号、出发时间、出发站、到达站、车次、席别、发票类型及序列号等。
|
567
590
|
|
591
|
+
默认接口请求频率限制:5次/秒。
|
568
592
|
*/
|
569
593
|
async TrainTicketOCR(req, cb) {
|
570
594
|
return this.request("TrainTicketOCR", req, cb);
|
571
595
|
}
|
572
596
|
/**
|
573
597
|
* 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
|
574
|
-
|
598
|
+
|
599
|
+
默认接口请求频率限制:10次/秒。
|
575
600
|
*/
|
576
601
|
async BankSlipOCR(req, cb) {
|
577
602
|
return this.request("BankSlipOCR", req, cb);
|
@@ -233,6 +233,10 @@ export interface MixedInvoiceItem {
|
|
233
233
|
* 识别到的内容。
|
234
234
|
*/
|
235
235
|
SingleInvoiceInfos: Array<SingleInvoiceInfo>;
|
236
|
+
/**
|
237
|
+
* 发票处于识别图片或PDF文件中的页教,默认从1开始。
|
238
|
+
*/
|
239
|
+
Page?: number;
|
236
240
|
}
|
237
241
|
/**
|
238
242
|
* RecognizeTravelCardOCR请求参数结构体
|
@@ -424,11 +428,11 @@ export interface TollInvoiceOCRResponse {
|
|
424
428
|
/**
|
425
429
|
* 过路过桥费发票识别结果,具体内容请点击左侧链接。
|
426
430
|
*/
|
427
|
-
TollInvoiceInfos
|
431
|
+
TollInvoiceInfos?: Array<TollInvoiceInfo>;
|
428
432
|
/**
|
429
433
|
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
430
434
|
*/
|
431
|
-
Angle
|
435
|
+
Angle?: number;
|
432
436
|
/**
|
433
437
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
434
438
|
*/
|
@@ -1711,83 +1715,83 @@ export interface TrainTicketOCRResponse {
|
|
1711
1715
|
/**
|
1712
1716
|
* 编号
|
1713
1717
|
*/
|
1714
|
-
TicketNum
|
1718
|
+
TicketNum?: string;
|
1715
1719
|
/**
|
1716
1720
|
* 出发站
|
1717
1721
|
*/
|
1718
|
-
StartStation
|
1722
|
+
StartStation?: string;
|
1719
1723
|
/**
|
1720
1724
|
* 到达站
|
1721
1725
|
*/
|
1722
|
-
DestinationStation
|
1726
|
+
DestinationStation?: string;
|
1723
1727
|
/**
|
1724
1728
|
* 出发时间
|
1725
1729
|
*/
|
1726
|
-
Date
|
1730
|
+
Date?: string;
|
1727
1731
|
/**
|
1728
1732
|
* 车次
|
1729
1733
|
*/
|
1730
|
-
TrainNum
|
1734
|
+
TrainNum?: string;
|
1731
1735
|
/**
|
1732
1736
|
* 座位号
|
1733
1737
|
*/
|
1734
|
-
Seat
|
1738
|
+
Seat?: string;
|
1735
1739
|
/**
|
1736
1740
|
* 姓名
|
1737
1741
|
*/
|
1738
|
-
Name
|
1742
|
+
Name?: string;
|
1739
1743
|
/**
|
1740
1744
|
* 票价
|
1741
1745
|
*/
|
1742
|
-
Price
|
1746
|
+
Price?: string;
|
1743
1747
|
/**
|
1744
1748
|
* 席别
|
1745
1749
|
*/
|
1746
|
-
SeatCategory
|
1750
|
+
SeatCategory?: string;
|
1747
1751
|
/**
|
1748
1752
|
* 身份证号
|
1749
1753
|
*/
|
1750
|
-
ID
|
1754
|
+
ID?: string;
|
1751
1755
|
/**
|
1752
1756
|
* 发票消费类型:交通
|
1753
1757
|
*/
|
1754
|
-
InvoiceType
|
1758
|
+
InvoiceType?: string;
|
1755
1759
|
/**
|
1756
1760
|
* 序列号
|
1757
1761
|
*/
|
1758
|
-
SerialNumber
|
1762
|
+
SerialNumber?: string;
|
1759
1763
|
/**
|
1760
1764
|
* 加收票价
|
1761
1765
|
*/
|
1762
|
-
AdditionalCost
|
1766
|
+
AdditionalCost?: string;
|
1763
1767
|
/**
|
1764
1768
|
* 手续费
|
1765
1769
|
*/
|
1766
|
-
HandlingFee
|
1770
|
+
HandlingFee?: string;
|
1767
1771
|
/**
|
1768
1772
|
* 大写金额(票面有大写金额该字段才有值)
|
1769
1773
|
*/
|
1770
|
-
LegalAmount
|
1774
|
+
LegalAmount?: string;
|
1771
1775
|
/**
|
1772
1776
|
* 售票站
|
1773
1777
|
*/
|
1774
|
-
TicketStation
|
1778
|
+
TicketStation?: string;
|
1775
1779
|
/**
|
1776
1780
|
* 原票价(一般有手续费的才有原始票价字段)
|
1777
1781
|
*/
|
1778
|
-
OriginalPrice
|
1782
|
+
OriginalPrice?: string;
|
1779
1783
|
/**
|
1780
1784
|
* 发票类型:火车票、火车票补票、火车票退票凭证
|
1781
1785
|
*/
|
1782
|
-
InvoiceStyle
|
1786
|
+
InvoiceStyle?: string;
|
1783
1787
|
/**
|
1784
1788
|
* 收据号码
|
1785
1789
|
*/
|
1786
|
-
ReceiptNumber
|
1790
|
+
ReceiptNumber?: string;
|
1787
1791
|
/**
|
1788
1792
|
* 仅供报销使用:1为是,0为否
|
1789
1793
|
*/
|
1790
|
-
IsReceipt
|
1794
|
+
IsReceipt?: string;
|
1791
1795
|
/**
|
1792
1796
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1793
1797
|
*/
|
@@ -2137,53 +2141,53 @@ export interface TaxiInvoiceOCRResponse {
|
|
2137
2141
|
/**
|
2138
2142
|
* 发票代码
|
2139
2143
|
*/
|
2140
|
-
InvoiceNum
|
2144
|
+
InvoiceNum?: string;
|
2141
2145
|
/**
|
2142
2146
|
* 发票号码
|
2143
2147
|
*/
|
2144
|
-
InvoiceCode
|
2148
|
+
InvoiceCode?: string;
|
2145
2149
|
/**
|
2146
2150
|
* 日期
|
2147
2151
|
*/
|
2148
|
-
Date
|
2152
|
+
Date?: string;
|
2149
2153
|
/**
|
2150
2154
|
* 金额
|
2151
2155
|
*/
|
2152
|
-
Fare
|
2156
|
+
Fare?: string;
|
2153
2157
|
/**
|
2154
2158
|
* 上车时间
|
2155
2159
|
*/
|
2156
|
-
GetOnTime
|
2160
|
+
GetOnTime?: string;
|
2157
2161
|
/**
|
2158
2162
|
* 下车时间
|
2159
2163
|
*/
|
2160
|
-
GetOffTime
|
2164
|
+
GetOffTime?: string;
|
2161
2165
|
/**
|
2162
2166
|
* 里程
|
2163
2167
|
*/
|
2164
|
-
Distance
|
2168
|
+
Distance?: string;
|
2165
2169
|
/**
|
2166
2170
|
* 发票所在地
|
2167
2171
|
*/
|
2168
|
-
Location
|
2172
|
+
Location?: string;
|
2169
2173
|
/**
|
2170
2174
|
* 车牌号
|
2171
2175
|
*/
|
2172
|
-
PlateNumber
|
2176
|
+
PlateNumber?: string;
|
2173
2177
|
/**
|
2174
2178
|
* 发票消费类型
|
2175
2179
|
*/
|
2176
|
-
InvoiceType
|
2180
|
+
InvoiceType?: string;
|
2177
2181
|
/**
|
2178
2182
|
* 省
|
2179
2183
|
注意:此字段可能返回 null,表示取不到有效值。
|
2180
2184
|
*/
|
2181
|
-
Province
|
2185
|
+
Province?: string;
|
2182
2186
|
/**
|
2183
2187
|
* 市
|
2184
2188
|
注意:此字段可能返回 null,表示取不到有效值。
|
2185
2189
|
*/
|
2186
|
-
City
|
2190
|
+
City?: string;
|
2187
2191
|
/**
|
2188
2192
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2189
2193
|
*/
|
@@ -2281,11 +2285,11 @@ export interface RecognizeMedicalInvoiceOCRResponse {
|
|
2281
2285
|
/**
|
2282
2286
|
* 识别出的字段信息
|
2283
2287
|
*/
|
2284
|
-
MedicalInvoiceInfos
|
2288
|
+
MedicalInvoiceInfos?: Array<MedicalInvoiceInfo>;
|
2285
2289
|
/**
|
2286
2290
|
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
2287
2291
|
*/
|
2288
|
-
Angle
|
2292
|
+
Angle?: number;
|
2289
2293
|
/**
|
2290
2294
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2291
2295
|
*/
|
@@ -2298,7 +2302,7 @@ export interface MixedInvoiceOCRResponse {
|
|
2298
2302
|
/**
|
2299
2303
|
* 混贴票据识别结果,具体内容请点击左侧链接。
|
2300
2304
|
*/
|
2301
|
-
MixedInvoiceItems
|
2305
|
+
MixedInvoiceItems?: Array<MixedInvoiceItem>;
|
2302
2306
|
/**
|
2303
2307
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2304
2308
|
*/
|
@@ -2532,11 +2536,11 @@ export interface DutyPaidProofOCRResponse {
|
|
2532
2536
|
/**
|
2533
2537
|
* 完税证明识别结果,具体内容请点击左侧链接。
|
2534
2538
|
*/
|
2535
|
-
DutyPaidProofInfos
|
2539
|
+
DutyPaidProofInfos?: Array<DutyPaidProofInfo>;
|
2536
2540
|
/**
|
2537
2541
|
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
2538
2542
|
*/
|
2539
|
-
Angle
|
2543
|
+
Angle?: number;
|
2540
2544
|
/**
|
2541
2545
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2542
2546
|
*/
|
@@ -2769,11 +2773,11 @@ export interface InvoiceGeneralOCRResponse {
|
|
2769
2773
|
/**
|
2770
2774
|
* 通用机打发票识别结果,具体内容请点击左侧链接。
|
2771
2775
|
*/
|
2772
|
-
InvoiceGeneralInfos
|
2776
|
+
InvoiceGeneralInfos?: Array<InvoiceGeneralInfo>;
|
2773
2777
|
/**
|
2774
2778
|
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
2775
2779
|
*/
|
2776
|
-
Angle
|
2780
|
+
Angle?: number;
|
2777
2781
|
/**
|
2778
2782
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2779
2783
|
*/
|
@@ -2913,11 +2917,11 @@ export interface VatRollInvoiceOCRResponse {
|
|
2913
2917
|
/**
|
2914
2918
|
* 增值税发票(卷票)识别结果,具体内容请点击左侧链接。
|
2915
2919
|
*/
|
2916
|
-
VatRollInvoiceInfos
|
2920
|
+
VatRollInvoiceInfos?: Array<VatRollInvoiceInfo>;
|
2917
2921
|
/**
|
2918
2922
|
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
2919
2923
|
*/
|
2920
|
-
Angle
|
2924
|
+
Angle?: number;
|
2921
2925
|
/**
|
2922
2926
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2923
2927
|
*/
|
@@ -4035,7 +4039,7 @@ export interface FlightInvoiceOCRResponse {
|
|
4035
4039
|
/**
|
4036
4040
|
* 机票行程单识别结果,具体内容请点击左侧链接。
|
4037
4041
|
*/
|
4038
|
-
FlightInvoiceInfos
|
4042
|
+
FlightInvoiceInfos?: Array<FlightInvoiceInfo>;
|
4039
4043
|
/**
|
4040
4044
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4041
4045
|
*/
|
@@ -4544,11 +4548,11 @@ export interface BankSlipOCRResponse {
|
|
4544
4548
|
/**
|
4545
4549
|
* 银行回单识别结果,具体内容请点击左侧链接。
|
4546
4550
|
*/
|
4547
|
-
BankSlipInfos
|
4551
|
+
BankSlipInfos?: Array<BankSlipInfo>;
|
4548
4552
|
/**
|
4549
4553
|
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
4550
4554
|
*/
|
4551
|
-
Angle
|
4555
|
+
Angle?: number;
|
4552
4556
|
/**
|
4553
4557
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4554
4558
|
*/
|
@@ -4910,7 +4914,7 @@ export interface MixedInvoiceOCRRequest {
|
|
4910
4914
|
15:非税发票
|
4911
4915
|
16:全电发票
|
4912
4916
|
----------------------
|
4913
|
-
-1
|
4917
|
+
-1:其他发票,(只传入此类型时,图片均采用其他票类型进行识别)
|
4914
4918
|
*/
|
4915
4919
|
Types?: Array<number>;
|
4916
4920
|
/**
|
@@ -4927,6 +4931,10 @@ export interface MixedInvoiceOCRRequest {
|
|
4927
4931
|
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
4928
4932
|
*/
|
4929
4933
|
PdfPageNumber?: number;
|
4934
|
+
/**
|
4935
|
+
* 是否开启PDF多页识别,默认值为false,开启后可同时支持多页PDF的识别返回,仅支持返回文件前30页。开启后IsPDF和PdfPageNumber入参不进行控制。
|
4936
|
+
*/
|
4937
|
+
ReturnMultiplePage?: boolean;
|
4930
4938
|
}
|
4931
4939
|
/**
|
4932
4940
|
* 表格内容检测
|
@@ -5162,11 +5170,11 @@ export interface ShipInvoiceOCRResponse {
|
|
5162
5170
|
/**
|
5163
5171
|
* 轮船票识别结果,具体内容请点击左侧链接。
|
5164
5172
|
*/
|
5165
|
-
ShipInvoiceInfos
|
5173
|
+
ShipInvoiceInfos?: Array<ShipInvoiceInfo>;
|
5166
5174
|
/**
|
5167
5175
|
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
5168
5176
|
*/
|
5169
|
-
Angle
|
5177
|
+
Angle?: number;
|
5170
5178
|
/**
|
5171
5179
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5172
5180
|
*/
|
@@ -5493,11 +5501,11 @@ export interface BusInvoiceOCRResponse {
|
|
5493
5501
|
/**
|
5494
5502
|
* 汽车票识别结果,具体内容请点击左侧链接。
|
5495
5503
|
*/
|
5496
|
-
BusInvoiceInfos
|
5504
|
+
BusInvoiceInfos?: Array<BusInvoiceInfo>;
|
5497
5505
|
/**
|
5498
5506
|
* 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
|
5499
5507
|
*/
|
5500
|
-
Angle
|
5508
|
+
Angle?: number;
|
5501
5509
|
/**
|
5502
5510
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5503
5511
|
*/
|
@@ -5767,38 +5775,38 @@ export interface QuotaInvoiceOCRResponse {
|
|
5767
5775
|
/**
|
5768
5776
|
* 发票号码
|
5769
5777
|
*/
|
5770
|
-
InvoiceNum
|
5778
|
+
InvoiceNum?: string;
|
5771
5779
|
/**
|
5772
5780
|
* 发票代码
|
5773
5781
|
*/
|
5774
|
-
InvoiceCode
|
5782
|
+
InvoiceCode?: string;
|
5775
5783
|
/**
|
5776
5784
|
* 大写金额
|
5777
5785
|
*/
|
5778
|
-
Rate
|
5786
|
+
Rate?: string;
|
5779
5787
|
/**
|
5780
5788
|
* 小写金额
|
5781
5789
|
*/
|
5782
|
-
RateNum
|
5790
|
+
RateNum?: string;
|
5783
5791
|
/**
|
5784
5792
|
* 发票消费类型
|
5785
5793
|
*/
|
5786
|
-
InvoiceType
|
5794
|
+
InvoiceType?: string;
|
5787
5795
|
/**
|
5788
5796
|
* 省
|
5789
5797
|
注意:此字段可能返回 null,表示取不到有效值。
|
5790
5798
|
*/
|
5791
|
-
Province
|
5799
|
+
Province?: string;
|
5792
5800
|
/**
|
5793
5801
|
* 市
|
5794
5802
|
注意:此字段可能返回 null,表示取不到有效值。
|
5795
5803
|
*/
|
5796
|
-
City
|
5804
|
+
City?: string;
|
5797
5805
|
/**
|
5798
5806
|
* 是否有公司印章(1有 0无 空为识别不出)
|
5799
5807
|
注意:此字段可能返回 null,表示取不到有效值。
|
5800
5808
|
*/
|
5801
|
-
HasStamp
|
5809
|
+
HasStamp?: string;
|
5802
5810
|
/**
|
5803
5811
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5804
5812
|
*/
|