tccli 3.0.1295.2__py2.py3-none-any.whl → 3.0.1296.2__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/antiddos/v20200309/api.json +123 -116
- tccli/services/bi/v20220105/api.json +17 -17
- tccli/services/bi/v20220105/examples.json +16 -16
- tccli/services/cam/v20190116/api.json +2 -2
- tccli/services/cam/v20190116/examples.json +1 -1
- tccli/services/ccc/v20200210/api.json +35 -17
- tccli/services/cdn/v20180606/api.json +61 -55
- tccli/services/cdn/v20180606/examples.json +11 -11
- tccli/services/cfw/v20190904/api.json +1 -1
- tccli/services/chc/v20230418/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +3 -3
- tccli/services/cme/v20191029/api.json +522 -501
- tccli/services/cme/v20191029/examples.json +138 -138
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/cwp/v20180228/api.json +40 -0
- tccli/services/cynosdb/v20190107/api.json +15 -15
- tccli/services/domain/v20180808/api.json +5 -5
- tccli/services/dts/v20180330/api.json +2 -2
- tccli/services/dts/v20211206/api.json +14 -14
- tccli/services/ecdn/v20191012/api.json +4 -4
- tccli/services/emr/v20190103/api.json +2 -2
- tccli/services/ess/v20201111/api.json +13 -4
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/gs/v20191118/api.json +9 -0
- tccli/services/iotcloud/v20210408/api.json +35 -31
- tccli/services/iotcloud/v20210408/examples.json +7 -7
- tccli/services/iotexplorer/v20190423/api.json +20 -0
- tccli/services/iotvideo/v20201215/api.json +4 -4
- tccli/services/iotvideo/v20201215/examples.json +2 -2
- tccli/services/iotvideo/v20211125/api.json +27 -7
- tccli/services/iotvideo/v20211125/examples.json +5 -5
- tccli/services/live/v20180801/api.json +31 -2
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +10 -0
- tccli/services/mmps/v20200710/api.json +8 -8
- tccli/services/mqtt/v20240516/api.json +82 -43
- tccli/services/mqtt/v20240516/examples.json +7 -7
- tccli/services/ocr/ocr_client.py +16 -175
- tccli/services/ocr/v20181119/api.json +15 -245
- tccli/services/ocr/v20181119/examples.json +1 -25
- tccli/services/partners/partners_client.py +118 -65
- tccli/services/partners/v20180321/api.json +93 -0
- tccli/services/partners/v20180321/examples.json +8 -0
- tccli/services/sqlserver/v20180328/api.json +37 -0
- tccli/services/tag/v20180813/api.json +75 -73
- tccli/services/tag/v20180813/examples.json +10 -10
- tccli/services/tdid/v20210519/api.json +12 -12
- tccli/services/tdmq/tdmq_client.py +0 -53
- tccli/services/tdmq/v20200217/api.json +0 -52
- tccli/services/tdmq/v20200217/examples.json +0 -8
- tccli/services/thpc/v20230321/api.json +10 -0
- tccli/services/tke/v20180525/api.json +5 -5
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +19 -0
- tccli/services/vod/v20180717/api.json +732 -670
- tccli/services/vod/v20180717/examples.json +31 -31
- tccli/services/vpc/v20170312/api.json +53 -53
- tccli/services/vpc/v20170312/examples.json +5 -5
- {tccli-3.0.1295.2.dist-info → tccli-3.0.1296.2.dist-info}/METADATA +2 -2
- {tccli-3.0.1295.2.dist-info → tccli-3.0.1296.2.dist-info}/RECORD +64 -64
- {tccli-3.0.1295.2.dist-info → tccli-3.0.1296.2.dist-info}/WHEEL +0 -0
- {tccli-3.0.1295.2.dist-info → tccli-3.0.1296.2.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1295.2.dist-info → tccli-3.0.1296.2.dist-info}/license_files/LICENSE +0 -0
@@ -70,13 +70,6 @@
|
|
70
70
|
"output": "ClassifyStoreNameResponse",
|
71
71
|
"status": "online"
|
72
72
|
},
|
73
|
-
"CreateAIFormTask": {
|
74
|
-
"document": "智慧表单产品已下线,需要下线相关API\n\n本接口可创建智能表单录入任务,支持多个识别图片和PDF的URL上传,返回含有识别内容的操作页面URL。\n\n智能表单录入产品提供高准确率的表单识别技术和人工核对工具,支持自定义字段,将识别结果自动填入到自定义条目中,并提供人工操作工具,完成整个表单识别过程。适用性强,可对票据、合同、货单等文件的识别,适用于金融、货代、保险、档案等领域。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。",
|
75
|
-
"input": "CreateAIFormTaskRequest",
|
76
|
-
"name": "创建智慧表单文件识别任务",
|
77
|
-
"output": "CreateAIFormTaskResponse",
|
78
|
-
"status": "deprecated"
|
79
|
-
},
|
80
73
|
"DriverLicenseOCR": {
|
81
74
|
"document": "本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。\n\n驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位\n\n驾驶证副页:包括证号、姓名、档案编号、记录。\n\n另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。\n\n电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。\n\n默认接口请求频率限制:10次/秒。",
|
82
75
|
"input": "DriverLicenseOCRRequest",
|
@@ -196,13 +189,6 @@
|
|
196
189
|
"output": "GetOCRTokenResponse",
|
197
190
|
"status": "online"
|
198
191
|
},
|
199
|
-
"GetTaskState": {
|
200
|
-
"document": "智慧表单产品已下线,需要下线相关API\n\n支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。",
|
201
|
-
"input": "GetTaskStateRequest",
|
202
|
-
"name": "查询智慧表单任务状态",
|
203
|
-
"output": "GetTaskStateResponse",
|
204
|
-
"status": "deprecated"
|
205
|
-
},
|
206
192
|
"HKIDCardOCR": {
|
207
193
|
"document": "本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备人像照片裁剪等扩展功能。\n\n默认接口请求频率限制:5次/秒。",
|
208
194
|
"input": "HKIDCardOCRRequest",
|
@@ -386,7 +372,7 @@
|
|
386
372
|
"status": "online"
|
387
373
|
},
|
388
374
|
"RecognizeGeneralInvoice": {
|
389
|
-
"document": "本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。\n\n默认接口请求频率限制:5次/秒。\n\n\n支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:200px\">SubType 子票种英文</th>\n <th style=\"width:200px\">TypeDescription子票种中文</th>\n <th >Type 所属大类票种</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> VatSpecialInvoice</td>\n <td> 增值税专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatCommonInvoice</td>\n <td> 增值税普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicCommonInvoice </td>\n <td> 增值税电子普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoice </td>\n <td> 增值税电子专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceBlockchain</td>\n <td> 区块链电子发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceToll</td>\n <td> 增值税电子普通发票(通行费)</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatSalesList</td>\n <td> 增值税销货清单</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoiceFull</td>\n <td> 电子发票(专用发票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceFull</td>\n <td> 电子发票(普通发票) </td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicFlightTicketFull</td>\n <td> 电子发票(机票行程单)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicTrainTicketFull</td>\n <td> 电子发票(铁路电子客票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> MotorVehicleSaleInvoice </td>\n <td> 机动车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> UsedCarPurchaseInvoice </td>\n <td> 二手车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> VatInvoiceRoll </td>\n <td> 增值税普通发票(卷票) </td>\n <td> 11 </td>\n </tr>\n <tr>\n <td> TaxiTicket </td>\n <td> 出租车发票 </td>\n <td> 0 </td>\n </tr>\n <tr>\n <td> QuotaInvoice </td>\n <td> 定额发票 </td>\n <td> 1 </td>\n </tr>\n <tr>\n <td> TrainTicket </td>\n <td> 火车票 </td>\n <td> 2 </td>\n </tr>\n <tr>\n <td> AirTransport </td>\n <td> 机票行程单 </td>\n <td> 5 </td>\n </tr>\n <tr>\n <td> MachinePrintedInvoice </td>\n <td> 通用机打发票 </td>\n <td> 8 </td>\n </tr>\n <tr>\n <td> BusInvoice </td>\n <td> 汽车票 </td>\n <td> 9 </td>\n </tr>\n <tr>\n <td> ShippingInvoice </td>\n <td> 轮船票 </td>\n <td> 10 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeGeneralBill </td>\n <td> 非税收入通用票据 </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeElectronicBill </td>\n <td> 非税收入一般缴款书(电子) </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> TollInvoice </td>\n <td> 过路过桥费发票 </td>\n <td> 13 </td>\n </tr>\n <tr>\n <td> MedicalOutpatientInvoice </td>\n <td> 医疗门诊收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> MedicalHospitalizedInvoice </td>\n <td> 医疗住院收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> TaxPayment </td>\n <td> 完税凭证 </td>\n <td> 18 </td>\n </tr>\n <tr>\n <td> CustomsPaymentReceipt </td>\n <td> 海关缴款 </td>\n <td> 19 </td>\n </tr>\n <tr>\n <td> OtherInvoice </td>\n <td> 其他发票 </td>\n <td> -1 </td>\n </tr>\n </tbody>\n </table>",
|
375
|
+
"document": "本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。\n\n默认接口请求频率限制:5次/秒。\n\n\n支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:200px\">SubType 子票种英文</th>\n <th style=\"width:200px\">TypeDescription子票种中文</th>\n <th >Type 所属大类票种</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> VatSpecialInvoice</td>\n <td> 增值税专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatCommonInvoice</td>\n <td> 增值税普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicCommonInvoice </td>\n <td> 增值税电子普通发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoice </td>\n <td> 增值税电子专用发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceBlockchain</td>\n <td> 区块链电子发票 </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceToll</td>\n <td> 增值税电子普通发票(通行费)</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatSalesList</td>\n <td> 增值税销货清单</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoiceFull</td>\n <td> 电子发票(专用发票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceFull</td>\n <td> 电子发票(普通发票) </td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicFlightTicketFull</td>\n <td> 电子发票(机票行程单)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> ElectronicTrainTicketFull</td>\n <td> 电子发票(铁路电子客票)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> MotorVehicleSaleInvoice </td>\n <td> 机动车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> UsedCarPurchaseInvoice </td>\n <td> 二手车销售统一发票 </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> VatInvoiceRoll </td>\n <td> 增值税普通发票(卷票) </td>\n <td> 11 </td>\n </tr>\n <tr>\n <td> TaxiTicket </td>\n <td> 出租车发票 </td>\n <td> 0 </td>\n </tr>\n <tr>\n <td> QuotaInvoice </td>\n <td> 定额发票 </td>\n <td> 1 </td>\n </tr>\n <tr>\n <td> TrainTicket </td>\n <td> 火车票 </td>\n <td> 2 </td>\n </tr>\n <tr>\n <td> AirTransport </td>\n <td> 机票行程单 </td>\n <td> 5 </td>\n </tr>\n <tr>\n <td> MachinePrintedInvoice </td>\n <td> 通用机打发票 </td>\n <td> 8 </td>\n </tr>\n <tr>\n <td> BusInvoice </td>\n <td> 汽车票 </td>\n <td> 9 </td>\n </tr>\n <tr>\n <td> ShippingInvoice </td>\n <td> 轮船票 </td>\n <td> 10 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeGeneralBill </td>\n <td> 非税收入通用票据 </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeElectronicBill </td>\n <td> 非税收入一般缴款书(电子) </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> TollInvoice </td>\n <td> 过路过桥费发票 </td>\n <td> 13 </td>\n </tr>\n <tr>\n <td> MedicalOutpatientInvoice </td>\n <td> 医疗门诊收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> MedicalHospitalizedInvoice </td>\n <td> 医疗住院收费票据(电子) </td>\n <td> 17 </td>\n </tr>\n <tr>\n <td> TaxPayment </td>\n <td> 完税凭证 </td>\n <td> 18 </td>\n </tr>\n <tr>\n <td> CustomsPaymentReceipt </td>\n <td> 海关缴款 </td>\n <td> 19 </td>\n </tr>\n <tr>\n <td> BankSlip </td>\n <td> 银行回单 </td>\n <td> 20 </td>\n </tr>\n <tr>\n <td> OtherInvoice </td>\n <td> 其他发票 </td>\n <td> -1 </td>\n </tr>\n </tbody>\n </table>",
|
390
376
|
"input": "RecognizeGeneralInvoiceRequest",
|
391
377
|
"name": "通用票据识别(高级版)",
|
392
378
|
"output": "RecognizeGeneralInvoiceResponse",
|
@@ -567,13 +553,6 @@
|
|
567
553
|
"output": "VatInvoiceOCRResponse",
|
568
554
|
"status": "online"
|
569
555
|
},
|
570
|
-
"VatInvoiceVerify": {
|
571
|
-
"document": "已上线VatInvoiceVerifyNew,VatInvoiceVerify需要下线,产品在官网已发通告\n\n本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。\n\n默认接口请求频率限制:20次/秒。",
|
572
|
-
"input": "VatInvoiceVerifyRequest",
|
573
|
-
"name": "增值税发票核验",
|
574
|
-
"output": "VatInvoiceVerifyResponse",
|
575
|
-
"status": "deprecated"
|
576
|
-
},
|
577
556
|
"VatInvoiceVerifyNew": {
|
578
557
|
"document": "本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。\n\n默认接口请求频率限制:20次/秒。",
|
579
558
|
"input": "VatInvoiceVerifyNewRequest",
|
@@ -2884,80 +2863,6 @@
|
|
2884
2863
|
],
|
2885
2864
|
"usage": "out"
|
2886
2865
|
},
|
2887
|
-
"CreateAIFormTaskRequest": {
|
2888
|
-
"document": "CreateAIFormTask请求参数结构体",
|
2889
|
-
"members": [
|
2890
|
-
{
|
2891
|
-
"disabled": false,
|
2892
|
-
"document": "多个文件的URL列表",
|
2893
|
-
"example": "无",
|
2894
|
-
"member": "SmartFormFileUrl",
|
2895
|
-
"name": "FileList",
|
2896
|
-
"required": true,
|
2897
|
-
"type": "list"
|
2898
|
-
},
|
2899
|
-
{
|
2900
|
-
"disabled": false,
|
2901
|
-
"document": "备注信息1",
|
2902
|
-
"example": "无",
|
2903
|
-
"member": "string",
|
2904
|
-
"name": "FirstNotes",
|
2905
|
-
"required": false,
|
2906
|
-
"type": "string"
|
2907
|
-
},
|
2908
|
-
{
|
2909
|
-
"disabled": false,
|
2910
|
-
"document": "备注信息2",
|
2911
|
-
"example": "无",
|
2912
|
-
"member": "string",
|
2913
|
-
"name": "SecondNotes",
|
2914
|
-
"required": false,
|
2915
|
-
"type": "string"
|
2916
|
-
},
|
2917
|
-
{
|
2918
|
-
"disabled": false,
|
2919
|
-
"document": "文件类型",
|
2920
|
-
"example": "0",
|
2921
|
-
"member": "uint64",
|
2922
|
-
"name": "FileType",
|
2923
|
-
"required": false,
|
2924
|
-
"type": "int"
|
2925
|
-
}
|
2926
|
-
],
|
2927
|
-
"type": "object"
|
2928
|
-
},
|
2929
|
-
"CreateAIFormTaskResponse": {
|
2930
|
-
"document": "CreateAIFormTask返回参数结构体",
|
2931
|
-
"members": [
|
2932
|
-
{
|
2933
|
-
"disabled": false,
|
2934
|
-
"document": "本次识别任务的唯一身份ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
2935
|
-
"example": "\"209fef6e-117c-11ed-9368-525400e51a47\"",
|
2936
|
-
"member": "string",
|
2937
|
-
"name": "TaskId",
|
2938
|
-
"output_required": true,
|
2939
|
-
"type": "string",
|
2940
|
-
"value_allowed_null": true
|
2941
|
-
},
|
2942
|
-
{
|
2943
|
-
"disabled": false,
|
2944
|
-
"document": "本次识别任务的操作URL,有效期自生成之时起共24小时\n注意:此字段可能返回 null,表示取不到有效值。",
|
2945
|
-
"example": "\"https://ocr.smartform.cloud.tencent.com?taskId=209fef6e-117c-1\"",
|
2946
|
-
"member": "string",
|
2947
|
-
"name": "OperateUrl",
|
2948
|
-
"output_required": true,
|
2949
|
-
"type": "string",
|
2950
|
-
"value_allowed_null": true
|
2951
|
-
},
|
2952
|
-
{
|
2953
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2954
|
-
"member": "string",
|
2955
|
-
"name": "RequestId",
|
2956
|
-
"type": "string"
|
2957
|
-
}
|
2958
|
-
],
|
2959
|
-
"type": "object"
|
2960
|
-
},
|
2961
2866
|
"CustomsPaymentReceipt": {
|
2962
2867
|
"document": "海关缴款书",
|
2963
2868
|
"members": [
|
@@ -6806,43 +6711,6 @@
|
|
6806
6711
|
],
|
6807
6712
|
"type": "object"
|
6808
6713
|
},
|
6809
|
-
"GetTaskStateRequest": {
|
6810
|
-
"document": "GetTaskState请求参数结构体",
|
6811
|
-
"members": [
|
6812
|
-
{
|
6813
|
-
"disabled": false,
|
6814
|
-
"document": "智慧表单任务唯一身份ID",
|
6815
|
-
"example": "\"209fef6e-117c-11ed-9368-525400e51a47\"",
|
6816
|
-
"member": "string",
|
6817
|
-
"name": "TaskId",
|
6818
|
-
"required": true,
|
6819
|
-
"type": "string"
|
6820
|
-
}
|
6821
|
-
],
|
6822
|
-
"type": "object"
|
6823
|
-
},
|
6824
|
-
"GetTaskStateResponse": {
|
6825
|
-
"document": "GetTaskState返回参数结构体",
|
6826
|
-
"members": [
|
6827
|
-
{
|
6828
|
-
"disabled": false,
|
6829
|
-
"document": "1:任务识别完成,还未提交\n2:任务已手动关闭\n3:任务已提交\n4:任务识别中\n5:超时:任务超过了可操作的24H时限\n6:任务识别失败",
|
6830
|
-
"example": "1",
|
6831
|
-
"member": "uint64",
|
6832
|
-
"name": "TaskState",
|
6833
|
-
"output_required": true,
|
6834
|
-
"type": "int",
|
6835
|
-
"value_allowed_null": false
|
6836
|
-
},
|
6837
|
-
{
|
6838
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6839
|
-
"member": "string",
|
6840
|
-
"name": "RequestId",
|
6841
|
-
"type": "string"
|
6842
|
-
}
|
6843
|
-
],
|
6844
|
-
"type": "object"
|
6845
|
-
},
|
6846
6714
|
"GroupInfo": {
|
6847
6715
|
"document": "组在图中的序号",
|
6848
6716
|
"members": [
|
@@ -8239,7 +8107,7 @@
|
|
8239
8107
|
},
|
8240
8108
|
{
|
8241
8109
|
"disabled": false,
|
8242
|
-
"document": "识别出的图片所属的票据类型。\n-1:未知类型\n0:出租车发票\n1:定额发票\n2:火车票\n3:增值税发票\n5:机票行程单\n8:通用机打发票\n9:汽车票\n10:轮船票\n11:增值税发票(卷票)\n12:购车发票\n13:过路过桥费发票\n15:非税发票\n16:全电发票\n17:医疗发票\n18:完税凭证\n19
|
8110
|
+
"document": "识别出的图片所属的票据类型。\n-1:未知类型\n0:出租车发票\n1:定额发票\n2:火车票\n3:增值税发票\n5:机票行程单\n8:通用机打发票\n9:汽车票\n10:轮船票\n11:增值税发票(卷票)\n12:购车发票\n13:过路过桥费发票\n15:非税发票\n16:全电发票\n17:医疗发票\n18:完税凭证\n19:海关缴款书\n20:银行回单",
|
8243
8111
|
"example": "3",
|
8244
8112
|
"member": "int64",
|
8245
8113
|
"name": "Type",
|
@@ -8800,7 +8668,7 @@
|
|
8800
8668
|
"members": [
|
8801
8669
|
{
|
8802
8670
|
"disabled": false,
|
8803
|
-
"document": "图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。",
|
8671
|
+
"document": "图片的 Base64 值。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。",
|
8804
8672
|
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
8805
8673
|
"member": "string",
|
8806
8674
|
"name": "ImageBase64",
|
@@ -8818,7 +8686,7 @@
|
|
8818
8686
|
},
|
8819
8687
|
{
|
8820
8688
|
"disabled": false,
|
8821
|
-
"document": "图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3
|
8689
|
+
"document": "图片的 Url 地址。要求图片经Base64编码后不超过 7M,分辨率建议500*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。建议卡片部分占据图片2/3以上。图片下载时间不超过 3 秒。建议图片存储于腾讯云,可保障更高的下载速度和稳定性。",
|
8822
8690
|
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/MLIDPassportOCR/MLIDPassportOCR1.png",
|
8823
8691
|
"member": "string",
|
8824
8692
|
"name": "ImageUrl",
|
@@ -13585,7 +13453,7 @@
|
|
13585
13453
|
},
|
13586
13454
|
{
|
13587
13455
|
"disabled": false,
|
13588
|
-
"document": "需要识别的票据类型列表,为空或不填表示识别全部类型。当传入单个类型时,图片均采用该票类型进行处理。\n暂不支持多个参数进行局部控制。\n0:出租车发票\n1:定额发票\n2:火车票\n3:增值税发票\n5:机票行程单\n8:通用机打发票\n9:汽车票\n10:轮船票\n11:增值税发票(卷票 )\n12:购车发票\n13:过路过桥费发票\n15:非税发票\n16:全电发票\n17:医疗发票\n18:完税凭证\n19:海关缴款书\n-1:其他发票",
|
13456
|
+
"document": "需要识别的票据类型列表,为空或不填表示识别全部类型。当传入单个类型时,图片均采用该票类型进行处理。\n暂不支持多个参数进行局部控制。\n0:出租车发票\n1:定额发票\n2:火车票\n3:增值税发票\n5:机票行程单\n8:通用机打发票\n9:汽车票\n10:轮船票\n11:增值税发票(卷票 )\n12:购车发票\n13:过路过桥费发票\n15:非税发票\n16:全电发票\n17:医疗发票\n18:完税凭证\n19:海关缴款书\n20:银行回单\n-1:其他发票",
|
13589
13457
|
"example": "[0,1]",
|
13590
13458
|
"member": "int64",
|
13591
13459
|
"name": "Types",
|
@@ -16462,32 +16330,6 @@
|
|
16462
16330
|
],
|
16463
16331
|
"usage": "out"
|
16464
16332
|
},
|
16465
|
-
"SmartFormFileUrl": {
|
16466
|
-
"document": "智慧表单上传文件信息",
|
16467
|
-
"members": [
|
16468
|
-
{
|
16469
|
-
"disabled": false,
|
16470
|
-
"document": "文件url地址",
|
16471
|
-
"example": "无",
|
16472
|
-
"member": "string",
|
16473
|
-
"name": "FileUrl",
|
16474
|
-
"required": true,
|
16475
|
-
"type": "string",
|
16476
|
-
"value_allowed_null": false
|
16477
|
-
},
|
16478
|
-
{
|
16479
|
-
"disabled": false,
|
16480
|
-
"document": "文件的顺序,顺序从1开始",
|
16481
|
-
"example": "1",
|
16482
|
-
"member": "uint64",
|
16483
|
-
"name": "FileOrderNumber",
|
16484
|
-
"required": true,
|
16485
|
-
"type": "int",
|
16486
|
-
"value_allowed_null": false
|
16487
|
-
}
|
16488
|
-
],
|
16489
|
-
"usage": "in"
|
16490
|
-
},
|
16491
16333
|
"SmartStructuralOCRRequest": {
|
16492
16334
|
"document": "SmartStructuralOCR请求参数结构体",
|
16493
16335
|
"members": [
|
@@ -16750,7 +16592,7 @@
|
|
16750
16592
|
},
|
16751
16593
|
{
|
16752
16594
|
"disabled": false,
|
16753
|
-
"document": "配置id支持:\nGeneral -- 通用场景 \nInvoiceEng -- 国际invoice模版 \nWayBillEng --海运订单模板\nCustomsDeclaration -- 进出口报关单\nWeightNote -- 磅单\nMedicalMeter -- 血压仪表识别\nBillOfLading -- 海运提单\nEntrustmentBook -- 海运托书\nWordRecognize -- 手写英文作文模版\nStatement -- 对账单识别模板\nBookingConfirmation --
|
16595
|
+
"document": "配置id支持:\nGeneral -- 通用场景 \nInvoiceEng -- 国际invoice模版 \nWayBillEng --海运订单模板\nCustomsDeclaration -- 进出口报关单\nWeightNote -- 磅单\nMedicalMeter -- 血压仪表识别\nBillOfLading -- 海运提单\nEntrustmentBook -- 海运托书\nWordRecognize -- 手写英文作文模版\nStatement -- 对账单识别模板\nBookingConfirmation -- 配舱通知书识别模板\nAirWayBill -- 航空运单识别模板\nDispatchWeightNote -- 磅单发货单识别模板\nReceiptWeightNote -- 磅单收货单识别模板",
|
16754
16596
|
"example": "General",
|
16755
16597
|
"member": "string",
|
16756
16598
|
"name": "ConfigId",
|
@@ -16765,6 +16607,15 @@
|
|
16765
16607
|
"name": "EnableCoord",
|
16766
16608
|
"required": false,
|
16767
16609
|
"type": "bool"
|
16610
|
+
},
|
16611
|
+
{
|
16612
|
+
"disabled": false,
|
16613
|
+
"document": "是否开启父子key识别,默认是",
|
16614
|
+
"example": "true",
|
16615
|
+
"member": "bool",
|
16616
|
+
"name": "OutputParentKey",
|
16617
|
+
"required": false,
|
16618
|
+
"type": "bool"
|
16768
16619
|
}
|
16769
16620
|
],
|
16770
16621
|
"type": "object"
|
@@ -22375,87 +22226,6 @@
|
|
22375
22226
|
],
|
22376
22227
|
"type": "object"
|
22377
22228
|
},
|
22378
|
-
"VatInvoiceVerifyRequest": {
|
22379
|
-
"document": "VatInvoiceVerify请求参数结构体",
|
22380
|
-
"members": [
|
22381
|
-
{
|
22382
|
-
"disabled": false,
|
22383
|
-
"document": "发票代码, 一张发票一天只能查询5次。",
|
22384
|
-
"example": "1300000000",
|
22385
|
-
"member": "string",
|
22386
|
-
"name": "InvoiceCode",
|
22387
|
-
"required": true,
|
22388
|
-
"type": "string"
|
22389
|
-
},
|
22390
|
-
{
|
22391
|
-
"disabled": false,
|
22392
|
-
"document": "发票号码(8位)",
|
22393
|
-
"example": "04000000",
|
22394
|
-
"member": "string",
|
22395
|
-
"name": "InvoiceNo",
|
22396
|
-
"required": true,
|
22397
|
-
"type": "string"
|
22398
|
-
},
|
22399
|
-
{
|
22400
|
-
"disabled": false,
|
22401
|
-
"document": "开票日期(不支持当天发票查询,支持五年以内开具的发票),格式:“YYYY-MM-DD”,如:2019-12-20。",
|
22402
|
-
"example": "2019-12-11",
|
22403
|
-
"member": "string",
|
22404
|
-
"name": "InvoiceDate",
|
22405
|
-
"required": true,
|
22406
|
-
"type": "string"
|
22407
|
-
},
|
22408
|
-
{
|
22409
|
-
"disabled": false,
|
22410
|
-
"document": "根据票种传递对应值,如果报参数错误,请仔细检查每个票种对应的值\n\n增值税专用发票:开具金额(不含税)\n\n增值税普通发票、增值税电子普通发票(含通行费发票)、增值税普通发票(卷票):校验码后6位\n\n区块链发票:不含税金额/校验码,例如:“285.01/856ab”\n\n机动车销售统一发票:不含税价\n\n货物运输业增值税专用发票:合计金额\n\n二手车销售统一发票:车价合计",
|
22411
|
-
"example": "88.50",
|
22412
|
-
"member": "string",
|
22413
|
-
"name": "Additional",
|
22414
|
-
"required": true,
|
22415
|
-
"type": "string"
|
22416
|
-
}
|
22417
|
-
],
|
22418
|
-
"type": "object"
|
22419
|
-
},
|
22420
|
-
"VatInvoiceVerifyResponse": {
|
22421
|
-
"document": "VatInvoiceVerify返回参数结构体",
|
22422
|
-
"members": [
|
22423
|
-
{
|
22424
|
-
"disabled": false,
|
22425
|
-
"document": "增值税发票信息,详情请点击左侧链接。",
|
22426
|
-
"example": "无",
|
22427
|
-
"member": "VatInvoice",
|
22428
|
-
"name": "Invoice",
|
22429
|
-
"type": "object",
|
22430
|
-
"value_allowed_null": false
|
22431
|
-
},
|
22432
|
-
{
|
22433
|
-
"disabled": false,
|
22434
|
-
"document": "机动车销售统一发票信息",
|
22435
|
-
"example": "无",
|
22436
|
-
"member": "VehicleInvoiceInfo",
|
22437
|
-
"name": "VehicleInvoiceInfo",
|
22438
|
-
"type": "object",
|
22439
|
-
"value_allowed_null": false
|
22440
|
-
},
|
22441
|
-
{
|
22442
|
-
"disabled": false,
|
22443
|
-
"document": "二手车销售统一发票信息",
|
22444
|
-
"example": "无",
|
22445
|
-
"member": "UsedVehicleInvoiceInfo",
|
22446
|
-
"name": "UsedVehicleInvoiceInfo",
|
22447
|
-
"type": "object",
|
22448
|
-
"value_allowed_null": false
|
22449
|
-
},
|
22450
|
-
{
|
22451
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
22452
|
-
"member": "string",
|
22453
|
-
"name": "RequestId",
|
22454
|
-
"type": "string"
|
22455
|
-
}
|
22456
|
-
],
|
22457
|
-
"type": "object"
|
22458
|
-
},
|
22459
22229
|
"VatRollInvoiceInfo": {
|
22460
22230
|
"document": "增值税发票卷票信息",
|
22461
22231
|
"members": [
|
@@ -80,14 +80,6 @@
|
|
80
80
|
"title": "门头照分类示例"
|
81
81
|
}
|
82
82
|
],
|
83
|
-
"CreateAIFormTask": [
|
84
|
-
{
|
85
|
-
"document": "创建文件识别任务示例",
|
86
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAIFormTask\nVersion:2018-11-19\nRegion:ap-beijing\n<公共请求参数>\n\n{\n \"FileList\": [\n {\n \"FileUrl\": \"https://xxx.jpg\",\n \"FileOrderNumber\": 1\n },\n {\n \"FileUrl\": \"https://xxx.jpg\",\n \"FileOrderNumber\": 2\n }\n ]\n}",
|
87
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"e522a812-cb79-1ed4-77ab-908572ghu6qq\",\n \"TaskId\": \"209fef6e-117c-11ed-9368-525400e51a47\",\n \"OperateUrl\": \"https://ocr.smartform.cloud.tencent.com?taskId=209fef6e-117c-11ed-9368-525400e51a47\"\n }\n}",
|
88
|
-
"title": "创建文件识别任务示例"
|
89
|
-
}
|
90
|
-
],
|
91
83
|
"DriverLicenseOCR": [
|
92
84
|
{
|
93
85
|
"document": "驾驶证主页识别示例 ",
|
@@ -242,14 +234,6 @@
|
|
242
234
|
"title": "获取ocr的token值"
|
243
235
|
}
|
244
236
|
],
|
245
|
-
"GetTaskState": [
|
246
|
-
{
|
247
|
-
"document": "查询智慧表单任务状态",
|
248
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTaskState\nVersion:2018-11-19\nRegion:ap-beijing\n<公共请求参数>\n\n{\n \"TaskId\": \"209fef6e-117c-11ed-9368-525400e51a47\"\n}",
|
249
|
-
"output": "{\n \"Response\": {\n \"TaskState\": 1,\n \"RequestId\": \"a857a857-cb70-4oo4-12hv-909967tbc2bc\"\n }\n}",
|
250
|
-
"title": "查询智慧表单任务状态"
|
251
|
-
}
|
252
|
-
],
|
253
237
|
"HKIDCardOCR": [
|
254
238
|
{
|
255
239
|
"document": "",
|
@@ -486,7 +470,7 @@
|
|
486
470
|
{
|
487
471
|
"document": "通用票据识别(高级版)识别多张票据",
|
488
472
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralInvoice\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/invoice/MixedInvoiceDetect/MixedInvoiceDetect1.jpg\",\n \"EnableMultiplePage\": true\n}",
|
489
|
-
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Code\": \"OK\",\n \"Type\": 3,\n \"SubType\": \"VatSpecialInvoice\",\n \"TypeDescription\": \"增值税发票\",\n \"SubTypeDescription\": \"增值税专用发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 19,\n \"Y\": 888\n },\n \"LeftTop\": {\n \"X\": 19,\n \"Y\": 31\n },\n \"RightBottom\": {\n \"X\": 1347,\n \"Y\": 888\n },\n \"RightTop\": {\n \"X\": 1345,\n \"Y\": 31\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"VatSpecialInvoice\": {\n \"AcquisitionMark\": 0,\n \"AgentMark\": 0,\n \"BlockChainMark\": 0,\n \"Buyer\": \"深圳市腾讯计算机系统有限公司\",\n \"BuyerAddrTel\": \"深圳市南山区高新区高新南一路飞亚达大厦5-10楼0755-86013388\",\n \"BuyerBankAccount\": \"招商银行深圳分行振兴支行817282299619961\",\n \"BuyerTaxID\": \"440300708461136\",\n \"CheckCode\": \"\",\n \"Ciphertext\": \"*7-0<84019---5+68315-99->/51,>814<1/7922/<-23/908+>7474+3,78312-072<3<729-+4<6*315-094,->/5>18493/1-60*6-43/90<--78\",\n \"City\": \"深圳市\",\n \"Code\": \"4403152130\",\n \"CodeConfirm\": \"4403152130\",\n \"CompanySealContent\": \"发票专用章,深圳市游戏科技有限公司,04000,NANDN\",\n \"CompanySealMark\": 1,\n \"Date\": \"2016年04月11日\",\n \"ElectronicFullMark\": 0,\n \"ElectronicFullNumber\": \"\",\n \"FormName\": \"发票联\",\n \"FormType\": \"三\",\n \"Issuer\": \"张三\",\n \"Kind\": \"服务\",\n \"MachineCode\": \"\",\n \"Number\": \"14998456\",\n \"NumberConfirm\": \"14998456\",\n \"OilMark\": 0,\n \"PretaxAmount\": \"778.44\",\n \"Province\": \"广东省\",\n \"QRCodeMark\": 0,\n \"Receiptor\": \"李明\",\n \"Remark\": \"\",\n \"Reviewer\": \"晓艾\",\n \"Seller\": \"深圳市游戏科技有限公司\",\n \"SellerAddrTel\": \"深圳市南山区高新南一道3号赋安科技大楼A座301室0755-86315454\",\n \"SellerBankAccount\": \"浦发行深圳科技园支行79210154740015474\",\n \"SellerTaxID\": \"440300094040109\",\n \"ServiceName\": \"\",\n \"SubTax\": \"\",\n \"SubTotal\": \"\",\n \"Tax\": \"46.71\",\n \"TaxSealContent\": \"\",\n \"Title\": \"深圳增值税专用发票\",\n \"Total\": \"825.15\",\n \"TotalCn\": \"捌佰贰拾伍圆壹角伍分\",\n \"TransitMark\": 0,\n \"TravelTax\": \"\",\n \"VatInvoiceItemInfos\": [\n {\n \"DateEnd\": \"\",\n \"DateStart\": \"\",\n \"LicensePlate\": \"\",\n \"Name\": \"技术服务费\",\n \"Price\": \"\",\n \"Quantity\": \"\",\n \"SerialNumber\": \"\",\n \"Specification\": \"\",\n \"Tax\": \"46.71\",\n \"TaxRate\": \"6%\",\n \"Total\": \"778.44\",\n \"Unit\": \"\",\n \"VehicleType\": \"\"\n }\n ]\n }\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 13,\n \"SubType\": \"TollInvoice\",\n \"TypeDescription\": \"过路过桥费发票\",\n \"SubTypeDescription\": \"过路过桥费发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 26,\n \"Y\": 1469\n },\n \"LeftTop\": {\n \"X\": 26,\n \"Y\": 897\n },\n \"RightBottom\": {\n \"X\": 495,\n \"Y\": 1469\n },\n \"RightTop\": {\n \"X\": 497,\n \"Y\": 897\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"TollInvoice\": {\n \"Code\": \"144031700221\",\n \"Date\": \"2018年08月07日\",\n \"Entrance\": \"前海\",\n \"Exit\": \"大铲湾\",\n \"HighwayMark\": 1,\n \"Kind\": \"交通\",\n \"Number\": \"27357827\",\n \"QRCodeMark\": 0,\n \"Time\": \"06:14:03\",\n \"Title\": \"深圳市广深沿江高速公路投资有限公司通用机打发票\",\n \"Total\": \"5.00\"\n },\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 2,\n \"SubType\": \"TrainTicket\",\n \"TypeDescription\": \"火车票\",\n \"SubTypeDescription\": \"火车票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 517,\n \"Y\": 1232\n },\n \"LeftTop\": {\n \"X\": 517,\n \"Y\": 950\n },\n \"RightBottom\": {\n \"X\": 971,\n \"Y\": 1232\n },\n \"RightTop\": {\n \"X\": 971,\n \"Y\": 950\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"TrainTicket\": {\n \"AdditionalFare\": \"\",\n \"DateGetOn\": \"2018年03月06日\",\n \"GateNumber\": \"候车室6\",\n \"HandlingFee\": \"\",\n \"Kind\": \"交通\",\n \"Name\": \"周周\",\n \"Number\": \"Z96X089517\",\n \"OriginalFare\": \"\",\n \"PickUpAddress\": \"上海\",\n \"QRCodeMark\": 0,\n \"ReceiptNumber\": \"\",\n \"RefundMark\": 0,\n \"ReimburseOnlyMark\": 0,\n \"Seat\": \"新空调硬座\",\n \"SeatNumber\": \"02车016号\",\n \"SerialNumber\": \"30671300960307X089517\",\n \"StationGetOff\": \"南京\",\n \"StationGetOn\": \"上海\",\n \"TicketChange\": \"0\",\n \"TicketChangeMark\": 0,\n \"TimeGetOn\": \"18:51\",\n \"Title\": \"\",\n \"Total\": \"46.50\",\n \"TotalCn\": \"\",\n \"TrainNumber\": \"Z196\",\n \"UserID\": \"3210231991****6666\"\n },\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n }\n ],\n \"RequestId\": \"c129cda9-e306-472e-817b-4e133ac5c706\",\n \"TotalPDFCount\": 1\n }\n}",
|
473
|
+
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Code\": \"OK\",\n \"Type\": 3,\n \"SubType\": \"VatSpecialInvoice\",\n \"TypeDescription\": \"增值税发票\",\n \"SubTypeDescription\": \"增值税专用发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 19,\n \"Y\": 888\n },\n \"LeftTop\": {\n \"X\": 19,\n \"Y\": 31\n },\n \"RightBottom\": {\n \"X\": 1347,\n \"Y\": 888\n },\n \"RightTop\": {\n \"X\": 1345,\n \"Y\": 31\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"VatSpecialInvoice\": {\n \"AcquisitionMark\": 0,\n \"AgentMark\": 0,\n \"BlockChainMark\": 0,\n \"Buyer\": \"深圳市腾讯计算机系统有限公司\",\n \"BuyerAddrTel\": \"深圳市南山区高新区高新南一路飞亚达大厦5-10楼0755-86013388\",\n \"BuyerBankAccount\": \"招商银行深圳分行振兴支行817282299619961\",\n \"BuyerTaxID\": \"440300708461136\",\n \"CheckCode\": \"\",\n \"Ciphertext\": \"*7-0<84019---5+68315-99->/51,>814<1/7922/<-23/908+>7474+3,78312-072<3<729-+4<6*315-094,->/5>18493/1-60*6-43/90<--78\",\n \"City\": \"深圳市\",\n \"Code\": \"4403152130\",\n \"CodeConfirm\": \"4403152130\",\n \"CompanySealContent\": \"发票专用章,深圳市游戏科技有限公司,04000,NANDN\",\n \"CompanySealMark\": 1,\n \"Date\": \"2016年04月11日\",\n \"ElectronicFullMark\": 0,\n \"ElectronicFullNumber\": \"\",\n \"FormName\": \"发票联\",\n \"FormType\": \"三\",\n \"Issuer\": \"张三\",\n \"Kind\": \"服务\",\n \"MachineCode\": \"\",\n \"Number\": \"14998456\",\n \"NumberConfirm\": \"14998456\",\n \"OilMark\": 0,\n \"PretaxAmount\": \"778.44\",\n \"Province\": \"广东省\",\n \"QRCodeMark\": 0,\n \"Receiptor\": \"李明\",\n \"Remark\": \"\",\n \"Reviewer\": \"晓艾\",\n \"Seller\": \"深圳市游戏科技有限公司\",\n \"SellerAddrTel\": \"深圳市南山区高新南一道3号赋安科技大楼A座301室0755-86315454\",\n \"SellerBankAccount\": \"浦发行深圳科技园支行79210154740015474\",\n \"SellerTaxID\": \"440300094040109\",\n \"ServiceName\": \"\",\n \"SubTax\": \"\",\n \"SubTotal\": \"\",\n \"Tax\": \"46.71\",\n \"TaxSealContent\": \"\",\n \"Title\": \"深圳增值税专用发票\",\n \"Total\": \"825.15\",\n \"TotalCn\": \"捌佰贰拾伍圆壹角伍分\",\n \"TransitMark\": 0,\n \"TravelTax\": \"\",\n \"VatInvoiceItemInfos\": [\n {\n \"DateEnd\": \"\",\n \"DateStart\": \"\",\n \"LicensePlate\": \"\",\n \"Name\": \"技术服务费\",\n \"Price\": \"\",\n \"Quantity\": \"\",\n \"SerialNumber\": \"\",\n \"Specification\": \"\",\n \"Tax\": \"46.71\",\n \"TaxRate\": \"6%\",\n \"Total\": \"778.44\",\n \"Unit\": \"\",\n \"VehicleType\": \"\"\n }\n ]\n },\n \"BankSlip\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 13,\n \"SubType\": \"TollInvoice\",\n \"TypeDescription\": \"过路过桥费发票\",\n \"SubTypeDescription\": \"过路过桥费发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 26,\n \"Y\": 1469\n },\n \"LeftTop\": {\n \"X\": 26,\n \"Y\": 897\n },\n \"RightBottom\": {\n \"X\": 495,\n \"Y\": 1469\n },\n \"RightTop\": {\n \"X\": 497,\n \"Y\": 897\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"TollInvoice\": {\n \"Code\": \"144031700221\",\n \"Date\": \"2018年08月07日\",\n \"Entrance\": \"前海\",\n \"Exit\": \"大铲湾\",\n \"HighwayMark\": 1,\n \"Kind\": \"交通\",\n \"Number\": \"27357827\",\n \"QRCodeMark\": 0,\n \"Time\": \"06:14:03\",\n \"Title\": \"深圳市广深沿江高速公路投资有限公司通用机打发票\",\n \"Total\": \"5.00\"\n },\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null,\n \"BankSlip\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 2,\n \"SubType\": \"TrainTicket\",\n \"TypeDescription\": \"火车票\",\n \"SubTypeDescription\": \"火车票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 517,\n \"Y\": 1232\n },\n \"LeftTop\": {\n \"X\": 517,\n \"Y\": 950\n },\n \"RightBottom\": {\n \"X\": 971,\n \"Y\": 1232\n },\n \"RightTop\": {\n \"X\": 971,\n \"Y\": 950\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TaxPayment\": null,\n \"CustomsPaymentReceipt\": null,\n \"TrainTicket\": {\n \"AdditionalFare\": \"\",\n \"DateGetOn\": \"2018年03月06日\",\n \"GateNumber\": \"候车室6\",\n \"HandlingFee\": \"\",\n \"Kind\": \"交通\",\n \"Name\": \"周周\",\n \"Number\": \"Z96X089517\",\n \"OriginalFare\": \"\",\n \"PickUpAddress\": \"上海\",\n \"QRCodeMark\": 0,\n \"ReceiptNumber\": \"\",\n \"RefundMark\": 0,\n \"ReimburseOnlyMark\": 0,\n \"Seat\": \"新空调硬座\",\n \"SeatNumber\": \"02车016号\",\n \"SerialNumber\": \"30671300960307X089517\",\n \"StationGetOff\": \"南京\",\n \"StationGetOn\": \"上海\",\n \"TicketChange\": \"0\",\n \"TicketChangeMark\": 0,\n \"TimeGetOn\": \"18:51\",\n \"Title\": \"\",\n \"Total\": \"46.50\",\n \"TotalCn\": \"\",\n \"TrainNumber\": \"Z196\",\n \"UserID\": \"3210231991****6666\"\n },\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null,\n \"BankSlip\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n }\n ],\n \"RequestId\": \"c129cda9-e306-472e-817b-4e133ac5c706\",\n \"TotalPDFCount\": 1\n }\n}",
|
490
474
|
"title": "通用票据识别(高级版)"
|
491
475
|
}
|
492
476
|
],
|
@@ -690,14 +674,6 @@
|
|
690
674
|
"title": "增值税发票识别示例代码"
|
691
675
|
}
|
692
676
|
],
|
693
|
-
"VatInvoiceVerify": [
|
694
|
-
{
|
695
|
-
"document": "增值税发票核验示例代码",
|
696
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VatInvoiceVerify\n<公共请求参数>\n\n{\n \"InvoiceNo\": \"04000000\",\n \"InvoiceCode\": \"1300000000\",\n \"InvoiceDate\": \"2019-12-11\",\n \"Additional\": \"88.50\"\n}",
|
697
|
-
"output": "{\n \"Response\": {\n \"Invoice\": {\n \"Code\": \"1300000000\",\n \"Number\": \"04000000\",\n \"Date\": \"20191211\",\n \"BuyerName\": \"栾城区一厂\",\n \"BuyerTaxCode\": \"921467MA773940\",\n \"BuyerAddressPhone\": \"栾城区北留营村15012345678\",\n \"BuyerBankAccount\": \"中国农业银行股份有限公司第一分理处\",\n \"SellerName\": \"石家庄市第一石油经销有限公司\",\n \"SellerTaxCode\": \"911301047981234567\",\n \"SellerAddressPhone\": \"石家庄市桥西区师范街01号 0311-12345678\",\n \"SellerBankAccount\": \"\",\n \"Remark\": \"\",\n \"MachineNo\": \"661510100000\",\n \"Type\": \"01\",\n \"CheckCode\": \"85518065011000000000\",\n \"IsAbandoned\": \"\",\n \"HasSellerList\": \"\",\n \"SellerListTitle\": \"\",\n \"SellerListTax\": \"\",\n \"AmountWithoutTax\": \"88.50\",\n \"TaxAmount\": \"11.50\",\n \"AmountWithTax\": \"100.00\",\n \"Items\": [\n {\n \"LineNo\": \"1\",\n \"Name\": \"*乙醇汽油*92#汽油\",\n \"Spec\": \"\",\n \"Unit\": \"升\",\n \"Quantity\": \"15.479876160990711\",\n \"UnitPrice\": \"5.716814159292035\",\n \"AmountWithoutTax\": \"88.50\",\n \"TaxRate\": \"13%\",\n \"TaxAmount\": \"11.50\",\n \"TaxClassifyCode\": \"\"\n }\n ],\n \"TaxBureau\": \"\",\n \"TrafficFreeFlag\": \"\"\n },\n \"VehicleInvoiceInfo\": {\n \"MotorBankAccount\": \"\",\n \"VinNo\": \"\",\n \"MotorBankName\": \"\",\n \"BizCheckFormNo\": \"\",\n \"PlateModel\": \"\",\n \"BuyerNo\": \"\",\n \"CarType\": \"\",\n \"TaxtationOrgName\": \"\",\n \"TaxtationOrgCode\": \"\",\n \"EngineNo\": \"\",\n \"PayTaxesNo\": \"\",\n \"Tonnage\": \"\",\n \"MotorTaxRate\": \"\",\n \"CertificateNo\": \"\",\n \"ProduceAddress\": \"\",\n \"LimitCount\": \"\",\n \"ImportNo\": \"\",\n \"SellerTel\": \"\",\n \"SellerAddress\": \"\"\n },\n \"UsedVehicleInvoiceInfo\": {\n \"BuyerTel\": \"\",\n \"MarketBankAccount\": \"\",\n \"BuyerNo\": \"\",\n \"ManagementOffice\": \"\",\n \"Seller\": \"\",\n \"MarketAddress\": \"\",\n \"SellerNo\": \"\",\n \"BuyerAddress\": \"\",\n \"Buyer\": \"\",\n \"AuctioneerTel\": \"\",\n \"AuctioneerAddress\": \"\",\n \"MarketTaxpayerNum\": \"\",\n \"VehicleIdentifyNo\": \"\",\n \"VehicleLicenseNo\": \"\",\n \"AuctioneerTaxpayerNum\": \"\",\n \"MarketTel\": \"\",\n \"AuctioneerBankAccount\": \"\",\n \"Auctioneer\": \"\",\n \"VehicleTotalPrice\": \"\",\n \"RegisterNo\": \"\",\n \"SellerAddress\": \"\",\n \"TaxBureau\": \"\",\n \"SellerTel\": \"\",\n \"Market\": \"\"\n },\n \"RequestId\": \"163b7f97-0b1f-4054-b8e5-bdfb5a6c213f\"\n }\n}",
|
698
|
-
"title": "增值税发票核验示例代码"
|
699
|
-
}
|
700
|
-
],
|
701
677
|
"VatInvoiceVerifyNew": [
|
702
678
|
{
|
703
679
|
"document": "增值税发票核验示例代码",
|