tccli 3.0.1338.1__py2.py3-none-any.whl → 3.0.1339.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/apm/v20210622/api.json +10 -0
- tccli/services/ccc/v20200210/api.json +100 -1
- tccli/services/cdb/v20170320/api.json +37 -37
- tccli/services/cdb/v20170320/examples.json +7 -7
- tccli/services/cdn/v20180606/api.json +2 -2
- tccli/services/cfs/v20190719/api.json +9 -0
- tccli/services/cfw/v20190904/examples.json +12 -0
- tccli/services/ckafka/v20190819/api.json +19 -0
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/csip/csip_client.py +791 -102
- tccli/services/csip/v20221121/api.json +6108 -3458
- tccli/services/csip/v20221121/examples.json +104 -0
- tccli/services/dts/v20211206/api.json +11 -0
- tccli/services/es/v20180416/api.json +55 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +115 -4
- tccli/services/ess/v20201111/examples.json +12 -4
- tccli/services/essbasic/essbasic_client.py +57 -4
- tccli/services/essbasic/v20210526/api.json +103 -3
- tccli/services/essbasic/v20210526/examples.json +9 -1
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/gwlb/v20240906/examples.json +1 -1
- tccli/services/ioa/v20220601/api.json +55 -0
- tccli/services/ioa/v20220601/examples.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +57 -4
- tccli/services/iotexplorer/v20190423/api.json +145 -19
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/live/live_client.py +0 -106
- tccli/services/live/v20180801/api.json +14 -138
- tccli/services/live/v20180801/examples.json +0 -16
- tccli/services/lkeap/lkeap_client.py +0 -53
- tccli/services/lkeap/v20240522/api.json +0 -90
- tccli/services/lkeap/v20240522/examples.json +0 -8
- tccli/services/ocr/v20181119/api.json +21 -1
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/ssl/ssl_client.py +212 -0
- tccli/services/ssl/v20191205/api.json +625 -10
- tccli/services/ssl/v20191205/examples.json +38 -0
- tccli/services/tcbr/v20220217/api.json +11 -0
- tccli/services/tdmq/v20200217/api.json +56 -47
- tccli/services/tdmq/v20200217/examples.json +8 -8
- tccli/services/trocket/v20230308/api.json +111 -92
- tccli/services/trocket/v20230308/examples.json +13 -13
- tccli/services/trtc/v20190722/api.json +3 -3
- tccli/services/tse/v20201207/api.json +19 -0
- tccli/services/tsf/v20180326/api.json +1 -1
- tccli/services/wedata/v20210820/api.json +607 -3
- tccli/services/wedata/v20210820/examples.json +18 -8
- tccli/services/wedata/wedata_client.py +106 -0
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/RECORD +55 -55
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1338.1.dist-info → tccli-3.0.1339.1.dist-info}/license_files/LICENSE +0 -0
@@ -700,13 +700,6 @@
|
|
700
700
|
"output": "DescribeLivePackageInfoResponse",
|
701
701
|
"status": "online"
|
702
702
|
},
|
703
|
-
"DescribeLivePadProcessorList": {
|
704
|
-
"document": "使用该接口查询垫片流。垫片流状态更新存在一定延迟,可间隔30秒以上查询,避免频繁查询该接口。",
|
705
|
-
"input": "DescribeLivePadProcessorListRequest",
|
706
|
-
"name": "查询垫片流列表",
|
707
|
-
"output": "DescribeLivePadProcessorListResponse",
|
708
|
-
"status": "online"
|
709
|
-
},
|
710
703
|
"DescribeLivePadRules": {
|
711
704
|
"document": "获取直播垫片规则列表。",
|
712
705
|
"input": "DescribeLivePadRulesRequest",
|
@@ -1337,13 +1330,6 @@
|
|
1337
1330
|
"output": "StopCasterPvwResponse",
|
1338
1331
|
"status": "online"
|
1339
1332
|
},
|
1340
|
-
"StopLivePadProcessor": {
|
1341
|
-
"document": "使用该接口停止垫片流。",
|
1342
|
-
"input": "StopLivePadProcessorRequest",
|
1343
|
-
"name": "停止垫片流",
|
1344
|
-
"output": "StopLivePadProcessorResponse",
|
1345
|
-
"status": "online"
|
1346
|
-
},
|
1347
1333
|
"StopLivePadStream": {
|
1348
1334
|
"document": "使用该接口将直播流停止切入垫片。",
|
1349
1335
|
"input": "StopLivePadStreamRequest",
|
@@ -9738,52 +9724,6 @@
|
|
9738
9724
|
],
|
9739
9725
|
"type": "object"
|
9740
9726
|
},
|
9741
|
-
"DescribeLivePadProcessorListRequest": {
|
9742
|
-
"document": "DescribeLivePadProcessorList请求参数结构体",
|
9743
|
-
"members": [
|
9744
|
-
{
|
9745
|
-
"disabled": false,
|
9746
|
-
"document": "推流路径,与推流和播放地址中的AppName保持一致,默认为 live。",
|
9747
|
-
"example": "live",
|
9748
|
-
"member": "string",
|
9749
|
-
"name": "AppName",
|
9750
|
-
"required": true,
|
9751
|
-
"type": "string"
|
9752
|
-
},
|
9753
|
-
{
|
9754
|
-
"disabled": false,
|
9755
|
-
"document": "您的推流域名。",
|
9756
|
-
"example": "5000.livepush.myqcloud.com",
|
9757
|
-
"member": "string",
|
9758
|
-
"name": "PushDomainName",
|
9759
|
-
"required": true,
|
9760
|
-
"type": "string"
|
9761
|
-
}
|
9762
|
-
],
|
9763
|
-
"type": "object"
|
9764
|
-
},
|
9765
|
-
"DescribeLivePadProcessorListResponse": {
|
9766
|
-
"document": "DescribeLivePadProcessorList返回参数结构体",
|
9767
|
-
"members": [
|
9768
|
-
{
|
9769
|
-
"disabled": false,
|
9770
|
-
"document": "当前正在拉取垫片的流名称列表。",
|
9771
|
-
"example": "[\"test1\",\"test2\"]",
|
9772
|
-
"member": "string",
|
9773
|
-
"name": "StreamNameList",
|
9774
|
-
"output_required": false,
|
9775
|
-
"type": "list",
|
9776
|
-
"value_allowed_null": false
|
9777
|
-
},
|
9778
|
-
{
|
9779
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9780
|
-
"member": "string",
|
9781
|
-
"name": "RequestId",
|
9782
|
-
"type": "string"
|
9783
|
-
}
|
9784
|
-
],
|
9785
|
-
"type": "object"
|
9786
|
-
},
|
9787
9727
|
"DescribeLivePadRulesRequest": {
|
9788
9728
|
"document": "DescribeLivePadRules请求参数结构体",
|
9789
9729
|
"members": [],
|
@@ -18343,73 +18283,73 @@
|
|
18343
18283
|
},
|
18344
18284
|
{
|
18345
18285
|
"disabled": false,
|
18346
|
-
"document": "备源类型:\nPullLivePushLive -直播,\nPullVodPushLive
|
18286
|
+
"document": "备源类型:\nPullLivePushLive -直播,\nPullVodPushLive -点播。",
|
18347
18287
|
"example": "PullLivePushLive",
|
18348
18288
|
"member": "string",
|
18349
18289
|
"name": "BackupSourceType",
|
18350
18290
|
"output_required": true,
|
18351
18291
|
"type": "string",
|
18352
|
-
"value_allowed_null":
|
18292
|
+
"value_allowed_null": false
|
18353
18293
|
},
|
18354
18294
|
{
|
18355
18295
|
"disabled": false,
|
18356
|
-
"document": "备源URL
|
18296
|
+
"document": "备源URL。",
|
18357
18297
|
"example": "http://test.domain/live/test.flv?txSecret=xx&txTime=xxx",
|
18358
18298
|
"member": "string",
|
18359
18299
|
"name": "BackupSourceUrl",
|
18360
18300
|
"output_required": true,
|
18361
18301
|
"type": "string",
|
18362
|
-
"value_allowed_null":
|
18302
|
+
"value_allowed_null": false
|
18363
18303
|
},
|
18364
18304
|
{
|
18365
18305
|
"disabled": false,
|
18366
|
-
"document": "
|
18306
|
+
"document": "水印信息列表。",
|
18367
18307
|
"example": "无",
|
18368
18308
|
"member": "PullPushWatermarkInfo",
|
18369
18309
|
"name": "WatermarkList",
|
18370
18310
|
"output_required": true,
|
18371
18311
|
"type": "list",
|
18372
|
-
"value_allowed_null":
|
18312
|
+
"value_allowed_null": false
|
18373
18313
|
},
|
18374
18314
|
{
|
18375
18315
|
"disabled": false,
|
18376
|
-
"document": "点播源是否启用本地推流模式,默认0,不启用。\n0 - 不启用。\n1 -
|
18316
|
+
"document": "点播源是否启用本地推流模式,默认0,不启用。\n0 - 不启用。\n1 - 启用。",
|
18377
18317
|
"example": "0",
|
18378
18318
|
"member": "int64",
|
18379
18319
|
"name": "VodLocalMode",
|
18380
18320
|
"output_required": true,
|
18381
18321
|
"type": "int",
|
18382
|
-
"value_allowed_null":
|
18322
|
+
"value_allowed_null": false
|
18383
18323
|
},
|
18384
18324
|
{
|
18385
18325
|
"disabled": false,
|
18386
|
-
"document": "录制模板 ID
|
18326
|
+
"document": "录制模板 ID。",
|
18387
18327
|
"example": "8452",
|
18388
18328
|
"member": "string",
|
18389
18329
|
"name": "RecordTemplateId",
|
18390
18330
|
"output_required": true,
|
18391
18331
|
"type": "string",
|
18392
|
-
"value_allowed_null":
|
18332
|
+
"value_allowed_null": false
|
18393
18333
|
},
|
18394
18334
|
{
|
18395
18335
|
"disabled": false,
|
18396
|
-
"document": "
|
18336
|
+
"document": "新增的推流地址。用于单任务推两路场景。",
|
18397
18337
|
"example": "rtmp://5000.livepush.myqcloud.com/live/vinback?txSecret=6e9797ce",
|
18398
18338
|
"member": "string",
|
18399
18339
|
"name": "BackupToUrl",
|
18400
18340
|
"output_required": true,
|
18401
18341
|
"type": "string",
|
18402
|
-
"value_allowed_null":
|
18342
|
+
"value_allowed_null": false
|
18403
18343
|
},
|
18404
18344
|
{
|
18405
18345
|
"disabled": false,
|
18406
|
-
"document": "
|
18346
|
+
"document": "直播转码模板。",
|
18407
18347
|
"example": "hevc760",
|
18408
18348
|
"member": "string",
|
18409
18349
|
"name": "TranscodeTemplateName",
|
18410
18350
|
"output_required": false,
|
18411
18351
|
"type": "string",
|
18412
|
-
"value_allowed_null":
|
18352
|
+
"value_allowed_null": false
|
18413
18353
|
}
|
18414
18354
|
],
|
18415
18355
|
"usage": "out"
|
@@ -20054,70 +19994,6 @@
|
|
20054
19994
|
],
|
20055
19995
|
"type": "object"
|
20056
19996
|
},
|
20057
|
-
"StopLivePadProcessorRequest": {
|
20058
|
-
"document": "StopLivePadProcessor请求参数结构体",
|
20059
|
-
"members": [
|
20060
|
-
{
|
20061
|
-
"disabled": false,
|
20062
|
-
"document": "推流路径,与推流和播放地址中的AppName保持一致,默认为 live。",
|
20063
|
-
"example": "live",
|
20064
|
-
"member": "string",
|
20065
|
-
"name": "AppName",
|
20066
|
-
"required": true,
|
20067
|
-
"type": "string"
|
20068
|
-
},
|
20069
|
-
{
|
20070
|
-
"disabled": false,
|
20071
|
-
"document": "您的推流域名。",
|
20072
|
-
"example": "5000.livepush.myqcloud.com",
|
20073
|
-
"member": "string",
|
20074
|
-
"name": "PushDomainName",
|
20075
|
-
"required": true,
|
20076
|
-
"type": "string"
|
20077
|
-
},
|
20078
|
-
{
|
20079
|
-
"disabled": false,
|
20080
|
-
"document": "流名称。",
|
20081
|
-
"example": "stream1",
|
20082
|
-
"member": "string",
|
20083
|
-
"name": "StreamName",
|
20084
|
-
"required": true,
|
20085
|
-
"type": "string"
|
20086
|
-
},
|
20087
|
-
{
|
20088
|
-
"disabled": false,
|
20089
|
-
"document": "操作人备注信息。",
|
20090
|
-
"example": "admin",
|
20091
|
-
"member": "string",
|
20092
|
-
"name": "Operator",
|
20093
|
-
"required": false,
|
20094
|
-
"type": "string"
|
20095
|
-
}
|
20096
|
-
],
|
20097
|
-
"type": "object"
|
20098
|
-
},
|
20099
|
-
"StopLivePadProcessorResponse": {
|
20100
|
-
"document": "StopLivePadProcessor返回参数结构体",
|
20101
|
-
"members": [
|
20102
|
-
{
|
20103
|
-
"disabled": false,
|
20104
|
-
"document": "处理结果信息。",
|
20105
|
-
"example": "no match processor stream",
|
20106
|
-
"member": "string",
|
20107
|
-
"name": "ResultMessage",
|
20108
|
-
"output_required": false,
|
20109
|
-
"type": "string",
|
20110
|
-
"value_allowed_null": false
|
20111
|
-
},
|
20112
|
-
{
|
20113
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
20114
|
-
"member": "string",
|
20115
|
-
"name": "RequestId",
|
20116
|
-
"type": "string"
|
20117
|
-
}
|
20118
|
-
],
|
20119
|
-
"type": "object"
|
20120
|
-
},
|
20121
19997
|
"StopLivePadStreamRequest": {
|
20122
19998
|
"document": "StopLivePadStream请求参数结构体",
|
20123
19999
|
"members": [
|
@@ -824,14 +824,6 @@
|
|
824
824
|
"title": "查询直播套餐包信息"
|
825
825
|
}
|
826
826
|
],
|
827
|
-
"DescribeLivePadProcessorList": [
|
828
|
-
{
|
829
|
-
"document": "查询正在拉垫片的流。",
|
830
|
-
"input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: DescribeLivePadProcessorList\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\"\n}",
|
831
|
-
"output": "{\n \"Response\": {\n \"StreamNameList\": [\n \"test1\",\n \"test2\"\n ],\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
|
832
|
-
"title": "请求示例"
|
833
|
-
}
|
834
|
-
],
|
835
827
|
"DescribeLivePadRules": [
|
836
828
|
{
|
837
829
|
"document": "",
|
@@ -1552,14 +1544,6 @@
|
|
1552
1544
|
"title": "请求示例"
|
1553
1545
|
}
|
1554
1546
|
],
|
1555
|
-
"StopLivePadProcessor": [
|
1556
|
-
{
|
1557
|
-
"document": "接口用于停止垫片流。",
|
1558
|
-
"input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: StopLivePadProcessor\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.myqcloud.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"mystreamname\"\n}",
|
1559
|
-
"output": "{\n \"Response\": {\n \"ResultMessage\": \"success\",\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
|
1560
|
-
"title": "请求示例"
|
1561
|
-
}
|
1562
|
-
],
|
1563
1547
|
"StopLivePadStream": [
|
1564
1548
|
{
|
1565
1549
|
"document": "",
|
@@ -173,58 +173,6 @@ def doGetReconstructDocumentResult(args, parsed_globals):
|
|
173
173
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
174
|
|
175
175
|
|
176
|
-
def doRetrieveKnowledgeRealtime(args, parsed_globals):
|
177
|
-
g_param = parse_global_arg(parsed_globals)
|
178
|
-
|
179
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
180
|
-
cred = credential.CVMRoleCredential()
|
181
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
182
|
-
cred = credential.STSAssumeRoleCredential(
|
183
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
184
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
185
|
-
)
|
186
|
-
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):
|
187
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
188
|
-
else:
|
189
|
-
cred = credential.Credential(
|
190
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
191
|
-
)
|
192
|
-
http_profile = HttpProfile(
|
193
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
194
|
-
reqMethod="POST",
|
195
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
196
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
197
|
-
)
|
198
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
199
|
-
if g_param[OptionsDefine.Language]:
|
200
|
-
profile.language = g_param[OptionsDefine.Language]
|
201
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
202
|
-
client = mod.LkeapClient(cred, g_param[OptionsDefine.Region], profile)
|
203
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
204
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
205
|
-
model = models.RetrieveKnowledgeRealtimeRequest()
|
206
|
-
model.from_json_string(json.dumps(args))
|
207
|
-
start_time = time.time()
|
208
|
-
while True:
|
209
|
-
rsp = client.RetrieveKnowledgeRealtime(model)
|
210
|
-
result = rsp.to_json_string()
|
211
|
-
try:
|
212
|
-
json_obj = json.loads(result)
|
213
|
-
except TypeError as e:
|
214
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
215
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
216
|
-
break
|
217
|
-
cur_time = time.time()
|
218
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
219
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
220
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
221
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
222
|
-
else:
|
223
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
224
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
225
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
|
-
|
227
|
-
|
228
176
|
def doGetSplitDocumentResult(args, parsed_globals):
|
229
177
|
g_param = parse_global_arg(parsed_globals)
|
230
178
|
|
@@ -1435,7 +1383,6 @@ ACTION_MAP = {
|
|
1435
1383
|
"RetrieveKnowledge": doRetrieveKnowledge,
|
1436
1384
|
"ModifyQA": doModifyQA,
|
1437
1385
|
"GetReconstructDocumentResult": doGetReconstructDocumentResult,
|
1438
|
-
"RetrieveKnowledgeRealtime": doRetrieveKnowledgeRealtime,
|
1439
1386
|
"GetSplitDocumentResult": doGetSplitDocumentResult,
|
1440
1387
|
"DescribeDoc": doDescribeDoc,
|
1441
1388
|
"ReconstructDocumentSSE": doReconstructDocumentSSE,
|
@@ -168,13 +168,6 @@
|
|
168
168
|
"output": "RetrieveKnowledgeResponse",
|
169
169
|
"status": "online"
|
170
170
|
},
|
171
|
-
"RetrieveKnowledgeRealtime": {
|
172
|
-
"document": "用于实时检索在UploadDocRealtime接口上传的实时文档内容。 使用场景:适用于在会话中对文档进行问答的场景",
|
173
|
-
"input": "RetrieveKnowledgeRealtimeRequest",
|
174
|
-
"name": "实时检索知识库内容",
|
175
|
-
"output": "RetrieveKnowledgeRealtimeResponse",
|
176
|
-
"status": "online"
|
177
|
-
},
|
178
171
|
"RunRerank": {
|
179
172
|
"document": "基于知识引擎精调模型技术的rerank模型,支持对多路召回的结果进行重排序,根据query与切片内容的相关性,按分数由高到低对切片进行排序,并输出对应的打分结果。",
|
180
173
|
"input": "RunRerankRequest",
|
@@ -2371,89 +2364,6 @@
|
|
2371
2364
|
],
|
2372
2365
|
"usage": "in"
|
2373
2366
|
},
|
2374
|
-
"RetrieveKnowledgeRealtimeRequest": {
|
2375
|
-
"document": "RetrieveKnowledgeRealtime请求参数结构体",
|
2376
|
-
"members": [
|
2377
|
-
{
|
2378
|
-
"disabled": false,
|
2379
|
-
"document": "知识库ID。",
|
2380
|
-
"example": "1840331836752986944",
|
2381
|
-
"member": "string",
|
2382
|
-
"name": "KnowledgeBaseId",
|
2383
|
-
"required": true,
|
2384
|
-
"type": "string"
|
2385
|
-
},
|
2386
|
-
{
|
2387
|
-
"disabled": false,
|
2388
|
-
"document": "用于检索的文本。",
|
2389
|
-
"example": "国庆放几天假",
|
2390
|
-
"member": "string",
|
2391
|
-
"name": "Query",
|
2392
|
-
"required": true,
|
2393
|
-
"type": "string"
|
2394
|
-
},
|
2395
|
-
{
|
2396
|
-
"disabled": false,
|
2397
|
-
"document": "实时文件ID列表。",
|
2398
|
-
"example": "[\"1828720159590123264\"]",
|
2399
|
-
"member": "string",
|
2400
|
-
"name": "DocIds",
|
2401
|
-
"required": false,
|
2402
|
-
"type": "list"
|
2403
|
-
},
|
2404
|
-
{
|
2405
|
-
"disabled": false,
|
2406
|
-
"document": "检索方法,默认使用`HYBRID`混合检索。\n- `SEMANTIC`:语义检索\n- `FULL_TEXT`:全文检索\n- `HYBRID`:混合检索",
|
2407
|
-
"example": "SEMANTIC",
|
2408
|
-
"member": "string",
|
2409
|
-
"name": "RetrievalMethod",
|
2410
|
-
"required": false,
|
2411
|
-
"type": "string"
|
2412
|
-
},
|
2413
|
-
{
|
2414
|
-
"disabled": false,
|
2415
|
-
"document": "检索设置。",
|
2416
|
-
"example": "{\"TopK\":3,\"ScoreThreshold\":0.7}",
|
2417
|
-
"member": "RetrievalSetting",
|
2418
|
-
"name": "RetrievalSetting",
|
2419
|
-
"required": false,
|
2420
|
-
"type": "object"
|
2421
|
-
}
|
2422
|
-
],
|
2423
|
-
"type": "object"
|
2424
|
-
},
|
2425
|
-
"RetrieveKnowledgeRealtimeResponse": {
|
2426
|
-
"document": "RetrieveKnowledgeRealtime返回参数结构体",
|
2427
|
-
"members": [
|
2428
|
-
{
|
2429
|
-
"disabled": false,
|
2430
|
-
"document": "检索结果",
|
2431
|
-
"example": "[{\"Metadata\":{\"Type\":\"DOC\",\"ResultSource\":\"SEMANTIC\",\"ChunkPageNumbers\":[1,2]},\"Score\":0,\"Title\":\"example.pdf\",\"Content\":\"国庆放7天假\"}]",
|
2432
|
-
"member": "RetrievalRecord",
|
2433
|
-
"name": "Records",
|
2434
|
-
"output_required": false,
|
2435
|
-
"type": "list",
|
2436
|
-
"value_allowed_null": false
|
2437
|
-
},
|
2438
|
-
{
|
2439
|
-
"disabled": false,
|
2440
|
-
"document": "检索结果数量",
|
2441
|
-
"example": "3",
|
2442
|
-
"member": "uint64",
|
2443
|
-
"name": "TotalCount",
|
2444
|
-
"output_required": false,
|
2445
|
-
"type": "int",
|
2446
|
-
"value_allowed_null": false
|
2447
|
-
},
|
2448
|
-
{
|
2449
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2450
|
-
"member": "string",
|
2451
|
-
"name": "RequestId",
|
2452
|
-
"type": "string"
|
2453
|
-
}
|
2454
|
-
],
|
2455
|
-
"type": "object"
|
2456
|
-
},
|
2457
2367
|
"RetrieveKnowledgeRequest": {
|
2458
2368
|
"document": "RetrieveKnowledge请求参数结构体",
|
2459
2369
|
"members": [
|
@@ -216,14 +216,6 @@
|
|
216
216
|
"title": "语义检索(问答对)"
|
217
217
|
}
|
218
218
|
],
|
219
|
-
"RetrieveKnowledgeRealtime": [
|
220
|
-
{
|
221
|
-
"document": "实时语义检索",
|
222
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RetrieveKnowledgeRealtime\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"49019910106\",\n \"Query\": \"国庆节放几天假\",\n \"DocIds\": [\n \"1828720159590123264\"\n ],\n \"RetrievalMethod\": \"SEMANTIC\",\n \"RetrievalSetting\": {\n \"TopK\": 3,\n \"ScoreThreshold\": 0.7\n }\n}",
|
223
|
-
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Metadata\": {\n \"Type\": \"DOC\",\n \"ResultSource\": \"SEMANTIC\"\n },\n \"Title\": \"\",\n \"Content\": \"国庆放七天假\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d422c101-96e6-4aeb-b51c-0ccb551a5a52\"\n }\n}",
|
224
|
-
"title": "实时语义检索"
|
225
|
-
}
|
226
|
-
],
|
227
219
|
"RunRerank": [
|
228
220
|
{
|
229
221
|
"document": "重排序",
|
@@ -400,7 +400,7 @@
|
|
400
400
|
"status": "online"
|
401
401
|
},
|
402
402
|
"RecognizeGeneralInvoice": {
|
403
|
-
"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> OnlineTaxiItinerary </td>\n <td> 网约车行程单 </td>\n <td> 21 </td>\n </tr>\n <tr>\n <td> CustomsDeclaration </td>\n <td> 海关进/出口货物报关单 </td>\n <td> 22 </td>\n </tr>\n <tr>\n <td> OverseasInvoice </td>\n <td> 海外发票 </td>\n <td> 23 </td>\n </tr>\n <tr>\n <td> ShoppingReceipt </td>\n <td> 购物小票 </td>\n <td> 24 </td>\n </tr>\n <tr>\n <td> SaleInventory </td>\n <td> 销货清单 </td>\n <td> 25 </td>\n </tr>\n <tr>\n <td> OtherInvoice </td>\n <td> 其他发票 </td>\n <td> -1 </td>\n </tr>\n </tbody>\n </table>",
|
403
|
+
"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> MotorVehicleSaleInvoiceElectronic </td>\n <td> 机动车销售统一发票(电子)</td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> UsedCarPurchaseInvoiceElectronic </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> OnlineTaxiItinerary </td>\n <td> 网约车行程单 </td>\n <td> 21 </td>\n </tr>\n <tr>\n <td> CustomsDeclaration </td>\n <td> 海关进/出口货物报关单 </td>\n <td> 22 </td>\n </tr>\n <tr>\n <td> OverseasInvoice </td>\n <td> 海外发票 </td>\n <td> 23 </td>\n </tr>\n <tr>\n <td> ShoppingReceipt </td>\n <td> 购物小票 </td>\n <td> 24 </td>\n </tr>\n <tr>\n <td> SaleInventory </td>\n <td> 销货清单 </td>\n <td> 25 </td>\n </tr>\n <tr>\n <td> OtherInvoice </td>\n <td> 其他发票 </td>\n <td> -1 </td>\n </tr>\n </tbody>\n </table>",
|
404
404
|
"input": "RecognizeGeneralInvoiceRequest",
|
405
405
|
"name": "通用票据识别(高级版)",
|
406
406
|
"output": "RecognizeGeneralInvoiceResponse",
|
@@ -16902,6 +16902,26 @@
|
|
16902
16902
|
"output_required": true,
|
16903
16903
|
"type": "object",
|
16904
16904
|
"value_allowed_null": true
|
16905
|
+
},
|
16906
|
+
{
|
16907
|
+
"disabled": false,
|
16908
|
+
"document": "机动车销售统一发票(电子)\n注意:此字段可能返回 null,表示取不到有效值。",
|
16909
|
+
"example": "无",
|
16910
|
+
"member": "MotorVehicleSaleInvoice",
|
16911
|
+
"name": "MotorVehicleSaleInvoiceElectronic",
|
16912
|
+
"output_required": true,
|
16913
|
+
"type": "object",
|
16914
|
+
"value_allowed_null": true
|
16915
|
+
},
|
16916
|
+
{
|
16917
|
+
"disabled": false,
|
16918
|
+
"document": "二手车销售统一发票(电子)\n注意:此字段可能返回 null,表示取不到有效值。",
|
16919
|
+
"example": "无",
|
16920
|
+
"member": "UsedCarPurchaseInvoice",
|
16921
|
+
"name": "UsedCarPurchaseInvoiceElectronic",
|
16922
|
+
"output_required": true,
|
16923
|
+
"type": "object",
|
16924
|
+
"value_allowed_null": true
|
16905
16925
|
}
|
16906
16926
|
],
|
16907
16927
|
"usage": "out"
|
@@ -502,7 +502,7 @@
|
|
502
502
|
{
|
503
503
|
"document": "通用票据识别(高级版)识别多张票据",
|
504
504
|
"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}",
|
505
|
-
"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 \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": 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 \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": 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 \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n }\n ],\n \"RequestId\": \"c129cda9-e306-472e-817b-4e133ac5c706\",\n \"TotalPDFCount\": 1\n }\n}",
|
505
|
+
"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 \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null,\n \"MotorVehicleSaleInvoiceElectronic\": null,\n \"UsedCarPurchaseInvoiceElectronic\": 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 \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null,\n \"MotorVehicleSaleInvoiceElectronic\": null,\n \"UsedCarPurchaseInvoiceElectronic\": 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 \"OnlineTaxiItinerary\": null,\n \"CustomsDeclaration\": null,\n \"OverseasInvoice\": null,\n \"ShoppingReceipt\": null,\n \"SaleInventory\": null,\n \"MotorVehicleSaleInvoiceElectronic\": null,\n \"UsedCarPurchaseInvoiceElectronic\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n }\n ],\n \"RequestId\": \"c129cda9-e306-472e-817b-4e133ac5c706\",\n \"TotalPDFCount\": 1\n }\n}",
|
506
506
|
"title": "通用票据识别(高级版)"
|
507
507
|
}
|
508
508
|
],
|