tccli 3.0.1337.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/asr/v20190614/api.json +1 -1
- 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/cdwdoris/v20211228/api.json +2 -2
- tccli/services/cfs/v20190719/api.json +15 -3
- tccli/services/cfw/v20190904/examples.json +12 -0
- tccli/services/ckafka/v20190819/api.json +19 -0
- tccli/services/cls/v20201016/api.json +2 -2
- 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/es/v20250101/api.json +21 -0
- tccli/services/ess/ess_client.py +159 -0
- tccli/services/ess/v20201111/api.json +284 -4
- tccli/services/ess/v20201111/examples.json +28 -4
- tccli/services/essbasic/essbasic_client.py +171 -12
- tccli/services/essbasic/v20210526/api.json +256 -5
- tccli/services/essbasic/v20210526/examples.json +25 -1
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/gwlb/v20240906/examples.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +3 -3
- 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 +208 -49
- tccli/services/live/v20180801/api.json +498 -73
- tccli/services/live/v20180801/examples.json +35 -11
- 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/trocket_client.py +104 -51
- tccli/services/trocket/v20230308/api.json +238 -61
- tccli/services/trocket/v20230308/examples.json +20 -12
- 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.1337.1.dist-info → tccli-3.0.1339.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1337.1.dist-info → tccli-3.0.1339.1.dist-info}/RECORD +60 -60
- {tccli-3.0.1337.1.dist-info → tccli-3.0.1339.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1337.1.dist-info → tccli-3.0.1339.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1337.1.dist-info → tccli-3.0.1339.1.dist-info}/license_files/LICENSE +0 -0
@@ -736,6 +736,14 @@
|
|
736
736
|
"title": "请求示例"
|
737
737
|
}
|
738
738
|
],
|
739
|
+
"DescribeLiveCloudEffectList": [
|
740
|
+
{
|
741
|
+
"document": "",
|
742
|
+
"input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: DescribeLiveCloudEffectList\n<公共请求参数>\n\n{\n \"Prompt\": \"小狗\"\n}",
|
743
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\",\n \"InfoList\": [\n {\n \"Id\": \"1001\",\n \"Prompt\": \"小狗\",\n \"Flag\": \"动物\",\n \"PreviewImageUrl\": \"http://preview.image.com/pic.jpg\",\n \"Type\": \"PGC\",\n \"CreateTime\": \"2025-05-19T00:00:00Z\",\n \"UpdateTime\": \"2025-05-20T00:00:00Z\"\n }\n ]\n }\n}",
|
744
|
+
"title": "请求示例"
|
745
|
+
}
|
746
|
+
],
|
739
747
|
"DescribeLiveDelayInfoList": [
|
740
748
|
{
|
741
749
|
"document": "",
|
@@ -816,19 +824,19 @@
|
|
816
824
|
"title": "查询直播套餐包信息"
|
817
825
|
}
|
818
826
|
],
|
819
|
-
"
|
827
|
+
"DescribeLivePadRules": [
|
820
828
|
{
|
821
|
-
"document": "
|
822
|
-
"input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action:
|
823
|
-
"output": "{\n \"Response\": {\n \"
|
829
|
+
"document": "",
|
830
|
+
"input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLivePadRules\n<公共请求参数>\n\n{}",
|
831
|
+
"output": "{\n \"Response\": {\n \"Rules\": [],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
824
832
|
"title": "请求示例"
|
825
833
|
}
|
826
834
|
],
|
827
|
-
"
|
835
|
+
"DescribeLivePadStreamList": [
|
828
836
|
{
|
829
837
|
"document": "",
|
830
|
-
"input": "POST / HTTP/1.1\nHost:
|
831
|
-
"output": "{\n \"Response\": {\n \"
|
838
|
+
"input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: DescribeLivePadStreamList\n<公共请求参数>\n\n{\n \"DomainName\": \"5000.livepush.com\"\n}",
|
839
|
+
"output": "{\n \"Response\": {\n \"StreamInfoList\": [\n {\n \"DomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"test\",\n \"PublishTime\": \"2025-04-01T00:00:00Z\",\n \"PadStreamType\": \"1\"\n }\n ],\n \"TotalPage\": 1,\n \"TotalNum\": 1,\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
|
832
840
|
"title": "请求示例"
|
833
841
|
}
|
834
842
|
],
|
@@ -1496,6 +1504,22 @@
|
|
1496
1504
|
"title": "请求示例"
|
1497
1505
|
}
|
1498
1506
|
],
|
1507
|
+
"SendLiveCloudEffect": [
|
1508
|
+
{
|
1509
|
+
"document": "",
|
1510
|
+
"input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: SendLiveCloudEffect\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"test\",\n \"Id\": \"1001\",\n \"Operator\": \"admin\"\n}",
|
1511
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
|
1512
|
+
"title": "请求示例"
|
1513
|
+
}
|
1514
|
+
],
|
1515
|
+
"StartLivePadStream": [
|
1516
|
+
{
|
1517
|
+
"document": "",
|
1518
|
+
"input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: StartLivePadStream\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"test\"\n}",
|
1519
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
|
1520
|
+
"title": "请求示例"
|
1521
|
+
}
|
1522
|
+
],
|
1499
1523
|
"StartLiveStreamMonitor": [
|
1500
1524
|
{
|
1501
1525
|
"document": "开启一个监播场次。",
|
@@ -1520,11 +1544,11 @@
|
|
1520
1544
|
"title": "请求示例"
|
1521
1545
|
}
|
1522
1546
|
],
|
1523
|
-
"
|
1547
|
+
"StopLivePadStream": [
|
1524
1548
|
{
|
1525
|
-
"document": "
|
1526
|
-
"input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action:
|
1527
|
-
"output": "{\n \"Response\": {\n \"
|
1549
|
+
"document": "",
|
1550
|
+
"input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: StopLivePadStream\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"test\"\n}",
|
1551
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
|
1528
1552
|
"title": "请求示例"
|
1529
1553
|
}
|
1530
1554
|
],
|
@@ -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
|
],
|