tencentcloud-sdk-ocr 3.0.619 → 3.0.621
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 +6 -1
- data/lib/v20181119/models.rb +40 -8
- 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: 72cb537dc7aed54b3a0810982d558aabc2cd2ff7
|
4
|
+
data.tar.gz: ca62c415c14276eb0088164b591680aa25102f01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f719f6442c4b27470311e82ef30fd3a5c7198aa39e942805fc3c7727f3fb57869b0fcff520e1e24154edaa3caa20e4552930df98c1db4c3aac5501ade3cabe7
|
7
|
+
data.tar.gz: 4e1fceda0ddab6bf9d749b1a580503259b2aaed307612269b3b86368355ee7113b9c4713dab9ff3a61b0315fbaa7c53b341712fef8a38049a2e9642d81446d0f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.621
|
data/lib/v20181119/client.rb
CHANGED
@@ -868,7 +868,7 @@ module TencentCloud
|
|
868
868
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
869
869
|
end
|
870
870
|
|
871
|
-
# 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo
|
871
|
+
# 支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
872
872
|
|
873
873
|
# @param request: Request instance for GetTaskState.
|
874
874
|
# @type request: :class:`Tencentcloud::ocr::V20181119::GetTaskStateRequest`
|
@@ -1529,6 +1529,11 @@ module TencentCloud
|
|
1529
1529
|
# <td> 3 </td>
|
1530
1530
|
# </tr>
|
1531
1531
|
# <tr>
|
1532
|
+
# <td> VatSalesList</td>
|
1533
|
+
# <td> 增值税销货清单</td>
|
1534
|
+
# <td> 3 </td>
|
1535
|
+
# </tr>
|
1536
|
+
# <tr>
|
1532
1537
|
# <td> VatElectronicSpecialInvoiceFull</td>
|
1533
1538
|
# <td> 电子发票(专用发票)</td>
|
1534
1539
|
# <td> 16 </td>
|
data/lib/v20181119/models.rb
CHANGED
@@ -4877,14 +4877,17 @@ module TencentCloud
|
|
4877
4877
|
# @type OtherInvoiceListItems: Array
|
4878
4878
|
# @param OtherInvoiceTableItems: 表格
|
4879
4879
|
# @type OtherInvoiceTableItems: Array
|
4880
|
+
# @param Date: 发票日期
|
4881
|
+
# @type Date: String
|
4880
4882
|
|
4881
|
-
attr_accessor :Title, :Total, :OtherInvoiceListItems, :OtherInvoiceTableItems
|
4883
|
+
attr_accessor :Title, :Total, :OtherInvoiceListItems, :OtherInvoiceTableItems, :Date
|
4882
4884
|
|
4883
|
-
def initialize(title=nil, total=nil, otherinvoicelistitems=nil, otherinvoicetableitems=nil)
|
4885
|
+
def initialize(title=nil, total=nil, otherinvoicelistitems=nil, otherinvoicetableitems=nil, date=nil)
|
4884
4886
|
@Title = title
|
4885
4887
|
@Total = total
|
4886
4888
|
@OtherInvoiceListItems = otherinvoicelistitems
|
4887
4889
|
@OtherInvoiceTableItems = otherinvoicetableitems
|
4890
|
+
@Date = date
|
4888
4891
|
end
|
4889
4892
|
|
4890
4893
|
def deserialize(params)
|
@@ -4906,6 +4909,7 @@ module TencentCloud
|
|
4906
4909
|
@OtherInvoiceTableItems << otherinvoicelist_tmp
|
4907
4910
|
end
|
4908
4911
|
end
|
4912
|
+
@Date = params['Date']
|
4909
4913
|
end
|
4910
4914
|
end
|
4911
4915
|
|
@@ -7767,10 +7771,13 @@ module TencentCloud
|
|
7767
7771
|
# @param MedicalHospitalizedInvoice: 医疗住院收费票据(电子)
|
7768
7772
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7769
7773
|
# @type MedicalHospitalizedInvoice: :class:`Tencentcloud::Ocr.v20181119.models.MedicalInvoice`
|
7774
|
+
# @param VatSalesList: 增值税销货清单
|
7775
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7776
|
+
# @type VatSalesList: :class:`Tencentcloud::Ocr.v20181119.models.VatInvoiceInfo`
|
7770
7777
|
|
7771
|
-
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
|
7778
|
+
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
|
7772
7779
|
|
7773
|
-
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)
|
7780
|
+
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)
|
7774
7781
|
@VatSpecialInvoice = vatspecialinvoice
|
7775
7782
|
@VatCommonInvoice = vatcommoninvoice
|
7776
7783
|
@VatElectronicCommonInvoice = vatelectroniccommoninvoice
|
@@ -7795,6 +7802,7 @@ module TencentCloud
|
|
7795
7802
|
@TrainTicket = trainticket
|
7796
7803
|
@MedicalOutpatientInvoice = medicaloutpatientinvoice
|
7797
7804
|
@MedicalHospitalizedInvoice = medicalhospitalizedinvoice
|
7805
|
+
@VatSalesList = vatsaleslist
|
7798
7806
|
end
|
7799
7807
|
|
7800
7808
|
def deserialize(params)
|
@@ -7894,6 +7902,10 @@ module TencentCloud
|
|
7894
7902
|
@MedicalHospitalizedInvoice = MedicalInvoice.new
|
7895
7903
|
@MedicalHospitalizedInvoice.deserialize(params['MedicalHospitalizedInvoice'])
|
7896
7904
|
end
|
7905
|
+
unless params['VatSalesList'].nil?
|
7906
|
+
@VatSalesList = VatInvoiceInfo.new
|
7907
|
+
@VatSalesList.deserialize(params['VatSalesList'])
|
7908
|
+
end
|
7897
7909
|
end
|
7898
7910
|
end
|
7899
7911
|
|
@@ -10345,10 +10357,18 @@ module TencentCloud
|
|
10345
10357
|
# @type ElectronicFullNumber: String
|
10346
10358
|
# @param FormName: 发票联名
|
10347
10359
|
# @type FormName: String
|
10360
|
+
# @param BlockChainMark: 是否有区块链标记(0:没有,1:有)
|
10361
|
+
# @type BlockChainMark: Integer
|
10362
|
+
# @param AcquisitionMark: 是否有收购标记(0:没有,1:有)
|
10363
|
+
# @type AcquisitionMark: Integer
|
10364
|
+
# @param SubTotal: 小计金额
|
10365
|
+
# @type SubTotal: String
|
10366
|
+
# @param SubTax: 小计税额
|
10367
|
+
# @type SubTax: String
|
10348
10368
|
|
10349
|
-
attr_accessor :CheckCode, :FormType, :TravelTax, :BuyerAddrTel, :BuyerBankAccount, :CompanySealContent, :TaxSealContent, :ServiceName, :City, :QRCodeMark, :AgentMark, :TransitMark, :OilMark, :Title, :Kind, :Code, :Number, :NumberConfirm, :Date, :Total, :TotalCn, :PretaxAmount, :Tax, :MachineCode, :Ciphertext, :Remark, :Seller, :SellerTaxID, :SellerAddrTel, :SellerBankAccount, :Buyer, :BuyerTaxID, :CompanySealMark, :Issuer, :Reviewer, :Province, :VatInvoiceItemInfos, :CodeConfirm, :Receiptor, :ElectronicFullMark, :ElectronicFullNumber, :FormName
|
10369
|
+
attr_accessor :CheckCode, :FormType, :TravelTax, :BuyerAddrTel, :BuyerBankAccount, :CompanySealContent, :TaxSealContent, :ServiceName, :City, :QRCodeMark, :AgentMark, :TransitMark, :OilMark, :Title, :Kind, :Code, :Number, :NumberConfirm, :Date, :Total, :TotalCn, :PretaxAmount, :Tax, :MachineCode, :Ciphertext, :Remark, :Seller, :SellerTaxID, :SellerAddrTel, :SellerBankAccount, :Buyer, :BuyerTaxID, :CompanySealMark, :Issuer, :Reviewer, :Province, :VatInvoiceItemInfos, :CodeConfirm, :Receiptor, :ElectronicFullMark, :ElectronicFullNumber, :FormName, :BlockChainMark, :AcquisitionMark, :SubTotal, :SubTax
|
10350
10370
|
|
10351
|
-
def initialize(checkcode=nil, formtype=nil, traveltax=nil, buyeraddrtel=nil, buyerbankaccount=nil, companysealcontent=nil, taxsealcontent=nil, servicename=nil, city=nil, qrcodemark=nil, agentmark=nil, transitmark=nil, oilmark=nil, title=nil, kind=nil, code=nil, number=nil, numberconfirm=nil, date=nil, total=nil, totalcn=nil, pretaxamount=nil, tax=nil, machinecode=nil, ciphertext=nil, remark=nil, seller=nil, sellertaxid=nil, selleraddrtel=nil, sellerbankaccount=nil, buyer=nil, buyertaxid=nil, companysealmark=nil, issuer=nil, reviewer=nil, province=nil, vatinvoiceiteminfos=nil, codeconfirm=nil, receiptor=nil, electronicfullmark=nil, electronicfullnumber=nil, formname=nil)
|
10371
|
+
def initialize(checkcode=nil, formtype=nil, traveltax=nil, buyeraddrtel=nil, buyerbankaccount=nil, companysealcontent=nil, taxsealcontent=nil, servicename=nil, city=nil, qrcodemark=nil, agentmark=nil, transitmark=nil, oilmark=nil, title=nil, kind=nil, code=nil, number=nil, numberconfirm=nil, date=nil, total=nil, totalcn=nil, pretaxamount=nil, tax=nil, machinecode=nil, ciphertext=nil, remark=nil, seller=nil, sellertaxid=nil, selleraddrtel=nil, sellerbankaccount=nil, buyer=nil, buyertaxid=nil, companysealmark=nil, issuer=nil, reviewer=nil, province=nil, vatinvoiceiteminfos=nil, codeconfirm=nil, receiptor=nil, electronicfullmark=nil, electronicfullnumber=nil, formname=nil, blockchainmark=nil, acquisitionmark=nil, subtotal=nil, subtax=nil)
|
10352
10372
|
@CheckCode = checkcode
|
10353
10373
|
@FormType = formtype
|
10354
10374
|
@TravelTax = traveltax
|
@@ -10391,6 +10411,10 @@ module TencentCloud
|
|
10391
10411
|
@ElectronicFullMark = electronicfullmark
|
10392
10412
|
@ElectronicFullNumber = electronicfullnumber
|
10393
10413
|
@FormName = formname
|
10414
|
+
@BlockChainMark = blockchainmark
|
10415
|
+
@AcquisitionMark = acquisitionmark
|
10416
|
+
@SubTotal = subtotal
|
10417
|
+
@SubTax = subtax
|
10394
10418
|
end
|
10395
10419
|
|
10396
10420
|
def deserialize(params)
|
@@ -10443,6 +10467,10 @@ module TencentCloud
|
|
10443
10467
|
@ElectronicFullMark = params['ElectronicFullMark']
|
10444
10468
|
@ElectronicFullNumber = params['ElectronicFullNumber']
|
10445
10469
|
@FormName = params['FormName']
|
10470
|
+
@BlockChainMark = params['BlockChainMark']
|
10471
|
+
@AcquisitionMark = params['AcquisitionMark']
|
10472
|
+
@SubTotal = params['SubTotal']
|
10473
|
+
@SubTax = params['SubTax']
|
10446
10474
|
end
|
10447
10475
|
end
|
10448
10476
|
|
@@ -10552,10 +10580,12 @@ module TencentCloud
|
|
10552
10580
|
# @type LicensePlate: String
|
10553
10581
|
# @param VehicleType: 车辆类型
|
10554
10582
|
# @type VehicleType: String
|
10583
|
+
# @param SerialNumber: 序号
|
10584
|
+
# @type SerialNumber: String
|
10555
10585
|
|
10556
|
-
attr_accessor :Name, :Specification, :Unit, :Quantity, :Price, :Total, :TaxRate, :Tax, :DateStart, :DateEnd, :LicensePlate, :VehicleType
|
10586
|
+
attr_accessor :Name, :Specification, :Unit, :Quantity, :Price, :Total, :TaxRate, :Tax, :DateStart, :DateEnd, :LicensePlate, :VehicleType, :SerialNumber
|
10557
10587
|
|
10558
|
-
def initialize(name=nil, specification=nil, unit=nil, quantity=nil, price=nil, total=nil, taxrate=nil, tax=nil, datestart=nil, dateend=nil, licenseplate=nil, vehicletype=nil)
|
10588
|
+
def initialize(name=nil, specification=nil, unit=nil, quantity=nil, price=nil, total=nil, taxrate=nil, tax=nil, datestart=nil, dateend=nil, licenseplate=nil, vehicletype=nil, serialnumber=nil)
|
10559
10589
|
@Name = name
|
10560
10590
|
@Specification = specification
|
10561
10591
|
@Unit = unit
|
@@ -10568,6 +10598,7 @@ module TencentCloud
|
|
10568
10598
|
@DateEnd = dateend
|
10569
10599
|
@LicensePlate = licenseplate
|
10570
10600
|
@VehicleType = vehicletype
|
10601
|
+
@SerialNumber = serialnumber
|
10571
10602
|
end
|
10572
10603
|
|
10573
10604
|
def deserialize(params)
|
@@ -10583,6 +10614,7 @@ module TencentCloud
|
|
10583
10614
|
@DateEnd = params['DateEnd']
|
10584
10615
|
@LicensePlate = params['LicensePlate']
|
10585
10616
|
@VehicleType = params['VehicleType']
|
10617
|
+
@SerialNumber = params['SerialNumber']
|
10586
10618
|
end
|
10587
10619
|
end
|
10588
10620
|
|
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.621
|
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-07-
|
11
|
+
date: 2023-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|