tencentcloud-sdk-ocr 3.0.441 → 3.0.443

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d098917345099ac6903902c95e496e0d02363c5
4
- data.tar.gz: d9fc3fba94be3d073ed6d61f85be8f91da96bd9c
3
+ metadata.gz: 2b6b74f31dcc9e26f5683ae3699d04cbd76b548d
4
+ data.tar.gz: 0a8e0cf85130d66bc349cd28012d0f8c6a12cf5e
5
5
  SHA512:
6
- metadata.gz: 4e1963557a9f7952a02ed5dfc2c90c684852256eaae1a1a387b151858fa874750b2590907d538ed337a3509941012e019376d484d6fefe65f704066d0e43a471
7
- data.tar.gz: ebba19e3e14666af35de3feda11241cfb08ac0e7f1740c4980165bd3d2916926673e99550bffa780e6780265ffbdc8768615bbf8d3afe929b93411c51e140b01
6
+ metadata.gz: 16c05ed5f36fb03f52e51fd30496d0d7391ae4a065eb3df66aeb72e6efe2bc53d70bbe393acaa4093abd89c3d4a95bd00120045822094d88e4f5ad5bb460b2c6
7
+ data.tar.gz: bc397084ff6451efe1c5da3a7956449f8d1bdf10b4baf3b28af479f592956d5555016601a3068964dd8d42c0b9067f6a429190495e8f3732cf0399e88c7213ab
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.441
1
+ 3.0.443
@@ -1920,7 +1920,7 @@ module TencentCloud
1920
1920
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1921
1921
  end
1922
1922
 
1923
- # 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
1923
+ # 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
1924
1924
 
1925
1925
  # @param request: Request instance for VatInvoiceVerifyNew.
1926
1926
  # @type request: :class:`Tencentcloud::ocr::V20181119::VatInvoiceVerifyNewRequest`
@@ -7269,7 +7269,8 @@ module TencentCloud
7269
7269
  # 11:增值税普通发票(卷式),
7270
7270
  # 14:增值税电子(通行费)发票,
7271
7271
  # 15:二手车销售统一发票,
7272
- # 32:深圳区块链发票
7272
+ # 32:深圳区块链发票,
7273
+ # 102:通用机打电子发票
7273
7274
  # @type Type: String
7274
7275
  # @param CheckCode: 检验码
7275
7276
  # @type CheckCode: String
@@ -7583,16 +7584,26 @@ module TencentCloud
7583
7584
  # @type CheckCode: String
7584
7585
  # @param Amount: 不含税金额,增值税专用发票、增值税电子专用发票、机动车销售统一发票、二手车销售统一发票、区块链发票时必填; 全电发票为价税合计(含税金额)
7585
7586
  # @type Amount: String
7587
+ # @param RegionCode: 地区编码,通用机打电子发票时必填。
7588
+ # 广东:4400,浙江:3300
7589
+ # @type RegionCode: String
7590
+ # @param SellerTaxCode: 销方税号,通用机打电子发票必填
7591
+ # @type SellerTaxCode: String
7592
+ # @param EnableCommonElectronic: 是否开启通用机打电子发票,默认为关闭。
7593
+ # @type EnableCommonElectronic: Boolean
7586
7594
 
7587
- attr_accessor :InvoiceNo, :InvoiceDate, :InvoiceCode, :InvoiceKind, :CheckCode, :Amount
7595
+ attr_accessor :InvoiceNo, :InvoiceDate, :InvoiceCode, :InvoiceKind, :CheckCode, :Amount, :RegionCode, :SellerTaxCode, :EnableCommonElectronic
7588
7596
 
7589
- def initialize(invoiceno=nil, invoicedate=nil, invoicecode=nil, invoicekind=nil, checkcode=nil, amount=nil)
7597
+ def initialize(invoiceno=nil, invoicedate=nil, invoicecode=nil, invoicekind=nil, checkcode=nil, amount=nil, regioncode=nil, sellertaxcode=nil, enablecommonelectronic=nil)
7590
7598
  @InvoiceNo = invoiceno
7591
7599
  @InvoiceDate = invoicedate
7592
7600
  @InvoiceCode = invoicecode
7593
7601
  @InvoiceKind = invoicekind
7594
7602
  @CheckCode = checkcode
7595
7603
  @Amount = amount
7604
+ @RegionCode = regioncode
7605
+ @SellerTaxCode = sellertaxcode
7606
+ @EnableCommonElectronic = enablecommonelectronic
7596
7607
  end
7597
7608
 
7598
7609
  def deserialize(params)
@@ -7602,6 +7613,9 @@ module TencentCloud
7602
7613
  @InvoiceKind = params['InvoiceKind']
7603
7614
  @CheckCode = params['CheckCode']
7604
7615
  @Amount = params['Amount']
7616
+ @RegionCode = params['RegionCode']
7617
+ @SellerTaxCode = params['SellerTaxCode']
7618
+ @EnableCommonElectronic = params['EnableCommonElectronic']
7605
7619
  end
7606
7620
  end
7607
7621
 
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.441
4
+ version: 3.0.443
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-01 00:00:00.000000000 Z
11
+ date: 2022-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-ocr.rb
37
36
  - lib/v20181119/models.rb
38
37
  - lib/v20181119/client.rb
38
+ - lib/tencentcloud-sdk-ocr.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: