tencentcloud-sdk-ocr 3.0.1002 → 3.0.1003

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +76 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6f412411d75ad45699b0008d8ccc3eb467b6b91
4
- data.tar.gz: 2c9330d884e9b2b6a9ba50bb5114d549ff1bedc4
3
+ metadata.gz: 03f406fa728aa407a0e5cf1e378a92ba52eaf115
4
+ data.tar.gz: 899e41f83bd4f592cb5ecc83b92479e9ec7455f2
5
5
  SHA512:
6
- metadata.gz: b5ac44d472934dadedc1413210be06d1f3964755e43eee8002d742dd6d5ed8e3a8c27d2db3d4ab0035b77a774fbcdc2a0ffea3a626dd63e77596422ef311f7fb
7
- data.tar.gz: 79b274838d8d5b00a6bd48c28395b797629b754ef5c35cd753115840e019e709abf3bfe919154cf76c60e9ccce036057ffee97f3f507f539338a74226c0401b6
6
+ metadata.gz: 0a7250f17445c18c5c1a08b3dca63d28412fdf18eafb1b82540ce92b49510bb39cf5317caadf6c283fa67b4543071ae1a9ab38e1fa9f7505578a7675b8b84127
7
+ data.tar.gz: cccbe6ba53b17c12c0ee3bc3d09814abb7fd8aaff216d3fc86dbae8eb03ab1849408ef4213992f5abd2e3c8663e02d24208a6ffa555f549425c34a260612032f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1002
1
+ 3.0.1003
@@ -1549,6 +1549,33 @@ module TencentCloud
1549
1549
  end
1550
1550
  end
1551
1551
 
1552
+ # 海关缴款书
1553
+ class CustomsPaymentReceipt < TencentCloud::Common::AbstractModel
1554
+ # @param Title: 发票名称
1555
+ # @type Title: String
1556
+ # @param Content: 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
1557
+ # @type Content: Array
1558
+
1559
+ attr_accessor :Title, :Content
1560
+
1561
+ def initialize(title=nil, content=nil)
1562
+ @Title = title
1563
+ @Content = content
1564
+ end
1565
+
1566
+ def deserialize(params)
1567
+ @Title = params['Title']
1568
+ unless params['Content'].nil?
1569
+ @Content = []
1570
+ params['Content'].each do |i|
1571
+ otherinvoiceitem_tmp = OtherInvoiceItem.new
1572
+ otherinvoiceitem_tmp.deserialize(i)
1573
+ @Content << otherinvoiceitem_tmp
1574
+ end
1575
+ end
1576
+ end
1577
+ end
1578
+
1552
1579
  # 机票详细信息元组
1553
1580
  class DetailInformationOfAirTicketTupleList < TencentCloud::Common::AbstractModel
1554
1581
  # @param DepartureStation: 出发站(自)
@@ -5268,6 +5295,8 @@ module TencentCloud
5268
5295
  # 15:非税发票
5269
5296
  # 16:全电发票
5270
5297
  # 17:医疗发票
5298
+ # 18:完税凭证
5299
+ # 19:海关缴款书
5271
5300
  # @type Type: Integer
5272
5301
  # @param Polygon: 该发票在原图片中的四点坐标。
5273
5302
  # @type Polygon: :class:`Tencentcloud::Ocr.v20181119.models.Polygon`
@@ -10646,10 +10675,16 @@ module TencentCloud
10646
10675
  # @param ElectronicFlightTicketFull: 电子发票(机票行程单)
10647
10676
  # 注意:此字段可能返回 null,表示取不到有效值。
10648
10677
  # @type ElectronicFlightTicketFull: :class:`Tencentcloud::Ocr.v20181119.models.ElectronicFlightTicketFull`
10678
+ # @param TaxPayment: 完税凭证
10679
+ # 注意:此字段可能返回 null,表示取不到有效值。
10680
+ # @type TaxPayment: :class:`Tencentcloud::Ocr.v20181119.models.TaxPayment`
10681
+ # @param CustomsPaymentReceipt: 海关缴款
10682
+ # 注意:此字段可能返回 null,表示取不到有效值。
10683
+ # @type CustomsPaymentReceipt: :class:`Tencentcloud::Ocr.v20181119.models.CustomsPaymentReceipt`
10649
10684
 
10650
- 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
10685
+ 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
10651
10686
 
10652
- 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)
10687
+ 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)
10653
10688
  @VatSpecialInvoice = vatspecialinvoice
10654
10689
  @VatCommonInvoice = vatcommoninvoice
10655
10690
  @VatElectronicCommonInvoice = vatelectroniccommoninvoice
@@ -10677,6 +10712,8 @@ module TencentCloud
10677
10712
  @VatSalesList = vatsaleslist
10678
10713
  @ElectronicTrainTicketFull = electronictrainticketfull
10679
10714
  @ElectronicFlightTicketFull = electronicflightticketfull
10715
+ @TaxPayment = taxpayment
10716
+ @CustomsPaymentReceipt = customspaymentreceipt
10680
10717
  end
10681
10718
 
10682
10719
  def deserialize(params)
@@ -10788,6 +10825,14 @@ module TencentCloud
10788
10825
  @ElectronicFlightTicketFull = ElectronicFlightTicketFull.new
10789
10826
  @ElectronicFlightTicketFull.deserialize(params['ElectronicFlightTicketFull'])
10790
10827
  end
10828
+ unless params['TaxPayment'].nil?
10829
+ @TaxPayment = TaxPayment.new
10830
+ @TaxPayment.deserialize(params['TaxPayment'])
10831
+ end
10832
+ unless params['CustomsPaymentReceipt'].nil?
10833
+ @CustomsPaymentReceipt = CustomsPaymentReceipt.new
10834
+ @CustomsPaymentReceipt.deserialize(params['CustomsPaymentReceipt'])
10835
+ end
10791
10836
  end
10792
10837
  end
10793
10838
 
@@ -11429,6 +11474,35 @@ module TencentCloud
11429
11474
  end
11430
11475
  end
11431
11476
 
11477
+ # 完税凭证
11478
+ class TaxPayment < TencentCloud::Common::AbstractModel
11479
+ # @param Title: 发票名称
11480
+ # @type Title: String
11481
+ # @param Content: 识别出的字段名称(关键字),支持以下字段:
11482
+ # 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。
11483
+ # 示例值:纳税人识别号
11484
+ # @type Content: Array
11485
+
11486
+ attr_accessor :Title, :Content
11487
+
11488
+ def initialize(title=nil, content=nil)
11489
+ @Title = title
11490
+ @Content = content
11491
+ end
11492
+
11493
+ def deserialize(params)
11494
+ @Title = params['Title']
11495
+ unless params['Content'].nil?
11496
+ @Content = []
11497
+ params['Content'].each do |i|
11498
+ otherinvoiceitem_tmp = OtherInvoiceItem.new
11499
+ otherinvoiceitem_tmp.deserialize(i)
11500
+ @Content << otherinvoiceitem_tmp
11501
+ end
11502
+ end
11503
+ end
11504
+ end
11505
+
11432
11506
  # TaxiInvoiceOCR请求参数结构体
11433
11507
  class TaxiInvoiceOCRRequest < TencentCloud::Common::AbstractModel
11434
11508
  # @param ImageBase64: 图片的 Base64 值。
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ocr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1002
4
+ version: 3.0.1003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud