tencentcloud-sdk-nodejs-ocr 4.1.111 → 4.1.115

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.
@@ -57,6 +57,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
57
57
  async TaxiInvoiceOCR(req, cb) {
58
58
  return this.request("TaxiInvoiceOCR", req, cb);
59
59
  }
60
+ async DescribeExtractDocAgentJob(req, cb) {
61
+ return this.request("DescribeExtractDocAgentJob", req, cb);
62
+ }
60
63
  async RideHailingDriverLicenseOCR(req, cb) {
61
64
  return this.request("RideHailingDriverLicenseOCR", req, cb);
62
65
  }
@@ -183,12 +186,15 @@ export class Client extends TencentCloudCommon.AbstractClient {
183
186
  async BankSlipOCR(req, cb) {
184
187
  return this.request("BankSlipOCR", req, cb);
185
188
  }
186
- async ResidenceBookletOCR(req, cb) {
187
- return this.request("ResidenceBookletOCR", req, cb);
189
+ async VehicleRegCertOCR(req, cb) {
190
+ return this.request("VehicleRegCertOCR", req, cb);
188
191
  }
189
192
  async RecognizeTravelCardOCR(req, cb) {
190
193
  return this.request("RecognizeTravelCardOCR", req, cb);
191
194
  }
195
+ async SubmitExtractDocAgentJob(req, cb) {
196
+ return this.request("SubmitExtractDocAgentJob", req, cb);
197
+ }
192
198
  async VerifyOfdVatInvoiceOCR(req, cb) {
193
199
  return this.request("VerifyOfdVatInvoiceOCR", req, cb);
194
200
  }
@@ -246,8 +252,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
246
252
  async AdvertiseOCR(req, cb) {
247
253
  return this.request("AdvertiseOCR", req, cb);
248
254
  }
249
- async VehicleRegCertOCR(req, cb) {
250
- return this.request("VehicleRegCertOCR", req, cb);
255
+ async ResidenceBookletOCR(req, cb) {
256
+ return this.request("ResidenceBookletOCR", req, cb);
251
257
  }
252
258
  async CarInvoiceOCR(req, cb) {
253
259
  return this.request("CarInvoiceOCR", req, cb);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.1.111",
3
+ "version": "4.1.115",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -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, RecognizeTravelCardOCRRequest, 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, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, 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, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
2
+ import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, RecognizeTravelCardOCRRequest, 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, 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, RecognizeTravelCardOCRResponse, 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, 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
@@ -161,14 +161,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
161
161
  */
162
162
  TrainTicketOCR(req: TrainTicketOCRRequest, cb?: (error: string, rep: TrainTicketOCRResponse) => void): Promise<TrainTicketOCRResponse>;
163
163
  /**
164
- * 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
164
+ * <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
165
+ 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
165
166
  目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
166
167
 
167
168
  默认接口请求频率限制:5次/秒。
168
169
  */
169
170
  PropOwnerCertOCR(req: PropOwnerCertOCRRequest, cb?: (error: string, rep: PropOwnerCertOCRResponse) => void): Promise<PropOwnerCertOCRResponse>;
170
171
  /**
171
- * 本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
172
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
173
+ 本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
172
174
 
173
175
  默认接口请求频率限制:5次/秒。
174
176
  */
@@ -186,7 +188,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
186
188
  */
187
189
  PermitOCR(req: PermitOCRRequest, cb?: (error: string, rep: PermitOCRResponse) => void): Promise<PermitOCRResponse>;
188
190
  /**
189
- * 本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
191
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
192
+ 本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
190
193
 
191
194
  默认接口请求频率限制:5次/秒。
192
195
  */
@@ -214,6 +217,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
214
217
  默认接口请求频率限制:5次/秒。
215
218
  */
216
219
  TaxiInvoiceOCR(req: TaxiInvoiceOCRRequest, cb?: (error: string, rep: TaxiInvoiceOCRResponse) => void): Promise<TaxiInvoiceOCRResponse>;
220
+ /**
221
+ * 用于查询文档处理任务。文档处理领域里常见的通用Agent 如抽取、比对之类的,目前我们提供的抽取,但未来可以根据实际情况和客户需求扩展。
222
+ */
223
+ DescribeExtractDocAgentJob(req: DescribeExtractDocAgentJobRequest, cb?: (error: string, rep: DescribeExtractDocAgentJobResponse) => void): Promise<DescribeExtractDocAgentJobResponse>;
217
224
  /**
218
225
  * 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
219
226
 
@@ -221,8 +228,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
221
228
  */
222
229
  RideHailingDriverLicenseOCR(req: RideHailingDriverLicenseOCRRequest, cb?: (error: string, rep: RideHailingDriverLicenseOCRResponse) => void): Promise<RideHailingDriverLicenseOCRResponse>;
223
230
  /**
224
- * 外国人永久居留身份证识别
225
- */
231
+ * <b>因技术原因,本接口将不再迭代升级。有效身份证件识别(鉴伪版)可支持此类证件的识别,并包含质量和PS告警,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/112345">有效身份证件识别(鉴伪版)</a>。</b>
232
+ 外国人永久居留身份证识别
233
+ */
226
234
  RecognizeForeignPermanentResidentIdCard(req: RecognizeForeignPermanentResidentIdCardRequest, cb?: (error: string, rep: RecognizeForeignPermanentResidentIdCardResponse) => void): Promise<RecognizeForeignPermanentResidentIdCardResponse>;
227
235
  /**
228
236
  * 智能识别并结构化港澳台通行证及来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
@@ -231,7 +239,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
231
239
  */
232
240
  MainlandPermitOCR(req: MainlandPermitOCRRequest, cb?: (error: string, rep: MainlandPermitOCRResponse) => void): Promise<MainlandPermitOCRResponse>;
233
241
  /**
234
- * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
242
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
243
+ 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
235
244
 
236
245
  默认接口请求频率限制:5次/秒。
237
246
  */
@@ -658,11 +667,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
658
667
  */
659
668
  IDCardOCR(req: IDCardOCRRequest, cb?: (error: string, rep: IDCardOCRResponse) => void): Promise<IDCardOCRResponse>;
660
669
  /**
661
- * 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
662
- */
670
+ * <b>因技术原因,本接口将不再迭代升级。通用卡证鉴伪可支持更多告警类型,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/115916">通用卡证鉴伪</a>。</b>
671
+ 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
672
+ */
663
673
  RecognizeGeneralTextImageWarn(req: RecognizeGeneralTextImageWarnRequest, cb?: (error: string, rep: RecognizeGeneralTextImageWarnResponse) => void): Promise<RecognizeGeneralTextImageWarnResponse>;
664
674
  /**
665
- * 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
675
+ * <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
676
+ 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
666
677
 
667
678
  默认接口请求频率限制:5次/秒。
668
679
  */
@@ -679,13 +690,15 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
679
690
  */
680
691
  MixedInvoiceDetect(req: MixedInvoiceDetectRequest, cb?: (error: string, rep: MixedInvoiceDetectResponse) => void): Promise<MixedInvoiceDetectResponse>;
681
692
  /**
682
- * 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
693
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
694
+ 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
683
695
 
684
696
  默认接口请求频率限制:5次/秒。
685
697
  */
686
698
  VatRollInvoiceOCR(req: VatRollInvoiceOCRRequest, cb?: (error: string, rep: VatRollInvoiceOCRResponse) => void): Promise<VatRollInvoiceOCRResponse>;
687
699
  /**
688
- * 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
700
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
701
+ 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
689
702
 
690
703
  默认接口请求频率限制:5次/秒。
691
704
  */
@@ -737,7 +750,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
737
750
  */
738
751
  HmtResidentPermitOCR(req: HmtResidentPermitOCRRequest, cb?: (error: string, rep: HmtResidentPermitOCRResponse) => void): Promise<HmtResidentPermitOCRResponse>;
739
752
  /**
740
- * 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
753
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
754
+ 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
741
755
 
742
756
  默认接口请求频率限制:5次/秒。
743
757
  */
@@ -767,17 +781,21 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
767
781
  */
768
782
  BankSlipOCR(req: BankSlipOCRRequest, cb?: (error: string, rep: BankSlipOCRResponse) => void): Promise<BankSlipOCRResponse>;
769
783
  /**
770
- * 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
784
+ * 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
771
785
 
772
786
  默认接口请求频率限制:5次/秒。
773
787
  */
774
- ResidenceBookletOCR(req: ResidenceBookletOCRRequest, cb?: (error: string, rep: ResidenceBookletOCRResponse) => void): Promise<ResidenceBookletOCRResponse>;
788
+ VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
775
789
  /**
776
790
  * 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
777
791
 
778
792
  默认接口请求频率限制:20次/秒。
779
793
  */
780
794
  RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
795
+ /**
796
+ * 文档处理领域里常见的通用Agent 如抽取、比对之类的,目前我们提供的抽取,但未来可以根据实际情况和客户需求扩展。
797
+ */
798
+ SubmitExtractDocAgentJob(req: SubmitExtractDocAgentJobRequest, cb?: (error: string, rep: SubmitExtractDocAgentJobResponse) => void): Promise<SubmitExtractDocAgentJobResponse>;
781
799
  /**
782
800
  * 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
783
801
  */
@@ -797,7 +815,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
797
815
  */
798
816
  DriverLicenseOCR(req: DriverLicenseOCRRequest, cb?: (error: string, rep: DriverLicenseOCRResponse) => void): Promise<DriverLicenseOCRResponse>;
799
817
  /**
800
- * 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
818
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
819
+ 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
801
820
 
802
821
  默认接口请求频率限制:5次/秒。
803
822
  */
@@ -856,19 +875,22 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
856
875
  */
857
876
  VatInvoiceOCR(req: VatInvoiceOCRRequest, cb?: (error: string, rep: VatInvoiceOCRResponse) => void): Promise<VatInvoiceOCRResponse>;
858
877
  /**
859
- * 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
878
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
879
+ 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
860
880
 
861
881
  默认接口请求频率限制:5次/秒。
862
882
  */
863
883
  DutyPaidProofOCR(req: DutyPaidProofOCRRequest, cb?: (error: string, rep: DutyPaidProofOCRResponse) => void): Promise<DutyPaidProofOCRResponse>;
864
884
  /**
865
- * 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
885
+ * <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
886
+ 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
866
887
 
867
888
  默认接口请求频率限制:5次/秒。
868
889
  */
869
890
  OrgCodeCertOCR(req: OrgCodeCertOCRRequest, cb?: (error: string, rep: OrgCodeCertOCRResponse) => void): Promise<OrgCodeCertOCRResponse>;
870
891
  /**
871
- * 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
892
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
893
+ 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
872
894
 
873
895
  默认接口请求频率限制:5次/秒。
874
896
  */
@@ -962,11 +984,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
962
984
  */
963
985
  AdvertiseOCR(req: AdvertiseOCRRequest, cb?: (error: string, rep: AdvertiseOCRResponse) => void): Promise<AdvertiseOCRResponse>;
964
986
  /**
965
- * 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
987
+ * 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
966
988
 
967
989
  默认接口请求频率限制:5次/秒。
968
990
  */
969
- VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
991
+ ResidenceBookletOCR(req: ResidenceBookletOCRRequest, cb?: (error: string, rep: ResidenceBookletOCRResponse) => void): Promise<ResidenceBookletOCRResponse>;
970
992
  /**
971
993
  * 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
972
994
 
@@ -984,13 +1006,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
984
1006
  */
985
1007
  FormulaOCR(req: FormulaOCRRequest, cb?: (error: string, rep: FormulaOCRResponse) => void): Promise<FormulaOCRResponse>;
986
1008
  /**
987
- * 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
1009
+ * <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
1010
+
1011
+ 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
988
1012
 
989
1013
  默认接口请求频率限制:10次/秒。
990
1014
  */
991
1015
  PassportOCR(req: PassportOCRRequest, cb?: (error: string, rep: PassportOCRResponse) => void): Promise<PassportOCRResponse>;
992
1016
  /**
993
- * 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
1017
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
1018
+ 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
994
1019
 
995
1020
  默认接口请求频率限制:5次/秒。
996
1021
  */
@@ -201,7 +201,8 @@ class Client extends TencentCloudCommon.AbstractClient {
201
201
  return this.request("TrainTicketOCR", req, cb);
202
202
  }
203
203
  /**
204
- * 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
204
+ * <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
205
+ 本接口支持房产证关键字段的识别,包括房地产权利人、共有情况、登记时间、规划用途、房屋性质、房屋坐落等。
205
206
  目前接口对合肥、成都、佛山三个城市的房产证版式识别较好。
206
207
 
207
208
  默认接口请求频率限制:5次/秒。
@@ -210,7 +211,8 @@ class Client extends TencentCloudCommon.AbstractClient {
210
211
  return this.request("PropOwnerCertOCR", req, cb);
211
212
  }
212
213
  /**
213
- * 本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
214
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
215
+ 本接口支持对通用机打发票的发票代码、发票号码、日期、合计金额(小写)、合计金额(大写)、购买方识别号、销售方识别号、校验码、购买方名称、销售方名称、时间、种类、发票消费类型、省、市、是否有公司印章、发票名称、购买方地址、电话、销售方地址、电话、购买方开户行及账号、销售方开户行及账号、经办人取票用户、经办人支付信息、经办人商户号、经办人订单号、货物或应税劳务、服务名称、数量、单价、税率、税额、金额、单位、规格型号、合计税额、合计金额、备注、收款人、复核、开票人、密码区、行业分类等字段的识别。
214
216
 
215
217
  默认接口请求频率限制:5次/秒。
216
218
  */
@@ -234,7 +236,8 @@ class Client extends TencentCloudCommon.AbstractClient {
234
236
  return this.request("PermitOCR", req, cb);
235
237
  }
236
238
  /**
237
- * 本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
239
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
240
+ 本接口支持识别公路汽车客票关键字段的识别,包括发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次等。
238
241
 
239
242
  默认接口请求频率限制:5次/秒。
240
243
  */
@@ -272,6 +275,12 @@ class Client extends TencentCloudCommon.AbstractClient {
272
275
  async TaxiInvoiceOCR(req, cb) {
273
276
  return this.request("TaxiInvoiceOCR", req, cb);
274
277
  }
278
+ /**
279
+ * 用于查询文档处理任务。文档处理领域里常见的通用Agent 如抽取、比对之类的,目前我们提供的抽取,但未来可以根据实际情况和客户需求扩展。
280
+ */
281
+ async DescribeExtractDocAgentJob(req, cb) {
282
+ return this.request("DescribeExtractDocAgentJob", req, cb);
283
+ }
275
284
  /**
276
285
  * 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
277
286
 
@@ -281,8 +290,9 @@ class Client extends TencentCloudCommon.AbstractClient {
281
290
  return this.request("RideHailingDriverLicenseOCR", req, cb);
282
291
  }
283
292
  /**
284
- * 外国人永久居留身份证识别
285
- */
293
+ * <b>因技术原因,本接口将不再迭代升级。有效身份证件识别(鉴伪版)可支持此类证件的识别,并包含质量和PS告警,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/112345">有效身份证件识别(鉴伪版)</a>。</b>
294
+ 外国人永久居留身份证识别
295
+ */
286
296
  async RecognizeForeignPermanentResidentIdCard(req, cb) {
287
297
  return this.request("RecognizeForeignPermanentResidentIdCard", req, cb);
288
298
  }
@@ -295,7 +305,8 @@ class Client extends TencentCloudCommon.AbstractClient {
295
305
  return this.request("MainlandPermitOCR", req, cb);
296
306
  }
297
307
  /**
298
- * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
308
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
309
+ 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
299
310
 
300
311
  默认接口请求频率限制:5次/秒。
301
312
  */
@@ -764,13 +775,15 @@ class Client extends TencentCloudCommon.AbstractClient {
764
775
  return this.request("IDCardOCR", req, cb);
765
776
  }
766
777
  /**
767
- * 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
768
- */
778
+ * <b>因技术原因,本接口将不再迭代升级。通用卡证鉴伪可支持更多告警类型,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/115916">通用卡证鉴伪</a>。</b>
779
+ 本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
780
+ */
769
781
  async RecognizeGeneralTextImageWarn(req, cb) {
770
782
  return this.request("RecognizeGeneralTextImageWarn", req, cb);
771
783
  }
772
784
  /**
773
- * 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
785
+ * <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
786
+ 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
774
787
 
775
788
  默认接口请求频率限制:5次/秒。
776
789
  */
@@ -793,7 +806,8 @@ class Client extends TencentCloudCommon.AbstractClient {
793
806
  return this.request("MixedInvoiceDetect", req, cb);
794
807
  }
795
808
  /**
796
- * 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
809
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
810
+ 本接口支持对增值税发票(卷票)关键字段的识别,包括的发票代码、合计金额(小写)、合计金额(大写)、开票日期、发票号码、购买方识别号、销售方识别号、校验码、销售方名称、购买方名称、发票消费类型、省、市、是否有公司印章、单价、金额、数量、服务类型、品名、种类等。
797
811
 
798
812
  默认接口请求频率限制:5次/秒。
799
813
  */
@@ -801,7 +815,8 @@ class Client extends TencentCloudCommon.AbstractClient {
801
815
  return this.request("VatRollInvoiceOCR", req, cb);
802
816
  }
803
817
  /**
804
- * 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
818
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
819
+ 本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
805
820
 
806
821
  默认接口请求频率限制:5次/秒。
807
822
  */
@@ -869,7 +884,8 @@ class Client extends TencentCloudCommon.AbstractClient {
869
884
  return this.request("HmtResidentPermitOCR", req, cb);
870
885
  }
871
886
  /**
872
- * 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
887
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
888
+ 本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
873
889
 
874
890
  默认接口请求频率限制:5次/秒。
875
891
  */
@@ -909,12 +925,12 @@ class Client extends TencentCloudCommon.AbstractClient {
909
925
  return this.request("BankSlipOCR", req, cb);
910
926
  }
911
927
  /**
912
- * 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
928
+ * 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
913
929
 
914
930
  默认接口请求频率限制:5次/秒。
915
931
  */
916
- async ResidenceBookletOCR(req, cb) {
917
- return this.request("ResidenceBookletOCR", req, cb);
932
+ async VehicleRegCertOCR(req, cb) {
933
+ return this.request("VehicleRegCertOCR", req, cb);
918
934
  }
919
935
  /**
920
936
  * 本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
@@ -924,6 +940,12 @@ class Client extends TencentCloudCommon.AbstractClient {
924
940
  async RecognizeTravelCardOCR(req, cb) {
925
941
  return this.request("RecognizeTravelCardOCR", req, cb);
926
942
  }
943
+ /**
944
+ * 文档处理领域里常见的通用Agent 如抽取、比对之类的,目前我们提供的抽取,但未来可以根据实际情况和客户需求扩展。
945
+ */
946
+ async SubmitExtractDocAgentJob(req, cb) {
947
+ return this.request("SubmitExtractDocAgentJob", req, cb);
948
+ }
927
949
  /**
928
950
  * 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
929
951
  */
@@ -947,7 +969,8 @@ class Client extends TencentCloudCommon.AbstractClient {
947
969
  return this.request("DriverLicenseOCR", req, cb);
948
970
  }
949
971
  /**
950
- * 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
972
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
973
+ 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
951
974
 
952
975
  默认接口请求频率限制:5次/秒。
953
976
  */
@@ -1026,7 +1049,8 @@ class Client extends TencentCloudCommon.AbstractClient {
1026
1049
  return this.request("VatInvoiceOCR", req, cb);
1027
1050
  }
1028
1051
  /**
1029
- * 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
1052
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
1053
+ 本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
1030
1054
 
1031
1055
  默认接口请求频率限制:5次/秒。
1032
1056
  */
@@ -1034,7 +1058,8 @@ class Client extends TencentCloudCommon.AbstractClient {
1034
1058
  return this.request("DutyPaidProofOCR", req, cb);
1035
1059
  }
1036
1060
  /**
1037
- * 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
1061
+ * <b>因技术原因,本接口将不再迭代升级。文档抽取(基础版)可支持此类证书的识别抽取,效果、功能更强并将持续迭代优化,建议使用<a href="https://cloud.tencent.com/document/product/866/119452">文档抽取(基础版)</a>。</b>
1062
+ 本接口支持组织机构代码证关键字段的识别,包括代码、有效期、地址、机构名称等。
1038
1063
 
1039
1064
  默认接口请求频率限制:5次/秒。
1040
1065
  */
@@ -1042,7 +1067,8 @@ class Client extends TencentCloudCommon.AbstractClient {
1042
1067
  return this.request("OrgCodeCertOCR", req, cb);
1043
1068
  }
1044
1069
  /**
1045
- * 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
1070
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
1071
+ 本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
1046
1072
 
1047
1073
  默认接口请求频率限制:5次/秒。
1048
1074
  */
@@ -1146,12 +1172,12 @@ class Client extends TencentCloudCommon.AbstractClient {
1146
1172
  return this.request("AdvertiseOCR", req, cb);
1147
1173
  }
1148
1174
  /**
1149
- * 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
1175
+ * 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
1150
1176
 
1151
1177
  默认接口请求频率限制:5次/秒。
1152
1178
  */
1153
- async VehicleRegCertOCR(req, cb) {
1154
- return this.request("VehicleRegCertOCR", req, cb);
1179
+ async ResidenceBookletOCR(req, cb) {
1180
+ return this.request("ResidenceBookletOCR", req, cb);
1155
1181
  }
1156
1182
  /**
1157
1183
  * 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
@@ -1176,7 +1202,9 @@ class Client extends TencentCloudCommon.AbstractClient {
1176
1202
  return this.request("FormulaOCR", req, cb);
1177
1203
  }
1178
1204
  /**
1179
- * 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
1205
+ * <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
1206
+
1207
+ 本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
1180
1208
 
1181
1209
  默认接口请求频率限制:10次/秒。
1182
1210
  */
@@ -1184,7 +1212,8 @@ class Client extends TencentCloudCommon.AbstractClient {
1184
1212
  return this.request("PassportOCR", req, cb);
1185
1213
  }
1186
1214
  /**
1187
- * 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
1215
+ * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
1216
+ 本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
1188
1217
 
1189
1218
  默认接口请求频率限制:5次/秒。
1190
1219
  */
@@ -4067,28 +4067,23 @@ export interface OrgCodeCertOCRResponse {
4067
4067
  RequestId?: string;
4068
4068
  }
4069
4069
  /**
4070
- * PermitOCR请求参数结构体
4070
+ * 自定义抽取需要的字段名称、字段类型、字段提示词。
4071
4071
  */
4072
- export interface PermitOCRRequest {
4072
+ export interface ItemNames {
4073
4073
  /**
4074
- * 图片的 Base64 值。
4075
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4076
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
4077
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
4074
+ * 自定义抽取功能需返回的字段名称。
4078
4075
  */
4079
- ImageBase64?: string;
4076
+ KeyName?: string;
4080
4077
  /**
4081
- * 图片的 Url 地址。
4082
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4083
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
4084
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
4085
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
4078
+ * 默认 0;0表示kv对 1表示 表格字段。
4079
+
4086
4080
  */
4087
- ImageUrl?: string;
4081
+ KeyType?: number;
4088
4082
  /**
4089
- * 是否返回头像照片,默认为 false
4083
+ * 抽取字段的描述内容。
4084
+
4090
4085
  */
4091
- CropPortrait?: boolean;
4086
+ KeyPrompt?: string;
4092
4087
  }
4093
4088
  /**
4094
4089
  * 混贴票据中单张发票的内容
@@ -4585,6 +4580,19 @@ export interface RecognizeContainerOCRRequest {
4585
4580
  */
4586
4581
  ImageUrl?: string;
4587
4582
  }
4583
+ /**
4584
+ * SubmitExtractDocAgentJob返回参数结构体
4585
+ */
4586
+ export interface SubmitExtractDocAgentJobResponse {
4587
+ /**
4588
+ * 任务唯一ID。由服务端生成。
4589
+ */
4590
+ JobId?: string;
4591
+ /**
4592
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4593
+ */
4594
+ RequestId?: string;
4595
+ }
4588
4596
  /**
4589
4597
  * 火车票
4590
4598
  */
@@ -4771,6 +4779,43 @@ export interface RecognizeThaiIDCardOCRRequest {
4771
4779
  */
4772
4780
  CropPortrait?: boolean;
4773
4781
  }
4782
+ /**
4783
+ * 身份证配置信息
4784
+ */
4785
+ export interface IDCardConfig {
4786
+ /**
4787
+ * 复印件告警,默认为false
4788
+ */
4789
+ CopyWarn?: boolean;
4790
+ /**
4791
+ * 边框和框内遮挡告警,默认为false
4792
+ */
4793
+ BorderCheckWarn?: boolean;
4794
+ /**
4795
+ * 翻拍告警,默认为false
4796
+ */
4797
+ ReshootWarn?: boolean;
4798
+ /**
4799
+ * 疑似存在PS痕迹告警,默认为false
4800
+ */
4801
+ DetectPsWarn?: boolean;
4802
+ /**
4803
+ * 临时身份证告警,默认为false
4804
+ */
4805
+ TempIdWarn?: boolean;
4806
+ /**
4807
+ * 身份证有效日期不合法告警,默认为false
4808
+ */
4809
+ InvalidDateWarn?: boolean;
4810
+ /**
4811
+ * 是否开启反光检测,默认为false
4812
+ */
4813
+ ReflectWarn?: boolean;
4814
+ /**
4815
+ * 是否开启头像剪切
4816
+ */
4817
+ CropPortrait?: boolean;
4818
+ }
4774
4819
  /**
4775
4820
  * 名片识别结果
4776
4821
  */
@@ -6524,7 +6569,7 @@ export interface GeneralAccurateOCRRequest {
6524
6569
  */
6525
6570
  IsWords?: boolean;
6526
6571
  /**
6527
- * 是否开启原图切图检测功能,开启后可提升“整图面积大,但单字符占比面积小”(例如:试卷)场景下的识别效果,默认关
6572
+ * 是否开启原图切图检测功能,开启后可提升“整图面积大,但单字符占比面积小”(例如:试卷)场景下的识别效果,默认关,注:仅ConfigID配置为OCR时支持。
6528
6573
  */
6529
6574
  EnableDetectSplit?: boolean;
6530
6575
  /**
@@ -6540,7 +6585,7 @@ export interface GeneralAccurateOCRRequest {
6540
6585
  */
6541
6586
  EnableDetectText?: boolean;
6542
6587
  /**
6543
- * 配置ID支持: OCR -- 通用场景 MulOCR--多语种场景
6588
+ * 配置ID支持: OCR -- 通用场景 MulOCR--多语种场景,注:仅ConfigID配置为OCR时支持
6544
6589
  */
6545
6590
  ConfigID?: string;
6546
6591
  }
@@ -7305,25 +7350,13 @@ export interface ClassifyStoreNameResponse {
7305
7350
  RequestId?: string;
7306
7351
  }
7307
7352
  /**
7308
- * VatRollInvoiceOCR请求参数结构体
7353
+ * DescribeExtractDocAgentJob请求参数结构体
7309
7354
  */
7310
- export interface VatRollInvoiceOCRRequest {
7311
- /**
7312
- * 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
7313
- */
7314
- ImageBase64?: string;
7315
- /**
7316
- * 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
7317
- */
7318
- ImageUrl?: string;
7319
- /**
7320
- * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
7321
- */
7322
- IsPdf?: boolean;
7355
+ export interface DescribeExtractDocAgentJobRequest {
7323
7356
  /**
7324
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
7357
+ * 任务唯一ID。由服务端生成。
7325
7358
  */
7326
- PdfPageNumber?: number;
7359
+ JobId?: string;
7327
7360
  }
7328
7361
  /**
7329
7362
  * 机票行程单
@@ -8160,41 +8193,37 @@ export interface TableDetectInfo {
8160
8193
  TableCoordPoint?: Array<Coord>;
8161
8194
  }
8162
8195
  /**
8163
- * 身份证配置信息
8196
+ * DescribeExtractDocAgentJob返回参数结构体
8164
8197
  */
8165
- export interface IDCardConfig {
8166
- /**
8167
- * 复印件告警,默认为false
8168
- */
8169
- CopyWarn?: boolean;
8198
+ export interface DescribeExtractDocAgentJobResponse {
8170
8199
  /**
8171
- * 边框和框内遮挡告警,默认为false
8200
+ * 图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。
8172
8201
  */
8173
- BorderCheckWarn?: boolean;
8202
+ Angle?: number;
8174
8203
  /**
8175
- * 翻拍告警,默认为false
8204
+ * 配置结构化文本信息。
8176
8205
  */
8177
- ReshootWarn?: boolean;
8206
+ StructuralList?: Array<GroupInfo>;
8178
8207
  /**
8179
- * 疑似存在PS痕迹告警,默认为false
8208
+ * 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
8180
8209
  */
8181
- DetectPsWarn?: boolean;
8210
+ ErrorCode?: string;
8182
8211
  /**
8183
- * 临时身份证告警,默认为false
8212
+ * 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
8184
8213
  */
8185
- TempIdWarn?: boolean;
8214
+ ErrorMessage?: string;
8186
8215
  /**
8187
- * 身份证有效日期不合法告警,默认为false
8216
+ * 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
8188
8217
  */
8189
- InvalidDateWarn?: boolean;
8218
+ JobStatus?: string;
8190
8219
  /**
8191
- * 是否开启反光检测,默认为false
8220
+ * 思考过程
8192
8221
  */
8193
- ReflectWarn?: boolean;
8222
+ ThoughtContent?: string;
8194
8223
  /**
8195
- * 是否开启头像剪切
8224
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8196
8225
  */
8197
- CropPortrait?: boolean;
8226
+ RequestId?: string;
8198
8227
  }
8199
8228
  /**
8200
8229
  * ResidenceBookletOCR返回参数结构体
@@ -9557,25 +9586,28 @@ export interface VatInvoice {
9557
9586
  SellerAgentTaxID?: string;
9558
9587
  }
9559
9588
  /**
9560
- * 增值税普通发票(卷票)条目
9589
+ * PermitOCR请求参数结构体
9561
9590
  */
9562
- export interface VatRollItem {
9563
- /**
9564
- * 项目名称
9565
- */
9566
- Name?: string;
9591
+ export interface PermitOCRRequest {
9567
9592
  /**
9568
- * 数量
9593
+ * 图片的 Base64 值。
9594
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
9595
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
9596
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
9569
9597
  */
9570
- Quantity?: string;
9598
+ ImageBase64?: string;
9571
9599
  /**
9572
- * 单价
9600
+ * 图片的 Url 地址。
9601
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
9602
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
9603
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
9604
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9573
9605
  */
9574
- Price?: string;
9606
+ ImageUrl?: string;
9575
9607
  /**
9576
- * 金额
9608
+ * 是否返回头像照片,默认为 false
9577
9609
  */
9578
- Total?: string;
9610
+ CropPortrait?: boolean;
9579
9611
  }
9580
9612
  /**
9581
9613
  * MLIDCardOCR请求参数结构体
@@ -10387,6 +10419,39 @@ export interface Element {
10387
10419
  */
10388
10420
  Index?: number;
10389
10421
  }
10422
+ /**
10423
+ * SubmitExtractDocAgentJob请求参数结构体
10424
+ */
10425
+ export interface SubmitExtractDocAgentJobRequest {
10426
+ /**
10427
+ * 图片/PDF的 Base64 值。 要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF、WORD、EXCEL格式。 图片支持的像素范围:需介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10428
+ */
10429
+ ImageBase64?: string;
10430
+ /**
10431
+ * 图片/PDF的 Url 地址。 要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF、WORD、EXCEL格式。 图片支持的像素范围:需介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10432
+ */
10433
+ ImageUrl?: string;
10434
+ /**
10435
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前5页。
10436
+ */
10437
+ PdfPageNumber?: number;
10438
+ /**
10439
+ * 自定义抽取需要的字段名称、字段类型、字段提示词。
10440
+ */
10441
+ ItemNames?: Array<ItemNames>;
10442
+ /**
10443
+ * 是否需要返回坐标,默认false。
10444
+ */
10445
+ EnableCoord?: boolean;
10446
+ /**
10447
+ * 起始页
10448
+ */
10449
+ FileStartPageNumber?: number;
10450
+ /**
10451
+ * 结束页
10452
+ */
10453
+ FileEndPageNumber?: number;
10454
+ }
10390
10455
  /**
10391
10456
  * AdvertiseOCR返回参数结构体
10392
10457
  */
@@ -10443,6 +10508,27 @@ export interface ShoppingReceipt {
10443
10508
  */
10444
10509
  Content?: Array<OtherInvoiceItem>;
10445
10510
  }
10511
+ /**
10512
+ * VatRollInvoiceOCR请求参数结构体
10513
+ */
10514
+ export interface VatRollInvoiceOCRRequest {
10515
+ /**
10516
+ * 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10517
+ */
10518
+ ImageBase64?: string;
10519
+ /**
10520
+ * 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10521
+ */
10522
+ ImageUrl?: string;
10523
+ /**
10524
+ * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
10525
+ */
10526
+ IsPdf?: boolean;
10527
+ /**
10528
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
10529
+ */
10530
+ PdfPageNumber?: number;
10531
+ }
10446
10532
  /**
10447
10533
  * RecognizeOnlineTaxiItineraryOCR请求参数结构体
10448
10534
  */
@@ -10548,29 +10634,25 @@ export interface MixedInvoiceDetectRequest {
10548
10634
  PdfPageNumber?: number;
10549
10635
  }
10550
10636
  /**
10551
- * WaybillOCR请求参数结构体
10637
+ * 增值税普通发票(卷票)条目
10552
10638
  */
10553
- export interface WaybillOCRRequest {
10554
- /**
10555
- * 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10556
- */
10557
- ImageBase64?: string;
10639
+ export interface VatRollItem {
10558
10640
  /**
10559
- * 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10641
+ * 项目名称
10560
10642
  */
10561
- ImageUrl?: string;
10643
+ Name?: string;
10562
10644
  /**
10563
- * 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
10645
+ * 数量
10564
10646
  */
10565
- EnablePreDetect?: boolean;
10647
+ Quantity?: string;
10566
10648
  /**
10567
- * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
10649
+ * 单价
10568
10650
  */
10569
- IsPdf?: boolean;
10651
+ Price?: string;
10570
10652
  /**
10571
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
10653
+ * 金额
10572
10654
  */
10573
- PdfPageNumber?: number;
10655
+ Total?: string;
10574
10656
  }
10575
10657
  /**
10576
10658
  * RecognizeStoreName返回参数结构体
@@ -10610,6 +10692,31 @@ export interface BusinessCertificateInfo {
10610
10692
  */
10611
10693
  Rect?: Rect;
10612
10694
  }
10695
+ /**
10696
+ * WaybillOCR请求参数结构体
10697
+ */
10698
+ export interface WaybillOCRRequest {
10699
+ /**
10700
+ * 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
10701
+ */
10702
+ ImageBase64?: string;
10703
+ /**
10704
+ * 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10705
+ */
10706
+ ImageUrl?: string;
10707
+ /**
10708
+ * 预检测开关,当待识别运单占整个输入图像的比例较小时,建议打开预检测开关。默认值为false。
10709
+ */
10710
+ EnablePreDetect?: boolean;
10711
+ /**
10712
+ * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
10713
+ */
10714
+ IsPdf?: boolean;
10715
+ /**
10716
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
10717
+ */
10718
+ PdfPageNumber?: number;
10719
+ }
10613
10720
  /**
10614
10721
  * RideHailingTransportLicenseOCR请求参数结构体
10615
10722
  */