tencentcloud-sdk-ocr 3.0.441 → 3.0.442

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: 004bda7fbce595db7df2a562cf1aa027a3b76fb5
4
+ data.tar.gz: c4d0a05fd207a406c04093a80da6a21c2ad0980b
5
5
  SHA512:
6
- metadata.gz: 4e1963557a9f7952a02ed5dfc2c90c684852256eaae1a1a387b151858fa874750b2590907d538ed337a3509941012e019376d484d6fefe65f704066d0e43a471
7
- data.tar.gz: ebba19e3e14666af35de3feda11241cfb08ac0e7f1740c4980165bd3d2916926673e99550bffa780e6780265ffbdc8768615bbf8d3afe929b93411c51e140b01
6
+ metadata.gz: e3c9c201cd6b6b39229d777ceb85d792d0b77c17b30a9f79b7d0aeaec72625efb20af557da0f1030421d598187a53de3cb4d005b3bc2d2c397406c9a4c6e3a54
7
+ data.tar.gz: ca7ee6cfc7cd050889ddd6a0d1014d8ac6dc92faccdb7165f3446d84d2e7b9b8ef8c07f4c6e5e0966a6c17b8bbfa65223688429c8dcd85d10d7193b269357376
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.441
1
+ 3.0.442
@@ -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,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.441
4
+ version: 3.0.442
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud