tencentcloud-sdk-nodejs-ocr 4.0.549 → 4.0.551

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.
@@ -287,6 +287,11 @@ FailedOperation.UnKnowError:表示识别失败;
287
287
  * 识别到的内容。
288
288
  */
289
289
  SingleInvoiceInfos: Array<SingleInvoiceInfo>
290
+
291
+ /**
292
+ * 发票处于识别图片或PDF文件中的页教,默认从1开始。
293
+ */
294
+ Page?: number
290
295
  }
291
296
 
292
297
  /**
@@ -509,12 +514,12 @@ export interface TollInvoiceOCRResponse {
509
514
  /**
510
515
  * 过路过桥费发票识别结果,具体内容请点击左侧链接。
511
516
  */
512
- TollInvoiceInfos: Array<TollInvoiceInfo>
517
+ TollInvoiceInfos?: Array<TollInvoiceInfo>
513
518
 
514
519
  /**
515
520
  * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
516
521
  */
517
- Angle: number
522
+ Angle?: number
518
523
 
519
524
  /**
520
525
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2029,102 +2034,102 @@ export interface TrainTicketOCRResponse {
2029
2034
  /**
2030
2035
  * 编号
2031
2036
  */
2032
- TicketNum: string
2037
+ TicketNum?: string
2033
2038
 
2034
2039
  /**
2035
2040
  * 出发站
2036
2041
  */
2037
- StartStation: string
2042
+ StartStation?: string
2038
2043
 
2039
2044
  /**
2040
2045
  * 到达站
2041
2046
  */
2042
- DestinationStation: string
2047
+ DestinationStation?: string
2043
2048
 
2044
2049
  /**
2045
2050
  * 出发时间
2046
2051
  */
2047
- Date: string
2052
+ Date?: string
2048
2053
 
2049
2054
  /**
2050
2055
  * 车次
2051
2056
  */
2052
- TrainNum: string
2057
+ TrainNum?: string
2053
2058
 
2054
2059
  /**
2055
2060
  * 座位号
2056
2061
  */
2057
- Seat: string
2062
+ Seat?: string
2058
2063
 
2059
2064
  /**
2060
2065
  * 姓名
2061
2066
  */
2062
- Name: string
2067
+ Name?: string
2063
2068
 
2064
2069
  /**
2065
2070
  * 票价
2066
2071
  */
2067
- Price: string
2072
+ Price?: string
2068
2073
 
2069
2074
  /**
2070
2075
  * 席别
2071
2076
  */
2072
- SeatCategory: string
2077
+ SeatCategory?: string
2073
2078
 
2074
2079
  /**
2075
2080
  * 身份证号
2076
2081
  */
2077
- ID: string
2082
+ ID?: string
2078
2083
 
2079
2084
  /**
2080
2085
  * 发票消费类型:交通
2081
2086
  */
2082
- InvoiceType: string
2087
+ InvoiceType?: string
2083
2088
 
2084
2089
  /**
2085
2090
  * 序列号
2086
2091
  */
2087
- SerialNumber: string
2092
+ SerialNumber?: string
2088
2093
 
2089
2094
  /**
2090
2095
  * 加收票价
2091
2096
  */
2092
- AdditionalCost: string
2097
+ AdditionalCost?: string
2093
2098
 
2094
2099
  /**
2095
2100
  * 手续费
2096
2101
  */
2097
- HandlingFee: string
2102
+ HandlingFee?: string
2098
2103
 
2099
2104
  /**
2100
2105
  * 大写金额(票面有大写金额该字段才有值)
2101
2106
  */
2102
- LegalAmount: string
2107
+ LegalAmount?: string
2103
2108
 
2104
2109
  /**
2105
2110
  * 售票站
2106
2111
  */
2107
- TicketStation: string
2112
+ TicketStation?: string
2108
2113
 
2109
2114
  /**
2110
2115
  * 原票价(一般有手续费的才有原始票价字段)
2111
2116
  */
2112
- OriginalPrice: string
2117
+ OriginalPrice?: string
2113
2118
 
2114
2119
  /**
2115
2120
  * 发票类型:火车票、火车票补票、火车票退票凭证
2116
2121
  */
2117
- InvoiceStyle: string
2122
+ InvoiceStyle?: string
2118
2123
 
2119
2124
  /**
2120
2125
  * 收据号码
2121
2126
  */
2122
- ReceiptNumber: string
2127
+ ReceiptNumber?: string
2123
2128
 
2124
2129
  /**
2125
2130
  * 仅供报销使用:1为是,0为否
2126
2131
  */
2127
- IsReceipt: string
2132
+ IsReceipt?: string
2128
2133
 
2129
2134
  /**
2130
2135
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2530,64 +2535,64 @@ export interface TaxiInvoiceOCRResponse {
2530
2535
  /**
2531
2536
  * 发票代码
2532
2537
  */
2533
- InvoiceNum: string
2538
+ InvoiceNum?: string
2534
2539
 
2535
2540
  /**
2536
2541
  * 发票号码
2537
2542
  */
2538
- InvoiceCode: string
2543
+ InvoiceCode?: string
2539
2544
 
2540
2545
  /**
2541
2546
  * 日期
2542
2547
  */
2543
- Date: string
2548
+ Date?: string
2544
2549
 
2545
2550
  /**
2546
2551
  * 金额
2547
2552
  */
2548
- Fare: string
2553
+ Fare?: string
2549
2554
 
2550
2555
  /**
2551
2556
  * 上车时间
2552
2557
  */
2553
- GetOnTime: string
2558
+ GetOnTime?: string
2554
2559
 
2555
2560
  /**
2556
2561
  * 下车时间
2557
2562
  */
2558
- GetOffTime: string
2563
+ GetOffTime?: string
2559
2564
 
2560
2565
  /**
2561
2566
  * 里程
2562
2567
  */
2563
- Distance: string
2568
+ Distance?: string
2564
2569
 
2565
2570
  /**
2566
2571
  * 发票所在地
2567
2572
  */
2568
- Location: string
2573
+ Location?: string
2569
2574
 
2570
2575
  /**
2571
2576
  * 车牌号
2572
2577
  */
2573
- PlateNumber: string
2578
+ PlateNumber?: string
2574
2579
 
2575
2580
  /**
2576
2581
  * 发票消费类型
2577
2582
  */
2578
- InvoiceType: string
2583
+ InvoiceType?: string
2579
2584
 
2580
2585
  /**
2581
2586
  * 省
2582
2587
  注意:此字段可能返回 null,表示取不到有效值。
2583
2588
  */
2584
- Province: string
2589
+ Province?: string
2585
2590
 
2586
2591
  /**
2587
2592
  * 市
2588
2593
  注意:此字段可能返回 null,表示取不到有效值。
2589
2594
  */
2590
- City: string
2595
+ City?: string
2591
2596
 
2592
2597
  /**
2593
2598
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2704,12 +2709,12 @@ export interface RecognizeMedicalInvoiceOCRResponse {
2704
2709
  /**
2705
2710
  * 识别出的字段信息
2706
2711
  */
2707
- MedicalInvoiceInfos: Array<MedicalInvoiceInfo>
2712
+ MedicalInvoiceInfos?: Array<MedicalInvoiceInfo>
2708
2713
 
2709
2714
  /**
2710
2715
  * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
2711
2716
  */
2712
- Angle: number
2717
+ Angle?: number
2713
2718
 
2714
2719
  /**
2715
2720
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2724,7 +2729,7 @@ export interface MixedInvoiceOCRResponse {
2724
2729
  /**
2725
2730
  * 混贴票据识别结果,具体内容请点击左侧链接。
2726
2731
  */
2727
- MixedInvoiceItems: Array<MixedInvoiceItem>
2732
+ MixedInvoiceItems?: Array<MixedInvoiceItem>
2728
2733
 
2729
2734
  /**
2730
2735
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2993,12 +2998,12 @@ export interface DutyPaidProofOCRResponse {
2993
2998
  /**
2994
2999
  * 完税证明识别结果,具体内容请点击左侧链接。
2995
3000
  */
2996
- DutyPaidProofInfos: Array<DutyPaidProofInfo>
3001
+ DutyPaidProofInfos?: Array<DutyPaidProofInfo>
2997
3002
 
2998
3003
  /**
2999
3004
  * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
3000
3005
  */
3001
- Angle: number
3006
+ Angle?: number
3002
3007
 
3003
3008
  /**
3004
3009
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -3273,12 +3278,12 @@ export interface InvoiceGeneralOCRResponse {
3273
3278
  /**
3274
3279
  * 通用机打发票识别结果,具体内容请点击左侧链接。
3275
3280
  */
3276
- InvoiceGeneralInfos: Array<InvoiceGeneralInfo>
3281
+ InvoiceGeneralInfos?: Array<InvoiceGeneralInfo>
3277
3282
 
3278
3283
  /**
3279
3284
  * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
3280
3285
  */
3281
- Angle: number
3286
+ Angle?: number
3282
3287
 
3283
3288
  /**
3284
3289
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -3437,12 +3442,12 @@ export interface VatRollInvoiceOCRResponse {
3437
3442
  /**
3438
3443
  * 增值税发票(卷票)识别结果,具体内容请点击左侧链接。
3439
3444
  */
3440
- VatRollInvoiceInfos: Array<VatRollInvoiceInfo>
3445
+ VatRollInvoiceInfos?: Array<VatRollInvoiceInfo>
3441
3446
 
3442
3447
  /**
3443
3448
  * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
3444
3449
  */
3445
- Angle: number
3450
+ Angle?: number
3446
3451
 
3447
3452
  /**
3448
3453
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4760,7 +4765,7 @@ export interface FlightInvoiceOCRResponse {
4760
4765
  /**
4761
4766
  * 机票行程单识别结果,具体内容请点击左侧链接。
4762
4767
  */
4763
- FlightInvoiceInfos: Array<FlightInvoiceInfo>
4768
+ FlightInvoiceInfos?: Array<FlightInvoiceInfo>
4764
4769
 
4765
4770
  /**
4766
4771
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -5351,12 +5356,12 @@ export interface BankSlipOCRResponse {
5351
5356
  /**
5352
5357
  * 银行回单识别结果,具体内容请点击左侧链接。
5353
5358
  */
5354
- BankSlipInfos: Array<BankSlipInfo>
5359
+ BankSlipInfos?: Array<BankSlipInfo>
5355
5360
 
5356
5361
  /**
5357
5362
  * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
5358
5363
  */
5359
- Angle: number
5364
+ Angle?: number
5360
5365
 
5361
5366
  /**
5362
5367
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -5778,7 +5783,7 @@ export interface MixedInvoiceOCRRequest {
5778
5783
  15:非税发票
5779
5784
  16:全电发票
5780
5785
  ----------------------
5781
- -1:其他发票,(仅返回,本参数不支持传入-1,请在ReturnOther中控制是否返回)
5786
+ -1:其他发票,(只传入此类型时,图片均采用其他票类型进行识别)
5782
5787
  */
5783
5788
  Types?: Array<number>
5784
5789
 
@@ -5798,6 +5803,11 @@ No:不识别其他类型发票
5798
5803
  * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
5799
5804
  */
5800
5805
  PdfPageNumber?: number
5806
+
5807
+ /**
5808
+ * 是否开启PDF多页识别,默认值为false,开启后可同时支持多页PDF的识别返回,仅支持返回文件前30页。开启后IsPDF和PdfPageNumber入参不进行控制。
5809
+ */
5810
+ ReturnMultiplePage?: boolean
5801
5811
  }
5802
5812
 
5803
5813
  /**
@@ -6079,12 +6089,12 @@ export interface ShipInvoiceOCRResponse {
6079
6089
  /**
6080
6090
  * 轮船票识别结果,具体内容请点击左侧链接。
6081
6091
  */
6082
- ShipInvoiceInfos: Array<ShipInvoiceInfo>
6092
+ ShipInvoiceInfos?: Array<ShipInvoiceInfo>
6083
6093
 
6084
6094
  /**
6085
6095
  * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
6086
6096
  */
6087
- Angle: number
6097
+ Angle?: number
6088
6098
 
6089
6099
  /**
6090
6100
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -6468,12 +6478,12 @@ export interface BusInvoiceOCRResponse {
6468
6478
  /**
6469
6479
  * 汽车票识别结果,具体内容请点击左侧链接。
6470
6480
  */
6471
- BusInvoiceInfos: Array<BusInvoiceInfo>
6481
+ BusInvoiceInfos?: Array<BusInvoiceInfo>
6472
6482
 
6473
6483
  /**
6474
6484
  * 图片旋转角度(角度制),文本的水平方向为0°,顺时针为正,逆时针为负。
6475
6485
  */
6476
- Angle: number
6486
+ Angle?: number
6477
6487
 
6478
6488
  /**
6479
6489
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -6795,45 +6805,45 @@ export interface QuotaInvoiceOCRResponse {
6795
6805
  /**
6796
6806
  * 发票号码
6797
6807
  */
6798
- InvoiceNum: string
6808
+ InvoiceNum?: string
6799
6809
 
6800
6810
  /**
6801
6811
  * 发票代码
6802
6812
  */
6803
- InvoiceCode: string
6813
+ InvoiceCode?: string
6804
6814
 
6805
6815
  /**
6806
6816
  * 大写金额
6807
6817
  */
6808
- Rate: string
6818
+ Rate?: string
6809
6819
 
6810
6820
  /**
6811
6821
  * 小写金额
6812
6822
  */
6813
- RateNum: string
6823
+ RateNum?: string
6814
6824
 
6815
6825
  /**
6816
6826
  * 发票消费类型
6817
6827
  */
6818
- InvoiceType: string
6828
+ InvoiceType?: string
6819
6829
 
6820
6830
  /**
6821
6831
  * 省
6822
6832
  注意:此字段可能返回 null,表示取不到有效值。
6823
6833
  */
6824
- Province: string
6834
+ Province?: string
6825
6835
 
6826
6836
  /**
6827
6837
  * 市
6828
6838
  注意:此字段可能返回 null,表示取不到有效值。
6829
6839
  */
6830
- City: string
6840
+ City?: string
6831
6841
 
6832
6842
  /**
6833
6843
  * 是否有公司印章(1有 0无 空为识别不出)
6834
6844
  注意:此字段可能返回 null,表示取不到有效值。
6835
6845
  */
6836
- HasStamp: string
6846
+ HasStamp?: string
6837
6847
 
6838
6848
  /**
6839
6849
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -86,8 +86,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
86
86
  */
87
87
  IDCardOCR(req: IDCardOCRRequest, cb?: (error: string, rep: IDCardOCRResponse) => void): Promise<IDCardOCRResponse>;
88
88
  /**
89
- * 本接口支持对过路过桥费发票的发票代码、发票号码、日期、小写金额等关键字段的识别。
90
- */
89
+ * 本接口支持对过路过桥费发票的发票代码、发票号码、日期、小写金额等关键字段的识别。
90
+
91
+ 默认接口请求频率限制:5次/秒。
92
+ */
91
93
  TollInvoiceOCR(req: TollInvoiceOCRRequest, cb?: (error: string, rep: TollInvoiceOCRResponse) => void): Promise<TollInvoiceOCRResponse>;
92
94
  /**
93
95
  * 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
@@ -96,8 +98,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
96
98
  */
97
99
  MLIDCardOCR(req: MLIDCardOCRRequest, cb?: (error: string, rep: MLIDCardOCRResponse) => void): Promise<MLIDCardOCRResponse>;
98
100
  /**
99
- * 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
100
- */
101
+ * 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
102
+
103
+ 默认接口请求频率限制:20次/秒。
104
+ */
101
105
  VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
102
106
  /**
103
107
  * 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
@@ -170,8 +174,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
170
174
  */
171
175
  GeneralAccurateOCR(req: GeneralAccurateOCRRequest, cb?: (error: string, rep: GeneralAccurateOCRResponse) => void): Promise<GeneralAccurateOCRResponse>;
172
176
  /**
173
- * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
174
- */
177
+ * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
178
+
179
+ 默认接口请求频率限制:5次/秒。
180
+ */
175
181
  FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
176
182
  /**
177
183
  * 本接口支持集装箱箱门信息识别,识别字段包括集装箱箱号、类型、总重量、有效承重、容量、自身重量,具备集装箱箱号、类型不完整或者不清晰的告警功能。
@@ -187,8 +193,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
187
193
  */
188
194
  MixedInvoiceDetect(req: MixedInvoiceDetectRequest, cb?: (error: string, rep: MixedInvoiceDetectResponse) => void): Promise<MixedInvoiceDetectResponse>;
189
195
  /**
190
- * 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
191
- */
196
+ * 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
197
+
198
+ 默认接口请求频率限制:5次/秒。
199
+ */
192
200
  ShipInvoiceOCR(req: ShipInvoiceOCRRequest, cb?: (error: string, rep: ShipInvoiceOCRResponse) => void): Promise<ShipInvoiceOCRResponse>;
193
201
  /**
194
202
  * 本接口支持中国港澳台地区以及其他国家、地区的护照识别。识别字段包括护照ID、姓名、出生日期、性别、有效期、发行国、国籍,具备护照人像照片的裁剪功能和翻拍、复印件告警功能。
@@ -198,12 +206,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
198
206
  */
199
207
  MLIDPassportOCR(req: MLIDPassportOCRRequest, cb?: (error: string, rep: MLIDPassportOCRResponse) => void): Promise<MLIDPassportOCRResponse>;
200
208
  /**
201
- * 本接口支持对增值税发票(卷票)的发票代码、发票号码、日期、校验码、合计金额(小写)等关键字段的识别。
202
- */
209
+ * 本接口支持对增值税发票(卷票)的发票代码、发票号码、日期、校验码、合计金额(小写)等关键字段的识别。
210
+
211
+ 默认接口请求频率限制:5次/秒。
212
+ */
203
213
  VatRollInvoiceOCR(req: VatRollInvoiceOCRRequest, cb?: (error: string, rep: VatRollInvoiceOCRResponse) => void): Promise<VatRollInvoiceOCRResponse>;
204
214
  /**
205
- * 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
206
- */
215
+ * 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
216
+
217
+ 默认接口请求频率限制:5次/秒。
218
+ */
207
219
  QuotaInvoiceOCR(req: QuotaInvoiceOCRRequest, cb?: (error: string, rep: QuotaInvoiceOCRResponse) => void): Promise<QuotaInvoiceOCRResponse>;
208
220
  /**
209
221
  * 本接口支持图片内车辆识别代号(VIN)的检测和识别。
@@ -239,16 +251,22 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
239
251
  */
240
252
  WaybillOCR(req: WaybillOCRRequest, cb?: (error: string, rep: WaybillOCRResponse) => void): Promise<WaybillOCRResponse>;
241
253
  /**
242
- * 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
243
- */
254
+ * 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
255
+
256
+ 默认接口请求频率限制:20次/秒。
257
+ */
244
258
  VatInvoiceVerify(req: VatInvoiceVerifyRequest, cb?: (error: string, rep: VatInvoiceVerifyResponse) => void): Promise<VatInvoiceVerifyResponse>;
245
259
  /**
246
- * 本接口支持出租车发票关键字段的识别,包括发票号码、发票代码、金额、日期、上下车时间、里程、车牌号、发票类型及所属地区等字段。
247
- */
260
+ * 本接口支持出租车发票关键字段的识别,包括发票号码、发票代码、金额、日期、上下车时间、里程、车牌号、发票类型及所属地区等字段。
261
+
262
+ 默认接口请求频率限制:5次/秒。
263
+ */
248
264
  TaxiInvoiceOCR(req: TaxiInvoiceOCRRequest, cb?: (error: string, rep: TaxiInvoiceOCRResponse) => void): Promise<TaxiInvoiceOCRResponse>;
249
265
  /**
250
- * 本接口支持对通用机打发票的发票代码、发票号码、日期、购买方识别号、销售方识别号、校验码、小写金额等关键字段的识别。
251
- */
266
+ * 本接口支持对通用机打发票的发票代码、发票号码、日期、购买方识别号、销售方识别号、校验码、小写金额等关键字段的识别。
267
+
268
+ 默认接口请求频率限制:5次/秒。
269
+ */
252
270
  InvoiceGeneralOCR(req: InvoiceGeneralOCRRequest, cb?: (error: string, rep: InvoiceGeneralOCRResponse) => void): Promise<InvoiceGeneralOCRResponse>;
253
271
  /**
254
272
  * 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超连接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
@@ -275,8 +293,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
275
293
  */
276
294
  CreateAIFormTask(req: CreateAIFormTaskRequest, cb?: (error: string, rep: CreateAIFormTaskResponse) => void): Promise<CreateAIFormTaskResponse>;
277
295
  /**
278
- * 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
279
- */
296
+ * 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
297
+
298
+ 默认接口请求频率限制:5次/秒。
299
+ */
280
300
  DutyPaidProofOCR(req: DutyPaidProofOCRRequest, cb?: (error: string, rep: DutyPaidProofOCRResponse) => void): Promise<DutyPaidProofOCRResponse>;
281
301
  /**
282
302
  * 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
@@ -365,12 +385,15 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
365
385
  */
366
386
  VerifyEnterpriseFourFactors(req: VerifyEnterpriseFourFactorsRequest, cb?: (error: string, rep: VerifyEnterpriseFourFactorsResponse) => void): Promise<VerifyEnterpriseFourFactorsResponse>;
367
387
  /**
368
- * 本接口支持识别公路汽车客票的发票代码、发票号码、日期、姓名、票价等字段。
369
- */
388
+ * 本接口支持识别公路汽车客票的发票代码、发票号码、日期、姓名、票价等字段。
389
+
390
+ 默认接口请求频率限制:5次/秒。
391
+ */
370
392
  BusInvoiceOCR(req: BusInvoiceOCRRequest, cb?: (error: string, rep: BusInvoiceOCRResponse) => void): Promise<BusInvoiceOCRResponse>;
371
393
  /**
372
394
  * 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
373
395
 
396
+ 默认接口请求频率限制:5次/秒。
374
397
  */
375
398
  RecognizeMedicalInvoiceOCR(req: RecognizeMedicalInvoiceOCRRequest, cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void): Promise<RecognizeMedicalInvoiceOCRResponse>;
376
399
  /**
@@ -436,11 +459,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
436
459
  /**
437
460
  * 本接口支持火车票全字段的识别,包括编号、票价、姓名、座位号、出发时间、出发站、到达站、车次、席别、发票类型及序列号等。
438
461
 
462
+ 默认接口请求频率限制:5次/秒。
439
463
  */
440
464
  TrainTicketOCR(req: TrainTicketOCRRequest, cb?: (error: string, rep: TrainTicketOCRResponse) => void): Promise<TrainTicketOCRResponse>;
441
465
  /**
442
466
  * 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
443
-
467
+
468
+ 默认接口请求频率限制:10次/秒。
444
469
  */
445
470
  BankSlipOCR(req: BankSlipOCRRequest, cb?: (error: string, rep: BankSlipOCRResponse) => void): Promise<BankSlipOCRResponse>;
446
471
  /**