tencentcloud-sdk-nodejs-ocr 4.1.134 → 4.1.135
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.
|
@@ -42,6 +42,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
42
42
|
async PermitOCR(req, cb) {
|
|
43
43
|
return this.request("PermitOCR", req, cb);
|
|
44
44
|
}
|
|
45
|
+
async QuestionSplitLayoutOCR(req, cb) {
|
|
46
|
+
return this.request("QuestionSplitLayoutOCR", req, cb);
|
|
47
|
+
}
|
|
45
48
|
async BusInvoiceOCR(req, cb) {
|
|
46
49
|
return this.request("BusInvoiceOCR", req, cb);
|
|
47
50
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest,
|
|
2
|
+
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, SubmitExtractDocAgentJobResponse, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeTableMultiOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, RecognizeTableMultiOCRResponse, RecognizeGeneralTextImageWarnResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeTravelCardOCRResponse, VatRollInvoiceOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, RecognizeStoreNameResponse, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
3
3
|
/**
|
|
4
4
|
* ocr client
|
|
5
5
|
* @class
|
|
@@ -189,6 +189,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
189
189
|
默认接口请求频率限制:10次/秒。
|
|
190
190
|
*/
|
|
191
191
|
PermitOCR(req: PermitOCRRequest, cb?: (error: string, rep: PermitOCRResponse) => void): Promise<PermitOCRResponse>;
|
|
192
|
+
/**
|
|
193
|
+
* 试卷切题(仅检测)可将整页练习册、试卷或教辅中的题目进行自动切题,返回试题边框和题目元素的坐标位置。
|
|
194
|
+
|
|
195
|
+
默认接口请求频率限制:2次/秒。
|
|
196
|
+
*/
|
|
197
|
+
QuestionSplitLayoutOCR(req: QuestionSplitLayoutOCRRequest, cb?: (error: string, rep: QuestionSplitLayoutOCRResponse) => void): Promise<QuestionSplitLayoutOCRResponse>;
|
|
192
198
|
/**
|
|
193
199
|
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
194
200
|
本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
|
|
@@ -237,6 +237,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
237
237
|
async PermitOCR(req, cb) {
|
|
238
238
|
return this.request("PermitOCR", req, cb);
|
|
239
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* 试卷切题(仅检测)可将整页练习册、试卷或教辅中的题目进行自动切题,返回试题边框和题目元素的坐标位置。
|
|
242
|
+
|
|
243
|
+
默认接口请求频率限制:2次/秒。
|
|
244
|
+
*/
|
|
245
|
+
async QuestionSplitLayoutOCR(req, cb) {
|
|
246
|
+
return this.request("QuestionSplitLayoutOCR", req, cb);
|
|
247
|
+
}
|
|
240
248
|
/**
|
|
241
249
|
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
242
250
|
本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
|
|
@@ -497,17 +497,33 @@ export interface ExtractDocMultiRequest {
|
|
|
497
497
|
OutputLanguage?: string;
|
|
498
498
|
}
|
|
499
499
|
/**
|
|
500
|
-
*
|
|
500
|
+
* QuestionSplitLayoutOCR请求参数结构体
|
|
501
501
|
*/
|
|
502
|
-
export interface
|
|
502
|
+
export interface QuestionSplitLayoutOCRRequest {
|
|
503
503
|
/**
|
|
504
|
-
* 图片的
|
|
504
|
+
* 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
505
|
+
*/
|
|
506
|
+
ImageUrl?: string;
|
|
507
|
+
/**
|
|
508
|
+
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。支持的图片像素:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
505
509
|
*/
|
|
506
510
|
ImageBase64?: string;
|
|
507
511
|
/**
|
|
508
|
-
*
|
|
512
|
+
* 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
|
|
509
513
|
*/
|
|
510
|
-
|
|
514
|
+
IsPdf?: boolean;
|
|
515
|
+
/**
|
|
516
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
517
|
+
*/
|
|
518
|
+
PdfPageNumber?: number;
|
|
519
|
+
/**
|
|
520
|
+
* 是否开启切边增强和弯曲矫正,默认为false不开启
|
|
521
|
+
*/
|
|
522
|
+
EnableImageCrop?: boolean;
|
|
523
|
+
/**
|
|
524
|
+
* false: 使用当前默认模型 true: 使用新的多模态推理模型,速度更快推理效果更强,仅 `EnableOnlyDetectBorder` 为 `true` 时生效,公测中
|
|
525
|
+
*/
|
|
526
|
+
UseNewModel?: boolean;
|
|
511
527
|
}
|
|
512
528
|
/**
|
|
513
529
|
* TrainTicketOCR请求参数结构体
|
|
@@ -703,6 +719,24 @@ export interface ItemInfo {
|
|
|
703
719
|
*/
|
|
704
720
|
Value?: Value;
|
|
705
721
|
}
|
|
722
|
+
/**
|
|
723
|
+
* 增值税发票卷票信息
|
|
724
|
+
*/
|
|
725
|
+
export interface VatRollInvoiceInfo {
|
|
726
|
+
/**
|
|
727
|
+
* 识别出的字段名称(关键字),支持以下字段:
|
|
728
|
+
发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类。
|
|
729
|
+
*/
|
|
730
|
+
Name?: string;
|
|
731
|
+
/**
|
|
732
|
+
* 识别出的字段名称对应的值,也就是字段Name对应的字符串结果。
|
|
733
|
+
*/
|
|
734
|
+
Value?: string;
|
|
735
|
+
/**
|
|
736
|
+
* 文本行在旋转纠正之后的图像中的像素坐标。
|
|
737
|
+
*/
|
|
738
|
+
Rect?: Rect;
|
|
739
|
+
}
|
|
706
740
|
/**
|
|
707
741
|
* TextDetect返回参数结构体
|
|
708
742
|
*/
|
|
@@ -2776,41 +2810,17 @@ export interface ExtractDocMultiProResponse {
|
|
|
2776
2810
|
RequestId?: string;
|
|
2777
2811
|
}
|
|
2778
2812
|
/**
|
|
2779
|
-
*
|
|
2813
|
+
* RecognizeTravelCardOCR请求参数结构体
|
|
2780
2814
|
*/
|
|
2781
|
-
export interface
|
|
2782
|
-
/**
|
|
2783
|
-
* 单元格左上角的列索引
|
|
2784
|
-
*/
|
|
2785
|
-
ColTl: number;
|
|
2786
|
-
/**
|
|
2787
|
-
* 单元格左上角的行索引
|
|
2788
|
-
*/
|
|
2789
|
-
RowTl: number;
|
|
2790
|
-
/**
|
|
2791
|
-
* 单元格右下角的列索引
|
|
2792
|
-
*/
|
|
2793
|
-
ColBr: number;
|
|
2794
|
-
/**
|
|
2795
|
-
* 单元格右下角的行索引
|
|
2796
|
-
*/
|
|
2797
|
-
RowBr: number;
|
|
2798
|
-
/**
|
|
2799
|
-
* 单元格内识别出的字符串文本,若文本存在多行,以换行符"\n"隔开
|
|
2800
|
-
*/
|
|
2801
|
-
Text: string;
|
|
2802
|
-
/**
|
|
2803
|
-
* 单元格类型
|
|
2804
|
-
*/
|
|
2805
|
-
Type: string;
|
|
2815
|
+
export interface RecognizeTravelCardOCRRequest {
|
|
2806
2816
|
/**
|
|
2807
|
-
*
|
|
2817
|
+
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
2808
2818
|
*/
|
|
2809
|
-
|
|
2819
|
+
ImageBase64?: string;
|
|
2810
2820
|
/**
|
|
2811
|
-
*
|
|
2821
|
+
* 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
2812
2822
|
*/
|
|
2813
|
-
|
|
2823
|
+
ImageUrl?: string;
|
|
2814
2824
|
}
|
|
2815
2825
|
/**
|
|
2816
2826
|
* GeneralHandwritingOCR请求参数结构体
|
|
@@ -5577,29 +5587,13 @@ export interface VehicleRegCertOCRRequest {
|
|
|
5577
5587
|
ImageUrl?: string;
|
|
5578
5588
|
}
|
|
5579
5589
|
/**
|
|
5580
|
-
*
|
|
5590
|
+
* QuestionSplitLayoutOCR返回参数结构体
|
|
5581
5591
|
*/
|
|
5582
|
-
export interface
|
|
5583
|
-
/**
|
|
5584
|
-
* 行程卡更新时间,格式为:XXXX.XX.XX XX:XX:XX
|
|
5585
|
-
*/
|
|
5586
|
-
Time?: string;
|
|
5587
|
-
/**
|
|
5588
|
-
* 行程卡颜色:绿色、黄色、红色
|
|
5589
|
-
*/
|
|
5590
|
-
Color?: string;
|
|
5591
|
-
/**
|
|
5592
|
-
* 7天内到达或途经的城市(自2022年7月8日起,通信行程卡查询结果的覆盖时间范围由“14天”调整为“7天”)
|
|
5593
|
-
*/
|
|
5594
|
-
ReachedCity?: Array<string>;
|
|
5595
|
-
/**
|
|
5596
|
-
* 7天内到达或途径存在中高风险地区的城市(自2022年6月29日起,通信行程卡取消“星号”标记,改字段将返回空值)
|
|
5597
|
-
*/
|
|
5598
|
-
RiskArea?: Array<string>;
|
|
5592
|
+
export interface QuestionSplitLayoutOCRResponse {
|
|
5599
5593
|
/**
|
|
5600
|
-
*
|
|
5594
|
+
* 检测到的文本信息
|
|
5601
5595
|
*/
|
|
5602
|
-
|
|
5596
|
+
QuestionInfo?: Array<QuestionInfo>;
|
|
5603
5597
|
/**
|
|
5604
5598
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5605
5599
|
*/
|
|
@@ -7008,22 +7002,17 @@ export interface FinanBillSliceInfo {
|
|
|
7008
7002
|
Value?: string;
|
|
7009
7003
|
}
|
|
7010
7004
|
/**
|
|
7011
|
-
*
|
|
7005
|
+
* 购物小票
|
|
7012
7006
|
*/
|
|
7013
|
-
export interface
|
|
7014
|
-
/**
|
|
7015
|
-
* 识别出的字段名称(关键字),支持以下字段:
|
|
7016
|
-
发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类。
|
|
7017
|
-
*/
|
|
7018
|
-
Name?: string;
|
|
7007
|
+
export interface ShoppingReceipt {
|
|
7019
7008
|
/**
|
|
7020
|
-
*
|
|
7009
|
+
* 发票名称
|
|
7021
7010
|
*/
|
|
7022
|
-
|
|
7011
|
+
Title?: string;
|
|
7023
7012
|
/**
|
|
7024
|
-
*
|
|
7013
|
+
* 识别出的字段名称(关键字)
|
|
7025
7014
|
*/
|
|
7026
|
-
|
|
7015
|
+
Content?: Array<OtherInvoiceItem>;
|
|
7027
7016
|
}
|
|
7028
7017
|
/**
|
|
7029
7018
|
* 敏感数据加密
|
|
@@ -9749,6 +9738,183 @@ export interface TaxiTicket {
|
|
|
9749
9738
|
*/
|
|
9750
9739
|
CompanySealMark?: number;
|
|
9751
9740
|
}
|
|
9741
|
+
/**
|
|
9742
|
+
* 二手车销售统一发票
|
|
9743
|
+
*/
|
|
9744
|
+
export interface UsedCarPurchaseInvoice {
|
|
9745
|
+
/**
|
|
9746
|
+
* 发票名称
|
|
9747
|
+
*/
|
|
9748
|
+
Title?: string;
|
|
9749
|
+
/**
|
|
9750
|
+
* 是否存在二维码(0:没有,1:有)
|
|
9751
|
+
*/
|
|
9752
|
+
QRCodeMark?: number;
|
|
9753
|
+
/**
|
|
9754
|
+
* 发票代码
|
|
9755
|
+
*/
|
|
9756
|
+
Code?: string;
|
|
9757
|
+
/**
|
|
9758
|
+
* 发票号码
|
|
9759
|
+
*/
|
|
9760
|
+
Number?: string;
|
|
9761
|
+
/**
|
|
9762
|
+
* 开票日期
|
|
9763
|
+
*/
|
|
9764
|
+
Date?: string;
|
|
9765
|
+
/**
|
|
9766
|
+
* 价税合计(小写)
|
|
9767
|
+
*/
|
|
9768
|
+
Total?: string;
|
|
9769
|
+
/**
|
|
9770
|
+
* 价税合计(大写)
|
|
9771
|
+
*/
|
|
9772
|
+
TotalCn?: string;
|
|
9773
|
+
/**
|
|
9774
|
+
* 销货单位名称
|
|
9775
|
+
*/
|
|
9776
|
+
Seller?: string;
|
|
9777
|
+
/**
|
|
9778
|
+
* 销售方电话
|
|
9779
|
+
*/
|
|
9780
|
+
SellerTel?: string;
|
|
9781
|
+
/**
|
|
9782
|
+
* 销售方单位代码/个人身份证号
|
|
9783
|
+
*/
|
|
9784
|
+
SellerTaxID?: string;
|
|
9785
|
+
/**
|
|
9786
|
+
* 销售方地址
|
|
9787
|
+
*/
|
|
9788
|
+
SellerAddress?: string;
|
|
9789
|
+
/**
|
|
9790
|
+
* 购买方名称
|
|
9791
|
+
*/
|
|
9792
|
+
Buyer?: string;
|
|
9793
|
+
/**
|
|
9794
|
+
* 购买方单位代码/个人身份证号
|
|
9795
|
+
*/
|
|
9796
|
+
BuyerID?: string;
|
|
9797
|
+
/**
|
|
9798
|
+
* 购买方地址
|
|
9799
|
+
*/
|
|
9800
|
+
BuyerAddress?: string;
|
|
9801
|
+
/**
|
|
9802
|
+
* 购买方电话
|
|
9803
|
+
*/
|
|
9804
|
+
BuyerTel?: string;
|
|
9805
|
+
/**
|
|
9806
|
+
* 二手车市场
|
|
9807
|
+
*/
|
|
9808
|
+
CompanyName?: string;
|
|
9809
|
+
/**
|
|
9810
|
+
* 二手车市场纳税人识别号
|
|
9811
|
+
*/
|
|
9812
|
+
CompanyTaxID?: string;
|
|
9813
|
+
/**
|
|
9814
|
+
* 二手车市场开户银行和账号
|
|
9815
|
+
*/
|
|
9816
|
+
CompanyBankAccount?: string;
|
|
9817
|
+
/**
|
|
9818
|
+
* 二手车市场电话
|
|
9819
|
+
*/
|
|
9820
|
+
CompanyTel?: string;
|
|
9821
|
+
/**
|
|
9822
|
+
* 二手车市场地址
|
|
9823
|
+
*/
|
|
9824
|
+
CompanyAddress?: string;
|
|
9825
|
+
/**
|
|
9826
|
+
* 转入地车辆管理所名称
|
|
9827
|
+
*/
|
|
9828
|
+
TransferAdministrationName?: string;
|
|
9829
|
+
/**
|
|
9830
|
+
* 车牌号
|
|
9831
|
+
*/
|
|
9832
|
+
LicensePlate?: string;
|
|
9833
|
+
/**
|
|
9834
|
+
* 登记证号
|
|
9835
|
+
*/
|
|
9836
|
+
RegistrationNumber?: string;
|
|
9837
|
+
/**
|
|
9838
|
+
* 车辆识别代码
|
|
9839
|
+
*/
|
|
9840
|
+
VIN?: string;
|
|
9841
|
+
/**
|
|
9842
|
+
* 厂牌型号
|
|
9843
|
+
*/
|
|
9844
|
+
VehicleModel?: string;
|
|
9845
|
+
/**
|
|
9846
|
+
* 发票消费类型
|
|
9847
|
+
*/
|
|
9848
|
+
Kind?: string;
|
|
9849
|
+
/**
|
|
9850
|
+
* 省
|
|
9851
|
+
*/
|
|
9852
|
+
Province?: string;
|
|
9853
|
+
/**
|
|
9854
|
+
* 市
|
|
9855
|
+
*/
|
|
9856
|
+
City?: string;
|
|
9857
|
+
/**
|
|
9858
|
+
* 车辆类型
|
|
9859
|
+
*/
|
|
9860
|
+
VehicleType?: string;
|
|
9861
|
+
/**
|
|
9862
|
+
* 备注
|
|
9863
|
+
*/
|
|
9864
|
+
Remark?: string;
|
|
9865
|
+
/**
|
|
9866
|
+
* 发票联次
|
|
9867
|
+
*/
|
|
9868
|
+
FormType?: string;
|
|
9869
|
+
/**
|
|
9870
|
+
* 发票联名
|
|
9871
|
+
*/
|
|
9872
|
+
FormName?: string;
|
|
9873
|
+
/**
|
|
9874
|
+
* 是否有公司印章(0:没有,1:有)
|
|
9875
|
+
*/
|
|
9876
|
+
CompanySealMark?: number;
|
|
9877
|
+
/**
|
|
9878
|
+
* 经营拍卖单位
|
|
9879
|
+
*/
|
|
9880
|
+
AuctionOrgName?: string;
|
|
9881
|
+
/**
|
|
9882
|
+
* 经营拍卖单位地址
|
|
9883
|
+
*/
|
|
9884
|
+
AuctionOrgAddress?: string;
|
|
9885
|
+
/**
|
|
9886
|
+
* 经营拍卖单位纳税人识别号
|
|
9887
|
+
*/
|
|
9888
|
+
AuctionOrgTaxID?: string;
|
|
9889
|
+
/**
|
|
9890
|
+
* 经营拍卖单位开户银行账号
|
|
9891
|
+
*/
|
|
9892
|
+
AuctionOrgBankAccount?: string;
|
|
9893
|
+
/**
|
|
9894
|
+
* 经营拍卖单位电话
|
|
9895
|
+
*/
|
|
9896
|
+
AuctionOrgPhone?: string;
|
|
9897
|
+
/**
|
|
9898
|
+
* 开票人
|
|
9899
|
+
*/
|
|
9900
|
+
Issuer?: string;
|
|
9901
|
+
/**
|
|
9902
|
+
* 税控码
|
|
9903
|
+
*/
|
|
9904
|
+
TaxCode?: string;
|
|
9905
|
+
/**
|
|
9906
|
+
* 机器编号
|
|
9907
|
+
*/
|
|
9908
|
+
MachineSerialNumber?: string;
|
|
9909
|
+
/**
|
|
9910
|
+
* 机打发票代码
|
|
9911
|
+
*/
|
|
9912
|
+
MachineCode?: string;
|
|
9913
|
+
/**
|
|
9914
|
+
* 机打发票号码
|
|
9915
|
+
*/
|
|
9916
|
+
MachineNumber?: string;
|
|
9917
|
+
}
|
|
9752
9918
|
/**
|
|
9753
9919
|
* EnglishOCR返回参数结构体
|
|
9754
9920
|
*/
|
|
@@ -10501,17 +10667,33 @@ export interface VehicleLicenseOCRRequest {
|
|
|
10501
10667
|
TractorCardSide?: string;
|
|
10502
10668
|
}
|
|
10503
10669
|
/**
|
|
10504
|
-
*
|
|
10670
|
+
* RecognizeTravelCardOCR返回参数结构体
|
|
10505
10671
|
*/
|
|
10506
|
-
export interface
|
|
10672
|
+
export interface RecognizeTravelCardOCRResponse {
|
|
10507
10673
|
/**
|
|
10508
|
-
*
|
|
10674
|
+
* 行程卡更新时间,格式为:XXXX.XX.XX XX:XX:XX
|
|
10509
10675
|
*/
|
|
10510
|
-
|
|
10676
|
+
Time?: string;
|
|
10511
10677
|
/**
|
|
10512
|
-
*
|
|
10678
|
+
* 行程卡颜色:绿色、黄色、红色
|
|
10513
10679
|
*/
|
|
10514
|
-
|
|
10680
|
+
Color?: string;
|
|
10681
|
+
/**
|
|
10682
|
+
* 7天内到达或途经的城市(自2022年7月8日起,通信行程卡查询结果的覆盖时间范围由“14天”调整为“7天”)
|
|
10683
|
+
*/
|
|
10684
|
+
ReachedCity?: Array<string>;
|
|
10685
|
+
/**
|
|
10686
|
+
* 7天内到达或途径存在中高风险地区的城市(自2022年6月29日起,通信行程卡取消“星号”标记,改字段将返回空值)
|
|
10687
|
+
*/
|
|
10688
|
+
RiskArea?: Array<string>;
|
|
10689
|
+
/**
|
|
10690
|
+
* 电话号码
|
|
10691
|
+
*/
|
|
10692
|
+
Telephone?: string;
|
|
10693
|
+
/**
|
|
10694
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10695
|
+
*/
|
|
10696
|
+
RequestId?: string;
|
|
10515
10697
|
}
|
|
10516
10698
|
/**
|
|
10517
10699
|
* VatRollInvoiceOCR请求参数结构体
|
|
@@ -11352,181 +11534,41 @@ export interface GeneralFastOCRResponse {
|
|
|
11352
11534
|
RequestId?: string;
|
|
11353
11535
|
}
|
|
11354
11536
|
/**
|
|
11355
|
-
*
|
|
11537
|
+
* 单元格数据
|
|
11356
11538
|
*/
|
|
11357
|
-
export interface
|
|
11358
|
-
/**
|
|
11359
|
-
* 发票名称
|
|
11360
|
-
*/
|
|
11361
|
-
Title?: string;
|
|
11362
|
-
/**
|
|
11363
|
-
* 是否存在二维码(0:没有,1:有)
|
|
11364
|
-
*/
|
|
11365
|
-
QRCodeMark?: number;
|
|
11366
|
-
/**
|
|
11367
|
-
* 发票代码
|
|
11368
|
-
*/
|
|
11369
|
-
Code?: string;
|
|
11370
|
-
/**
|
|
11371
|
-
* 发票号码
|
|
11372
|
-
*/
|
|
11373
|
-
Number?: string;
|
|
11374
|
-
/**
|
|
11375
|
-
* 开票日期
|
|
11376
|
-
*/
|
|
11377
|
-
Date?: string;
|
|
11378
|
-
/**
|
|
11379
|
-
* 价税合计(小写)
|
|
11380
|
-
*/
|
|
11381
|
-
Total?: string;
|
|
11382
|
-
/**
|
|
11383
|
-
* 价税合计(大写)
|
|
11384
|
-
*/
|
|
11385
|
-
TotalCn?: string;
|
|
11386
|
-
/**
|
|
11387
|
-
* 销货单位名称
|
|
11388
|
-
*/
|
|
11389
|
-
Seller?: string;
|
|
11390
|
-
/**
|
|
11391
|
-
* 销售方电话
|
|
11392
|
-
*/
|
|
11393
|
-
SellerTel?: string;
|
|
11394
|
-
/**
|
|
11395
|
-
* 销售方单位代码/个人身份证号
|
|
11396
|
-
*/
|
|
11397
|
-
SellerTaxID?: string;
|
|
11398
|
-
/**
|
|
11399
|
-
* 销售方地址
|
|
11400
|
-
*/
|
|
11401
|
-
SellerAddress?: string;
|
|
11402
|
-
/**
|
|
11403
|
-
* 购买方名称
|
|
11404
|
-
*/
|
|
11405
|
-
Buyer?: string;
|
|
11406
|
-
/**
|
|
11407
|
-
* 购买方单位代码/个人身份证号
|
|
11408
|
-
*/
|
|
11409
|
-
BuyerID?: string;
|
|
11410
|
-
/**
|
|
11411
|
-
* 购买方地址
|
|
11412
|
-
*/
|
|
11413
|
-
BuyerAddress?: string;
|
|
11414
|
-
/**
|
|
11415
|
-
* 购买方电话
|
|
11416
|
-
*/
|
|
11417
|
-
BuyerTel?: string;
|
|
11418
|
-
/**
|
|
11419
|
-
* 二手车市场
|
|
11420
|
-
*/
|
|
11421
|
-
CompanyName?: string;
|
|
11422
|
-
/**
|
|
11423
|
-
* 二手车市场纳税人识别号
|
|
11424
|
-
*/
|
|
11425
|
-
CompanyTaxID?: string;
|
|
11426
|
-
/**
|
|
11427
|
-
* 二手车市场开户银行和账号
|
|
11428
|
-
*/
|
|
11429
|
-
CompanyBankAccount?: string;
|
|
11430
|
-
/**
|
|
11431
|
-
* 二手车市场电话
|
|
11432
|
-
*/
|
|
11433
|
-
CompanyTel?: string;
|
|
11434
|
-
/**
|
|
11435
|
-
* 二手车市场地址
|
|
11436
|
-
*/
|
|
11437
|
-
CompanyAddress?: string;
|
|
11438
|
-
/**
|
|
11439
|
-
* 转入地车辆管理所名称
|
|
11440
|
-
*/
|
|
11441
|
-
TransferAdministrationName?: string;
|
|
11442
|
-
/**
|
|
11443
|
-
* 车牌号
|
|
11444
|
-
*/
|
|
11445
|
-
LicensePlate?: string;
|
|
11446
|
-
/**
|
|
11447
|
-
* 登记证号
|
|
11448
|
-
*/
|
|
11449
|
-
RegistrationNumber?: string;
|
|
11450
|
-
/**
|
|
11451
|
-
* 车辆识别代码
|
|
11452
|
-
*/
|
|
11453
|
-
VIN?: string;
|
|
11454
|
-
/**
|
|
11455
|
-
* 厂牌型号
|
|
11456
|
-
*/
|
|
11457
|
-
VehicleModel?: string;
|
|
11458
|
-
/**
|
|
11459
|
-
* 发票消费类型
|
|
11460
|
-
*/
|
|
11461
|
-
Kind?: string;
|
|
11462
|
-
/**
|
|
11463
|
-
* 省
|
|
11464
|
-
*/
|
|
11465
|
-
Province?: string;
|
|
11466
|
-
/**
|
|
11467
|
-
* 市
|
|
11468
|
-
*/
|
|
11469
|
-
City?: string;
|
|
11470
|
-
/**
|
|
11471
|
-
* 车辆类型
|
|
11472
|
-
*/
|
|
11473
|
-
VehicleType?: string;
|
|
11474
|
-
/**
|
|
11475
|
-
* 备注
|
|
11476
|
-
*/
|
|
11477
|
-
Remark?: string;
|
|
11478
|
-
/**
|
|
11479
|
-
* 发票联次
|
|
11480
|
-
*/
|
|
11481
|
-
FormType?: string;
|
|
11482
|
-
/**
|
|
11483
|
-
* 发票联名
|
|
11484
|
-
*/
|
|
11485
|
-
FormName?: string;
|
|
11486
|
-
/**
|
|
11487
|
-
* 是否有公司印章(0:没有,1:有)
|
|
11488
|
-
*/
|
|
11489
|
-
CompanySealMark?: number;
|
|
11490
|
-
/**
|
|
11491
|
-
* 经营拍卖单位
|
|
11492
|
-
*/
|
|
11493
|
-
AuctionOrgName?: string;
|
|
11494
|
-
/**
|
|
11495
|
-
* 经营拍卖单位地址
|
|
11496
|
-
*/
|
|
11497
|
-
AuctionOrgAddress?: string;
|
|
11539
|
+
export interface TableCellInfo {
|
|
11498
11540
|
/**
|
|
11499
|
-
*
|
|
11541
|
+
* 单元格左上角的列索引
|
|
11500
11542
|
*/
|
|
11501
|
-
|
|
11543
|
+
ColTl: number;
|
|
11502
11544
|
/**
|
|
11503
|
-
*
|
|
11545
|
+
* 单元格左上角的行索引
|
|
11504
11546
|
*/
|
|
11505
|
-
|
|
11547
|
+
RowTl: number;
|
|
11506
11548
|
/**
|
|
11507
|
-
*
|
|
11549
|
+
* 单元格右下角的列索引
|
|
11508
11550
|
*/
|
|
11509
|
-
|
|
11551
|
+
ColBr: number;
|
|
11510
11552
|
/**
|
|
11511
|
-
*
|
|
11553
|
+
* 单元格右下角的行索引
|
|
11512
11554
|
*/
|
|
11513
|
-
|
|
11555
|
+
RowBr: number;
|
|
11514
11556
|
/**
|
|
11515
|
-
*
|
|
11557
|
+
* 单元格内识别出的字符串文本,若文本存在多行,以换行符"\n"隔开
|
|
11516
11558
|
*/
|
|
11517
|
-
|
|
11559
|
+
Text: string;
|
|
11518
11560
|
/**
|
|
11519
|
-
*
|
|
11561
|
+
* 单元格类型
|
|
11520
11562
|
*/
|
|
11521
|
-
|
|
11563
|
+
Type: string;
|
|
11522
11564
|
/**
|
|
11523
|
-
*
|
|
11565
|
+
* 单元格置信度
|
|
11524
11566
|
*/
|
|
11525
|
-
|
|
11567
|
+
Confidence: number;
|
|
11526
11568
|
/**
|
|
11527
|
-
*
|
|
11569
|
+
* 单元格在图像中的四点坐标
|
|
11528
11570
|
*/
|
|
11529
|
-
|
|
11571
|
+
Polygon: Array<Coord>;
|
|
11530
11572
|
}
|
|
11531
11573
|
/**
|
|
11532
11574
|
* 二维码/条形码坐标信息
|