tccli 3.0.1274.1__py2.py3-none-any.whl → 3.0.1276.1__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/__init__.py +0 -9
- tccli/services/ams/v20201229/api.json +82 -0
- tccli/services/asr/v20190614/api.json +1 -1
- tccli/services/batch/v20170312/api.json +24 -24
- tccli/services/cdwdoris/v20211228/api.json +19 -0
- tccli/services/cfw/v20190904/api.json +6 -6
- tccli/services/clb/v20180317/api.json +32 -4
- tccli/services/cloudstudio/v20230508/api.json +1 -1
- tccli/services/cvm/v20170312/api.json +48 -37
- tccli/services/cynosdb/v20190107/api.json +14 -4
- tccli/services/dlc/v20210125/api.json +17 -15
- tccli/services/dlc/v20210125/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +1 -1
- tccli/services/emr/v20190103/api.json +24 -24
- tccli/services/es/v20180416/api.json +2 -2
- tccli/services/es/v20180416/examples.json +4 -4
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +403 -322
- tccli/services/ess/v20201111/examples.json +16 -2
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +310 -238
- tccli/services/essbasic/v20210526/examples.json +14 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/lcic/v20220817/api.json +3 -3
- tccli/services/lighthouse/v20200324/api.json +6 -6
- tccli/services/live/v20180801/api.json +371 -380
- tccli/services/lke/lke_client.py +53 -0
- tccli/services/lke/v20231130/api.json +72 -2
- tccli/services/lke/v20231130/examples.json +8 -0
- tccli/services/ocr/v20181119/api.json +17 -7
- tccli/services/ocr/v20181119/examples.json +4 -4
- tccli/services/organization/v20210331/api.json +19 -0
- tccli/services/rce/v20201103/api.json +15 -15
- tccli/services/taf/v20200210/api.json +9 -9
- tccli/services/tcbr/v20220217/api.json +18 -0
- tccli/services/teo/v20220901/api.json +2 -2
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/tke/v20180525/api.json +328 -323
- tccli/services/tke/v20180525/examples.json +2 -2
- tccli/services/tke/v20220501/api.json +8 -8
- tccli/services/tse/v20201207/api.json +84 -4
- tccli/services/vm/v20201229/api.json +428 -78
- tccli/services/vm/v20210922/api.json +482 -82
- tccli/services/vpc/v20170312/api.json +2 -2
- tccli/services/weilingwith/v20230427/api.json +20 -20
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/RECORD +51 -63
- tccli/services/lp/__init__.py +0 -4
- tccli/services/lp/lp_client.py +0 -207
- tccli/services/lp/v20200224/api.json +0 -311
- tccli/services/lp/v20200224/examples.json +0 -13
- tccli/services/rkp/__init__.py +0 -4
- tccli/services/rkp/rkp_client.py +0 -313
- tccli/services/rkp/v20191209/api.json +0 -564
- tccli/services/rkp/v20191209/examples.json +0 -29
- tccli/services/rp/__init__.py +0 -4
- tccli/services/rp/rp_client.py +0 -207
- tccli/services/rp/v20200224/api.json +0 -290
- tccli/services/rp/v20200224/examples.json +0 -13
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1274.1.dist-info → tccli-3.0.1276.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/lke/lke_client.py
CHANGED
@@ -1473,6 +1473,58 @@ def doCheckAttributeLabelExist(args, parsed_globals):
|
|
1473
1473
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1474
1474
|
|
1475
1475
|
|
1476
|
+
def doRenameDoc(args, parsed_globals):
|
1477
|
+
g_param = parse_global_arg(parsed_globals)
|
1478
|
+
|
1479
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1480
|
+
cred = credential.CVMRoleCredential()
|
1481
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1482
|
+
cred = credential.STSAssumeRoleCredential(
|
1483
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1484
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1485
|
+
)
|
1486
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1487
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1488
|
+
else:
|
1489
|
+
cred = credential.Credential(
|
1490
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1491
|
+
)
|
1492
|
+
http_profile = HttpProfile(
|
1493
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1494
|
+
reqMethod="POST",
|
1495
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1496
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1497
|
+
)
|
1498
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1499
|
+
if g_param[OptionsDefine.Language]:
|
1500
|
+
profile.language = g_param[OptionsDefine.Language]
|
1501
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1502
|
+
client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
|
1503
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1504
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1505
|
+
model = models.RenameDocRequest()
|
1506
|
+
model.from_json_string(json.dumps(args))
|
1507
|
+
start_time = time.time()
|
1508
|
+
while True:
|
1509
|
+
rsp = client.RenameDoc(model)
|
1510
|
+
result = rsp.to_json_string()
|
1511
|
+
try:
|
1512
|
+
json_obj = json.loads(result)
|
1513
|
+
except TypeError as e:
|
1514
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1515
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1516
|
+
break
|
1517
|
+
cur_time = time.time()
|
1518
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1519
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1520
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1521
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1522
|
+
else:
|
1523
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1524
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1525
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1526
|
+
|
1527
|
+
|
1476
1528
|
def doDescribeDoc(args, parsed_globals):
|
1477
1529
|
g_param = parse_global_arg(parsed_globals)
|
1478
1530
|
|
@@ -5152,6 +5204,7 @@ ACTION_MAP = {
|
|
5152
5204
|
"VerifyQA": doVerifyQA,
|
5153
5205
|
"CreateDocCate": doCreateDocCate,
|
5154
5206
|
"CheckAttributeLabelExist": doCheckAttributeLabelExist,
|
5207
|
+
"RenameDoc": doRenameDoc,
|
5155
5208
|
"DescribeDoc": doDescribeDoc,
|
5156
5209
|
"ListUsageCallDetail": doListUsageCallDetail,
|
5157
5210
|
"DescribeStorageCredential": doDescribeStorageCredential,
|
@@ -623,6 +623,13 @@
|
|
623
623
|
"output": "ReconstructDocumentResponse",
|
624
624
|
"status": "online"
|
625
625
|
},
|
626
|
+
"RenameDoc": {
|
627
|
+
"document": "文档重命名",
|
628
|
+
"input": "RenameDocRequest",
|
629
|
+
"name": "文档重命名",
|
630
|
+
"output": "RenameDocResponse",
|
631
|
+
"status": "online"
|
632
|
+
},
|
626
633
|
"ResetSession": {
|
627
634
|
"document": "重置会话",
|
628
635
|
"input": "ResetSessionRequest",
|
@@ -7084,7 +7091,7 @@
|
|
7084
7091
|
"members": [
|
7085
7092
|
{
|
7086
7093
|
"disabled": false,
|
7087
|
-
"document": "
|
7094
|
+
"document": "接入类型,当前请填写5",
|
7088
7095
|
"example": "1: 坐席 2: 访客 3: 体验 5: API 访客",
|
7089
7096
|
"member": "int64",
|
7090
7097
|
"name": "Type",
|
@@ -7093,7 +7100,7 @@
|
|
7093
7100
|
},
|
7094
7101
|
{
|
7095
7102
|
"disabled": false,
|
7096
|
-
"document": "
|
7103
|
+
"document": "当Type=5时,必填;应用AppKey(应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取)",
|
7097
7104
|
"example": "无",
|
7098
7105
|
"member": "string",
|
7099
7106
|
"name": "BotAppKey",
|
@@ -13232,6 +13239,69 @@
|
|
13232
13239
|
],
|
13233
13240
|
"usage": "out"
|
13234
13241
|
},
|
13242
|
+
"RenameDocRequest": {
|
13243
|
+
"document": "RenameDoc请求参数结构体",
|
13244
|
+
"members": [
|
13245
|
+
{
|
13246
|
+
"disabled": false,
|
13247
|
+
"document": "登录用户主账号(集成商模式必填)\t",
|
13248
|
+
"example": "6000005624511",
|
13249
|
+
"member": "string",
|
13250
|
+
"name": "LoginUin",
|
13251
|
+
"required": false,
|
13252
|
+
"type": "string"
|
13253
|
+
},
|
13254
|
+
{
|
13255
|
+
"disabled": false,
|
13256
|
+
"document": "登录用户子账号(集成商模式必填)\t",
|
13257
|
+
"example": "6000005624511",
|
13258
|
+
"member": "string",
|
13259
|
+
"name": "LoginSubAccountUin",
|
13260
|
+
"required": false,
|
13261
|
+
"type": "string"
|
13262
|
+
},
|
13263
|
+
{
|
13264
|
+
"disabled": false,
|
13265
|
+
"document": "应用ID",
|
13266
|
+
"example": "无",
|
13267
|
+
"member": "string",
|
13268
|
+
"name": "BotBizId",
|
13269
|
+
"required": false,
|
13270
|
+
"type": "string"
|
13271
|
+
},
|
13272
|
+
{
|
13273
|
+
"disabled": false,
|
13274
|
+
"document": "文档ID",
|
13275
|
+
"example": "无",
|
13276
|
+
"member": "string",
|
13277
|
+
"name": "DocBizId",
|
13278
|
+
"required": false,
|
13279
|
+
"type": "string"
|
13280
|
+
},
|
13281
|
+
{
|
13282
|
+
"disabled": false,
|
13283
|
+
"document": "新文档名,需要带上后缀",
|
13284
|
+
"example": "新文档名.docx",
|
13285
|
+
"member": "string",
|
13286
|
+
"name": "NewName",
|
13287
|
+
"required": false,
|
13288
|
+
"type": "string"
|
13289
|
+
}
|
13290
|
+
],
|
13291
|
+
"type": "object"
|
13292
|
+
},
|
13293
|
+
"RenameDocResponse": {
|
13294
|
+
"document": "RenameDoc返回参数结构体",
|
13295
|
+
"members": [
|
13296
|
+
{
|
13297
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
13298
|
+
"member": "string",
|
13299
|
+
"name": "RequestId",
|
13300
|
+
"type": "string"
|
13301
|
+
}
|
13302
|
+
],
|
13303
|
+
"type": "object"
|
13304
|
+
},
|
13235
13305
|
"ResetSessionRequest": {
|
13236
13306
|
"document": "ResetSession请求参数结构体",
|
13237
13307
|
"members": [
|
@@ -724,6 +724,14 @@
|
|
724
724
|
"title": "接口调用成功示例"
|
725
725
|
}
|
726
726
|
],
|
727
|
+
"RenameDoc": [
|
728
|
+
{
|
729
|
+
"document": "重命名文档-提交成功",
|
730
|
+
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RenameDoc\n<公共请求参数>\n\n{\n \"BotBizId\": \"181XXXXXXXXX54112\",\n \"DocBizId\": \"181XXXXXXXXXXXXXXX\",\n \"NewName\": \"新文档名.docx\"\n}",
|
731
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9580fed9-441a-4825-8343-8d5ed700ebe8\"\n }\n}",
|
732
|
+
"title": "重命名文档-提交成功"
|
733
|
+
}
|
734
|
+
],
|
727
735
|
"ResetSession": [
|
728
736
|
{
|
729
737
|
"document": "",
|
@@ -386,7 +386,7 @@
|
|
386
386
|
"status": "online"
|
387
387
|
},
|
388
388
|
"RecognizeGeneralInvoice": {
|
389
|
-
"document": "本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持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> OtherInvoice </td>\n <td> 其他发票 </td>\n <td> -1 </td>\n </tr>\n </tbody>\n </table>",
|
389
|
+
"document": "本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,支持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>",
|
390
390
|
"input": "RecognizeGeneralInvoiceRequest",
|
391
391
|
"name": "通用票据识别(高级版)",
|
392
392
|
"output": "RecognizeGeneralInvoiceResponse",
|
@@ -6318,7 +6318,7 @@
|
|
6318
6318
|
{
|
6319
6319
|
"disabled": false,
|
6320
6320
|
"document": "图片的 Base64 值。\n要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。\n图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
|
6321
|
-
"example": "
|
6321
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
6322
6322
|
"member": "string",
|
6323
6323
|
"name": "ImageBase64",
|
6324
6324
|
"required": false,
|
@@ -6327,7 +6327,7 @@
|
|
6327
6327
|
{
|
6328
6328
|
"disabled": false,
|
6329
6329
|
"document": "图片的 Url 地址。\n要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。\n图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
|
6330
|
-
"example": "https://
|
6330
|
+
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralBasicOCR/GeneralBasicOCR1.jpg",
|
6331
6331
|
"member": "string",
|
6332
6332
|
"name": "ImageUrl",
|
6333
6333
|
"required": false,
|
@@ -6345,17 +6345,27 @@
|
|
6345
6345
|
"example": "无",
|
6346
6346
|
"member": "TextDetection",
|
6347
6347
|
"name": "TextDetections",
|
6348
|
-
"
|
6348
|
+
"output_required": true,
|
6349
6349
|
"type": "list",
|
6350
6350
|
"value_allowed_null": false
|
6351
6351
|
},
|
6352
6352
|
{
|
6353
|
-
"disabled":
|
6353
|
+
"disabled": true,
|
6354
6354
|
"document": "图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href=\"https://cloud.tencent.com/document/product/866/45139\">如何纠正倾斜文本</a>",
|
6355
6355
|
"example": "6.3359375",
|
6356
6356
|
"member": "float",
|
6357
6357
|
"name": "Angel",
|
6358
|
-
"
|
6358
|
+
"output_required": true,
|
6359
|
+
"type": "float",
|
6360
|
+
"value_allowed_null": false
|
6361
|
+
},
|
6362
|
+
{
|
6363
|
+
"disabled": false,
|
6364
|
+
"document": "图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href=\"https://cloud.tencent.com/document/product/866/45139\">如何纠正倾斜文本</a>",
|
6365
|
+
"example": "6.3359375",
|
6366
|
+
"member": "float",
|
6367
|
+
"name": "Angle",
|
6368
|
+
"output_required": true,
|
6359
6369
|
"type": "float",
|
6360
6370
|
"value_allowed_null": false
|
6361
6371
|
},
|
@@ -13549,7 +13559,7 @@
|
|
13549
13559
|
},
|
13550
13560
|
{
|
13551
13561
|
"disabled": false,
|
13552
|
-
"document": "需要识别的票据类型列表,为空或不填表示识别全部类型。当传入单个类型时,图片均采用该票类型进行处理。\n暂不支持多个参数进行局部控制。\n0:出租车发票\n1:定额发票\n2:火车票\n3:增值税发票\n5:机票行程单\n8:通用机打发票\n9:汽车票\n10:轮船票\n11:增值税发票(卷票 )\n12:购车发票\n13:过路过桥费发票\n15:非税发票\n16:全电发票\n17:医疗发票\n-1:其他发票",
|
13562
|
+
"document": "需要识别的票据类型列表,为空或不填表示识别全部类型。当传入单个类型时,图片均采用该票类型进行处理。\n暂不支持多个参数进行局部控制。\n0:出租车发票\n1:定额发票\n2:火车票\n3:增值税发票\n5:机票行程单\n8:通用机打发票\n9:汽车票\n10:轮船票\n11:增值税发票(卷票 )\n12:购车发票\n13:过路过桥费发票\n15:非税发票\n16:全电发票\n17:医疗发票\n18:完税凭证\n19:海关缴款书\n-1:其他发票",
|
13553
13563
|
"example": "[0,1]",
|
13554
13564
|
"member": "int64",
|
13555
13565
|
"name": "Types",
|
@@ -198,9 +198,9 @@
|
|
198
198
|
],
|
199
199
|
"GeneralEfficientOCR": [
|
200
200
|
{
|
201
|
-
"document": "",
|
202
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralEfficientOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
203
|
-
"output": "{\n \"Response\": {\n \"Angel\": 0,\n \"RequestId\": \"389c588f-ae23-42f9-a34c-c5dfafc8fdd1\",\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"Sun\",\n \"ItemPolygon\": {\n \"Height\": 35,\n \"Width\": 71,\n \"X\": 467,\n \"Y\": 104\n },\n \"Polygon\": [\n {\n \"X\": 467,\n \"Y\": 104\n },\n {\n \"X\": 537,\n \"Y\": 104\n },\n {\n \"X\": 537,\n \"Y\": 138\n },\n {\n \"X\": 467,\n \"Y\": 138\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"1月8日\",\n \"ItemPolygon\": {\n \"Height\": 19,\n \"Width\": 55,\n \"X\": 474,\n \"Y\": 142\n },\n \"Polygon\": [\n {\n \"X\": 474,\n \"Y\": 142\n },\n {\n \"X\": 528,\n \"Y\": 142\n },\n {\n \"X\": 528,\n \"Y\": 160\n },\n {\n \"X\": 474,\n \"Y\": 160\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"八色鸫\",\n \"ItemPolygon\": {\n \"Height\": 29,\n \"Width\": 81,\n \"X\": 66,\n \"Y\": 443\n },\n \"Polygon\": [\n {\n \"X\": 66,\n \"Y\": 443\n },\n {\n \"X\": 146,\n \"Y\": 443\n },\n {\n \"X\": 146,\n \"Y\": 471\n },\n {\n \"X\": 66,\n \"Y\": 471\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 86,\n \"DetectedText\": \"Pilta nympha\",\n \"ItemPolygon\": {\n \"Height\": 19,\n \"Width\": 95,\n \"X\": 63,\n \"Y\": 482\n },\n \"Polygon\": [\n {\n \"X\": 63,\n \"Y\": 482\n },\n {\n \"X\": 157,\n \"Y\": 482\n },\n {\n \"X\": 157,\n \"Y\": 500\n },\n {\n \"X\": 63,\n \"Y\": 500\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 93,\n \"DetectedText\": \"八色鸫雌鸟和雄鸟样漂亮。它经常在亚热带的森林地面上走动,捕\",\n \"ItemPolygon\": {\n \"Height\": 20,\n \"Width\": 424,\n \"X\": 63,\n \"Y\": 505\n },\n \"Polygon\": [\n {\n \"X\": 63,\n \"Y\": 505\n },\n {\n \"X\": 486,\n \"Y\": 505\n },\n {\n \"X\": 486,\n \"Y\": 524\n },\n {\n \"X\": 63,\n \"Y\": 524\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"食落叶下的昆虫和蜥蜴等小动物,唱歌时会飞到树上。因为森林砍伐\",\n \"ItemPolygon\": {\n \"Height\": 20,\n \"Width\": 426,\n \"X\": 61,\n \"Y\": 529\n },\n \"Polygon\": [\n {\n \"X\": 61,\n \"Y\": 529\n },\n {\n \"X\": 486,\n \"Y\": 529\n },\n {\n \"X\": 486,\n \"Y\": 548\n },\n {\n \"X\": 61,\n \"Y\": 548\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"和非法的玩赏鸟贸易,现在它的数量已明显减少。\",\n \"ItemPolygon\": {\n \"Height\": 18,\n \"Width\": 309,\n \"X\": 59,\n \"Y\": 555\n },\n \"Polygon\": [\n {\n \"X\": 59,\n \"Y\": 555\n },\n {\n \"X\": 367,\n \"Y\": 555\n },\n {\n \"X\": 367,\n \"Y\": 572\n },\n {\n \"X\": 59,\n \"Y\": 572\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n }\n ]\n }\n}",
|
201
|
+
"document": "通用印刷体识别(精简版)示例",
|
202
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralEfficientOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralBasicOCR/GeneralBasicOCR1.jpg\"\n}",
|
203
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"Angel\": 0,\n \"RequestId\": \"389c588f-ae23-42f9-a34c-c5dfafc8fdd1\",\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"Sun\",\n \"ItemPolygon\": {\n \"Height\": 35,\n \"Width\": 71,\n \"X\": 467,\n \"Y\": 104\n },\n \"Polygon\": [\n {\n \"X\": 467,\n \"Y\": 104\n },\n {\n \"X\": 537,\n \"Y\": 104\n },\n {\n \"X\": 537,\n \"Y\": 138\n },\n {\n \"X\": 467,\n \"Y\": 138\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"1月8日\",\n \"ItemPolygon\": {\n \"Height\": 19,\n \"Width\": 55,\n \"X\": 474,\n \"Y\": 142\n },\n \"Polygon\": [\n {\n \"X\": 474,\n \"Y\": 142\n },\n {\n \"X\": 528,\n \"Y\": 142\n },\n {\n \"X\": 528,\n \"Y\": 160\n },\n {\n \"X\": 474,\n \"Y\": 160\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"八色鸫\",\n \"ItemPolygon\": {\n \"Height\": 29,\n \"Width\": 81,\n \"X\": 66,\n \"Y\": 443\n },\n \"Polygon\": [\n {\n \"X\": 66,\n \"Y\": 443\n },\n {\n \"X\": 146,\n \"Y\": 443\n },\n {\n \"X\": 146,\n \"Y\": 471\n },\n {\n \"X\": 66,\n \"Y\": 471\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 86,\n \"DetectedText\": \"Pilta nympha\",\n \"ItemPolygon\": {\n \"Height\": 19,\n \"Width\": 95,\n \"X\": 63,\n \"Y\": 482\n },\n \"Polygon\": [\n {\n \"X\": 63,\n \"Y\": 482\n },\n {\n \"X\": 157,\n \"Y\": 482\n },\n {\n \"X\": 157,\n \"Y\": 500\n },\n {\n \"X\": 63,\n \"Y\": 500\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 93,\n \"DetectedText\": \"八色鸫雌鸟和雄鸟样漂亮。它经常在亚热带的森林地面上走动,捕\",\n \"ItemPolygon\": {\n \"Height\": 20,\n \"Width\": 424,\n \"X\": 63,\n \"Y\": 505\n },\n \"Polygon\": [\n {\n \"X\": 63,\n \"Y\": 505\n },\n {\n \"X\": 486,\n \"Y\": 505\n },\n {\n \"X\": 486,\n \"Y\": 524\n },\n {\n \"X\": 63,\n \"Y\": 524\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"食落叶下的昆虫和蜥蜴等小动物,唱歌时会飞到树上。因为森林砍伐\",\n \"ItemPolygon\": {\n \"Height\": 20,\n \"Width\": 426,\n \"X\": 61,\n \"Y\": 529\n },\n \"Polygon\": [\n {\n \"X\": 61,\n \"Y\": 529\n },\n {\n \"X\": 486,\n \"Y\": 529\n },\n {\n \"X\": 486,\n \"Y\": 548\n },\n {\n \"X\": 61,\n \"Y\": 548\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"和非法的玩赏鸟贸易,现在它的数量已明显减少。\",\n \"ItemPolygon\": {\n \"Height\": 18,\n \"Width\": 309,\n \"X\": 59,\n \"Y\": 555\n },\n \"Polygon\": [\n {\n \"X\": 59,\n \"Y\": 555\n },\n {\n \"X\": 367,\n \"Y\": 555\n },\n {\n \"X\": 367,\n \"Y\": 572\n },\n {\n \"X\": 59,\n \"Y\": 572\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n }\n ]\n }\n}",
|
204
204
|
"title": "通用印刷体识别(精简版)示例代码 [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=GeneralEfficientOCR)"
|
205
205
|
}
|
206
206
|
],
|
@@ -486,7 +486,7 @@
|
|
486
486
|
{
|
487
487
|
"document": "通用票据识别(高级版)识别多张票据",
|
488
488
|
"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 \"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 \"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 \"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}",
|
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}",
|
490
490
|
"title": "通用票据识别(高级版)"
|
491
491
|
}
|
492
492
|
],
|
@@ -8769,6 +8769,16 @@
|
|
8769
8769
|
"output_required": false,
|
8770
8770
|
"type": "list",
|
8771
8771
|
"value_allowed_null": false
|
8772
|
+
},
|
8773
|
+
{
|
8774
|
+
"disabled": false,
|
8775
|
+
"document": "腾讯云昵称",
|
8776
|
+
"example": "member_name",
|
8777
|
+
"member": "string",
|
8778
|
+
"name": "NickName",
|
8779
|
+
"output_required": false,
|
8780
|
+
"type": "string",
|
8781
|
+
"value_allowed_null": false
|
8772
8782
|
}
|
8773
8783
|
],
|
8774
8784
|
"usage": "out"
|
@@ -11497,6 +11507,15 @@
|
|
11497
11507
|
"name": "PayUin",
|
11498
11508
|
"required": false,
|
11499
11509
|
"type": "string"
|
11510
|
+
},
|
11511
|
+
{
|
11512
|
+
"disabled": false,
|
11513
|
+
"document": "是否同步组织成员名称到成员账号昵称。取值: 1-同步 0-不同步",
|
11514
|
+
"example": "0",
|
11515
|
+
"member": "uint64",
|
11516
|
+
"name": "IsModifyNickName",
|
11517
|
+
"required": false,
|
11518
|
+
"type": "int"
|
11500
11519
|
}
|
11501
11520
|
],
|
11502
11521
|
"type": "object"
|
@@ -178,7 +178,7 @@
|
|
178
178
|
},
|
179
179
|
{
|
180
180
|
"disabled": false,
|
181
|
-
"document": "
|
181
|
+
"document": "数据受托方、提供方:腾讯云主体名称。固定填:腾讯云计算(北京)有限责任公司",
|
182
182
|
"example": "腾讯云计算(北京)有限责任公司",
|
183
183
|
"member": "string",
|
184
184
|
"name": "DataRecipientName",
|
@@ -187,7 +187,7 @@
|
|
187
187
|
},
|
188
188
|
{
|
189
189
|
"disabled": false,
|
190
|
-
"document": "客户请求RCE所提供的用户数据类型,支持多选。实际以接口请求传参为准。\
|
190
|
+
"document": "客户请求RCE所提供的用户数据类型,支持多选。实际以接口请求传参为准。\n1-手机号;\n2-微信开放账号;\n3-QQ开放账号;\n4-IP地址;\n999-其它;",
|
191
191
|
"example": "[1, 4]",
|
192
192
|
"member": "uint64",
|
193
193
|
"name": "UserDataType",
|
@@ -214,7 +214,7 @@
|
|
214
214
|
},
|
215
215
|
{
|
216
216
|
"disabled": false,
|
217
|
-
"document": "
|
217
|
+
"document": "客户获得的用户授权期限时间戳(单位秒)。不填默认无固定期限。",
|
218
218
|
"example": "1719805604",
|
219
219
|
"member": "uint64",
|
220
220
|
"name": "AuthorizationTerm",
|
@@ -223,7 +223,7 @@
|
|
223
223
|
},
|
224
224
|
{
|
225
225
|
"disabled": false,
|
226
|
-
"document": "
|
226
|
+
"document": "客户获得用户授权所依赖的协议地址。",
|
227
227
|
"example": "https://www.*****.com/*",
|
228
228
|
"member": "string",
|
229
229
|
"name": "PrivacyPolicyLink",
|
@@ -232,7 +232,7 @@
|
|
232
232
|
},
|
233
233
|
{
|
234
234
|
"disabled": false,
|
235
|
-
"document": "
|
235
|
+
"document": "是否是用户个人敏感数据(不推荐使用)。固定填:1。",
|
236
236
|
"example": "1",
|
237
237
|
"member": "uint64",
|
238
238
|
"name": "IsPersonalData",
|
@@ -598,7 +598,7 @@
|
|
598
598
|
"members": [
|
599
599
|
{
|
600
600
|
"disabled": false,
|
601
|
-
"document": "是否授权:1已授权,否则未授权。\n
|
601
|
+
"document": "是否授权:1已授权,否则未授权。\n 调用全栈式风控引擎接口服务时,客户需先明确授权。",
|
602
602
|
"example": "1",
|
603
603
|
"member": "string",
|
604
604
|
"name": "IsAuthorized",
|
@@ -607,7 +607,7 @@
|
|
607
607
|
},
|
608
608
|
{
|
609
609
|
"disabled": false,
|
610
|
-
"document": "加密类型:1AES
|
610
|
+
"document": "加密类型:1AES加密",
|
611
611
|
"example": "1",
|
612
612
|
"member": "string",
|
613
613
|
"name": "CryptoType",
|
@@ -1033,7 +1033,7 @@
|
|
1033
1033
|
},
|
1034
1034
|
{
|
1035
1035
|
"disabled": false,
|
1036
|
-
"document": "1:Android\n2:iOS\n3:H5\n4
|
1036
|
+
"document": "1:Android\n2:iOS\n3:H5\n4:小程序",
|
1037
1037
|
"example": "1",
|
1038
1038
|
"member": "string",
|
1039
1039
|
"name": "Platform",
|
@@ -1593,7 +1593,7 @@
|
|
1593
1593
|
{
|
1594
1594
|
"disabled": false,
|
1595
1595
|
"document": "名单数据创建时间",
|
1596
|
-
"example": "
|
1596
|
+
"example": "2024-05-05 12:10:15",
|
1597
1597
|
"member": "string",
|
1598
1598
|
"name": "CreateTime",
|
1599
1599
|
"output_required": true,
|
@@ -1922,7 +1922,7 @@
|
|
1922
1922
|
"members": [
|
1923
1923
|
{
|
1924
1924
|
"disabled": false,
|
1925
|
-
"document": "错误码,0 表示成功,非0表示失败错误码。 0:成功 1002:参数错误 4300:未开通服务 6000
|
1925
|
+
"document": "错误码,0 表示成功,非0表示失败错误码。 0:成功 1002:参数错误 4300:未开通服务 6000:系统内部错误。",
|
1926
1926
|
"example": "0",
|
1927
1927
|
"member": "int64",
|
1928
1928
|
"name": "Code",
|
@@ -1932,7 +1932,7 @@
|
|
1932
1932
|
},
|
1933
1933
|
{
|
1934
1934
|
"disabled": false,
|
1935
|
-
"document": "
|
1935
|
+
"document": "错误信息。",
|
1936
1936
|
"example": "OK",
|
1937
1937
|
"member": "string",
|
1938
1938
|
"name": "Message",
|
@@ -1942,7 +1942,7 @@
|
|
1942
1942
|
},
|
1943
1943
|
{
|
1944
1944
|
"disabled": false,
|
1945
|
-
"document": "
|
1945
|
+
"document": "黑白名单列表信息。",
|
1946
1946
|
"example": "无",
|
1947
1947
|
"member": "OutputDescribeNameListInfo",
|
1948
1948
|
"name": "Value",
|
@@ -2198,8 +2198,8 @@
|
|
2198
2198
|
},
|
2199
2199
|
{
|
2200
2200
|
"disabled": false,
|
2201
|
-
"document": "
|
2202
|
-
"example": "
|
2201
|
+
"document": "业务预留参数(暂无实际业务含义, 无需关注返回值)",
|
2202
|
+
"example": "1***01",
|
2203
2203
|
"member": "string",
|
2204
2204
|
"name": "AssociateAccount",
|
2205
2205
|
"output_required": true,
|
@@ -2372,7 +2372,7 @@
|
|
2372
2372
|
},
|
2373
2373
|
{
|
2374
2374
|
"disabled": false,
|
2375
|
-
"document": "
|
2375
|
+
"document": "用户设备号(已不推荐使用)。",
|
2376
2376
|
"example": "095006********************dddc39",
|
2377
2377
|
"member": "string",
|
2378
2378
|
"name": "DeviceId",
|