tencentcloud-sdk-ocr 3.0.1084 → 3.0.1091
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/client.rb +10 -0
- data/lib/v20181119/models.rb +31 -4
- 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: 2af88a4b892d3f8e1f176b13a1ba7259986dbcc2
|
4
|
+
data.tar.gz: 151f02602b6af976b8c8679dd62ee90f32393fa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f9c7b9e9bc5ebd61de0271011df349236df87684a0ed8d28d078aac109152e8654e371ce4a1f461e33eb11f840b1421947adb7f25ddd71688120edd8f126e0c
|
7
|
+
data.tar.gz: 68d45d7d4404b1009aa439e33a6b4877febdf1cce54d83ae2af2963e4fe0294af822c1cbec52cf7f39b1cc1727ecb93473c5226a5b95552c29627c336866b188
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1091
|
data/lib/v20181119/client.rb
CHANGED
@@ -1871,6 +1871,16 @@ module TencentCloud
|
|
1871
1871
|
# <td> 12 </td>
|
1872
1872
|
# </tr>
|
1873
1873
|
# <tr>
|
1874
|
+
# <td> MotorVehicleSaleInvoiceElectronic </td>
|
1875
|
+
# <td> 机动车销售统一发票(电子)</td>
|
1876
|
+
# <td> 12 </td>
|
1877
|
+
# </tr>
|
1878
|
+
# <tr>
|
1879
|
+
# <td> UsedCarPurchaseInvoiceElectronic </td>
|
1880
|
+
# <td> 二手车销售统一发票(电子)</td>
|
1881
|
+
# <td> 12 </td>
|
1882
|
+
# </tr>
|
1883
|
+
# <tr>
|
1874
1884
|
# <td> VatInvoiceRoll </td>
|
1875
1885
|
# <td> 增值税普通发票(卷票) </td>
|
1876
1886
|
# <td> 11 </td>
|
data/lib/v20181119/models.rb
CHANGED
@@ -1576,12 +1576,15 @@ module TencentCloud
|
|
1576
1576
|
# @type Title: String
|
1577
1577
|
# @param Content: 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
|
1578
1578
|
# @type Content: Array
|
1579
|
+
# @param CommonContent: 海关缴款书常用字段
|
1580
|
+
# @type CommonContent: Array
|
1579
1581
|
|
1580
|
-
attr_accessor :Title, :Content
|
1582
|
+
attr_accessor :Title, :Content, :CommonContent
|
1581
1583
|
|
1582
|
-
def initialize(title=nil, content=nil)
|
1584
|
+
def initialize(title=nil, content=nil, commoncontent=nil)
|
1583
1585
|
@Title = title
|
1584
1586
|
@Content = content
|
1587
|
+
@CommonContent = commoncontent
|
1585
1588
|
end
|
1586
1589
|
|
1587
1590
|
def deserialize(params)
|
@@ -1594,6 +1597,14 @@ module TencentCloud
|
|
1594
1597
|
@Content << otherinvoiceitem_tmp
|
1595
1598
|
end
|
1596
1599
|
end
|
1600
|
+
unless params['CommonContent'].nil?
|
1601
|
+
@CommonContent = []
|
1602
|
+
params['CommonContent'].each do |i|
|
1603
|
+
otherinvoiceitem_tmp = OtherInvoiceItem.new
|
1604
|
+
otherinvoiceitem_tmp.deserialize(i)
|
1605
|
+
@CommonContent << otherinvoiceitem_tmp
|
1606
|
+
end
|
1607
|
+
end
|
1597
1608
|
end
|
1598
1609
|
end
|
1599
1610
|
|
@@ -11056,10 +11067,16 @@ module TencentCloud
|
|
11056
11067
|
# @param SaleInventory: 销货清单
|
11057
11068
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11058
11069
|
# @type SaleInventory: :class:`Tencentcloud::Ocr.v20181119.models.SaleInventory`
|
11070
|
+
# @param MotorVehicleSaleInvoiceElectronic: 机动车销售统一发票(电子)
|
11071
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11072
|
+
# @type MotorVehicleSaleInvoiceElectronic: :class:`Tencentcloud::Ocr.v20181119.models.MotorVehicleSaleInvoice`
|
11073
|
+
# @param UsedCarPurchaseInvoiceElectronic: 二手车销售统一发票(电子)
|
11074
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11075
|
+
# @type UsedCarPurchaseInvoiceElectronic: :class:`Tencentcloud::Ocr.v20181119.models.UsedCarPurchaseInvoice`
|
11059
11076
|
|
11060
|
-
attr_accessor :VatSpecialInvoice, :VatCommonInvoice, :VatElectronicCommonInvoice, :VatElectronicSpecialInvoice, :VatElectronicInvoiceBlockchain, :VatElectronicInvoiceToll, :VatElectronicSpecialInvoiceFull, :VatElectronicInvoiceFull, :MachinePrintedInvoice, :BusInvoice, :ShippingInvoice, :TollInvoice, :OtherInvoice, :MotorVehicleSaleInvoice, :UsedCarPurchaseInvoice, :VatInvoiceRoll, :TaxiTicket, :QuotaInvoice, :AirTransport, :NonTaxIncomeGeneralBill, :NonTaxIncomeElectronicBill, :TrainTicket, :MedicalOutpatientInvoice, :MedicalHospitalizedInvoice, :VatSalesList, :ElectronicTrainTicketFull, :ElectronicFlightTicketFull, :TaxPayment, :CustomsPaymentReceipt, :BankSlip, :OnlineTaxiItinerary, :CustomsDeclaration, :OverseasInvoice, :ShoppingReceipt, :SaleInventory
|
11077
|
+
attr_accessor :VatSpecialInvoice, :VatCommonInvoice, :VatElectronicCommonInvoice, :VatElectronicSpecialInvoice, :VatElectronicInvoiceBlockchain, :VatElectronicInvoiceToll, :VatElectronicSpecialInvoiceFull, :VatElectronicInvoiceFull, :MachinePrintedInvoice, :BusInvoice, :ShippingInvoice, :TollInvoice, :OtherInvoice, :MotorVehicleSaleInvoice, :UsedCarPurchaseInvoice, :VatInvoiceRoll, :TaxiTicket, :QuotaInvoice, :AirTransport, :NonTaxIncomeGeneralBill, :NonTaxIncomeElectronicBill, :TrainTicket, :MedicalOutpatientInvoice, :MedicalHospitalizedInvoice, :VatSalesList, :ElectronicTrainTicketFull, :ElectronicFlightTicketFull, :TaxPayment, :CustomsPaymentReceipt, :BankSlip, :OnlineTaxiItinerary, :CustomsDeclaration, :OverseasInvoice, :ShoppingReceipt, :SaleInventory, :MotorVehicleSaleInvoiceElectronic, :UsedCarPurchaseInvoiceElectronic
|
11061
11078
|
|
11062
|
-
def initialize(vatspecialinvoice=nil, vatcommoninvoice=nil, vatelectroniccommoninvoice=nil, vatelectronicspecialinvoice=nil, vatelectronicinvoiceblockchain=nil, vatelectronicinvoicetoll=nil, vatelectronicspecialinvoicefull=nil, vatelectronicinvoicefull=nil, machineprintedinvoice=nil, businvoice=nil, shippinginvoice=nil, tollinvoice=nil, otherinvoice=nil, motorvehiclesaleinvoice=nil, usedcarpurchaseinvoice=nil, vatinvoiceroll=nil, taxiticket=nil, quotainvoice=nil, airtransport=nil, nontaxincomegeneralbill=nil, nontaxincomeelectronicbill=nil, trainticket=nil, medicaloutpatientinvoice=nil, medicalhospitalizedinvoice=nil, vatsaleslist=nil, electronictrainticketfull=nil, electronicflightticketfull=nil, taxpayment=nil, customspaymentreceipt=nil, bankslip=nil, onlinetaxiitinerary=nil, customsdeclaration=nil, overseasinvoice=nil, shoppingreceipt=nil, saleinventory=nil)
|
11079
|
+
def initialize(vatspecialinvoice=nil, vatcommoninvoice=nil, vatelectroniccommoninvoice=nil, vatelectronicspecialinvoice=nil, vatelectronicinvoiceblockchain=nil, vatelectronicinvoicetoll=nil, vatelectronicspecialinvoicefull=nil, vatelectronicinvoicefull=nil, machineprintedinvoice=nil, businvoice=nil, shippinginvoice=nil, tollinvoice=nil, otherinvoice=nil, motorvehiclesaleinvoice=nil, usedcarpurchaseinvoice=nil, vatinvoiceroll=nil, taxiticket=nil, quotainvoice=nil, airtransport=nil, nontaxincomegeneralbill=nil, nontaxincomeelectronicbill=nil, trainticket=nil, medicaloutpatientinvoice=nil, medicalhospitalizedinvoice=nil, vatsaleslist=nil, electronictrainticketfull=nil, electronicflightticketfull=nil, taxpayment=nil, customspaymentreceipt=nil, bankslip=nil, onlinetaxiitinerary=nil, customsdeclaration=nil, overseasinvoice=nil, shoppingreceipt=nil, saleinventory=nil, motorvehiclesaleinvoiceelectronic=nil, usedcarpurchaseinvoiceelectronic=nil)
|
11063
11080
|
@VatSpecialInvoice = vatspecialinvoice
|
11064
11081
|
@VatCommonInvoice = vatcommoninvoice
|
11065
11082
|
@VatElectronicCommonInvoice = vatelectroniccommoninvoice
|
@@ -11095,6 +11112,8 @@ module TencentCloud
|
|
11095
11112
|
@OverseasInvoice = overseasinvoice
|
11096
11113
|
@ShoppingReceipt = shoppingreceipt
|
11097
11114
|
@SaleInventory = saleinventory
|
11115
|
+
@MotorVehicleSaleInvoiceElectronic = motorvehiclesaleinvoiceelectronic
|
11116
|
+
@UsedCarPurchaseInvoiceElectronic = usedcarpurchaseinvoiceelectronic
|
11098
11117
|
end
|
11099
11118
|
|
11100
11119
|
def deserialize(params)
|
@@ -11238,6 +11257,14 @@ module TencentCloud
|
|
11238
11257
|
@SaleInventory = SaleInventory.new
|
11239
11258
|
@SaleInventory.deserialize(params['SaleInventory'])
|
11240
11259
|
end
|
11260
|
+
unless params['MotorVehicleSaleInvoiceElectronic'].nil?
|
11261
|
+
@MotorVehicleSaleInvoiceElectronic = MotorVehicleSaleInvoice.new
|
11262
|
+
@MotorVehicleSaleInvoiceElectronic.deserialize(params['MotorVehicleSaleInvoiceElectronic'])
|
11263
|
+
end
|
11264
|
+
unless params['UsedCarPurchaseInvoiceElectronic'].nil?
|
11265
|
+
@UsedCarPurchaseInvoiceElectronic = UsedCarPurchaseInvoice.new
|
11266
|
+
@UsedCarPurchaseInvoiceElectronic.deserialize(params['UsedCarPurchaseInvoiceElectronic'])
|
11267
|
+
end
|
11241
11268
|
end
|
11242
11269
|
end
|
11243
11270
|
|
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.1091
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|