tencentcloud-sdk-ocr 3.0.765 → 3.0.767
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 +1 -1
- data/lib/v20181119/models.rb +12 -2
- 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: e80aca668a3f2cf1f607a51f4e5dab8ae37bec5d
|
4
|
+
data.tar.gz: 349dc0650a61ff432c6be50d0b8a90eaf970921f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce204f5ebea8f0000a062b9e8ec1e61044397acbf811cd6306ebd125b299e8a49f67ebe69e1dec45dfee9dfe1e0609ea628f05fd3f6deb8d8350242ee52ce167
|
7
|
+
data.tar.gz: 0e2aa4f3925ae169f8e24067d7c96204afeb767919f0855094850cfa382d846f612f13e905cd4c03bfa7f121502a16a7116f6b861f8c10fb38f0e425a6fe9892
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.767
|
data/lib/v20181119/client.rb
CHANGED
@@ -2536,7 +2536,7 @@ module TencentCloud
|
|
2536
2536
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2537
2537
|
end
|
2538
2538
|
|
2539
|
-
# 本接口支持OFD格式的
|
2539
|
+
# 本接口支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
2540
2540
|
|
2541
2541
|
# @param request: Request instance for VerifyOfdVatInvoiceOCR.
|
2542
2542
|
# @type request: :class:`Tencentcloud::ocr::V20181119::VerifyOfdVatInvoiceOCRRequest`
|
data/lib/v20181119/models.rb
CHANGED
@@ -6989,12 +6989,16 @@ module TencentCloud
|
|
6989
6989
|
# @type PeriodOfValidity: String
|
6990
6990
|
# @param No: 证件号码。
|
6991
6991
|
# @type No: String
|
6992
|
+
# @param PreviousNumber: 曾持证件号码。
|
6993
|
+
# @type PreviousNumber: String
|
6994
|
+
# @param IssuedAuthority: 签发机关。
|
6995
|
+
# @type IssuedAuthority: String
|
6992
6996
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6993
6997
|
# @type RequestId: String
|
6994
6998
|
|
6995
|
-
attr_accessor :CnName, :EnName, :Sex, :DateOfBirth, :Nationality, :PeriodOfValidity, :No, :RequestId
|
6999
|
+
attr_accessor :CnName, :EnName, :Sex, :DateOfBirth, :Nationality, :PeriodOfValidity, :No, :PreviousNumber, :IssuedAuthority, :RequestId
|
6996
7000
|
|
6997
|
-
def initialize(cnname=nil, enname=nil, sex=nil, dateofbirth=nil, nationality=nil, periodofvalidity=nil, no=nil, requestid=nil)
|
7001
|
+
def initialize(cnname=nil, enname=nil, sex=nil, dateofbirth=nil, nationality=nil, periodofvalidity=nil, no=nil, previousnumber=nil, issuedauthority=nil, requestid=nil)
|
6998
7002
|
@CnName = cnname
|
6999
7003
|
@EnName = enname
|
7000
7004
|
@Sex = sex
|
@@ -7002,6 +7006,8 @@ module TencentCloud
|
|
7002
7006
|
@Nationality = nationality
|
7003
7007
|
@PeriodOfValidity = periodofvalidity
|
7004
7008
|
@No = no
|
7009
|
+
@PreviousNumber = previousnumber
|
7010
|
+
@IssuedAuthority = issuedauthority
|
7005
7011
|
@RequestId = requestid
|
7006
7012
|
end
|
7007
7013
|
|
@@ -7013,6 +7019,8 @@ module TencentCloud
|
|
7013
7019
|
@Nationality = params['Nationality']
|
7014
7020
|
@PeriodOfValidity = params['PeriodOfValidity']
|
7015
7021
|
@No = params['No']
|
7022
|
+
@PreviousNumber = params['PreviousNumber']
|
7023
|
+
@IssuedAuthority = params['IssuedAuthority']
|
7016
7024
|
@RequestId = params['RequestId']
|
7017
7025
|
end
|
7018
7026
|
end
|
@@ -11406,6 +11414,8 @@ module TencentCloud
|
|
11406
11414
|
# 102:通用机打电子发票
|
11407
11415
|
# 61:电子发票(航空运输电子客票行程单)
|
11408
11416
|
# 83:电子发票(铁路电子发票)
|
11417
|
+
# 0915:全电纸质(二手车统一销售发票)
|
11418
|
+
# 0903:全电纸质(机动车统一发票)
|
11409
11419
|
# @type Type: String
|
11410
11420
|
# @param ElectronicType: 具体的全电发票类型:01: 全电专用发票;02:全电普通发票;03:全电火车票;04:全电机票行程单
|
11411
11421
|
# @type ElectronicType: String
|
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.767
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|