tencentcloud-sdk-ocr 3.0.565 → 3.0.566
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/client.rb +26 -3
- data/lib/v20181119/models.rb +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daa1b4a4efe005c34f601d62d2661ce68b6f35d3
|
4
|
+
data.tar.gz: a032eca36d172f2efa0cac33203d4151accb90e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dd9740fbbc272c7fa0185776d54df07cda0fb3de0eb07ba511d60fce3604ec68f6beb86d1c35fa61097d829025c8f78c2fb2511879e8213afcf7269ef51988b
|
7
|
+
data.tar.gz: 908fef7151771e46d8c3a494528e00a5a6794ccd6d89e1ea6538319b199a832ab2bd6f74cb6f10e5251f903d410ffae782c8f9fc824d367c49259f2123ad7e44
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.566
|
data/lib/v20181119/client.rb
CHANGED
@@ -1481,107 +1481,130 @@ module TencentCloud
|
|
1481
1481
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1482
1482
|
end
|
1483
1483
|
|
1484
|
-
# 本接口支持 PDF
|
1484
|
+
# 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持非上述类型的其他发票的智能识别。
|
1485
1485
|
|
1486
1486
|
# 默认接口请求频率限制:5次/秒。
|
1487
1487
|
|
1488
1488
|
|
1489
|
-
#
|
1489
|
+
# 支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:
|
1490
1490
|
# <table style="width:715px">
|
1491
1491
|
# <thead>
|
1492
1492
|
# <tr>
|
1493
1493
|
# <th style="width:200px">SubType 子票种英文</th>
|
1494
|
-
# <th >TypeDescription子票种中文</th>
|
1494
|
+
# <th style="width:200px">TypeDescription子票种中文</th>
|
1495
|
+
# <th >Type 所属大类票种</th>
|
1495
1496
|
# </tr>
|
1496
1497
|
# </thead>
|
1497
1498
|
# <tbody>
|
1498
1499
|
# <tr>
|
1499
1500
|
# <td> VatSpecialInvoice</td>
|
1500
1501
|
# <td> 增值税专用发票 </td>
|
1502
|
+
# <td> 3 </td>
|
1501
1503
|
# </tr>
|
1502
1504
|
# <tr>
|
1503
1505
|
# <td> VatCommonInvoice</td>
|
1504
1506
|
# <td> 增值税普通发票 </td>
|
1507
|
+
# <td> 3 </td>
|
1505
1508
|
# </tr>
|
1506
1509
|
# <tr>
|
1507
1510
|
# <td> VatElectronicCommonInvoice </td>
|
1508
1511
|
# <td> 增值税电子普通发票 </td>
|
1512
|
+
# <td> 3 </td>
|
1509
1513
|
# </tr>
|
1510
1514
|
# <tr>
|
1511
1515
|
# <td> VatElectronicSpecialInvoice </td>
|
1512
1516
|
# <td> 增值税电子专用发票 </td>
|
1517
|
+
# <td> 3 </td>
|
1513
1518
|
# </tr>
|
1514
1519
|
# <tr>
|
1515
1520
|
# <td> VatElectronicInvoiceBlockchain</td>
|
1516
1521
|
# <td> 区块链电子发票 </td>
|
1522
|
+
# <td> 3 </td>
|
1517
1523
|
# </tr>
|
1518
1524
|
# <tr>
|
1519
1525
|
# <td> VatElectronicSpecialInvoiceFull</td>
|
1520
1526
|
# <td> 增值税电子普通发票(通行费)</td>
|
1527
|
+
# <td> 3 </td>
|
1521
1528
|
# </tr>
|
1522
1529
|
# <tr>
|
1523
1530
|
# <td> VatElectronicSpecialInvoiceFull</td>
|
1524
1531
|
# <td> 电子发票(专用发票)</td>
|
1532
|
+
# <td> 16 </td>
|
1525
1533
|
# </tr>
|
1526
1534
|
# <tr>
|
1527
1535
|
# <td> VatElectronicSpecialInvoiceFull</td>
|
1528
1536
|
# <td> 电子发票(普通发票) </td>
|
1537
|
+
# <td> 16 </td>
|
1529
1538
|
# </tr>
|
1530
1539
|
# <tr>
|
1531
1540
|
# <td> MotorVehicleSaleInvoice </td>
|
1532
1541
|
# <td> 机动车销售统一发票 </td>
|
1542
|
+
# <td> 12 </td>
|
1533
1543
|
# </tr>
|
1534
1544
|
# <tr>
|
1535
1545
|
# <td> UsedCarPurchaseInvoice </td>
|
1536
1546
|
# <td> 二手车销售统一发票 </td>
|
1547
|
+
# <td> 12 </td>
|
1537
1548
|
# </tr>
|
1538
1549
|
# <tr>
|
1539
1550
|
# <td> VatInvoiceRoll </td>
|
1540
1551
|
# <td> 增值税普通发票(卷票) </td>
|
1552
|
+
# <td> 11 </td>
|
1541
1553
|
# </tr>
|
1542
1554
|
# <tr>
|
1543
1555
|
# <td> TaxiTicket </td>
|
1544
1556
|
# <td> 出租车发票 </td>
|
1557
|
+
# <td> 0 </td>
|
1545
1558
|
# </tr>
|
1546
1559
|
# <tr>
|
1547
1560
|
# <td> QuotaInvoice </td>
|
1548
1561
|
# <td> 定额发票 </td>
|
1562
|
+
# <td> 1 </td>
|
1549
1563
|
# </tr>
|
1550
1564
|
# <tr>
|
1551
1565
|
# <td> TrainTicket </td>
|
1552
1566
|
# <td> 火车票 </td>
|
1567
|
+
# <td> 2 </td>
|
1553
1568
|
# </tr>
|
1554
1569
|
# <tr>
|
1555
1570
|
# <td> AirTransport </td>
|
1556
1571
|
# <td> 机票行程单 </td>
|
1572
|
+
# <td> 5 </td>
|
1557
1573
|
# </tr>
|
1558
1574
|
# <tr>
|
1559
1575
|
# <td> MachinePrintedInvoice </td>
|
1560
1576
|
# <td> 通用机打发票 </td>
|
1577
|
+
# <td> 8 </td>
|
1561
1578
|
# </tr>
|
1562
1579
|
# <tr>
|
1563
1580
|
# <td> BusInvoice </td>
|
1564
1581
|
# <td> 汽车票 </td>
|
1582
|
+
# <td> 9 </td>
|
1565
1583
|
# </tr>
|
1566
1584
|
# <tr>
|
1567
1585
|
# <td> ShippingInvoice </td>
|
1568
1586
|
# <td> 轮船票 </td>
|
1587
|
+
# <td> 10 </td>
|
1569
1588
|
# </tr>
|
1570
1589
|
# <tr>
|
1571
1590
|
# <td> NonTaxIncomeGeneralBill </td>
|
1572
1591
|
# <td> 非税收入通用票据 </td>
|
1592
|
+
# <td> 15 </td>
|
1573
1593
|
# </tr>
|
1574
1594
|
# <tr>
|
1575
1595
|
# <td> NonTaxIncomeElectronicBill </td>
|
1576
1596
|
# <td> 非税收入一般缴款书(电子) </td>
|
1597
|
+
# <td> 15 </td>
|
1577
1598
|
# </tr>
|
1578
1599
|
# <tr>
|
1579
1600
|
# <td> TollInvoice </td>
|
1580
1601
|
# <td> 过路过桥费发票 </td>
|
1602
|
+
# <td> 13 </td>
|
1581
1603
|
# </tr>
|
1582
1604
|
# <tr>
|
1583
1605
|
# <td> OtherInvoice </td>
|
1584
1606
|
# <td> 其他发票 </td>
|
1607
|
+
# <td> -1 </td>
|
1585
1608
|
# </tr>
|
1586
1609
|
# </tbody>
|
1587
1610
|
# </table>
|
data/lib/v20181119/models.rb
CHANGED
@@ -5811,8 +5811,11 @@ module TencentCloud
|
|
5811
5811
|
# 13:过路过桥费发票
|
5812
5812
|
# 15:非税发票
|
5813
5813
|
# 16:全电发票
|
5814
|
-
#
|
5815
|
-
|
5814
|
+
# -1:其他发票
|
5815
|
+
|
5816
|
+
# 默认为空,识别所有类型发票。
|
5817
|
+
# 当传入单个类型时,图片均采用该票类型进行处理。
|
5818
|
+
# 暂不支持多个参数进行局部控制。
|
5816
5819
|
# @type Types: Array
|
5817
5820
|
# @param EnableOther: 是否开启其他票识别,默认值为true,开启后可支持其他发票的智能识别。
|
5818
5821
|
# @type EnableOther: Boolean
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ocr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.566
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|