tencentcloud-sdk-ocr 3.0.563 → 3.0.565

Sign up to get free protection for your applications and to get access to all the features.
@@ -104,6 +104,121 @@ module TencentCloud
104
104
  end
105
105
  end
106
106
 
107
+ # 机票行程单
108
+ class AirTransport < TencentCloud::Common::AbstractModel
109
+ # @param Title: 发票名称
110
+ # @type Title: String
111
+ # @param Number: 电子客票号码
112
+ # @type Number: String
113
+ # @param CheckCode: 校验码
114
+ # @type CheckCode: String
115
+ # @param SerialNumber: 印刷序号
116
+ # @type SerialNumber: String
117
+ # @param Date: 开票日期
118
+ # @type Date: String
119
+ # @param AgentCode: 销售单位代号
120
+ # @type AgentCode: String
121
+ # @param AgentCodeFirst: 销售单位代号第一行
122
+ # @type AgentCodeFirst: String
123
+ # @param AgentCodeSecond: 销售单位代号第二行
124
+ # @type AgentCodeSecond: String
125
+ # @param UserName: 姓名
126
+ # @type UserName: String
127
+ # @param UserID: 身份证号
128
+ # @type UserID: String
129
+ # @param Issuer: 填开单位
130
+ # @type Issuer: String
131
+ # @param Fare: 票价
132
+ # @type Fare: String
133
+ # @param Tax: 合计税额
134
+ # @type Tax: String
135
+ # @param FuelSurcharge: 燃油附加费
136
+ # @type FuelSurcharge: String
137
+ # @param AirDevelopmentFund: 民航发展基金
138
+ # @type AirDevelopmentFund: String
139
+ # @param Insurance: 保险费
140
+ # @type Insurance: String
141
+ # @param Total: 合计金额(小写)
142
+ # @type Total: String
143
+ # @param Kind: 发票消费类型
144
+ # @type Kind: String
145
+ # @param DomesticInternationalTag: 国内国际标签
146
+ # @type DomesticInternationalTag: String
147
+ # @param DateStart: 客票生效日期
148
+ # @type DateStart: String
149
+ # @param DateEnd: 有效截至日期
150
+ # @type DateEnd: String
151
+ # @param Endorsement: 签注
152
+ # @type Endorsement: String
153
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
154
+ # @type QRCodeMark: Integer
155
+ # @param FlightItems: 条目
156
+ # @type FlightItems: Array
157
+
158
+ attr_accessor :Title, :Number, :CheckCode, :SerialNumber, :Date, :AgentCode, :AgentCodeFirst, :AgentCodeSecond, :UserName, :UserID, :Issuer, :Fare, :Tax, :FuelSurcharge, :AirDevelopmentFund, :Insurance, :Total, :Kind, :DomesticInternationalTag, :DateStart, :DateEnd, :Endorsement, :QRCodeMark, :FlightItems
159
+
160
+ def initialize(title=nil, number=nil, checkcode=nil, serialnumber=nil, date=nil, agentcode=nil, agentcodefirst=nil, agentcodesecond=nil, username=nil, userid=nil, issuer=nil, fare=nil, tax=nil, fuelsurcharge=nil, airdevelopmentfund=nil, insurance=nil, total=nil, kind=nil, domesticinternationaltag=nil, datestart=nil, dateend=nil, endorsement=nil, qrcodemark=nil, flightitems=nil)
161
+ @Title = title
162
+ @Number = number
163
+ @CheckCode = checkcode
164
+ @SerialNumber = serialnumber
165
+ @Date = date
166
+ @AgentCode = agentcode
167
+ @AgentCodeFirst = agentcodefirst
168
+ @AgentCodeSecond = agentcodesecond
169
+ @UserName = username
170
+ @UserID = userid
171
+ @Issuer = issuer
172
+ @Fare = fare
173
+ @Tax = tax
174
+ @FuelSurcharge = fuelsurcharge
175
+ @AirDevelopmentFund = airdevelopmentfund
176
+ @Insurance = insurance
177
+ @Total = total
178
+ @Kind = kind
179
+ @DomesticInternationalTag = domesticinternationaltag
180
+ @DateStart = datestart
181
+ @DateEnd = dateend
182
+ @Endorsement = endorsement
183
+ @QRCodeMark = qrcodemark
184
+ @FlightItems = flightitems
185
+ end
186
+
187
+ def deserialize(params)
188
+ @Title = params['Title']
189
+ @Number = params['Number']
190
+ @CheckCode = params['CheckCode']
191
+ @SerialNumber = params['SerialNumber']
192
+ @Date = params['Date']
193
+ @AgentCode = params['AgentCode']
194
+ @AgentCodeFirst = params['AgentCodeFirst']
195
+ @AgentCodeSecond = params['AgentCodeSecond']
196
+ @UserName = params['UserName']
197
+ @UserID = params['UserID']
198
+ @Issuer = params['Issuer']
199
+ @Fare = params['Fare']
200
+ @Tax = params['Tax']
201
+ @FuelSurcharge = params['FuelSurcharge']
202
+ @AirDevelopmentFund = params['AirDevelopmentFund']
203
+ @Insurance = params['Insurance']
204
+ @Total = params['Total']
205
+ @Kind = params['Kind']
206
+ @DomesticInternationalTag = params['DomesticInternationalTag']
207
+ @DateStart = params['DateStart']
208
+ @DateEnd = params['DateEnd']
209
+ @Endorsement = params['Endorsement']
210
+ @QRCodeMark = params['QRCodeMark']
211
+ unless params['FlightItems'].nil?
212
+ @FlightItems = []
213
+ params['FlightItems'].each do |i|
214
+ flightitem_tmp = FlightItem.new
215
+ flightitem_tmp.deserialize(i)
216
+ @FlightItems << flightitem_tmp
217
+ end
218
+ end
219
+ end
220
+ end
221
+
107
222
  # ArithmeticOCR请求参数结构体
108
223
  class ArithmeticOCRRequest < TencentCloud::Common::AbstractModel
109
224
  # @param ImageBase64: 图片的 Base64 值。
@@ -509,6 +624,102 @@ module TencentCloud
509
624
  end
510
625
  end
511
626
 
627
+ # 汽车票
628
+ class BusInvoice < TencentCloud::Common::AbstractModel
629
+ # @param Title: 发票名称
630
+ # @type Title: String
631
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
632
+ # @type QRCodeMark: Integer
633
+ # @param Number: 发票号码
634
+ # @type Number: String
635
+ # @param Code: 发票代码
636
+ # @type Code: String
637
+ # @param Date: 开票日期
638
+ # @type Date: String
639
+ # @param TimeGetOn: 乘车时间
640
+ # @type TimeGetOn: String
641
+ # @param DateGetOn: 乘车日期
642
+ # @type DateGetOn: String
643
+ # @param StationGetOn: 出发车站
644
+ # @type StationGetOn: String
645
+ # @param StationGetOff: 到达车站
646
+ # @type StationGetOff: String
647
+ # @param Total: 票价
648
+ # @type Total: String
649
+ # @param UserName: 姓名
650
+ # @type UserName: String
651
+ # @param Kind: 消费类型
652
+ # @type Kind: String
653
+ # @param UserID: 身份证号
654
+ # @type UserID: String
655
+ # @param Province: 省
656
+ # @type Province: String
657
+ # @param City: 市
658
+ # @type City: String
659
+ # @param PlaceGetOn: 乘车地点
660
+ # @type PlaceGetOn: String
661
+ # @param GateNumber: 检票口
662
+ # @type GateNumber: String
663
+ # @param TicketType: 客票类型
664
+ # @type TicketType: String
665
+ # @param VehicleType: 车型
666
+ # @type VehicleType: String
667
+ # @param SeatNumber: 座位号
668
+ # @type SeatNumber: String
669
+ # @param TrainNumber: 车次
670
+ # @type TrainNumber: String
671
+
672
+ attr_accessor :Title, :QRCodeMark, :Number, :Code, :Date, :TimeGetOn, :DateGetOn, :StationGetOn, :StationGetOff, :Total, :UserName, :Kind, :UserID, :Province, :City, :PlaceGetOn, :GateNumber, :TicketType, :VehicleType, :SeatNumber, :TrainNumber
673
+
674
+ def initialize(title=nil, qrcodemark=nil, number=nil, code=nil, date=nil, timegeton=nil, dategeton=nil, stationgeton=nil, stationgetoff=nil, total=nil, username=nil, kind=nil, userid=nil, province=nil, city=nil, placegeton=nil, gatenumber=nil, tickettype=nil, vehicletype=nil, seatnumber=nil, trainnumber=nil)
675
+ @Title = title
676
+ @QRCodeMark = qrcodemark
677
+ @Number = number
678
+ @Code = code
679
+ @Date = date
680
+ @TimeGetOn = timegeton
681
+ @DateGetOn = dategeton
682
+ @StationGetOn = stationgeton
683
+ @StationGetOff = stationgetoff
684
+ @Total = total
685
+ @UserName = username
686
+ @Kind = kind
687
+ @UserID = userid
688
+ @Province = province
689
+ @City = city
690
+ @PlaceGetOn = placegeton
691
+ @GateNumber = gatenumber
692
+ @TicketType = tickettype
693
+ @VehicleType = vehicletype
694
+ @SeatNumber = seatnumber
695
+ @TrainNumber = trainnumber
696
+ end
697
+
698
+ def deserialize(params)
699
+ @Title = params['Title']
700
+ @QRCodeMark = params['QRCodeMark']
701
+ @Number = params['Number']
702
+ @Code = params['Code']
703
+ @Date = params['Date']
704
+ @TimeGetOn = params['TimeGetOn']
705
+ @DateGetOn = params['DateGetOn']
706
+ @StationGetOn = params['StationGetOn']
707
+ @StationGetOff = params['StationGetOff']
708
+ @Total = params['Total']
709
+ @UserName = params['UserName']
710
+ @Kind = params['Kind']
711
+ @UserID = params['UserID']
712
+ @Province = params['Province']
713
+ @City = params['City']
714
+ @PlaceGetOn = params['PlaceGetOn']
715
+ @GateNumber = params['GateNumber']
716
+ @TicketType = params['TicketType']
717
+ @VehicleType = params['VehicleType']
718
+ @SeatNumber = params['SeatNumber']
719
+ @TrainNumber = params['TrainNumber']
720
+ end
721
+ end
722
+
512
723
  # 汽车票字段信息
513
724
  class BusInvoiceInfo < TencentCloud::Common::AbstractModel
514
725
  # @param Name: 识别出的字段名称(关键字),支持以下字段:
@@ -1871,6 +2082,62 @@ module TencentCloud
1871
2082
  end
1872
2083
  end
1873
2084
 
2085
+ # 机票行程卡条目
2086
+ class FlightItem < TencentCloud::Common::AbstractModel
2087
+ # @param TerminalGetOn: 出发航站楼
2088
+ # @type TerminalGetOn: String
2089
+ # @param TerminalGetOff: 到达航站楼
2090
+ # @type TerminalGetOff: String
2091
+ # @param Carrier: 承运人
2092
+ # @type Carrier: String
2093
+ # @param FlightNumber: 航班号
2094
+ # @type FlightNumber: String
2095
+ # @param Seat: 座位等级
2096
+ # @type Seat: String
2097
+ # @param DateGetOn: 乘机日期
2098
+ # @type DateGetOn: String
2099
+ # @param TimeGetOn: 乘机时间
2100
+ # @type TimeGetOn: String
2101
+ # @param StationGetOn: 出发站
2102
+ # @type StationGetOn: String
2103
+ # @param StationGetOff: 到达站
2104
+ # @type StationGetOff: String
2105
+ # @param Allow: 免费行李
2106
+ # @type Allow: String
2107
+ # @param FareBasis: 客票级别/客票类别
2108
+ # @type FareBasis: String
2109
+
2110
+ attr_accessor :TerminalGetOn, :TerminalGetOff, :Carrier, :FlightNumber, :Seat, :DateGetOn, :TimeGetOn, :StationGetOn, :StationGetOff, :Allow, :FareBasis
2111
+
2112
+ def initialize(terminalgeton=nil, terminalgetoff=nil, carrier=nil, flightnumber=nil, seat=nil, dategeton=nil, timegeton=nil, stationgeton=nil, stationgetoff=nil, allow=nil, farebasis=nil)
2113
+ @TerminalGetOn = terminalgeton
2114
+ @TerminalGetOff = terminalgetoff
2115
+ @Carrier = carrier
2116
+ @FlightNumber = flightnumber
2117
+ @Seat = seat
2118
+ @DateGetOn = dategeton
2119
+ @TimeGetOn = timegeton
2120
+ @StationGetOn = stationgeton
2121
+ @StationGetOff = stationgetoff
2122
+ @Allow = allow
2123
+ @FareBasis = farebasis
2124
+ end
2125
+
2126
+ def deserialize(params)
2127
+ @TerminalGetOn = params['TerminalGetOn']
2128
+ @TerminalGetOff = params['TerminalGetOff']
2129
+ @Carrier = params['Carrier']
2130
+ @FlightNumber = params['FlightNumber']
2131
+ @Seat = params['Seat']
2132
+ @DateGetOn = params['DateGetOn']
2133
+ @TimeGetOn = params['TimeGetOn']
2134
+ @StationGetOn = params['StationGetOn']
2135
+ @StationGetOff = params['StationGetOff']
2136
+ @Allow = params['Allow']
2137
+ @FareBasis = params['FareBasis']
2138
+ end
2139
+ end
2140
+
1874
2141
  # FormulaOCR请求参数结构体
1875
2142
  class FormulaOCRRequest < TencentCloud::Common::AbstractModel
1876
2143
  # @param ImageBase64: 图片的 Base64 值。
@@ -2310,6 +2577,50 @@ module TencentCloud
2310
2577
  end
2311
2578
  end
2312
2579
 
2580
+ # 通用机打发票条目
2581
+ class GeneralMachineItem < TencentCloud::Common::AbstractModel
2582
+ # @param Name: 项目名称
2583
+ # @type Name: String
2584
+ # @param Specification: 规格型号
2585
+ # @type Specification: String
2586
+ # @param Unit: 单位
2587
+ # @type Unit: String
2588
+ # @param Quantity: 数量
2589
+ # @type Quantity: String
2590
+ # @param Price: 单价
2591
+ # @type Price: String
2592
+ # @param Total: 金额
2593
+ # @type Total: String
2594
+ # @param TaxRate: 税率
2595
+ # @type TaxRate: String
2596
+ # @param Tax: 税额
2597
+ # @type Tax: String
2598
+
2599
+ attr_accessor :Name, :Specification, :Unit, :Quantity, :Price, :Total, :TaxRate, :Tax
2600
+
2601
+ def initialize(name=nil, specification=nil, unit=nil, quantity=nil, price=nil, total=nil, taxrate=nil, tax=nil)
2602
+ @Name = name
2603
+ @Specification = specification
2604
+ @Unit = unit
2605
+ @Quantity = quantity
2606
+ @Price = price
2607
+ @Total = total
2608
+ @TaxRate = taxrate
2609
+ @Tax = tax
2610
+ end
2611
+
2612
+ def deserialize(params)
2613
+ @Name = params['Name']
2614
+ @Specification = params['Specification']
2615
+ @Unit = params['Unit']
2616
+ @Quantity = params['Quantity']
2617
+ @Price = params['Price']
2618
+ @Total = params['Total']
2619
+ @TaxRate = params['TaxRate']
2620
+ @Tax = params['Tax']
2621
+ end
2622
+ end
2623
+
2313
2624
  # GetTaskState请求参数结构体
2314
2625
  class GetTaskStateRequest < TencentCloud::Common::AbstractModel
2315
2626
  # @param TaskId: 智慧表单任务唯一身份ID
@@ -3055,6 +3366,81 @@ module TencentCloud
3055
3366
  end
3056
3367
  end
3057
3368
 
3369
+ # 混贴票据单张发票识别信息
3370
+ class InvoiceItem < TencentCloud::Common::AbstractModel
3371
+ # @param Code: 识别结果。
3372
+ # OK:表示识别成功;FailedOperation.UnsupportedInvioce:表示不支持识别;
3373
+ # FailedOperation.UnKnowError:表示识别失败;
3374
+ # 其它错误码见各个票据接口的定义。
3375
+ # @type Code: String
3376
+ # @param Type: 识别出的图片所属的票据类型。
3377
+ # -1:未知类型
3378
+ # 0:出租车发票
3379
+ # 1:定额发票
3380
+ # 2:火车票
3381
+ # 3:增值税发票
3382
+ # 5:机票行程单
3383
+ # 8:通用机打发票
3384
+ # 9:汽车票
3385
+ # 10:轮船票
3386
+ # 11:增值税发票(卷票)
3387
+ # 12:购车发票
3388
+ # 13:过路过桥费发票
3389
+ # 15:非税发票
3390
+ # 16:全电发票
3391
+ # @type Type: Integer
3392
+ # @param Polygon: 旋转后的图片四点坐标。
3393
+ # @type Polygon: :class:`Tencentcloud::Ocr.v20181119.models.Polygon`
3394
+ # @param Angle: 识别出的图片在混贴票据图片中的旋转角度。
3395
+ # @type Angle: Float
3396
+ # @param SingleInvoiceInfos: 识别到的内容。
3397
+ # @type SingleInvoiceInfos: :class:`Tencentcloud::Ocr.v20181119.models.SingleInvoiceItem`
3398
+ # @param Page: 发票处于识别图片或PDF文件中的页教,默认从1开始。
3399
+ # @type Page: Integer
3400
+ # @param SubType: 发票详细类型,详见下方 SubType 返回值说明
3401
+ # @type SubType: String
3402
+ # @param TypeDescription: 发票类型描述,详见下方 TypeDescription 返回值说明
3403
+ # @type TypeDescription: String
3404
+ # @param CutImage: 切割单图文件,Base64编码后的切图后的图片文件,开启 EnableCutImage 后进行返回
3405
+ # @type CutImage: String
3406
+ # @param SubTypeDescription: 发票详细类型描述,详见下方 SubType 返回值说明
3407
+ # @type SubTypeDescription: String
3408
+
3409
+ attr_accessor :Code, :Type, :Polygon, :Angle, :SingleInvoiceInfos, :Page, :SubType, :TypeDescription, :CutImage, :SubTypeDescription
3410
+
3411
+ def initialize(code=nil, type=nil, polygon=nil, angle=nil, singleinvoiceinfos=nil, page=nil, subtype=nil, typedescription=nil, cutimage=nil, subtypedescription=nil)
3412
+ @Code = code
3413
+ @Type = type
3414
+ @Polygon = polygon
3415
+ @Angle = angle
3416
+ @SingleInvoiceInfos = singleinvoiceinfos
3417
+ @Page = page
3418
+ @SubType = subtype
3419
+ @TypeDescription = typedescription
3420
+ @CutImage = cutimage
3421
+ @SubTypeDescription = subtypedescription
3422
+ end
3423
+
3424
+ def deserialize(params)
3425
+ @Code = params['Code']
3426
+ @Type = params['Type']
3427
+ unless params['Polygon'].nil?
3428
+ @Polygon = Polygon.new
3429
+ @Polygon.deserialize(params['Polygon'])
3430
+ end
3431
+ @Angle = params['Angle']
3432
+ unless params['SingleInvoiceInfos'].nil?
3433
+ @SingleInvoiceInfos = SingleInvoiceItem.new
3434
+ @SingleInvoiceInfos.deserialize(params['SingleInvoiceInfos'])
3435
+ end
3436
+ @Page = params['Page']
3437
+ @SubType = params['SubType']
3438
+ @TypeDescription = params['TypeDescription']
3439
+ @CutImage = params['CutImage']
3440
+ @SubTypeDescription = params['SubTypeDescription']
3441
+ end
3442
+ end
3443
+
3058
3444
  # 文本行在旋转纠正之后的图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)
3059
3445
  class ItemCoord < TencentCloud::Common::AbstractModel
3060
3446
  # @param X: 左上角x
@@ -3458,6 +3844,169 @@ module TencentCloud
3458
3844
  end
3459
3845
  end
3460
3846
 
3847
+ # 通用机打发票
3848
+ class MachinePrintedInvoice < TencentCloud::Common::AbstractModel
3849
+ # @param Title: 发票名称
3850
+ # @type Title: String
3851
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
3852
+ # @type QRCodeMark: Integer
3853
+ # @param Code: 发票代码
3854
+ # @type Code: String
3855
+ # @param Number: 发票号码
3856
+ # @type Number: String
3857
+ # @param Date: 开票日期
3858
+ # @type Date: String
3859
+ # @param Time: 时间
3860
+ # @type Time: String
3861
+ # @param CheckCode: 校验码
3862
+ # @type CheckCode: String
3863
+ # @param Ciphertext: 密码区
3864
+ # @type Ciphertext: String
3865
+ # @param Category: 种类
3866
+ # @type Category: String
3867
+ # @param PretaxAmount: 税前金额
3868
+ # @type PretaxAmount: String
3869
+ # @param Total: 价税合计(小写)
3870
+ # @type Total: String
3871
+ # @param TotalCn: 价税合计(大写)
3872
+ # @type TotalCn: String
3873
+ # @param Tax: 合计税额
3874
+ # @type Tax: String
3875
+ # @param IndustryClass: 行业分类
3876
+ # @type IndustryClass: String
3877
+ # @param Seller: 销售方名称
3878
+ # @type Seller: String
3879
+ # @param SellerTaxID: 销售方纳税人识别号
3880
+ # @type SellerTaxID: String
3881
+ # @param SellerAddrTel: 销售方地址电话
3882
+ # @type SellerAddrTel: String
3883
+ # @param SellerBankAccount: 销售方银行账号
3884
+ # @type SellerBankAccount: String
3885
+ # @param Buyer: 购买方名称
3886
+ # @type Buyer: String
3887
+ # @param BuyerTaxID: 购买方纳税人识别号
3888
+ # @type BuyerTaxID: String
3889
+ # @param BuyerAddrTel: 购买方地址电话
3890
+ # @type BuyerAddrTel: String
3891
+ # @param BuyerBankAccount: 购买方银行账号
3892
+ # @type BuyerBankAccount: String
3893
+ # @param Kind: 发票消费类型
3894
+ # @type Kind: String
3895
+ # @param Province: 省
3896
+ # @type Province: String
3897
+ # @param City: 市
3898
+ # @type City: String
3899
+ # @param CompanySealMark: 是否有公司印章(0:没有,1:有)
3900
+ # @type CompanySealMark: Integer
3901
+ # @param ElectronicMark: 是否为浙江/广东通用机打发票(0:没有,1:有)
3902
+ # @type ElectronicMark: Integer
3903
+ # @param Issuer: 开票人
3904
+ # @type Issuer: String
3905
+ # @param Receiptor: 收款人
3906
+ # @type Receiptor: String
3907
+ # @param Reviewer: 复核人
3908
+ # @type Reviewer: String
3909
+ # @param Remark: 备注
3910
+ # @type Remark: String
3911
+ # @param PaymentInfo: 经办人支付信息
3912
+ # @type PaymentInfo: String
3913
+ # @param TicketPickupUser: 经办人取票用户
3914
+ # @type TicketPickupUser: String
3915
+ # @param MerchantNumber: 经办人商户号
3916
+ # @type MerchantNumber: String
3917
+ # @param OrderNumber: 经办人订单号
3918
+ # @type OrderNumber: String
3919
+ # @param GeneralMachineItems: 条目
3920
+ # @type GeneralMachineItems: Array
3921
+
3922
+ attr_accessor :Title, :QRCodeMark, :Code, :Number, :Date, :Time, :CheckCode, :Ciphertext, :Category, :PretaxAmount, :Total, :TotalCn, :Tax, :IndustryClass, :Seller, :SellerTaxID, :SellerAddrTel, :SellerBankAccount, :Buyer, :BuyerTaxID, :BuyerAddrTel, :BuyerBankAccount, :Kind, :Province, :City, :CompanySealMark, :ElectronicMark, :Issuer, :Receiptor, :Reviewer, :Remark, :PaymentInfo, :TicketPickupUser, :MerchantNumber, :OrderNumber, :GeneralMachineItems
3923
+
3924
+ def initialize(title=nil, qrcodemark=nil, code=nil, number=nil, date=nil, time=nil, checkcode=nil, ciphertext=nil, category=nil, pretaxamount=nil, total=nil, totalcn=nil, tax=nil, industryclass=nil, seller=nil, sellertaxid=nil, selleraddrtel=nil, sellerbankaccount=nil, buyer=nil, buyertaxid=nil, buyeraddrtel=nil, buyerbankaccount=nil, kind=nil, province=nil, city=nil, companysealmark=nil, electronicmark=nil, issuer=nil, receiptor=nil, reviewer=nil, remark=nil, paymentinfo=nil, ticketpickupuser=nil, merchantnumber=nil, ordernumber=nil, generalmachineitems=nil)
3925
+ @Title = title
3926
+ @QRCodeMark = qrcodemark
3927
+ @Code = code
3928
+ @Number = number
3929
+ @Date = date
3930
+ @Time = time
3931
+ @CheckCode = checkcode
3932
+ @Ciphertext = ciphertext
3933
+ @Category = category
3934
+ @PretaxAmount = pretaxamount
3935
+ @Total = total
3936
+ @TotalCn = totalcn
3937
+ @Tax = tax
3938
+ @IndustryClass = industryclass
3939
+ @Seller = seller
3940
+ @SellerTaxID = sellertaxid
3941
+ @SellerAddrTel = selleraddrtel
3942
+ @SellerBankAccount = sellerbankaccount
3943
+ @Buyer = buyer
3944
+ @BuyerTaxID = buyertaxid
3945
+ @BuyerAddrTel = buyeraddrtel
3946
+ @BuyerBankAccount = buyerbankaccount
3947
+ @Kind = kind
3948
+ @Province = province
3949
+ @City = city
3950
+ @CompanySealMark = companysealmark
3951
+ @ElectronicMark = electronicmark
3952
+ @Issuer = issuer
3953
+ @Receiptor = receiptor
3954
+ @Reviewer = reviewer
3955
+ @Remark = remark
3956
+ @PaymentInfo = paymentinfo
3957
+ @TicketPickupUser = ticketpickupuser
3958
+ @MerchantNumber = merchantnumber
3959
+ @OrderNumber = ordernumber
3960
+ @GeneralMachineItems = generalmachineitems
3961
+ end
3962
+
3963
+ def deserialize(params)
3964
+ @Title = params['Title']
3965
+ @QRCodeMark = params['QRCodeMark']
3966
+ @Code = params['Code']
3967
+ @Number = params['Number']
3968
+ @Date = params['Date']
3969
+ @Time = params['Time']
3970
+ @CheckCode = params['CheckCode']
3971
+ @Ciphertext = params['Ciphertext']
3972
+ @Category = params['Category']
3973
+ @PretaxAmount = params['PretaxAmount']
3974
+ @Total = params['Total']
3975
+ @TotalCn = params['TotalCn']
3976
+ @Tax = params['Tax']
3977
+ @IndustryClass = params['IndustryClass']
3978
+ @Seller = params['Seller']
3979
+ @SellerTaxID = params['SellerTaxID']
3980
+ @SellerAddrTel = params['SellerAddrTel']
3981
+ @SellerBankAccount = params['SellerBankAccount']
3982
+ @Buyer = params['Buyer']
3983
+ @BuyerTaxID = params['BuyerTaxID']
3984
+ @BuyerAddrTel = params['BuyerAddrTel']
3985
+ @BuyerBankAccount = params['BuyerBankAccount']
3986
+ @Kind = params['Kind']
3987
+ @Province = params['Province']
3988
+ @City = params['City']
3989
+ @CompanySealMark = params['CompanySealMark']
3990
+ @ElectronicMark = params['ElectronicMark']
3991
+ @Issuer = params['Issuer']
3992
+ @Receiptor = params['Receiptor']
3993
+ @Reviewer = params['Reviewer']
3994
+ @Remark = params['Remark']
3995
+ @PaymentInfo = params['PaymentInfo']
3996
+ @TicketPickupUser = params['TicketPickupUser']
3997
+ @MerchantNumber = params['MerchantNumber']
3998
+ @OrderNumber = params['OrderNumber']
3999
+ unless params['GeneralMachineItems'].nil?
4000
+ @GeneralMachineItems = []
4001
+ params['GeneralMachineItems'].each do |i|
4002
+ generalmachineitem_tmp = GeneralMachineItem.new
4003
+ generalmachineitem_tmp.deserialize(i)
4004
+ @GeneralMachineItems << generalmachineitem_tmp
4005
+ end
4006
+ end
4007
+ end
4008
+ end
4009
+
3461
4010
  # MainlandPermitOCR请求参数结构体
3462
4011
  class MainlandPermitOCRRequest < TencentCloud::Common::AbstractModel
3463
4012
  # @param ImageBase64: 图片的 Base64 值。
@@ -3829,36 +4378,371 @@ module TencentCloud
3829
4378
  end
3830
4379
  end
3831
4380
 
3832
- # 网约车行程单识别结果
3833
- class OnlineTaxiItineraryInfo < TencentCloud::Common::AbstractModel
3834
- # @param Name: 识别出的字段名称(关键字),支持以下字段:
3835
- # 发票代码、 机打代码、 发票号码、 发动机号码、 合格证号、 机打号码、 价税合计(小写)、 销货单位名称、 身份证号码/组织机构代码、 购买方名称、 销售方纳税人识别号、 购买方纳税人识别号、主管税务机关、 主管税务机关代码、 开票日期、 不含税价(小写)、 吨位、增值税税率或征收率、 车辆识别代号/车架号码、 增值税税额、 厂牌型号、 省、 市、 发票消费类型、 销售方电话、 销售方账号、 产地、 进口证明书号、 车辆类型、 机器编号、备注、开票人、限乘人数、商检单号、销售方地址、销售方开户银行、价税合计、发票类型。
3836
- # @type Name: String
3837
- # @param Value: 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
3838
- # @type Value: String
3839
- # @param Row: 字段所在行,下标从0开始,非行字段或未能识别行号的返回-1
3840
- # @type Row: Integer
4381
+ # 机动车销售统一发票
4382
+ class MotorVehicleSaleInvoice < TencentCloud::Common::AbstractModel
4383
+ # @param Title: 发票名称
4384
+ # @type Title: String
4385
+ # @param Code: 发票代码
4386
+ # @type Code: String
4387
+ # @param Number: 发票号码
4388
+ # @type Number: String
4389
+ # @param Date: 开票日期
4390
+ # @type Date: String
4391
+ # @param PretaxAmount: 税前金额
4392
+ # @type PretaxAmount: String
4393
+ # @param Total: 价税合计(小写)
4394
+ # @type Total: String
4395
+ # @param TotalCn: 价税合计(大写)
4396
+ # @type TotalCn: String
4397
+ # @param Seller: 销售方名称
4398
+ # @type Seller: String
4399
+ # @param SellerTaxID: 销售方单位代码
4400
+ # @type SellerTaxID: String
4401
+ # @param SellerTel: 销售方电话
4402
+ # @type SellerTel: String
4403
+ # @param SellerAddress: 销售方地址
4404
+ # @type SellerAddress: String
4405
+ # @param SellerBank: 销售方开户行
4406
+ # @type SellerBank: String
4407
+ # @param SellerBankAccount: 销售方银行账号
4408
+ # @type SellerBankAccount: String
4409
+ # @param Buyer: 购买方名称
4410
+ # @type Buyer: String
4411
+ # @param BuyerTaxID: 购买方纳税人识别号
4412
+ # @type BuyerTaxID: String
4413
+ # @param BuyerID: 购买方身份证号码/组织机构代码
4414
+ # @type BuyerID: String
4415
+ # @param TaxAuthorities: 主管税务机关
4416
+ # @type TaxAuthorities: String
4417
+ # @param TaxAuthoritiesCode: 主管税务机关代码
4418
+ # @type TaxAuthoritiesCode: String
4419
+ # @param VIN: 车辆识别代码
4420
+ # @type VIN: String
4421
+ # @param VehicleModel: 厂牌型号
4422
+ # @type VehicleModel: String
4423
+ # @param VehicleEngineCode: 发动机号码
4424
+ # @type VehicleEngineCode: String
4425
+ # @param CertificateNumber: 合格证号
4426
+ # @type CertificateNumber: String
4427
+ # @param InspectionNumber: 商检单号
4428
+ # @type InspectionNumber: String
4429
+ # @param MachineID: 机器编号
4430
+ # @type MachineID: String
4431
+ # @param VehicleType: 车辆类型
4432
+ # @type VehicleType: String
4433
+ # @param Kind: 发票消费类型
4434
+ # @type Kind: String
4435
+ # @param Province: 省
4436
+ # @type Province: String
4437
+ # @param City: 市
4438
+ # @type City: String
4439
+ # @param Tax: 合计税额
4440
+ # @type Tax: String
4441
+ # @param TaxRate: 税率
4442
+ # @type TaxRate: String
4443
+ # @param CompanySealMark: 是否有公司印章(0:没有,1:有)
4444
+ # @type CompanySealMark: Integer
4445
+ # @param Tonnage: 吨位
4446
+ # @type Tonnage: String
4447
+ # @param Remark: 备注
4448
+ # @type Remark: String
4449
+ # @param FormType: 发票联次
4450
+ # @type FormType: String
4451
+ # @param FormName: 发票联名
4452
+ # @type FormName: String
4453
+ # @param Issuer: 开票人
4454
+ # @type Issuer: String
4455
+ # @param TaxNum: 完税凭证号码
4456
+ # @type TaxNum: String
4457
+ # @param MaxPeopleNum: 限乘人数
4458
+ # @type MaxPeopleNum: String
4459
+ # @param Origin: 产地
4460
+ # @type Origin: String
4461
+ # @param MachineCode: 机打发票代码
4462
+ # @type MachineCode: String
4463
+ # @param MachineNumber: 机打发票号码
4464
+ # @type MachineNumber: String
4465
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
4466
+ # @type QRCodeMark: Integer
3841
4467
 
3842
- attr_accessor :Name, :Value, :Row
4468
+ attr_accessor :Title, :Code, :Number, :Date, :PretaxAmount, :Total, :TotalCn, :Seller, :SellerTaxID, :SellerTel, :SellerAddress, :SellerBank, :SellerBankAccount, :Buyer, :BuyerTaxID, :BuyerID, :TaxAuthorities, :TaxAuthoritiesCode, :VIN, :VehicleModel, :VehicleEngineCode, :CertificateNumber, :InspectionNumber, :MachineID, :VehicleType, :Kind, :Province, :City, :Tax, :TaxRate, :CompanySealMark, :Tonnage, :Remark, :FormType, :FormName, :Issuer, :TaxNum, :MaxPeopleNum, :Origin, :MachineCode, :MachineNumber, :QRCodeMark
3843
4469
 
3844
- def initialize(name=nil, value=nil, row=nil)
3845
- @Name = name
3846
- @Value = value
3847
- @Row = row
4470
+ def initialize(title=nil, code=nil, number=nil, date=nil, pretaxamount=nil, total=nil, totalcn=nil, seller=nil, sellertaxid=nil, sellertel=nil, selleraddress=nil, sellerbank=nil, sellerbankaccount=nil, buyer=nil, buyertaxid=nil, buyerid=nil, taxauthorities=nil, taxauthoritiescode=nil, vin=nil, vehiclemodel=nil, vehicleenginecode=nil, certificatenumber=nil, inspectionnumber=nil, machineid=nil, vehicletype=nil, kind=nil, province=nil, city=nil, tax=nil, taxrate=nil, companysealmark=nil, tonnage=nil, remark=nil, formtype=nil, formname=nil, issuer=nil, taxnum=nil, maxpeoplenum=nil, origin=nil, machinecode=nil, machinenumber=nil, qrcodemark=nil)
4471
+ @Title = title
4472
+ @Code = code
4473
+ @Number = number
4474
+ @Date = date
4475
+ @PretaxAmount = pretaxamount
4476
+ @Total = total
4477
+ @TotalCn = totalcn
4478
+ @Seller = seller
4479
+ @SellerTaxID = sellertaxid
4480
+ @SellerTel = sellertel
4481
+ @SellerAddress = selleraddress
4482
+ @SellerBank = sellerbank
4483
+ @SellerBankAccount = sellerbankaccount
4484
+ @Buyer = buyer
4485
+ @BuyerTaxID = buyertaxid
4486
+ @BuyerID = buyerid
4487
+ @TaxAuthorities = taxauthorities
4488
+ @TaxAuthoritiesCode = taxauthoritiescode
4489
+ @VIN = vin
4490
+ @VehicleModel = vehiclemodel
4491
+ @VehicleEngineCode = vehicleenginecode
4492
+ @CertificateNumber = certificatenumber
4493
+ @InspectionNumber = inspectionnumber
4494
+ @MachineID = machineid
4495
+ @VehicleType = vehicletype
4496
+ @Kind = kind
4497
+ @Province = province
4498
+ @City = city
4499
+ @Tax = tax
4500
+ @TaxRate = taxrate
4501
+ @CompanySealMark = companysealmark
4502
+ @Tonnage = tonnage
4503
+ @Remark = remark
4504
+ @FormType = formtype
4505
+ @FormName = formname
4506
+ @Issuer = issuer
4507
+ @TaxNum = taxnum
4508
+ @MaxPeopleNum = maxpeoplenum
4509
+ @Origin = origin
4510
+ @MachineCode = machinecode
4511
+ @MachineNumber = machinenumber
4512
+ @QRCodeMark = qrcodemark
3848
4513
  end
3849
4514
 
3850
4515
  def deserialize(params)
3851
- @Name = params['Name']
3852
- @Value = params['Value']
3853
- @Row = params['Row']
3854
- end
3855
- end
3856
-
3857
- # OrgCodeCertOCR请求参数结构体
3858
- class OrgCodeCertOCRRequest < TencentCloud::Common::AbstractModel
3859
- # @param ImageBase64: 图片的 Base64 值。
3860
- # 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3861
- # 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
4516
+ @Title = params['Title']
4517
+ @Code = params['Code']
4518
+ @Number = params['Number']
4519
+ @Date = params['Date']
4520
+ @PretaxAmount = params['PretaxAmount']
4521
+ @Total = params['Total']
4522
+ @TotalCn = params['TotalCn']
4523
+ @Seller = params['Seller']
4524
+ @SellerTaxID = params['SellerTaxID']
4525
+ @SellerTel = params['SellerTel']
4526
+ @SellerAddress = params['SellerAddress']
4527
+ @SellerBank = params['SellerBank']
4528
+ @SellerBankAccount = params['SellerBankAccount']
4529
+ @Buyer = params['Buyer']
4530
+ @BuyerTaxID = params['BuyerTaxID']
4531
+ @BuyerID = params['BuyerID']
4532
+ @TaxAuthorities = params['TaxAuthorities']
4533
+ @TaxAuthoritiesCode = params['TaxAuthoritiesCode']
4534
+ @VIN = params['VIN']
4535
+ @VehicleModel = params['VehicleModel']
4536
+ @VehicleEngineCode = params['VehicleEngineCode']
4537
+ @CertificateNumber = params['CertificateNumber']
4538
+ @InspectionNumber = params['InspectionNumber']
4539
+ @MachineID = params['MachineID']
4540
+ @VehicleType = params['VehicleType']
4541
+ @Kind = params['Kind']
4542
+ @Province = params['Province']
4543
+ @City = params['City']
4544
+ @Tax = params['Tax']
4545
+ @TaxRate = params['TaxRate']
4546
+ @CompanySealMark = params['CompanySealMark']
4547
+ @Tonnage = params['Tonnage']
4548
+ @Remark = params['Remark']
4549
+ @FormType = params['FormType']
4550
+ @FormName = params['FormName']
4551
+ @Issuer = params['Issuer']
4552
+ @TaxNum = params['TaxNum']
4553
+ @MaxPeopleNum = params['MaxPeopleNum']
4554
+ @Origin = params['Origin']
4555
+ @MachineCode = params['MachineCode']
4556
+ @MachineNumber = params['MachineNumber']
4557
+ @QRCodeMark = params['QRCodeMark']
4558
+ end
4559
+ end
4560
+
4561
+ # 非税收入
4562
+ class NonTaxIncomeBill < TencentCloud::Common::AbstractModel
4563
+ # @param Title: 发票名称
4564
+ # @type Title: String
4565
+ # @param Number: 发票号码
4566
+ # @type Number: String
4567
+ # @param Code: 发票代码
4568
+ # @type Code: String
4569
+ # @param CheckCode: 校验码
4570
+ # @type CheckCode: String
4571
+ # @param Date: 开票日期
4572
+ # @type Date: String
4573
+ # @param Total: 价税合计(小写)
4574
+ # @type Total: String
4575
+ # @param TotalCn: 价税合计(大写)
4576
+ # @type TotalCn: String
4577
+ # @param Buyer: 交款人名称
4578
+ # @type Buyer: String
4579
+ # @param BuyerTaxID: 交款人纳税人识别号
4580
+ # @type BuyerTaxID: String
4581
+ # @param Seller: 收款人名称
4582
+ # @type Seller: String
4583
+ # @param SellerCompany: 收款单位名称
4584
+ # @type SellerCompany: String
4585
+ # @param Remark: 备注
4586
+ # @type Remark: String
4587
+ # @param CurrencyCode: 币种
4588
+ # @type CurrencyCode: String
4589
+ # @param Reviewer: 复核人
4590
+ # @type Reviewer: String
4591
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
4592
+ # @type QRCodeMark: Integer
4593
+ # @param OtherInfo: 其他信息
4594
+ # @type OtherInfo: String
4595
+ # @param PaymentCode: 缴款码
4596
+ # @type PaymentCode: String
4597
+ # @param ReceiveUnitCode: 执收单位编码
4598
+ # @type ReceiveUnitCode: String
4599
+ # @param Receiver: 执收单位名称
4600
+ # @type Receiver: String
4601
+ # @param Operator: 经办人
4602
+ # @type Operator: String
4603
+ # @param PayerAccount: 付款人账号
4604
+ # @type PayerAccount: String
4605
+ # @param PayerBank: 付款人开户银行
4606
+ # @type PayerBank: String
4607
+ # @param ReceiverAccount: 收款人账号
4608
+ # @type ReceiverAccount: String
4609
+ # @param ReceiverBank: 收款人开户银行
4610
+ # @type ReceiverBank: String
4611
+ # @param NonTaxItems: 条目
4612
+ # @type NonTaxItems: Array
4613
+
4614
+ attr_accessor :Title, :Number, :Code, :CheckCode, :Date, :Total, :TotalCn, :Buyer, :BuyerTaxID, :Seller, :SellerCompany, :Remark, :CurrencyCode, :Reviewer, :QRCodeMark, :OtherInfo, :PaymentCode, :ReceiveUnitCode, :Receiver, :Operator, :PayerAccount, :PayerBank, :ReceiverAccount, :ReceiverBank, :NonTaxItems
4615
+
4616
+ def initialize(title=nil, number=nil, code=nil, checkcode=nil, date=nil, total=nil, totalcn=nil, buyer=nil, buyertaxid=nil, seller=nil, sellercompany=nil, remark=nil, currencycode=nil, reviewer=nil, qrcodemark=nil, otherinfo=nil, paymentcode=nil, receiveunitcode=nil, receiver=nil, operator=nil, payeraccount=nil, payerbank=nil, receiveraccount=nil, receiverbank=nil, nontaxitems=nil)
4617
+ @Title = title
4618
+ @Number = number
4619
+ @Code = code
4620
+ @CheckCode = checkcode
4621
+ @Date = date
4622
+ @Total = total
4623
+ @TotalCn = totalcn
4624
+ @Buyer = buyer
4625
+ @BuyerTaxID = buyertaxid
4626
+ @Seller = seller
4627
+ @SellerCompany = sellercompany
4628
+ @Remark = remark
4629
+ @CurrencyCode = currencycode
4630
+ @Reviewer = reviewer
4631
+ @QRCodeMark = qrcodemark
4632
+ @OtherInfo = otherinfo
4633
+ @PaymentCode = paymentcode
4634
+ @ReceiveUnitCode = receiveunitcode
4635
+ @Receiver = receiver
4636
+ @Operator = operator
4637
+ @PayerAccount = payeraccount
4638
+ @PayerBank = payerbank
4639
+ @ReceiverAccount = receiveraccount
4640
+ @ReceiverBank = receiverbank
4641
+ @NonTaxItems = nontaxitems
4642
+ end
4643
+
4644
+ def deserialize(params)
4645
+ @Title = params['Title']
4646
+ @Number = params['Number']
4647
+ @Code = params['Code']
4648
+ @CheckCode = params['CheckCode']
4649
+ @Date = params['Date']
4650
+ @Total = params['Total']
4651
+ @TotalCn = params['TotalCn']
4652
+ @Buyer = params['Buyer']
4653
+ @BuyerTaxID = params['BuyerTaxID']
4654
+ @Seller = params['Seller']
4655
+ @SellerCompany = params['SellerCompany']
4656
+ @Remark = params['Remark']
4657
+ @CurrencyCode = params['CurrencyCode']
4658
+ @Reviewer = params['Reviewer']
4659
+ @QRCodeMark = params['QRCodeMark']
4660
+ @OtherInfo = params['OtherInfo']
4661
+ @PaymentCode = params['PaymentCode']
4662
+ @ReceiveUnitCode = params['ReceiveUnitCode']
4663
+ @Receiver = params['Receiver']
4664
+ @Operator = params['Operator']
4665
+ @PayerAccount = params['PayerAccount']
4666
+ @PayerBank = params['PayerBank']
4667
+ @ReceiverAccount = params['ReceiverAccount']
4668
+ @ReceiverBank = params['ReceiverBank']
4669
+ unless params['NonTaxItems'].nil?
4670
+ @NonTaxItems = []
4671
+ params['NonTaxItems'].each do |i|
4672
+ nontaxitem_tmp = NonTaxItem.new
4673
+ nontaxitem_tmp.deserialize(i)
4674
+ @NonTaxItems << nontaxitem_tmp
4675
+ end
4676
+ end
4677
+ end
4678
+ end
4679
+
4680
+ # 非税收入条目
4681
+ class NonTaxItem < TencentCloud::Common::AbstractModel
4682
+ # @param ItemID: 项目编码
4683
+ # @type ItemID: String
4684
+ # @param Name: 项目名称
4685
+ # @type Name: String
4686
+ # @param Unit: 单位
4687
+ # @type Unit: String
4688
+ # @param Quantity: 数量
4689
+ # @type Quantity: String
4690
+ # @param Standard: 标准
4691
+ # @type Standard: String
4692
+ # @param Total: 金额
4693
+ # @type Total: String
4694
+
4695
+ attr_accessor :ItemID, :Name, :Unit, :Quantity, :Standard, :Total
4696
+
4697
+ def initialize(itemid=nil, name=nil, unit=nil, quantity=nil, standard=nil, total=nil)
4698
+ @ItemID = itemid
4699
+ @Name = name
4700
+ @Unit = unit
4701
+ @Quantity = quantity
4702
+ @Standard = standard
4703
+ @Total = total
4704
+ end
4705
+
4706
+ def deserialize(params)
4707
+ @ItemID = params['ItemID']
4708
+ @Name = params['Name']
4709
+ @Unit = params['Unit']
4710
+ @Quantity = params['Quantity']
4711
+ @Standard = params['Standard']
4712
+ @Total = params['Total']
4713
+ end
4714
+ end
4715
+
4716
+ # 网约车行程单识别结果
4717
+ class OnlineTaxiItineraryInfo < TencentCloud::Common::AbstractModel
4718
+ # @param Name: 识别出的字段名称(关键字),支持以下字段:
4719
+ # 发票代码、 机打代码、 发票号码、 发动机号码、 合格证号、 机打号码、 价税合计(小写)、 销货单位名称、 身份证号码/组织机构代码、 购买方名称、 销售方纳税人识别号、 购买方纳税人识别号、主管税务机关、 主管税务机关代码、 开票日期、 不含税价(小写)、 吨位、增值税税率或征收率、 车辆识别代号/车架号码、 增值税税额、 厂牌型号、 省、 市、 发票消费类型、 销售方电话、 销售方账号、 产地、 进口证明书号、 车辆类型、 机器编号、备注、开票人、限乘人数、商检单号、销售方地址、销售方开户银行、价税合计、发票类型。
4720
+ # @type Name: String
4721
+ # @param Value: 识别出的字段名称对应的值,也就是字段name对应的字符串结果。
4722
+ # @type Value: String
4723
+ # @param Row: 字段所在行,下标从0开始,非行字段或未能识别行号的返回-1
4724
+ # @type Row: Integer
4725
+
4726
+ attr_accessor :Name, :Value, :Row
4727
+
4728
+ def initialize(name=nil, value=nil, row=nil)
4729
+ @Name = name
4730
+ @Value = value
4731
+ @Row = row
4732
+ end
4733
+
4734
+ def deserialize(params)
4735
+ @Name = params['Name']
4736
+ @Value = params['Value']
4737
+ @Row = params['Row']
4738
+ end
4739
+ end
4740
+
4741
+ # OrgCodeCertOCR请求参数结构体
4742
+ class OrgCodeCertOCRRequest < TencentCloud::Common::AbstractModel
4743
+ # @param ImageBase64: 图片的 Base64 值。
4744
+ # 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
4745
+ # 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
3862
4746
  # 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3863
4747
  # @type ImageBase64: String
3864
4748
  # @param ImageUrl: 图片的 Url 地址。
@@ -3913,6 +4797,91 @@ module TencentCloud
3913
4797
  end
3914
4798
  end
3915
4799
 
4800
+ # 其他发票
4801
+ class OtherInvoice < TencentCloud::Common::AbstractModel
4802
+ # @param Title: 发票名称
4803
+ # @type Title: String
4804
+ # @param Total: 金额
4805
+ # @type Total: String
4806
+ # @param OtherInvoiceListItems: 列表
4807
+ # @type OtherInvoiceListItems: Array
4808
+ # @param OtherInvoiceTableItems: 表格
4809
+ # @type OtherInvoiceTableItems: Array
4810
+
4811
+ attr_accessor :Title, :Total, :OtherInvoiceListItems, :OtherInvoiceTableItems
4812
+
4813
+ def initialize(title=nil, total=nil, otherinvoicelistitems=nil, otherinvoicetableitems=nil)
4814
+ @Title = title
4815
+ @Total = total
4816
+ @OtherInvoiceListItems = otherinvoicelistitems
4817
+ @OtherInvoiceTableItems = otherinvoicetableitems
4818
+ end
4819
+
4820
+ def deserialize(params)
4821
+ @Title = params['Title']
4822
+ @Total = params['Total']
4823
+ unless params['OtherInvoiceListItems'].nil?
4824
+ @OtherInvoiceListItems = []
4825
+ params['OtherInvoiceListItems'].each do |i|
4826
+ otherinvoiceitem_tmp = OtherInvoiceItem.new
4827
+ otherinvoiceitem_tmp.deserialize(i)
4828
+ @OtherInvoiceListItems << otherinvoiceitem_tmp
4829
+ end
4830
+ end
4831
+ unless params['OtherInvoiceTableItems'].nil?
4832
+ @OtherInvoiceTableItems = []
4833
+ params['OtherInvoiceTableItems'].each do |i|
4834
+ otherinvoicelist_tmp = OtherInvoiceList.new
4835
+ otherinvoicelist_tmp.deserialize(i)
4836
+ @OtherInvoiceTableItems << otherinvoicelist_tmp
4837
+ end
4838
+ end
4839
+ end
4840
+ end
4841
+
4842
+ # OtherInvoiceItem
4843
+ class OtherInvoiceItem < TencentCloud::Common::AbstractModel
4844
+ # @param Name: 票面key值
4845
+ # @type Name: String
4846
+ # @param Value: 票面value值
4847
+ # @type Value: String
4848
+
4849
+ attr_accessor :Name, :Value
4850
+
4851
+ def initialize(name=nil, value=nil)
4852
+ @Name = name
4853
+ @Value = value
4854
+ end
4855
+
4856
+ def deserialize(params)
4857
+ @Name = params['Name']
4858
+ @Value = params['Value']
4859
+ end
4860
+ end
4861
+
4862
+ # 其他票Table
4863
+ class OtherInvoiceList < TencentCloud::Common::AbstractModel
4864
+ # @param OtherInvoiceItemList: 列表
4865
+ # @type OtherInvoiceItemList: Array
4866
+
4867
+ attr_accessor :OtherInvoiceItemList
4868
+
4869
+ def initialize(otherinvoiceitemlist=nil)
4870
+ @OtherInvoiceItemList = otherinvoiceitemlist
4871
+ end
4872
+
4873
+ def deserialize(params)
4874
+ unless params['OtherInvoiceItemList'].nil?
4875
+ @OtherInvoiceItemList = []
4876
+ params['OtherInvoiceItemList'].each do |i|
4877
+ otherinvoiceitem_tmp = OtherInvoiceItem.new
4878
+ otherinvoiceitem_tmp.deserialize(i)
4879
+ @OtherInvoiceItemList << otherinvoiceitem_tmp
4880
+ end
4881
+ end
4882
+ end
4883
+ end
4884
+
3916
4885
  # 通行费发票信息
3917
4886
  class PassInvoiceInfo < TencentCloud::Common::AbstractModel
3918
4887
  # @param NumberPlate: 通行费车牌号
@@ -4588,6 +5557,58 @@ module TencentCloud
4588
5557
  end
4589
5558
  end
4590
5559
 
5560
+ # 定额发票
5561
+ class QuotaInvoice < TencentCloud::Common::AbstractModel
5562
+ # @param Title: 发票名称
5563
+ # @type Title: String
5564
+ # @param Code: 发票代码
5565
+ # @type Code: String
5566
+ # @param Number: 发票号码
5567
+ # @type Number: String
5568
+ # @param Total: 价税合计(小写)
5569
+ # @type Total: String
5570
+ # @param TotalCn: 价税合计(大写)
5571
+ # @type TotalCn: String
5572
+ # @param Kind: 发票消费类型
5573
+ # @type Kind: String
5574
+ # @param Province: 省
5575
+ # @type Province: String
5576
+ # @param City: 市
5577
+ # @type City: String
5578
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
5579
+ # @type QRCodeMark: Integer
5580
+ # @param CompanySealMark: 是否有公司印章(0:没有,1:有)
5581
+ # @type CompanySealMark: Integer
5582
+
5583
+ attr_accessor :Title, :Code, :Number, :Total, :TotalCn, :Kind, :Province, :City, :QRCodeMark, :CompanySealMark
5584
+
5585
+ def initialize(title=nil, code=nil, number=nil, total=nil, totalcn=nil, kind=nil, province=nil, city=nil, qrcodemark=nil, companysealmark=nil)
5586
+ @Title = title
5587
+ @Code = code
5588
+ @Number = number
5589
+ @Total = total
5590
+ @TotalCn = totalcn
5591
+ @Kind = kind
5592
+ @Province = province
5593
+ @City = city
5594
+ @QRCodeMark = qrcodemark
5595
+ @CompanySealMark = companysealmark
5596
+ end
5597
+
5598
+ def deserialize(params)
5599
+ @Title = params['Title']
5600
+ @Code = params['Code']
5601
+ @Number = params['Number']
5602
+ @Total = params['Total']
5603
+ @TotalCn = params['TotalCn']
5604
+ @Kind = params['Kind']
5605
+ @Province = params['Province']
5606
+ @City = params['City']
5607
+ @QRCodeMark = params['QRCodeMark']
5608
+ @CompanySealMark = params['CompanySealMark']
5609
+ end
5610
+ end
5611
+
4591
5612
  # QuotaInvoiceOCR请求参数结构体
4592
5613
  class QuotaInvoiceOCRRequest < TencentCloud::Common::AbstractModel
4593
5614
  # @param ImageBase64: 图片的 Base64 值。
@@ -4763,6 +5784,103 @@ module TencentCloud
4763
5784
  end
4764
5785
  end
4765
5786
 
5787
+ # RecognizeGeneralInvoice请求参数结构体
5788
+ class RecognizeGeneralInvoiceRequest < TencentCloud::Common::AbstractModel
5789
+ # @param ImageBase64: 图片的 Base64 值。
5790
+ # 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
5791
+ # 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
5792
+ # 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
5793
+ # @type ImageBase64: String
5794
+ # @param ImageUrl: 图片的 Url 地址。
5795
+ # 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。
5796
+ # 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
5797
+ # 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
5798
+ # 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5799
+ # @type ImageUrl: String
5800
+ # @param Types: 需要识别的票据类型列表,为空或不填表示识别全部类型。
5801
+ # 0:出租车发票
5802
+ # 1:定额发票
5803
+ # 2:火车票
5804
+ # 3:增值税发票
5805
+ # 5:机票行程单
5806
+ # 8:通用机打发票
5807
+ # 9:汽车票
5808
+ # 10:轮船票
5809
+ # 11:增值税发票(卷票 )
5810
+ # 12:购车发票
5811
+ # 13:过路过桥费发票
5812
+ # 15:非税发票
5813
+ # 16:全电发票
5814
+ # ----------------------
5815
+ # -1:其他发票,(只传入此类型时,图片均采用其他票类型进行识别)
5816
+ # @type Types: Array
5817
+ # @param EnableOther: 是否开启其他票识别,默认值为true,开启后可支持其他发票的智能识别。
5818
+ # @type EnableOther: Boolean
5819
+ # @param EnablePdf: 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
5820
+ # @type EnablePdf: Boolean
5821
+ # @param PdfPageNumber: 需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。
5822
+ # @type PdfPageNumber: Integer
5823
+ # @param EnableMultiplePage: 是否开启PDF多页识别,默认值为false,开启后可同时支持多页PDF的识别返回,仅支持返回文件前30页。开启后EnablePdf和PdfPageNumber入参不进行控制。
5824
+ # @type EnableMultiplePage: Boolean
5825
+ # @param EnableCutImage: 是否返回切割图片base64,默认值为false。
5826
+ # @type EnableCutImage: Boolean
5827
+
5828
+ attr_accessor :ImageBase64, :ImageUrl, :Types, :EnableOther, :EnablePdf, :PdfPageNumber, :EnableMultiplePage, :EnableCutImage
5829
+
5830
+ def initialize(imagebase64=nil, imageurl=nil, types=nil, enableother=nil, enablepdf=nil, pdfpagenumber=nil, enablemultiplepage=nil, enablecutimage=nil)
5831
+ @ImageBase64 = imagebase64
5832
+ @ImageUrl = imageurl
5833
+ @Types = types
5834
+ @EnableOther = enableother
5835
+ @EnablePdf = enablepdf
5836
+ @PdfPageNumber = pdfpagenumber
5837
+ @EnableMultiplePage = enablemultiplepage
5838
+ @EnableCutImage = enablecutimage
5839
+ end
5840
+
5841
+ def deserialize(params)
5842
+ @ImageBase64 = params['ImageBase64']
5843
+ @ImageUrl = params['ImageUrl']
5844
+ @Types = params['Types']
5845
+ @EnableOther = params['EnableOther']
5846
+ @EnablePdf = params['EnablePdf']
5847
+ @PdfPageNumber = params['PdfPageNumber']
5848
+ @EnableMultiplePage = params['EnableMultiplePage']
5849
+ @EnableCutImage = params['EnableCutImage']
5850
+ end
5851
+ end
5852
+
5853
+ # RecognizeGeneralInvoice返回参数结构体
5854
+ class RecognizeGeneralInvoiceResponse < TencentCloud::Common::AbstractModel
5855
+ # @param MixedInvoiceItems: 混贴票据识别结果,具体内容请点击左侧链接。
5856
+ # @type MixedInvoiceItems: Array
5857
+ # @param TotalPDFCount: PDF文件总页码
5858
+ # @type TotalPDFCount: Integer
5859
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5860
+ # @type RequestId: String
5861
+
5862
+ attr_accessor :MixedInvoiceItems, :TotalPDFCount, :RequestId
5863
+
5864
+ def initialize(mixedinvoiceitems=nil, totalpdfcount=nil, requestid=nil)
5865
+ @MixedInvoiceItems = mixedinvoiceitems
5866
+ @TotalPDFCount = totalpdfcount
5867
+ @RequestId = requestid
5868
+ end
5869
+
5870
+ def deserialize(params)
5871
+ unless params['MixedInvoiceItems'].nil?
5872
+ @MixedInvoiceItems = []
5873
+ params['MixedInvoiceItems'].each do |i|
5874
+ invoiceitem_tmp = InvoiceItem.new
5875
+ invoiceitem_tmp.deserialize(i)
5876
+ @MixedInvoiceItems << invoiceitem_tmp
5877
+ end
5878
+ end
5879
+ @TotalPDFCount = params['TotalPDFCount']
5880
+ @RequestId = params['RequestId']
5881
+ end
5882
+ end
5883
+
4766
5884
  # RecognizeHealthCodeOCR请求参数结构体
4767
5885
  class RecognizeHealthCodeOCRRequest < TencentCloud::Common::AbstractModel
4768
5886
  # @param ImageBase64: 图片的 Base64 值。
@@ -6311,6 +7429,74 @@ module TencentCloud
6311
7429
  end
6312
7430
  end
6313
7431
 
7432
+ # 轮船票
7433
+ class ShippingInvoice < TencentCloud::Common::AbstractModel
7434
+ # @param Title: 发票名称
7435
+ # @type Title: String
7436
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
7437
+ # @type QRCodeMark: Integer
7438
+ # @param Code: 发票代码
7439
+ # @type Code: String
7440
+ # @param Number: 发票号码
7441
+ # @type Number: String
7442
+ # @param UserName: 姓名
7443
+ # @type UserName: String
7444
+ # @param Date: 日期
7445
+ # @type Date: String
7446
+ # @param Time: 时间
7447
+ # @type Time: String
7448
+ # @param StationGetOn: 出发车站
7449
+ # @type StationGetOn: String
7450
+ # @param StationGetOff: 到达车站
7451
+ # @type StationGetOff: String
7452
+ # @param Total: 票价
7453
+ # @type Total: String
7454
+ # @param Kind: 发票消费类型
7455
+ # @type Kind: String
7456
+ # @param Province: 省
7457
+ # @type Province: String
7458
+ # @param City: 市
7459
+ # @type City: String
7460
+ # @param CurrencyCode: 币种
7461
+ # @type CurrencyCode: String
7462
+
7463
+ attr_accessor :Title, :QRCodeMark, :Code, :Number, :UserName, :Date, :Time, :StationGetOn, :StationGetOff, :Total, :Kind, :Province, :City, :CurrencyCode
7464
+
7465
+ def initialize(title=nil, qrcodemark=nil, code=nil, number=nil, username=nil, date=nil, time=nil, stationgeton=nil, stationgetoff=nil, total=nil, kind=nil, province=nil, city=nil, currencycode=nil)
7466
+ @Title = title
7467
+ @QRCodeMark = qrcodemark
7468
+ @Code = code
7469
+ @Number = number
7470
+ @UserName = username
7471
+ @Date = date
7472
+ @Time = time
7473
+ @StationGetOn = stationgeton
7474
+ @StationGetOff = stationgetoff
7475
+ @Total = total
7476
+ @Kind = kind
7477
+ @Province = province
7478
+ @City = city
7479
+ @CurrencyCode = currencycode
7480
+ end
7481
+
7482
+ def deserialize(params)
7483
+ @Title = params['Title']
7484
+ @QRCodeMark = params['QRCodeMark']
7485
+ @Code = params['Code']
7486
+ @Number = params['Number']
7487
+ @UserName = params['UserName']
7488
+ @Date = params['Date']
7489
+ @Time = params['Time']
7490
+ @StationGetOn = params['StationGetOn']
7491
+ @StationGetOff = params['StationGetOff']
7492
+ @Total = params['Total']
7493
+ @Kind = params['Kind']
7494
+ @Province = params['Province']
7495
+ @City = params['City']
7496
+ @CurrencyCode = params['CurrencyCode']
7497
+ end
7498
+ end
7499
+
6314
7500
  # 混贴票据中单张发票的内容
6315
7501
  class SingleInvoiceInfo < TencentCloud::Common::AbstractModel
6316
7502
  # @param Name: 识别出的字段名称
@@ -6335,7 +7521,195 @@ module TencentCloud
6335
7521
  end
6336
7522
  end
6337
7523
 
6338
- # 智慧表单上传文件信息
7524
+ # 混贴票据中单张发票的内容
7525
+ class SingleInvoiceItem < TencentCloud::Common::AbstractModel
7526
+ # @param VatSpecialInvoice: 增值税专用发票
7527
+ # 注意:此字段可能返回 null,表示取不到有效值。
7528
+ # @type VatSpecialInvoice: :class:`Tencentcloud::Ocr.v20181119.models.VatInvoiceInfo`
7529
+ # @param VatCommonInvoice: 增值税普通发票
7530
+ # 注意:此字段可能返回 null,表示取不到有效值。
7531
+ # @type VatCommonInvoice: :class:`Tencentcloud::Ocr.v20181119.models.VatInvoiceInfo`
7532
+ # @param VatElectronicCommonInvoice: 增值税电子普通发票
7533
+ # 注意:此字段可能返回 null,表示取不到有效值。
7534
+ # @type VatElectronicCommonInvoice: :class:`Tencentcloud::Ocr.v20181119.models.VatInvoiceInfo`
7535
+ # @param VatElectronicSpecialInvoice: 增值税电子专用发票
7536
+ # 注意:此字段可能返回 null,表示取不到有效值。
7537
+ # @type VatElectronicSpecialInvoice: :class:`Tencentcloud::Ocr.v20181119.models.VatInvoiceInfo`
7538
+ # @param VatElectronicInvoiceBlockchain: 区块链电子发票
7539
+ # 注意:此字段可能返回 null,表示取不到有效值。
7540
+ # @type VatElectronicInvoiceBlockchain: :class:`Tencentcloud::Ocr.v20181119.models.VatInvoiceInfo`
7541
+ # @param VatElectronicInvoiceToll: 增值税电子普通发票(通行费)
7542
+ # 注意:此字段可能返回 null,表示取不到有效值。
7543
+ # @type VatElectronicInvoiceToll: :class:`Tencentcloud::Ocr.v20181119.models.VatInvoiceInfo`
7544
+ # @param VatElectronicSpecialInvoiceFull: 电子发票(专用发票)
7545
+ # 注意:此字段可能返回 null,表示取不到有效值。
7546
+ # @type VatElectronicSpecialInvoiceFull: :class:`Tencentcloud::Ocr.v20181119.models.VatElectronicInfo`
7547
+ # @param VatElectronicInvoiceFull: 电子发票(普通发票)
7548
+ # 注意:此字段可能返回 null,表示取不到有效值。
7549
+ # @type VatElectronicInvoiceFull: :class:`Tencentcloud::Ocr.v20181119.models.VatElectronicInfo`
7550
+ # @param MachinePrintedInvoice: 通用机打发票
7551
+ # 注意:此字段可能返回 null,表示取不到有效值。
7552
+ # @type MachinePrintedInvoice: :class:`Tencentcloud::Ocr.v20181119.models.MachinePrintedInvoice`
7553
+ # @param BusInvoice: 汽车票
7554
+ # 注意:此字段可能返回 null,表示取不到有效值。
7555
+ # @type BusInvoice: :class:`Tencentcloud::Ocr.v20181119.models.BusInvoice`
7556
+ # @param ShippingInvoice: 轮船票
7557
+ # 注意:此字段可能返回 null,表示取不到有效值。
7558
+ # @type ShippingInvoice: :class:`Tencentcloud::Ocr.v20181119.models.ShippingInvoice`
7559
+ # @param TollInvoice: 过路过桥费发票
7560
+ # 注意:此字段可能返回 null,表示取不到有效值。
7561
+ # @type TollInvoice: :class:`Tencentcloud::Ocr.v20181119.models.TollInvoice`
7562
+ # @param OtherInvoice: 其他发票
7563
+ # 注意:此字段可能返回 null,表示取不到有效值。
7564
+ # @type OtherInvoice: :class:`Tencentcloud::Ocr.v20181119.models.OtherInvoice`
7565
+ # @param MotorVehicleSaleInvoice: 机动车销售统一发票
7566
+ # 注意:此字段可能返回 null,表示取不到有效值。
7567
+ # @type MotorVehicleSaleInvoice: :class:`Tencentcloud::Ocr.v20181119.models.MotorVehicleSaleInvoice`
7568
+ # @param UsedCarPurchaseInvoice: 二手车销售统一发票
7569
+ # 注意:此字段可能返回 null,表示取不到有效值。
7570
+ # @type UsedCarPurchaseInvoice: :class:`Tencentcloud::Ocr.v20181119.models.UsedCarPurchaseInvoice`
7571
+ # @param VatInvoiceRoll: 增值税普通发票(卷票)
7572
+ # 注意:此字段可能返回 null,表示取不到有效值。
7573
+ # @type VatInvoiceRoll: :class:`Tencentcloud::Ocr.v20181119.models.VatInvoiceRoll`
7574
+ # @param TaxiTicket: 出租车发票
7575
+ # 注意:此字段可能返回 null,表示取不到有效值。
7576
+ # @type TaxiTicket: :class:`Tencentcloud::Ocr.v20181119.models.TaxiTicket`
7577
+ # @param QuotaInvoice: 定额发票
7578
+ # 注意:此字段可能返回 null,表示取不到有效值。
7579
+ # @type QuotaInvoice: :class:`Tencentcloud::Ocr.v20181119.models.QuotaInvoice`
7580
+ # @param AirTransport: 机票行程单
7581
+ # 注意:此字段可能返回 null,表示取不到有效值。
7582
+ # @type AirTransport: :class:`Tencentcloud::Ocr.v20181119.models.AirTransport`
7583
+ # @param NonTaxIncomeGeneralBill: 非税收入通用票据
7584
+ # 注意:此字段可能返回 null,表示取不到有效值。
7585
+ # @type NonTaxIncomeGeneralBill: :class:`Tencentcloud::Ocr.v20181119.models.NonTaxIncomeBill`
7586
+ # @param NonTaxIncomeElectronicBill: 非税收入一般缴款书(电子)
7587
+ # 注意:此字段可能返回 null,表示取不到有效值。
7588
+ # @type NonTaxIncomeElectronicBill: :class:`Tencentcloud::Ocr.v20181119.models.NonTaxIncomeBill`
7589
+ # @param TrainTicket: 火车票
7590
+ # 注意:此字段可能返回 null,表示取不到有效值。
7591
+ # @type TrainTicket: :class:`Tencentcloud::Ocr.v20181119.models.TrainTicket`
7592
+
7593
+ attr_accessor :VatSpecialInvoice, :VatCommonInvoice, :VatElectronicCommonInvoice, :VatElectronicSpecialInvoice, :VatElectronicInvoiceBlockchain, :VatElectronicInvoiceToll, :VatElectronicSpecialInvoiceFull, :VatElectronicInvoiceFull, :MachinePrintedInvoice, :BusInvoice, :ShippingInvoice, :TollInvoice, :OtherInvoice, :MotorVehicleSaleInvoice, :UsedCarPurchaseInvoice, :VatInvoiceRoll, :TaxiTicket, :QuotaInvoice, :AirTransport, :NonTaxIncomeGeneralBill, :NonTaxIncomeElectronicBill, :TrainTicket
7594
+
7595
+ 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)
7596
+ @VatSpecialInvoice = vatspecialinvoice
7597
+ @VatCommonInvoice = vatcommoninvoice
7598
+ @VatElectronicCommonInvoice = vatelectroniccommoninvoice
7599
+ @VatElectronicSpecialInvoice = vatelectronicspecialinvoice
7600
+ @VatElectronicInvoiceBlockchain = vatelectronicinvoiceblockchain
7601
+ @VatElectronicInvoiceToll = vatelectronicinvoicetoll
7602
+ @VatElectronicSpecialInvoiceFull = vatelectronicspecialinvoicefull
7603
+ @VatElectronicInvoiceFull = vatelectronicinvoicefull
7604
+ @MachinePrintedInvoice = machineprintedinvoice
7605
+ @BusInvoice = businvoice
7606
+ @ShippingInvoice = shippinginvoice
7607
+ @TollInvoice = tollinvoice
7608
+ @OtherInvoice = otherinvoice
7609
+ @MotorVehicleSaleInvoice = motorvehiclesaleinvoice
7610
+ @UsedCarPurchaseInvoice = usedcarpurchaseinvoice
7611
+ @VatInvoiceRoll = vatinvoiceroll
7612
+ @TaxiTicket = taxiticket
7613
+ @QuotaInvoice = quotainvoice
7614
+ @AirTransport = airtransport
7615
+ @NonTaxIncomeGeneralBill = nontaxincomegeneralbill
7616
+ @NonTaxIncomeElectronicBill = nontaxincomeelectronicbill
7617
+ @TrainTicket = trainticket
7618
+ end
7619
+
7620
+ def deserialize(params)
7621
+ unless params['VatSpecialInvoice'].nil?
7622
+ @VatSpecialInvoice = VatInvoiceInfo.new
7623
+ @VatSpecialInvoice.deserialize(params['VatSpecialInvoice'])
7624
+ end
7625
+ unless params['VatCommonInvoice'].nil?
7626
+ @VatCommonInvoice = VatInvoiceInfo.new
7627
+ @VatCommonInvoice.deserialize(params['VatCommonInvoice'])
7628
+ end
7629
+ unless params['VatElectronicCommonInvoice'].nil?
7630
+ @VatElectronicCommonInvoice = VatInvoiceInfo.new
7631
+ @VatElectronicCommonInvoice.deserialize(params['VatElectronicCommonInvoice'])
7632
+ end
7633
+ unless params['VatElectronicSpecialInvoice'].nil?
7634
+ @VatElectronicSpecialInvoice = VatInvoiceInfo.new
7635
+ @VatElectronicSpecialInvoice.deserialize(params['VatElectronicSpecialInvoice'])
7636
+ end
7637
+ unless params['VatElectronicInvoiceBlockchain'].nil?
7638
+ @VatElectronicInvoiceBlockchain = VatInvoiceInfo.new
7639
+ @VatElectronicInvoiceBlockchain.deserialize(params['VatElectronicInvoiceBlockchain'])
7640
+ end
7641
+ unless params['VatElectronicInvoiceToll'].nil?
7642
+ @VatElectronicInvoiceToll = VatInvoiceInfo.new
7643
+ @VatElectronicInvoiceToll.deserialize(params['VatElectronicInvoiceToll'])
7644
+ end
7645
+ unless params['VatElectronicSpecialInvoiceFull'].nil?
7646
+ @VatElectronicSpecialInvoiceFull = VatElectronicInfo.new
7647
+ @VatElectronicSpecialInvoiceFull.deserialize(params['VatElectronicSpecialInvoiceFull'])
7648
+ end
7649
+ unless params['VatElectronicInvoiceFull'].nil?
7650
+ @VatElectronicInvoiceFull = VatElectronicInfo.new
7651
+ @VatElectronicInvoiceFull.deserialize(params['VatElectronicInvoiceFull'])
7652
+ end
7653
+ unless params['MachinePrintedInvoice'].nil?
7654
+ @MachinePrintedInvoice = MachinePrintedInvoice.new
7655
+ @MachinePrintedInvoice.deserialize(params['MachinePrintedInvoice'])
7656
+ end
7657
+ unless params['BusInvoice'].nil?
7658
+ @BusInvoice = BusInvoice.new
7659
+ @BusInvoice.deserialize(params['BusInvoice'])
7660
+ end
7661
+ unless params['ShippingInvoice'].nil?
7662
+ @ShippingInvoice = ShippingInvoice.new
7663
+ @ShippingInvoice.deserialize(params['ShippingInvoice'])
7664
+ end
7665
+ unless params['TollInvoice'].nil?
7666
+ @TollInvoice = TollInvoice.new
7667
+ @TollInvoice.deserialize(params['TollInvoice'])
7668
+ end
7669
+ unless params['OtherInvoice'].nil?
7670
+ @OtherInvoice = OtherInvoice.new
7671
+ @OtherInvoice.deserialize(params['OtherInvoice'])
7672
+ end
7673
+ unless params['MotorVehicleSaleInvoice'].nil?
7674
+ @MotorVehicleSaleInvoice = MotorVehicleSaleInvoice.new
7675
+ @MotorVehicleSaleInvoice.deserialize(params['MotorVehicleSaleInvoice'])
7676
+ end
7677
+ unless params['UsedCarPurchaseInvoice'].nil?
7678
+ @UsedCarPurchaseInvoice = UsedCarPurchaseInvoice.new
7679
+ @UsedCarPurchaseInvoice.deserialize(params['UsedCarPurchaseInvoice'])
7680
+ end
7681
+ unless params['VatInvoiceRoll'].nil?
7682
+ @VatInvoiceRoll = VatInvoiceRoll.new
7683
+ @VatInvoiceRoll.deserialize(params['VatInvoiceRoll'])
7684
+ end
7685
+ unless params['TaxiTicket'].nil?
7686
+ @TaxiTicket = TaxiTicket.new
7687
+ @TaxiTicket.deserialize(params['TaxiTicket'])
7688
+ end
7689
+ unless params['QuotaInvoice'].nil?
7690
+ @QuotaInvoice = QuotaInvoice.new
7691
+ @QuotaInvoice.deserialize(params['QuotaInvoice'])
7692
+ end
7693
+ unless params['AirTransport'].nil?
7694
+ @AirTransport = AirTransport.new
7695
+ @AirTransport.deserialize(params['AirTransport'])
7696
+ end
7697
+ unless params['NonTaxIncomeGeneralBill'].nil?
7698
+ @NonTaxIncomeGeneralBill = NonTaxIncomeBill.new
7699
+ @NonTaxIncomeGeneralBill.deserialize(params['NonTaxIncomeGeneralBill'])
7700
+ end
7701
+ unless params['NonTaxIncomeElectronicBill'].nil?
7702
+ @NonTaxIncomeElectronicBill = NonTaxIncomeBill.new
7703
+ @NonTaxIncomeElectronicBill.deserialize(params['NonTaxIncomeElectronicBill'])
7704
+ end
7705
+ unless params['TrainTicket'].nil?
7706
+ @TrainTicket = TrainTicket.new
7707
+ @TrainTicket.deserialize(params['TrainTicket'])
7708
+ end
7709
+ end
7710
+ end
7711
+
7712
+ # 智慧表单上传文件信息
6339
7713
  class SmartFormFileUrl < TencentCloud::Common::AbstractModel
6340
7714
  # @param FileUrl: 文件url地址
6341
7715
  # @type FileUrl: String
@@ -6949,6 +8323,90 @@ module TencentCloud
6949
8323
  end
6950
8324
  end
6951
8325
 
8326
+ # 出租车发票
8327
+ class TaxiTicket < TencentCloud::Common::AbstractModel
8328
+ # @param Title: 发票名称
8329
+ # @type Title: String
8330
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
8331
+ # @type QRCodeMark: Integer
8332
+ # @param Code: 发票代码
8333
+ # @type Code: String
8334
+ # @param Number: 发票号码
8335
+ # @type Number: String
8336
+ # @param Date: 开票日期
8337
+ # @type Date: String
8338
+ # @param TimeGetOn: 上车时间
8339
+ # @type TimeGetOn: String
8340
+ # @param TimeGetOff: 下车时间
8341
+ # @type TimeGetOff: String
8342
+ # @param Price: 单价
8343
+ # @type Price: String
8344
+ # @param Mileage: 里程
8345
+ # @type Mileage: String
8346
+ # @param Total: 总金额
8347
+ # @type Total: String
8348
+ # @param Place: 发票所在地
8349
+ # @type Place: String
8350
+ # @param Province: 省
8351
+ # @type Province: String
8352
+ # @param City: 市
8353
+ # @type City: String
8354
+ # @param Kind: 发票消费类型
8355
+ # @type Kind: String
8356
+ # @param LicensePlate: 车牌号
8357
+ # @type LicensePlate: String
8358
+ # @param FuelFee: 燃油附加费
8359
+ # @type FuelFee: String
8360
+ # @param BookingCallFee: 预约叫车服务费
8361
+ # @type BookingCallFee: String
8362
+ # @param CompanySealMark: 是否有公司印章(0:没有,1:有)
8363
+ # @type CompanySealMark: Integer
8364
+
8365
+ attr_accessor :Title, :QRCodeMark, :Code, :Number, :Date, :TimeGetOn, :TimeGetOff, :Price, :Mileage, :Total, :Place, :Province, :City, :Kind, :LicensePlate, :FuelFee, :BookingCallFee, :CompanySealMark
8366
+
8367
+ def initialize(title=nil, qrcodemark=nil, code=nil, number=nil, date=nil, timegeton=nil, timegetoff=nil, price=nil, mileage=nil, total=nil, place=nil, province=nil, city=nil, kind=nil, licenseplate=nil, fuelfee=nil, bookingcallfee=nil, companysealmark=nil)
8368
+ @Title = title
8369
+ @QRCodeMark = qrcodemark
8370
+ @Code = code
8371
+ @Number = number
8372
+ @Date = date
8373
+ @TimeGetOn = timegeton
8374
+ @TimeGetOff = timegetoff
8375
+ @Price = price
8376
+ @Mileage = mileage
8377
+ @Total = total
8378
+ @Place = place
8379
+ @Province = province
8380
+ @City = city
8381
+ @Kind = kind
8382
+ @LicensePlate = licenseplate
8383
+ @FuelFee = fuelfee
8384
+ @BookingCallFee = bookingcallfee
8385
+ @CompanySealMark = companysealmark
8386
+ end
8387
+
8388
+ def deserialize(params)
8389
+ @Title = params['Title']
8390
+ @QRCodeMark = params['QRCodeMark']
8391
+ @Code = params['Code']
8392
+ @Number = params['Number']
8393
+ @Date = params['Date']
8394
+ @TimeGetOn = params['TimeGetOn']
8395
+ @TimeGetOff = params['TimeGetOff']
8396
+ @Price = params['Price']
8397
+ @Mileage = params['Mileage']
8398
+ @Total = params['Total']
8399
+ @Place = params['Place']
8400
+ @Province = params['Province']
8401
+ @City = params['City']
8402
+ @Kind = params['Kind']
8403
+ @LicensePlate = params['LicensePlate']
8404
+ @FuelFee = params['FuelFee']
8405
+ @BookingCallFee = params['BookingCallFee']
8406
+ @CompanySealMark = params['CompanySealMark']
8407
+ end
8408
+ end
8409
+
6952
8410
  # 算式识别结果
6953
8411
  class TextArithmetic < TencentCloud::Common::AbstractModel
6954
8412
  # @param DetectedText: 识别出的文本行内容
@@ -7591,6 +9049,62 @@ module TencentCloud
7591
9049
  end
7592
9050
  end
7593
9051
 
9052
+ # 过路过桥费发票
9053
+ class TollInvoice < TencentCloud::Common::AbstractModel
9054
+ # @param Title: 发票名称
9055
+ # @type Title: String
9056
+ # @param Code: 发票代码
9057
+ # @type Code: String
9058
+ # @param Number: 发票号码
9059
+ # @type Number: String
9060
+ # @param Total: 价税合计(小写)
9061
+ # @type Total: String
9062
+ # @param Kind: 发票消费类型
9063
+ # @type Kind: String
9064
+ # @param Date: 日期
9065
+ # @type Date: String
9066
+ # @param Time: 时间
9067
+ # @type Time: String
9068
+ # @param Entrance: 入口
9069
+ # @type Entrance: String
9070
+ # @param Exit: 出口
9071
+ # @type Exit: String
9072
+ # @param HighwayMark: 高速标志(0:没有,1:有)
9073
+ # @type HighwayMark: Integer
9074
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
9075
+ # @type QRCodeMark: Integer
9076
+
9077
+ attr_accessor :Title, :Code, :Number, :Total, :Kind, :Date, :Time, :Entrance, :Exit, :HighwayMark, :QRCodeMark
9078
+
9079
+ def initialize(title=nil, code=nil, number=nil, total=nil, kind=nil, date=nil, time=nil, entrance=nil, exit=nil, highwaymark=nil, qrcodemark=nil)
9080
+ @Title = title
9081
+ @Code = code
9082
+ @Number = number
9083
+ @Total = total
9084
+ @Kind = kind
9085
+ @Date = date
9086
+ @Time = time
9087
+ @Entrance = entrance
9088
+ @Exit = exit
9089
+ @HighwayMark = highwaymark
9090
+ @QRCodeMark = qrcodemark
9091
+ end
9092
+
9093
+ def deserialize(params)
9094
+ @Title = params['Title']
9095
+ @Code = params['Code']
9096
+ @Number = params['Number']
9097
+ @Total = params['Total']
9098
+ @Kind = params['Kind']
9099
+ @Date = params['Date']
9100
+ @Time = params['Time']
9101
+ @Entrance = params['Entrance']
9102
+ @Exit = params['Exit']
9103
+ @HighwayMark = params['HighwayMark']
9104
+ @QRCodeMark = params['QRCodeMark']
9105
+ end
9106
+ end
9107
+
7594
9108
  # 过路过桥费字段信息
7595
9109
  class TollInvoiceInfo < TencentCloud::Common::AbstractModel
7596
9110
  # @param Name: 识别出的字段名称(关键字)。支持以下字段的识别:
@@ -7685,6 +9199,114 @@ module TencentCloud
7685
9199
  end
7686
9200
  end
7687
9201
 
9202
+ # 火车票
9203
+ class TrainTicket < TencentCloud::Common::AbstractModel
9204
+ # @param Title: 发票名称
9205
+ # @type Title: String
9206
+ # @param Number: 发票号码
9207
+ # @type Number: String
9208
+ # @param DateGetOn: 乘车日期
9209
+ # @type DateGetOn: String
9210
+ # @param TimeGetOn: 乘车时间
9211
+ # @type TimeGetOn: String
9212
+ # @param Name: 乘车人姓名
9213
+ # @type Name: String
9214
+ # @param StationGetOn: 出发车站
9215
+ # @type StationGetOn: String
9216
+ # @param StationGetOff: 到达车站
9217
+ # @type StationGetOff: String
9218
+ # @param Seat: 座位类型
9219
+ # @type Seat: String
9220
+ # @param Total: 总金额
9221
+ # @type Total: String
9222
+ # @param Kind: 发票消费类型
9223
+ # @type Kind: String
9224
+ # @param SerialNumber: 序列号
9225
+ # @type SerialNumber: String
9226
+ # @param UserID: 身份证号
9227
+ # @type UserID: String
9228
+ # @param GateNumber: 检票口
9229
+ # @type GateNumber: String
9230
+ # @param TrainNumber: 车次
9231
+ # @type TrainNumber: String
9232
+ # @param HandlingFee: 手续费
9233
+ # @type HandlingFee: String
9234
+ # @param OriginalFare: 原票价
9235
+ # @type OriginalFare: String
9236
+ # @param TotalCn: 大写金额
9237
+ # @type TotalCn: String
9238
+ # @param SeatNumber: 座位号
9239
+ # @type SeatNumber: String
9240
+ # @param PickUpAddress: 取票地址
9241
+ # @type PickUpAddress: String
9242
+ # @param TicketChange: 是否始发改签
9243
+ # @type TicketChange: String
9244
+ # @param AdditionalFare: 加收票价
9245
+ # @type AdditionalFare: String
9246
+ # @param ReceiptNumber: 收据号码
9247
+ # @type ReceiptNumber: String
9248
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
9249
+ # @type QRCodeMark: Integer
9250
+ # @param ReimburseOnlyMark: 是否仅供报销使用(0:没有,1:有)
9251
+ # @type ReimburseOnlyMark: Integer
9252
+
9253
+ attr_accessor :Title, :Number, :DateGetOn, :TimeGetOn, :Name, :StationGetOn, :StationGetOff, :Seat, :Total, :Kind, :SerialNumber, :UserID, :GateNumber, :TrainNumber, :HandlingFee, :OriginalFare, :TotalCn, :SeatNumber, :PickUpAddress, :TicketChange, :AdditionalFare, :ReceiptNumber, :QRCodeMark, :ReimburseOnlyMark
9254
+
9255
+ def initialize(title=nil, number=nil, dategeton=nil, timegeton=nil, name=nil, stationgeton=nil, stationgetoff=nil, seat=nil, total=nil, kind=nil, serialnumber=nil, userid=nil, gatenumber=nil, trainnumber=nil, handlingfee=nil, originalfare=nil, totalcn=nil, seatnumber=nil, pickupaddress=nil, ticketchange=nil, additionalfare=nil, receiptnumber=nil, qrcodemark=nil, reimburseonlymark=nil)
9256
+ @Title = title
9257
+ @Number = number
9258
+ @DateGetOn = dategeton
9259
+ @TimeGetOn = timegeton
9260
+ @Name = name
9261
+ @StationGetOn = stationgeton
9262
+ @StationGetOff = stationgetoff
9263
+ @Seat = seat
9264
+ @Total = total
9265
+ @Kind = kind
9266
+ @SerialNumber = serialnumber
9267
+ @UserID = userid
9268
+ @GateNumber = gatenumber
9269
+ @TrainNumber = trainnumber
9270
+ @HandlingFee = handlingfee
9271
+ @OriginalFare = originalfare
9272
+ @TotalCn = totalcn
9273
+ @SeatNumber = seatnumber
9274
+ @PickUpAddress = pickupaddress
9275
+ @TicketChange = ticketchange
9276
+ @AdditionalFare = additionalfare
9277
+ @ReceiptNumber = receiptnumber
9278
+ @QRCodeMark = qrcodemark
9279
+ @ReimburseOnlyMark = reimburseonlymark
9280
+ end
9281
+
9282
+ def deserialize(params)
9283
+ @Title = params['Title']
9284
+ @Number = params['Number']
9285
+ @DateGetOn = params['DateGetOn']
9286
+ @TimeGetOn = params['TimeGetOn']
9287
+ @Name = params['Name']
9288
+ @StationGetOn = params['StationGetOn']
9289
+ @StationGetOff = params['StationGetOff']
9290
+ @Seat = params['Seat']
9291
+ @Total = params['Total']
9292
+ @Kind = params['Kind']
9293
+ @SerialNumber = params['SerialNumber']
9294
+ @UserID = params['UserID']
9295
+ @GateNumber = params['GateNumber']
9296
+ @TrainNumber = params['TrainNumber']
9297
+ @HandlingFee = params['HandlingFee']
9298
+ @OriginalFare = params['OriginalFare']
9299
+ @TotalCn = params['TotalCn']
9300
+ @SeatNumber = params['SeatNumber']
9301
+ @PickUpAddress = params['PickUpAddress']
9302
+ @TicketChange = params['TicketChange']
9303
+ @AdditionalFare = params['AdditionalFare']
9304
+ @ReceiptNumber = params['ReceiptNumber']
9305
+ @QRCodeMark = params['QRCodeMark']
9306
+ @ReimburseOnlyMark = params['ReimburseOnlyMark']
9307
+ end
9308
+ end
9309
+
7688
9310
  # TrainTicketOCR请求参数结构体
7689
9311
  class TrainTicketOCRRequest < TencentCloud::Common::AbstractModel
7690
9312
  # @param ImageBase64: 图片的 Base64 值。
@@ -7816,6 +9438,150 @@ module TencentCloud
7816
9438
  end
7817
9439
  end
7818
9440
 
9441
+ # 二手车销售统一发票
9442
+ class UsedCarPurchaseInvoice < TencentCloud::Common::AbstractModel
9443
+ # @param Title: 发票名称
9444
+ # @type Title: String
9445
+ # @param QRCodeMark: 是否存在二维码(0:没有,1:有)
9446
+ # @type QRCodeMark: Integer
9447
+ # @param Code: 发票代码
9448
+ # @type Code: String
9449
+ # @param Number: 发票号码
9450
+ # @type Number: String
9451
+ # @param Date: 开票日期
9452
+ # @type Date: String
9453
+ # @param Total: 价税合计(小写)
9454
+ # @type Total: String
9455
+ # @param TotalCn: 价税合计(大写)
9456
+ # @type TotalCn: String
9457
+ # @param Seller: 销货单位名称
9458
+ # @type Seller: String
9459
+ # @param SellerTel: 销售方电话
9460
+ # @type SellerTel: String
9461
+ # @param SellerTaxID: 销售方单位代码/个人身份证号
9462
+ # @type SellerTaxID: String
9463
+ # @param SellerAddress: 销售方地址
9464
+ # @type SellerAddress: String
9465
+ # @param Buyer: 购买方名称
9466
+ # @type Buyer: String
9467
+ # @param BuyerID: 购买方单位代码/个人身份证号
9468
+ # @type BuyerID: String
9469
+ # @param BuyerAddress: 购买方地址
9470
+ # @type BuyerAddress: String
9471
+ # @param BuyerTel: 购买方电话
9472
+ # @type BuyerTel: String
9473
+ # @param CompanyName: 二手车市场
9474
+ # @type CompanyName: String
9475
+ # @param CompanyTaxID: 二手车市场纳税人识别号
9476
+ # @type CompanyTaxID: String
9477
+ # @param CompanyBankAccount: 二手车市场开户银行和账号
9478
+ # @type CompanyBankAccount: String
9479
+ # @param CompanyTel: 二手车市场电话
9480
+ # @type CompanyTel: String
9481
+ # @param CompanyAddress: 二手车市场地址
9482
+ # @type CompanyAddress: String
9483
+ # @param TransferAdministrationName: 转入地车辆管理所名称
9484
+ # @type TransferAdministrationName: String
9485
+ # @param LicensePlate: 车牌号
9486
+ # @type LicensePlate: String
9487
+ # @param RegistrationNumber: 登记证号
9488
+ # @type RegistrationNumber: String
9489
+ # @param VIN: 车辆识别代码
9490
+ # @type VIN: String
9491
+ # @param VehicleModel: 厂牌型号
9492
+ # @type VehicleModel: String
9493
+ # @param Kind: 发票消费类型
9494
+ # @type Kind: String
9495
+ # @param Province: 省
9496
+ # @type Province: String
9497
+ # @param City: 市
9498
+ # @type City: String
9499
+ # @param VehicleType: 车辆类型
9500
+ # @type VehicleType: String
9501
+ # @param Remark: 备注
9502
+ # @type Remark: String
9503
+ # @param FormType: 发票联次
9504
+ # @type FormType: String
9505
+ # @param FormName: 发票联名
9506
+ # @type FormName: String
9507
+ # @param CompanySealMark: 是否有公司印章(0:没有,1:有)
9508
+ # @type CompanySealMark: Integer
9509
+
9510
+ attr_accessor :Title, :QRCodeMark, :Code, :Number, :Date, :Total, :TotalCn, :Seller, :SellerTel, :SellerTaxID, :SellerAddress, :Buyer, :BuyerID, :BuyerAddress, :BuyerTel, :CompanyName, :CompanyTaxID, :CompanyBankAccount, :CompanyTel, :CompanyAddress, :TransferAdministrationName, :LicensePlate, :RegistrationNumber, :VIN, :VehicleModel, :Kind, :Province, :City, :VehicleType, :Remark, :FormType, :FormName, :CompanySealMark
9511
+
9512
+ def initialize(title=nil, qrcodemark=nil, code=nil, number=nil, date=nil, total=nil, totalcn=nil, seller=nil, sellertel=nil, sellertaxid=nil, selleraddress=nil, buyer=nil, buyerid=nil, buyeraddress=nil, buyertel=nil, companyname=nil, companytaxid=nil, companybankaccount=nil, companytel=nil, companyaddress=nil, transferadministrationname=nil, licenseplate=nil, registrationnumber=nil, vin=nil, vehiclemodel=nil, kind=nil, province=nil, city=nil, vehicletype=nil, remark=nil, formtype=nil, formname=nil, companysealmark=nil)
9513
+ @Title = title
9514
+ @QRCodeMark = qrcodemark
9515
+ @Code = code
9516
+ @Number = number
9517
+ @Date = date
9518
+ @Total = total
9519
+ @TotalCn = totalcn
9520
+ @Seller = seller
9521
+ @SellerTel = sellertel
9522
+ @SellerTaxID = sellertaxid
9523
+ @SellerAddress = selleraddress
9524
+ @Buyer = buyer
9525
+ @BuyerID = buyerid
9526
+ @BuyerAddress = buyeraddress
9527
+ @BuyerTel = buyertel
9528
+ @CompanyName = companyname
9529
+ @CompanyTaxID = companytaxid
9530
+ @CompanyBankAccount = companybankaccount
9531
+ @CompanyTel = companytel
9532
+ @CompanyAddress = companyaddress
9533
+ @TransferAdministrationName = transferadministrationname
9534
+ @LicensePlate = licenseplate
9535
+ @RegistrationNumber = registrationnumber
9536
+ @VIN = vin
9537
+ @VehicleModel = vehiclemodel
9538
+ @Kind = kind
9539
+ @Province = province
9540
+ @City = city
9541
+ @VehicleType = vehicletype
9542
+ @Remark = remark
9543
+ @FormType = formtype
9544
+ @FormName = formname
9545
+ @CompanySealMark = companysealmark
9546
+ end
9547
+
9548
+ def deserialize(params)
9549
+ @Title = params['Title']
9550
+ @QRCodeMark = params['QRCodeMark']
9551
+ @Code = params['Code']
9552
+ @Number = params['Number']
9553
+ @Date = params['Date']
9554
+ @Total = params['Total']
9555
+ @TotalCn = params['TotalCn']
9556
+ @Seller = params['Seller']
9557
+ @SellerTel = params['SellerTel']
9558
+ @SellerTaxID = params['SellerTaxID']
9559
+ @SellerAddress = params['SellerAddress']
9560
+ @Buyer = params['Buyer']
9561
+ @BuyerID = params['BuyerID']
9562
+ @BuyerAddress = params['BuyerAddress']
9563
+ @BuyerTel = params['BuyerTel']
9564
+ @CompanyName = params['CompanyName']
9565
+ @CompanyTaxID = params['CompanyTaxID']
9566
+ @CompanyBankAccount = params['CompanyBankAccount']
9567
+ @CompanyTel = params['CompanyTel']
9568
+ @CompanyAddress = params['CompanyAddress']
9569
+ @TransferAdministrationName = params['TransferAdministrationName']
9570
+ @LicensePlate = params['LicensePlate']
9571
+ @RegistrationNumber = params['RegistrationNumber']
9572
+ @VIN = params['VIN']
9573
+ @VehicleModel = params['VehicleModel']
9574
+ @Kind = params['Kind']
9575
+ @Province = params['Province']
9576
+ @City = params['City']
9577
+ @VehicleType = params['VehicleType']
9578
+ @Remark = params['Remark']
9579
+ @FormType = params['FormType']
9580
+ @FormName = params['FormName']
9581
+ @CompanySealMark = params['CompanySealMark']
9582
+ end
9583
+ end
9584
+
7819
9585
  # 二手车销售统一发票信息
7820
9586
  class UsedVehicleInvoiceInfo < TencentCloud::Common::AbstractModel
7821
9587
  # @param TaxBureau: 所属税局
@@ -7948,6 +9714,169 @@ module TencentCloud
7948
9714
  end
7949
9715
  end
7950
9716
 
9717
+ # 电子发票返回值
9718
+ class VatElectronicInfo < TencentCloud::Common::AbstractModel
9719
+ # @param Title: 发票名称
9720
+ # @type Title: String
9721
+ # @param Number: 发票号码
9722
+ # @type Number: String
9723
+ # @param Date: 开票日期
9724
+ # @type Date: String
9725
+ # @param PretaxAmount: 税前金额
9726
+ # @type PretaxAmount: String
9727
+ # @param Tax: 合计税额
9728
+ # @type Tax: String
9729
+ # @param Total: 价税合计(小写)
9730
+ # @type Total: String
9731
+ # @param TotalCn: 价税合计(大写)
9732
+ # @type TotalCn: String
9733
+ # @param Seller: 销售方名称
9734
+ # @type Seller: String
9735
+ # @param SellerTaxID: 销售方纳税人识别号
9736
+ # @type SellerTaxID: String
9737
+ # @param Buyer: 购买方名称
9738
+ # @type Buyer: String
9739
+ # @param BuyerTaxID: 购买方纳税人识别号
9740
+ # @type BuyerTaxID: String
9741
+ # @param Issuer: 开票人
9742
+ # @type Issuer: String
9743
+ # @param Remark: 备注
9744
+ # @type Remark: String
9745
+ # @param SubTotal: 小计金额
9746
+ # @type SubTotal: String
9747
+ # @param SubTax: 小计税额
9748
+ # @type SubTax: String
9749
+ # @param VatElectronicItems: 电子发票详细条目信息
9750
+ # @type VatElectronicItems: Array
9751
+
9752
+ attr_accessor :Title, :Number, :Date, :PretaxAmount, :Tax, :Total, :TotalCn, :Seller, :SellerTaxID, :Buyer, :BuyerTaxID, :Issuer, :Remark, :SubTotal, :SubTax, :VatElectronicItems
9753
+
9754
+ def initialize(title=nil, number=nil, date=nil, pretaxamount=nil, tax=nil, total=nil, totalcn=nil, seller=nil, sellertaxid=nil, buyer=nil, buyertaxid=nil, issuer=nil, remark=nil, subtotal=nil, subtax=nil, vatelectronicitems=nil)
9755
+ @Title = title
9756
+ @Number = number
9757
+ @Date = date
9758
+ @PretaxAmount = pretaxamount
9759
+ @Tax = tax
9760
+ @Total = total
9761
+ @TotalCn = totalcn
9762
+ @Seller = seller
9763
+ @SellerTaxID = sellertaxid
9764
+ @Buyer = buyer
9765
+ @BuyerTaxID = buyertaxid
9766
+ @Issuer = issuer
9767
+ @Remark = remark
9768
+ @SubTotal = subtotal
9769
+ @SubTax = subtax
9770
+ @VatElectronicItems = vatelectronicitems
9771
+ end
9772
+
9773
+ def deserialize(params)
9774
+ @Title = params['Title']
9775
+ @Number = params['Number']
9776
+ @Date = params['Date']
9777
+ @PretaxAmount = params['PretaxAmount']
9778
+ @Tax = params['Tax']
9779
+ @Total = params['Total']
9780
+ @TotalCn = params['TotalCn']
9781
+ @Seller = params['Seller']
9782
+ @SellerTaxID = params['SellerTaxID']
9783
+ @Buyer = params['Buyer']
9784
+ @BuyerTaxID = params['BuyerTaxID']
9785
+ @Issuer = params['Issuer']
9786
+ @Remark = params['Remark']
9787
+ @SubTotal = params['SubTotal']
9788
+ @SubTax = params['SubTax']
9789
+ unless params['VatElectronicItems'].nil?
9790
+ @VatElectronicItems = []
9791
+ params['VatElectronicItems'].each do |i|
9792
+ vatelectroniciteminfo_tmp = VatElectronicItemInfo.new
9793
+ vatelectroniciteminfo_tmp.deserialize(i)
9794
+ @VatElectronicItems << vatelectroniciteminfo_tmp
9795
+ end
9796
+ end
9797
+ end
9798
+ end
9799
+
9800
+ # 电子发票详细条目信息
9801
+ class VatElectronicItemInfo < TencentCloud::Common::AbstractModel
9802
+ # @param Name: 项目名称
9803
+ # @type Name: String
9804
+ # @param Quantity: 数量
9805
+ # @type Quantity: String
9806
+ # @param Specification: 规格型号
9807
+ # @type Specification: String
9808
+ # @param Price: 单价
9809
+ # @type Price: String
9810
+ # @param Total: 金额
9811
+ # @type Total: String
9812
+ # @param TaxRate: 税率
9813
+ # @type TaxRate: String
9814
+ # @param Tax: 税额
9815
+ # @type Tax: String
9816
+ # @param Unit: 单位
9817
+ # @type Unit: String
9818
+ # @param VehicleType: 运输工具类型
9819
+ # @type VehicleType: String
9820
+ # @param VehicleBrand: 运输工具牌号
9821
+ # @type VehicleBrand: String
9822
+ # @param DeparturePlace: 起始地
9823
+ # @type DeparturePlace: String
9824
+ # @param ArrivalPlace: 到达地
9825
+ # @type ArrivalPlace: String
9826
+ # @param TransportItemsName: 运输货物名称,仅货物运输服务发票返回
9827
+ # @type TransportItemsName: String
9828
+ # @param PlaceOfBuildingService: 建筑服务发生地,仅建筑发票返回
9829
+ # @type PlaceOfBuildingService: String
9830
+ # @param BuildingName: 建筑项目名称,仅建筑发票返回
9831
+ # @type BuildingName: String
9832
+ # @param EstateNumber: 产权证书/不动产权证号,仅不动产经营租赁服务发票返回
9833
+ # @type EstateNumber: String
9834
+ # @param AreaUnit: 面积单位,仅不动产经营租赁服务发票返回
9835
+ # @type AreaUnit: String
9836
+
9837
+ attr_accessor :Name, :Quantity, :Specification, :Price, :Total, :TaxRate, :Tax, :Unit, :VehicleType, :VehicleBrand, :DeparturePlace, :ArrivalPlace, :TransportItemsName, :PlaceOfBuildingService, :BuildingName, :EstateNumber, :AreaUnit
9838
+
9839
+ def initialize(name=nil, quantity=nil, specification=nil, price=nil, total=nil, taxrate=nil, tax=nil, unit=nil, vehicletype=nil, vehiclebrand=nil, departureplace=nil, arrivalplace=nil, transportitemsname=nil, placeofbuildingservice=nil, buildingname=nil, estatenumber=nil, areaunit=nil)
9840
+ @Name = name
9841
+ @Quantity = quantity
9842
+ @Specification = specification
9843
+ @Price = price
9844
+ @Total = total
9845
+ @TaxRate = taxrate
9846
+ @Tax = tax
9847
+ @Unit = unit
9848
+ @VehicleType = vehicletype
9849
+ @VehicleBrand = vehiclebrand
9850
+ @DeparturePlace = departureplace
9851
+ @ArrivalPlace = arrivalplace
9852
+ @TransportItemsName = transportitemsname
9853
+ @PlaceOfBuildingService = placeofbuildingservice
9854
+ @BuildingName = buildingname
9855
+ @EstateNumber = estatenumber
9856
+ @AreaUnit = areaunit
9857
+ end
9858
+
9859
+ def deserialize(params)
9860
+ @Name = params['Name']
9861
+ @Quantity = params['Quantity']
9862
+ @Specification = params['Specification']
9863
+ @Price = params['Price']
9864
+ @Total = params['Total']
9865
+ @TaxRate = params['TaxRate']
9866
+ @Tax = params['Tax']
9867
+ @Unit = params['Unit']
9868
+ @VehicleType = params['VehicleType']
9869
+ @VehicleBrand = params['VehicleBrand']
9870
+ @DeparturePlace = params['DeparturePlace']
9871
+ @ArrivalPlace = params['ArrivalPlace']
9872
+ @TransportItemsName = params['TransportItemsName']
9873
+ @PlaceOfBuildingService = params['PlaceOfBuildingService']
9874
+ @BuildingName = params['BuildingName']
9875
+ @EstateNumber = params['EstateNumber']
9876
+ @AreaUnit = params['AreaUnit']
9877
+ end
9878
+ end
9879
+
7951
9880
  # 增值税发票信息
7952
9881
  class VatInvoice < TencentCloud::Common::AbstractModel
7953
9882
  # @param Code: 发票代码
@@ -8125,6 +10054,181 @@ module TencentCloud
8125
10054
  end
8126
10055
  end
8127
10056
 
10057
+ # 增值税发票返回值
10058
+ class VatInvoiceInfo < TencentCloud::Common::AbstractModel
10059
+ # @param CheckCode: 校验码
10060
+ # @type CheckCode: String
10061
+ # @param FormType: 发票联次
10062
+ # @type FormType: String
10063
+ # @param TravelTax: 车船税
10064
+ # @type TravelTax: String
10065
+ # @param BuyerAddrTel: 购买方地址电话
10066
+ # @type BuyerAddrTel: String
10067
+ # @param BuyerBankAccount: 购买方银行账号
10068
+ # @type BuyerBankAccount: String
10069
+ # @param CompanySealContent: 公司印章内容
10070
+ # @type CompanySealContent: String
10071
+ # @param TaxSealContent: 税务局章内容
10072
+ # @type TaxSealContent: String
10073
+ # @param ServiceName: 服务类型
10074
+ # @type ServiceName: String
10075
+ # @param City: 市
10076
+ # @type City: String
10077
+ # @param QRCodeMark: 是否存在二维码(0:没有,1:有)
10078
+ # @type QRCodeMark: Integer
10079
+ # @param AgentMark: 是否有代开标记(0:没有,1:有)
10080
+ # @type AgentMark: Integer
10081
+ # @param TransitMark: 是否有通行费标记(0:没有,1:有)
10082
+ # @type TransitMark: Integer
10083
+ # @param OilMark: 是否有成品油标记(0:没有,1:有)
10084
+ # @type OilMark: Integer
10085
+ # @param Title: 发票名称
10086
+ # @type Title: String
10087
+ # @param Kind: 发票消费类型
10088
+ # @type Kind: String
10089
+ # @param Code: 发票代码
10090
+ # @type Code: String
10091
+ # @param Number: 发票号码
10092
+ # @type Number: String
10093
+ # @param NumberConfirm: 机打发票号码
10094
+ # @type NumberConfirm: String
10095
+ # @param Date: 开票日期
10096
+ # @type Date: String
10097
+ # @param Total: 价税合计(小写)
10098
+ # @type Total: String
10099
+ # @param TotalCn: 价税合计(大写)
10100
+ # @type TotalCn: String
10101
+ # @param PretaxAmount: 税前金额
10102
+ # @type PretaxAmount: String
10103
+ # @param Tax: 合计税额
10104
+ # @type Tax: String
10105
+ # @param MachineCode: 机器编号
10106
+ # @type MachineCode: String
10107
+ # @param Ciphertext: 密码区
10108
+ # @type Ciphertext: String
10109
+ # @param Remark: 备注
10110
+ # @type Remark: String
10111
+ # @param Seller: 销售方名称
10112
+ # @type Seller: String
10113
+ # @param SellerTaxID: 销售方纳税人识别号
10114
+ # @type SellerTaxID: String
10115
+ # @param SellerAddrTel: 销售方地址电话
10116
+ # @type SellerAddrTel: String
10117
+ # @param SellerBankAccount: 销售方银行账号
10118
+ # @type SellerBankAccount: String
10119
+ # @param Buyer: 购买方名称
10120
+ # @type Buyer: String
10121
+ # @param BuyerTaxID: 购买方纳税人识别号
10122
+ # @type BuyerTaxID: String
10123
+ # @param CompanySealMark: 是否有公司印章(0:没有,1:有)
10124
+ # @type CompanySealMark: Integer
10125
+ # @param Issuer: 开票人
10126
+ # @type Issuer: String
10127
+ # @param Reviewer: 复核人
10128
+ # @type Reviewer: String
10129
+ # @param Province: 省
10130
+ # @type Province: String
10131
+ # @param VatInvoiceItemInfos: 增值税发票项目信息
10132
+ # @type VatInvoiceItemInfos: Array
10133
+ # @param CodeConfirm: 机打发票代码
10134
+ # @type CodeConfirm: String
10135
+ # @param Receiptor: 收款人
10136
+ # @type Receiptor: String
10137
+
10138
+ 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
10139
+
10140
+ 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)
10141
+ @CheckCode = checkcode
10142
+ @FormType = formtype
10143
+ @TravelTax = traveltax
10144
+ @BuyerAddrTel = buyeraddrtel
10145
+ @BuyerBankAccount = buyerbankaccount
10146
+ @CompanySealContent = companysealcontent
10147
+ @TaxSealContent = taxsealcontent
10148
+ @ServiceName = servicename
10149
+ @City = city
10150
+ @QRCodeMark = qrcodemark
10151
+ @AgentMark = agentmark
10152
+ @TransitMark = transitmark
10153
+ @OilMark = oilmark
10154
+ @Title = title
10155
+ @Kind = kind
10156
+ @Code = code
10157
+ @Number = number
10158
+ @NumberConfirm = numberconfirm
10159
+ @Date = date
10160
+ @Total = total
10161
+ @TotalCn = totalcn
10162
+ @PretaxAmount = pretaxamount
10163
+ @Tax = tax
10164
+ @MachineCode = machinecode
10165
+ @Ciphertext = ciphertext
10166
+ @Remark = remark
10167
+ @Seller = seller
10168
+ @SellerTaxID = sellertaxid
10169
+ @SellerAddrTel = selleraddrtel
10170
+ @SellerBankAccount = sellerbankaccount
10171
+ @Buyer = buyer
10172
+ @BuyerTaxID = buyertaxid
10173
+ @CompanySealMark = companysealmark
10174
+ @Issuer = issuer
10175
+ @Reviewer = reviewer
10176
+ @Province = province
10177
+ @VatInvoiceItemInfos = vatinvoiceiteminfos
10178
+ @CodeConfirm = codeconfirm
10179
+ @Receiptor = receiptor
10180
+ end
10181
+
10182
+ def deserialize(params)
10183
+ @CheckCode = params['CheckCode']
10184
+ @FormType = params['FormType']
10185
+ @TravelTax = params['TravelTax']
10186
+ @BuyerAddrTel = params['BuyerAddrTel']
10187
+ @BuyerBankAccount = params['BuyerBankAccount']
10188
+ @CompanySealContent = params['CompanySealContent']
10189
+ @TaxSealContent = params['TaxSealContent']
10190
+ @ServiceName = params['ServiceName']
10191
+ @City = params['City']
10192
+ @QRCodeMark = params['QRCodeMark']
10193
+ @AgentMark = params['AgentMark']
10194
+ @TransitMark = params['TransitMark']
10195
+ @OilMark = params['OilMark']
10196
+ @Title = params['Title']
10197
+ @Kind = params['Kind']
10198
+ @Code = params['Code']
10199
+ @Number = params['Number']
10200
+ @NumberConfirm = params['NumberConfirm']
10201
+ @Date = params['Date']
10202
+ @Total = params['Total']
10203
+ @TotalCn = params['TotalCn']
10204
+ @PretaxAmount = params['PretaxAmount']
10205
+ @Tax = params['Tax']
10206
+ @MachineCode = params['MachineCode']
10207
+ @Ciphertext = params['Ciphertext']
10208
+ @Remark = params['Remark']
10209
+ @Seller = params['Seller']
10210
+ @SellerTaxID = params['SellerTaxID']
10211
+ @SellerAddrTel = params['SellerAddrTel']
10212
+ @SellerBankAccount = params['SellerBankAccount']
10213
+ @Buyer = params['Buyer']
10214
+ @BuyerTaxID = params['BuyerTaxID']
10215
+ @CompanySealMark = params['CompanySealMark']
10216
+ @Issuer = params['Issuer']
10217
+ @Reviewer = params['Reviewer']
10218
+ @Province = params['Province']
10219
+ unless params['VatInvoiceItemInfos'].nil?
10220
+ @VatInvoiceItemInfos = []
10221
+ params['VatInvoiceItemInfos'].each do |i|
10222
+ vatinvoiceiteminfo_tmp = VatInvoiceItemInfo.new
10223
+ vatinvoiceiteminfo_tmp.deserialize(i)
10224
+ @VatInvoiceItemInfos << vatinvoiceiteminfo_tmp
10225
+ end
10226
+ end
10227
+ @CodeConfirm = params['CodeConfirm']
10228
+ @Receiptor = params['Receiptor']
10229
+ end
10230
+ end
10231
+
8128
10232
  # 增值税发票项目明细
8129
10233
  class VatInvoiceItem < TencentCloud::Common::AbstractModel
8130
10234
  # @param LineNo: 行号
@@ -8177,6 +10281,66 @@ module TencentCloud
8177
10281
  end
8178
10282
  end
8179
10283
 
10284
+ # 增值税发票项目信息
10285
+ class VatInvoiceItemInfo < TencentCloud::Common::AbstractModel
10286
+ # @param Name: 项目名称
10287
+ # @type Name: String
10288
+ # @param Specification: 规格型号
10289
+ # @type Specification: String
10290
+ # @param Unit: 单位
10291
+ # @type Unit: String
10292
+ # @param Quantity: 数量
10293
+ # @type Quantity: String
10294
+ # @param Price: 单价
10295
+ # @type Price: String
10296
+ # @param Total: 金额
10297
+ # @type Total: String
10298
+ # @param TaxRate: 税率
10299
+ # @type TaxRate: String
10300
+ # @param Tax: 税额
10301
+ # @type Tax: String
10302
+ # @param DateStart: 通行日期起
10303
+ # @type DateStart: String
10304
+ # @param DateEnd: 通行日期止
10305
+ # @type DateEnd: String
10306
+ # @param LicensePlate: 车牌号
10307
+ # @type LicensePlate: String
10308
+ # @param VehicleType: 车辆类型
10309
+ # @type VehicleType: String
10310
+
10311
+ attr_accessor :Name, :Specification, :Unit, :Quantity, :Price, :Total, :TaxRate, :Tax, :DateStart, :DateEnd, :LicensePlate, :VehicleType
10312
+
10313
+ 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)
10314
+ @Name = name
10315
+ @Specification = specification
10316
+ @Unit = unit
10317
+ @Quantity = quantity
10318
+ @Price = price
10319
+ @Total = total
10320
+ @TaxRate = taxrate
10321
+ @Tax = tax
10322
+ @DateStart = datestart
10323
+ @DateEnd = dateend
10324
+ @LicensePlate = licenseplate
10325
+ @VehicleType = vehicletype
10326
+ end
10327
+
10328
+ def deserialize(params)
10329
+ @Name = params['Name']
10330
+ @Specification = params['Specification']
10331
+ @Unit = params['Unit']
10332
+ @Quantity = params['Quantity']
10333
+ @Price = params['Price']
10334
+ @Total = params['Total']
10335
+ @TaxRate = params['TaxRate']
10336
+ @Tax = params['Tax']
10337
+ @DateStart = params['DateStart']
10338
+ @DateEnd = params['DateEnd']
10339
+ @LicensePlate = params['LicensePlate']
10340
+ @VehicleType = params['VehicleType']
10341
+ end
10342
+ end
10343
+
8180
10344
  # VatInvoiceOCR请求参数结构体
8181
10345
  class VatInvoiceOCRRequest < TencentCloud::Common::AbstractModel
8182
10346
  # @param ImageBase64: 图片/PDF的 Base64 值。
@@ -8258,6 +10422,113 @@ module TencentCloud
8258
10422
  end
8259
10423
  end
8260
10424
 
10425
+ # 增值税普通发票(卷票)
10426
+ class VatInvoiceRoll < TencentCloud::Common::AbstractModel
10427
+ # @param Title: 发票名称
10428
+ # @type Title: String
10429
+ # @param Code: 发票代码
10430
+ # @type Code: String
10431
+ # @param Number: 发票号码
10432
+ # @type Number: String
10433
+ # @param NumberConfirm: 机打发票号码
10434
+ # @type NumberConfirm: String
10435
+ # @param Date: 开票日期
10436
+ # @type Date: String
10437
+ # @param CheckCode: 校验码
10438
+ # @type CheckCode: String
10439
+ # @param Seller: 销售方名称
10440
+ # @type Seller: String
10441
+ # @param SellerTaxID: 销售方纳税人识别号
10442
+ # @type SellerTaxID: String
10443
+ # @param Buyer: 购买方名称
10444
+ # @type Buyer: String
10445
+ # @param BuyerTaxID: 购买方纳税人识别号
10446
+ # @type BuyerTaxID: String
10447
+ # @param Category: 种类
10448
+ # @type Category: String
10449
+ # @param Total: 价税合计(小写)
10450
+ # @type Total: String
10451
+ # @param TotalCn: 价税合计(大写)
10452
+ # @type TotalCn: String
10453
+ # @param Kind: 发票消费类型
10454
+ # @type Kind: String
10455
+ # @param Province: 省
10456
+ # @type Province: String
10457
+ # @param City: 市
10458
+ # @type City: String
10459
+ # @param CompanySealMark: 是否有公司印章(0:没有,1:有)
10460
+ # @type CompanySealMark: Integer
10461
+ # @param QRCodeMark: 是否存在二维码(1:有,0:无)
10462
+ # @type QRCodeMark: Integer
10463
+ # @param ServiceName: 服务类型
10464
+ # @type ServiceName: String
10465
+ # @param CompanySealContent: 公司印章内容
10466
+ # @type CompanySealContent: String
10467
+ # @param TaxSealContent: 税务局章内容
10468
+ # @type TaxSealContent: String
10469
+ # @param VatRollItems: 条目
10470
+ # @type VatRollItems: Array
10471
+
10472
+ attr_accessor :Title, :Code, :Number, :NumberConfirm, :Date, :CheckCode, :Seller, :SellerTaxID, :Buyer, :BuyerTaxID, :Category, :Total, :TotalCn, :Kind, :Province, :City, :CompanySealMark, :QRCodeMark, :ServiceName, :CompanySealContent, :TaxSealContent, :VatRollItems
10473
+
10474
+ def initialize(title=nil, code=nil, number=nil, numberconfirm=nil, date=nil, checkcode=nil, seller=nil, sellertaxid=nil, buyer=nil, buyertaxid=nil, category=nil, total=nil, totalcn=nil, kind=nil, province=nil, city=nil, companysealmark=nil, qrcodemark=nil, servicename=nil, companysealcontent=nil, taxsealcontent=nil, vatrollitems=nil)
10475
+ @Title = title
10476
+ @Code = code
10477
+ @Number = number
10478
+ @NumberConfirm = numberconfirm
10479
+ @Date = date
10480
+ @CheckCode = checkcode
10481
+ @Seller = seller
10482
+ @SellerTaxID = sellertaxid
10483
+ @Buyer = buyer
10484
+ @BuyerTaxID = buyertaxid
10485
+ @Category = category
10486
+ @Total = total
10487
+ @TotalCn = totalcn
10488
+ @Kind = kind
10489
+ @Province = province
10490
+ @City = city
10491
+ @CompanySealMark = companysealmark
10492
+ @QRCodeMark = qrcodemark
10493
+ @ServiceName = servicename
10494
+ @CompanySealContent = companysealcontent
10495
+ @TaxSealContent = taxsealcontent
10496
+ @VatRollItems = vatrollitems
10497
+ end
10498
+
10499
+ def deserialize(params)
10500
+ @Title = params['Title']
10501
+ @Code = params['Code']
10502
+ @Number = params['Number']
10503
+ @NumberConfirm = params['NumberConfirm']
10504
+ @Date = params['Date']
10505
+ @CheckCode = params['CheckCode']
10506
+ @Seller = params['Seller']
10507
+ @SellerTaxID = params['SellerTaxID']
10508
+ @Buyer = params['Buyer']
10509
+ @BuyerTaxID = params['BuyerTaxID']
10510
+ @Category = params['Category']
10511
+ @Total = params['Total']
10512
+ @TotalCn = params['TotalCn']
10513
+ @Kind = params['Kind']
10514
+ @Province = params['Province']
10515
+ @City = params['City']
10516
+ @CompanySealMark = params['CompanySealMark']
10517
+ @QRCodeMark = params['QRCodeMark']
10518
+ @ServiceName = params['ServiceName']
10519
+ @CompanySealContent = params['CompanySealContent']
10520
+ @TaxSealContent = params['TaxSealContent']
10521
+ unless params['VatRollItems'].nil?
10522
+ @VatRollItems = []
10523
+ params['VatRollItems'].each do |i|
10524
+ vatrollitem_tmp = VatRollItem.new
10525
+ vatrollitem_tmp.deserialize(i)
10526
+ @VatRollItems << vatrollitem_tmp
10527
+ end
10528
+ end
10529
+ end
10530
+ end
10531
+
8261
10532
  # 发票人员信息
8262
10533
  class VatInvoiceUserInfo < TencentCloud::Common::AbstractModel
8263
10534
  # @param Name: 名称
@@ -8555,6 +10826,34 @@ module TencentCloud
8555
10826
  end
8556
10827
  end
8557
10828
 
10829
+ # 增值税普通发票(卷票)条目
10830
+ class VatRollItem < TencentCloud::Common::AbstractModel
10831
+ # @param Name: 项目名称
10832
+ # @type Name: String
10833
+ # @param Quantity: 数量
10834
+ # @type Quantity: String
10835
+ # @param Price: 单价
10836
+ # @type Price: String
10837
+ # @param Total: 金额
10838
+ # @type Total: String
10839
+
10840
+ attr_accessor :Name, :Quantity, :Price, :Total
10841
+
10842
+ def initialize(name=nil, quantity=nil, price=nil, total=nil)
10843
+ @Name = name
10844
+ @Quantity = quantity
10845
+ @Price = price
10846
+ @Total = total
10847
+ end
10848
+
10849
+ def deserialize(params)
10850
+ @Name = params['Name']
10851
+ @Quantity = params['Quantity']
10852
+ @Price = params['Price']
10853
+ @Total = params['Total']
10854
+ end
10855
+ end
10856
+
8558
10857
  # 机动车销售统一发票信息
8559
10858
  class VehicleInvoiceInfo < TencentCloud::Common::AbstractModel
8560
10859
  # @param CarType: 车辆类型