tencentcloud-sdk-python-ocr 3.0.1168__tar.gz → 3.0.1174__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/setup.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud/ocr/v20181119/models.py +554 -19
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ocr-3.0.1174/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ocr-3.0.1168/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/README.rst +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ocr-3.0.1168 → tencentcloud-sdk-python-ocr-3.0.1174}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ocr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1174"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ocr SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -6432,6 +6432,521 @@ class FinanBillSliceOCRResponse(AbstractModel):
|
|
|
6432
6432
|
self._RequestId = params.get("RequestId")
|
|
6433
6433
|
|
|
6434
6434
|
|
|
6435
|
+
class FinancialBill(AbstractModel):
|
|
6436
|
+
"""财务票据查验返回结果
|
|
6437
|
+
|
|
6438
|
+
"""
|
|
6439
|
+
|
|
6440
|
+
def __init__(self):
|
|
6441
|
+
r"""
|
|
6442
|
+
:param _Code: 票据代码
|
|
6443
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6444
|
+
:type Code: str
|
|
6445
|
+
:param _Number: 票据号码
|
|
6446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6447
|
+
:type Number: str
|
|
6448
|
+
:param _BuyerTaxID: 缴款人纳税识别号
|
|
6449
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6450
|
+
:type BuyerTaxID: str
|
|
6451
|
+
:param _CheckCode: 校验码
|
|
6452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6453
|
+
:type CheckCode: str
|
|
6454
|
+
:param _Buyer: 缴款人
|
|
6455
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6456
|
+
:type Buyer: str
|
|
6457
|
+
:param _Date: 开票日期
|
|
6458
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6459
|
+
:type Date: str
|
|
6460
|
+
:param _SellerCompany: 收款单位
|
|
6461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6462
|
+
:type SellerCompany: str
|
|
6463
|
+
:param _Reviewer: 复核人
|
|
6464
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6465
|
+
:type Reviewer: str
|
|
6466
|
+
:param _Seller: 收款人
|
|
6467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6468
|
+
:type Seller: str
|
|
6469
|
+
:param _Title: 票据名称
|
|
6470
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6471
|
+
:type Title: str
|
|
6472
|
+
:param _Total: 金额合计
|
|
6473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6474
|
+
:type Total: str
|
|
6475
|
+
:param _TotalCn: 金额合计中文大写
|
|
6476
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6477
|
+
:type TotalCn: str
|
|
6478
|
+
:param _RushRedStateCode: 冲红
|
|
6479
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6480
|
+
:type RushRedStateCode: str
|
|
6481
|
+
:param _RushRedDate: 冲红日期
|
|
6482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6483
|
+
:type RushRedDate: str
|
|
6484
|
+
:param _RushRedTime: 冲红时间
|
|
6485
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6486
|
+
:type RushRedTime: str
|
|
6487
|
+
:param _RushRedReason: 冲红原因
|
|
6488
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6489
|
+
:type RushRedReason: str
|
|
6490
|
+
:param _FinancialBillItems: 项目明细
|
|
6491
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6492
|
+
:type FinancialBillItems: list of FinancialBillItem
|
|
6493
|
+
:param _FinancialBillItemDetails: 项目清单
|
|
6494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6495
|
+
:type FinancialBillItemDetails: list of FinancialBillItemDetails
|
|
6496
|
+
"""
|
|
6497
|
+
self._Code = None
|
|
6498
|
+
self._Number = None
|
|
6499
|
+
self._BuyerTaxID = None
|
|
6500
|
+
self._CheckCode = None
|
|
6501
|
+
self._Buyer = None
|
|
6502
|
+
self._Date = None
|
|
6503
|
+
self._SellerCompany = None
|
|
6504
|
+
self._Reviewer = None
|
|
6505
|
+
self._Seller = None
|
|
6506
|
+
self._Title = None
|
|
6507
|
+
self._Total = None
|
|
6508
|
+
self._TotalCn = None
|
|
6509
|
+
self._RushRedStateCode = None
|
|
6510
|
+
self._RushRedDate = None
|
|
6511
|
+
self._RushRedTime = None
|
|
6512
|
+
self._RushRedReason = None
|
|
6513
|
+
self._FinancialBillItems = None
|
|
6514
|
+
self._FinancialBillItemDetails = None
|
|
6515
|
+
|
|
6516
|
+
@property
|
|
6517
|
+
def Code(self):
|
|
6518
|
+
return self._Code
|
|
6519
|
+
|
|
6520
|
+
@Code.setter
|
|
6521
|
+
def Code(self, Code):
|
|
6522
|
+
self._Code = Code
|
|
6523
|
+
|
|
6524
|
+
@property
|
|
6525
|
+
def Number(self):
|
|
6526
|
+
return self._Number
|
|
6527
|
+
|
|
6528
|
+
@Number.setter
|
|
6529
|
+
def Number(self, Number):
|
|
6530
|
+
self._Number = Number
|
|
6531
|
+
|
|
6532
|
+
@property
|
|
6533
|
+
def BuyerTaxID(self):
|
|
6534
|
+
return self._BuyerTaxID
|
|
6535
|
+
|
|
6536
|
+
@BuyerTaxID.setter
|
|
6537
|
+
def BuyerTaxID(self, BuyerTaxID):
|
|
6538
|
+
self._BuyerTaxID = BuyerTaxID
|
|
6539
|
+
|
|
6540
|
+
@property
|
|
6541
|
+
def CheckCode(self):
|
|
6542
|
+
return self._CheckCode
|
|
6543
|
+
|
|
6544
|
+
@CheckCode.setter
|
|
6545
|
+
def CheckCode(self, CheckCode):
|
|
6546
|
+
self._CheckCode = CheckCode
|
|
6547
|
+
|
|
6548
|
+
@property
|
|
6549
|
+
def Buyer(self):
|
|
6550
|
+
return self._Buyer
|
|
6551
|
+
|
|
6552
|
+
@Buyer.setter
|
|
6553
|
+
def Buyer(self, Buyer):
|
|
6554
|
+
self._Buyer = Buyer
|
|
6555
|
+
|
|
6556
|
+
@property
|
|
6557
|
+
def Date(self):
|
|
6558
|
+
return self._Date
|
|
6559
|
+
|
|
6560
|
+
@Date.setter
|
|
6561
|
+
def Date(self, Date):
|
|
6562
|
+
self._Date = Date
|
|
6563
|
+
|
|
6564
|
+
@property
|
|
6565
|
+
def SellerCompany(self):
|
|
6566
|
+
return self._SellerCompany
|
|
6567
|
+
|
|
6568
|
+
@SellerCompany.setter
|
|
6569
|
+
def SellerCompany(self, SellerCompany):
|
|
6570
|
+
self._SellerCompany = SellerCompany
|
|
6571
|
+
|
|
6572
|
+
@property
|
|
6573
|
+
def Reviewer(self):
|
|
6574
|
+
return self._Reviewer
|
|
6575
|
+
|
|
6576
|
+
@Reviewer.setter
|
|
6577
|
+
def Reviewer(self, Reviewer):
|
|
6578
|
+
self._Reviewer = Reviewer
|
|
6579
|
+
|
|
6580
|
+
@property
|
|
6581
|
+
def Seller(self):
|
|
6582
|
+
return self._Seller
|
|
6583
|
+
|
|
6584
|
+
@Seller.setter
|
|
6585
|
+
def Seller(self, Seller):
|
|
6586
|
+
self._Seller = Seller
|
|
6587
|
+
|
|
6588
|
+
@property
|
|
6589
|
+
def Title(self):
|
|
6590
|
+
return self._Title
|
|
6591
|
+
|
|
6592
|
+
@Title.setter
|
|
6593
|
+
def Title(self, Title):
|
|
6594
|
+
self._Title = Title
|
|
6595
|
+
|
|
6596
|
+
@property
|
|
6597
|
+
def Total(self):
|
|
6598
|
+
return self._Total
|
|
6599
|
+
|
|
6600
|
+
@Total.setter
|
|
6601
|
+
def Total(self, Total):
|
|
6602
|
+
self._Total = Total
|
|
6603
|
+
|
|
6604
|
+
@property
|
|
6605
|
+
def TotalCn(self):
|
|
6606
|
+
return self._TotalCn
|
|
6607
|
+
|
|
6608
|
+
@TotalCn.setter
|
|
6609
|
+
def TotalCn(self, TotalCn):
|
|
6610
|
+
self._TotalCn = TotalCn
|
|
6611
|
+
|
|
6612
|
+
@property
|
|
6613
|
+
def RushRedStateCode(self):
|
|
6614
|
+
return self._RushRedStateCode
|
|
6615
|
+
|
|
6616
|
+
@RushRedStateCode.setter
|
|
6617
|
+
def RushRedStateCode(self, RushRedStateCode):
|
|
6618
|
+
self._RushRedStateCode = RushRedStateCode
|
|
6619
|
+
|
|
6620
|
+
@property
|
|
6621
|
+
def RushRedDate(self):
|
|
6622
|
+
return self._RushRedDate
|
|
6623
|
+
|
|
6624
|
+
@RushRedDate.setter
|
|
6625
|
+
def RushRedDate(self, RushRedDate):
|
|
6626
|
+
self._RushRedDate = RushRedDate
|
|
6627
|
+
|
|
6628
|
+
@property
|
|
6629
|
+
def RushRedTime(self):
|
|
6630
|
+
return self._RushRedTime
|
|
6631
|
+
|
|
6632
|
+
@RushRedTime.setter
|
|
6633
|
+
def RushRedTime(self, RushRedTime):
|
|
6634
|
+
self._RushRedTime = RushRedTime
|
|
6635
|
+
|
|
6636
|
+
@property
|
|
6637
|
+
def RushRedReason(self):
|
|
6638
|
+
return self._RushRedReason
|
|
6639
|
+
|
|
6640
|
+
@RushRedReason.setter
|
|
6641
|
+
def RushRedReason(self, RushRedReason):
|
|
6642
|
+
self._RushRedReason = RushRedReason
|
|
6643
|
+
|
|
6644
|
+
@property
|
|
6645
|
+
def FinancialBillItems(self):
|
|
6646
|
+
return self._FinancialBillItems
|
|
6647
|
+
|
|
6648
|
+
@FinancialBillItems.setter
|
|
6649
|
+
def FinancialBillItems(self, FinancialBillItems):
|
|
6650
|
+
self._FinancialBillItems = FinancialBillItems
|
|
6651
|
+
|
|
6652
|
+
@property
|
|
6653
|
+
def FinancialBillItemDetails(self):
|
|
6654
|
+
return self._FinancialBillItemDetails
|
|
6655
|
+
|
|
6656
|
+
@FinancialBillItemDetails.setter
|
|
6657
|
+
def FinancialBillItemDetails(self, FinancialBillItemDetails):
|
|
6658
|
+
self._FinancialBillItemDetails = FinancialBillItemDetails
|
|
6659
|
+
|
|
6660
|
+
|
|
6661
|
+
def _deserialize(self, params):
|
|
6662
|
+
self._Code = params.get("Code")
|
|
6663
|
+
self._Number = params.get("Number")
|
|
6664
|
+
self._BuyerTaxID = params.get("BuyerTaxID")
|
|
6665
|
+
self._CheckCode = params.get("CheckCode")
|
|
6666
|
+
self._Buyer = params.get("Buyer")
|
|
6667
|
+
self._Date = params.get("Date")
|
|
6668
|
+
self._SellerCompany = params.get("SellerCompany")
|
|
6669
|
+
self._Reviewer = params.get("Reviewer")
|
|
6670
|
+
self._Seller = params.get("Seller")
|
|
6671
|
+
self._Title = params.get("Title")
|
|
6672
|
+
self._Total = params.get("Total")
|
|
6673
|
+
self._TotalCn = params.get("TotalCn")
|
|
6674
|
+
self._RushRedStateCode = params.get("RushRedStateCode")
|
|
6675
|
+
self._RushRedDate = params.get("RushRedDate")
|
|
6676
|
+
self._RushRedTime = params.get("RushRedTime")
|
|
6677
|
+
self._RushRedReason = params.get("RushRedReason")
|
|
6678
|
+
if params.get("FinancialBillItems") is not None:
|
|
6679
|
+
self._FinancialBillItems = []
|
|
6680
|
+
for item in params.get("FinancialBillItems"):
|
|
6681
|
+
obj = FinancialBillItem()
|
|
6682
|
+
obj._deserialize(item)
|
|
6683
|
+
self._FinancialBillItems.append(obj)
|
|
6684
|
+
if params.get("FinancialBillItemDetails") is not None:
|
|
6685
|
+
self._FinancialBillItemDetails = []
|
|
6686
|
+
for item in params.get("FinancialBillItemDetails"):
|
|
6687
|
+
obj = FinancialBillItemDetails()
|
|
6688
|
+
obj._deserialize(item)
|
|
6689
|
+
self._FinancialBillItemDetails.append(obj)
|
|
6690
|
+
memeber_set = set(params.keys())
|
|
6691
|
+
for name, value in vars(self).items():
|
|
6692
|
+
property_name = name[1:]
|
|
6693
|
+
if property_name in memeber_set:
|
|
6694
|
+
memeber_set.remove(property_name)
|
|
6695
|
+
if len(memeber_set) > 0:
|
|
6696
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6697
|
+
|
|
6698
|
+
|
|
6699
|
+
|
|
6700
|
+
class FinancialBillItem(AbstractModel):
|
|
6701
|
+
"""财务票据查验返回结果-项目明细
|
|
6702
|
+
|
|
6703
|
+
"""
|
|
6704
|
+
|
|
6705
|
+
def __init__(self):
|
|
6706
|
+
r"""
|
|
6707
|
+
:param _ItemID: 项目编号
|
|
6708
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6709
|
+
:type ItemID: str
|
|
6710
|
+
:param _Name: 项目名称
|
|
6711
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6712
|
+
:type Name: str
|
|
6713
|
+
:param _Unit: 单位
|
|
6714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6715
|
+
:type Unit: str
|
|
6716
|
+
:param _Quantity: 数量
|
|
6717
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6718
|
+
:type Quantity: str
|
|
6719
|
+
:param _Standard: 规格标准
|
|
6720
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6721
|
+
:type Standard: str
|
|
6722
|
+
:param _Total: 金额
|
|
6723
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6724
|
+
:type Total: str
|
|
6725
|
+
:param _SerialNumber: 项目序号
|
|
6726
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6727
|
+
:type SerialNumber: str
|
|
6728
|
+
:param _Remark: 备注
|
|
6729
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6730
|
+
:type Remark: str
|
|
6731
|
+
"""
|
|
6732
|
+
self._ItemID = None
|
|
6733
|
+
self._Name = None
|
|
6734
|
+
self._Unit = None
|
|
6735
|
+
self._Quantity = None
|
|
6736
|
+
self._Standard = None
|
|
6737
|
+
self._Total = None
|
|
6738
|
+
self._SerialNumber = None
|
|
6739
|
+
self._Remark = None
|
|
6740
|
+
|
|
6741
|
+
@property
|
|
6742
|
+
def ItemID(self):
|
|
6743
|
+
return self._ItemID
|
|
6744
|
+
|
|
6745
|
+
@ItemID.setter
|
|
6746
|
+
def ItemID(self, ItemID):
|
|
6747
|
+
self._ItemID = ItemID
|
|
6748
|
+
|
|
6749
|
+
@property
|
|
6750
|
+
def Name(self):
|
|
6751
|
+
return self._Name
|
|
6752
|
+
|
|
6753
|
+
@Name.setter
|
|
6754
|
+
def Name(self, Name):
|
|
6755
|
+
self._Name = Name
|
|
6756
|
+
|
|
6757
|
+
@property
|
|
6758
|
+
def Unit(self):
|
|
6759
|
+
return self._Unit
|
|
6760
|
+
|
|
6761
|
+
@Unit.setter
|
|
6762
|
+
def Unit(self, Unit):
|
|
6763
|
+
self._Unit = Unit
|
|
6764
|
+
|
|
6765
|
+
@property
|
|
6766
|
+
def Quantity(self):
|
|
6767
|
+
return self._Quantity
|
|
6768
|
+
|
|
6769
|
+
@Quantity.setter
|
|
6770
|
+
def Quantity(self, Quantity):
|
|
6771
|
+
self._Quantity = Quantity
|
|
6772
|
+
|
|
6773
|
+
@property
|
|
6774
|
+
def Standard(self):
|
|
6775
|
+
return self._Standard
|
|
6776
|
+
|
|
6777
|
+
@Standard.setter
|
|
6778
|
+
def Standard(self, Standard):
|
|
6779
|
+
self._Standard = Standard
|
|
6780
|
+
|
|
6781
|
+
@property
|
|
6782
|
+
def Total(self):
|
|
6783
|
+
return self._Total
|
|
6784
|
+
|
|
6785
|
+
@Total.setter
|
|
6786
|
+
def Total(self, Total):
|
|
6787
|
+
self._Total = Total
|
|
6788
|
+
|
|
6789
|
+
@property
|
|
6790
|
+
def SerialNumber(self):
|
|
6791
|
+
return self._SerialNumber
|
|
6792
|
+
|
|
6793
|
+
@SerialNumber.setter
|
|
6794
|
+
def SerialNumber(self, SerialNumber):
|
|
6795
|
+
self._SerialNumber = SerialNumber
|
|
6796
|
+
|
|
6797
|
+
@property
|
|
6798
|
+
def Remark(self):
|
|
6799
|
+
return self._Remark
|
|
6800
|
+
|
|
6801
|
+
@Remark.setter
|
|
6802
|
+
def Remark(self, Remark):
|
|
6803
|
+
self._Remark = Remark
|
|
6804
|
+
|
|
6805
|
+
|
|
6806
|
+
def _deserialize(self, params):
|
|
6807
|
+
self._ItemID = params.get("ItemID")
|
|
6808
|
+
self._Name = params.get("Name")
|
|
6809
|
+
self._Unit = params.get("Unit")
|
|
6810
|
+
self._Quantity = params.get("Quantity")
|
|
6811
|
+
self._Standard = params.get("Standard")
|
|
6812
|
+
self._Total = params.get("Total")
|
|
6813
|
+
self._SerialNumber = params.get("SerialNumber")
|
|
6814
|
+
self._Remark = params.get("Remark")
|
|
6815
|
+
memeber_set = set(params.keys())
|
|
6816
|
+
for name, value in vars(self).items():
|
|
6817
|
+
property_name = name[1:]
|
|
6818
|
+
if property_name in memeber_set:
|
|
6819
|
+
memeber_set.remove(property_name)
|
|
6820
|
+
if len(memeber_set) > 0:
|
|
6821
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6822
|
+
|
|
6823
|
+
|
|
6824
|
+
|
|
6825
|
+
class FinancialBillItemDetails(AbstractModel):
|
|
6826
|
+
"""财务票据查验返回结果-项目清单
|
|
6827
|
+
|
|
6828
|
+
"""
|
|
6829
|
+
|
|
6830
|
+
def __init__(self):
|
|
6831
|
+
r"""
|
|
6832
|
+
:param _ItemID: 项目编号
|
|
6833
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6834
|
+
:type ItemID: str
|
|
6835
|
+
:param _Name: 项目名称
|
|
6836
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6837
|
+
:type Name: str
|
|
6838
|
+
:param _Unit: 单位
|
|
6839
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6840
|
+
:type Unit: str
|
|
6841
|
+
:param _Quantity: 数量
|
|
6842
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6843
|
+
:type Quantity: str
|
|
6844
|
+
:param _Standard: 规格标准
|
|
6845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6846
|
+
:type Standard: str
|
|
6847
|
+
:param _Total: 金额
|
|
6848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6849
|
+
:type Total: str
|
|
6850
|
+
:param _SerialNumber: 项目序号
|
|
6851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6852
|
+
:type SerialNumber: str
|
|
6853
|
+
:param _Remark: 备注
|
|
6854
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6855
|
+
:type Remark: str
|
|
6856
|
+
"""
|
|
6857
|
+
self._ItemID = None
|
|
6858
|
+
self._Name = None
|
|
6859
|
+
self._Unit = None
|
|
6860
|
+
self._Quantity = None
|
|
6861
|
+
self._Standard = None
|
|
6862
|
+
self._Total = None
|
|
6863
|
+
self._SerialNumber = None
|
|
6864
|
+
self._Remark = None
|
|
6865
|
+
|
|
6866
|
+
@property
|
|
6867
|
+
def ItemID(self):
|
|
6868
|
+
return self._ItemID
|
|
6869
|
+
|
|
6870
|
+
@ItemID.setter
|
|
6871
|
+
def ItemID(self, ItemID):
|
|
6872
|
+
self._ItemID = ItemID
|
|
6873
|
+
|
|
6874
|
+
@property
|
|
6875
|
+
def Name(self):
|
|
6876
|
+
return self._Name
|
|
6877
|
+
|
|
6878
|
+
@Name.setter
|
|
6879
|
+
def Name(self, Name):
|
|
6880
|
+
self._Name = Name
|
|
6881
|
+
|
|
6882
|
+
@property
|
|
6883
|
+
def Unit(self):
|
|
6884
|
+
return self._Unit
|
|
6885
|
+
|
|
6886
|
+
@Unit.setter
|
|
6887
|
+
def Unit(self, Unit):
|
|
6888
|
+
self._Unit = Unit
|
|
6889
|
+
|
|
6890
|
+
@property
|
|
6891
|
+
def Quantity(self):
|
|
6892
|
+
return self._Quantity
|
|
6893
|
+
|
|
6894
|
+
@Quantity.setter
|
|
6895
|
+
def Quantity(self, Quantity):
|
|
6896
|
+
self._Quantity = Quantity
|
|
6897
|
+
|
|
6898
|
+
@property
|
|
6899
|
+
def Standard(self):
|
|
6900
|
+
return self._Standard
|
|
6901
|
+
|
|
6902
|
+
@Standard.setter
|
|
6903
|
+
def Standard(self, Standard):
|
|
6904
|
+
self._Standard = Standard
|
|
6905
|
+
|
|
6906
|
+
@property
|
|
6907
|
+
def Total(self):
|
|
6908
|
+
return self._Total
|
|
6909
|
+
|
|
6910
|
+
@Total.setter
|
|
6911
|
+
def Total(self, Total):
|
|
6912
|
+
self._Total = Total
|
|
6913
|
+
|
|
6914
|
+
@property
|
|
6915
|
+
def SerialNumber(self):
|
|
6916
|
+
return self._SerialNumber
|
|
6917
|
+
|
|
6918
|
+
@SerialNumber.setter
|
|
6919
|
+
def SerialNumber(self, SerialNumber):
|
|
6920
|
+
self._SerialNumber = SerialNumber
|
|
6921
|
+
|
|
6922
|
+
@property
|
|
6923
|
+
def Remark(self):
|
|
6924
|
+
return self._Remark
|
|
6925
|
+
|
|
6926
|
+
@Remark.setter
|
|
6927
|
+
def Remark(self, Remark):
|
|
6928
|
+
self._Remark = Remark
|
|
6929
|
+
|
|
6930
|
+
|
|
6931
|
+
def _deserialize(self, params):
|
|
6932
|
+
self._ItemID = params.get("ItemID")
|
|
6933
|
+
self._Name = params.get("Name")
|
|
6934
|
+
self._Unit = params.get("Unit")
|
|
6935
|
+
self._Quantity = params.get("Quantity")
|
|
6936
|
+
self._Standard = params.get("Standard")
|
|
6937
|
+
self._Total = params.get("Total")
|
|
6938
|
+
self._SerialNumber = params.get("SerialNumber")
|
|
6939
|
+
self._Remark = params.get("Remark")
|
|
6940
|
+
memeber_set = set(params.keys())
|
|
6941
|
+
for name, value in vars(self).items():
|
|
6942
|
+
property_name = name[1:]
|
|
6943
|
+
if property_name in memeber_set:
|
|
6944
|
+
memeber_set.remove(property_name)
|
|
6945
|
+
if len(memeber_set) > 0:
|
|
6946
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6947
|
+
|
|
6948
|
+
|
|
6949
|
+
|
|
6435
6950
|
class FlightInvoiceInfo(AbstractModel):
|
|
6436
6951
|
"""机票行程单识别结果
|
|
6437
6952
|
|
|
@@ -8754,14 +9269,17 @@ Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:
|
|
|
8754
9269
|
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
|
8755
9270
|
|
|
8756
9271
|
WarnInfos,告警信息,Code 告警码列表和释义:
|
|
8757
|
-
-9100
|
|
8758
|
-
-9101
|
|
8759
|
-
|
|
8760
|
-
-
|
|
8761
|
-
-
|
|
8762
|
-
|
|
8763
|
-
-
|
|
8764
|
-
-
|
|
9272
|
+
-9100 身份证有效日期不合法告警,
|
|
9273
|
+
-9101 身份证边框不完整告警,
|
|
9274
|
+
|
|
9275
|
+
-9102 身份证复印件告警(黑白及彩色复印件),
|
|
9276
|
+
-9108 身份证复印件告警(仅黑白复印件),
|
|
9277
|
+
|
|
9278
|
+
-9103 身份证翻拍告警,
|
|
9279
|
+
-9105 身份证框内遮挡告警,
|
|
9280
|
+
-9104 临时身份证告警,
|
|
9281
|
+
-9106 身份证疑似存在PS痕迹告警,
|
|
9282
|
+
-9107 身份证反光告警。
|
|
8765
9283
|
:type AdvancedInfo: str
|
|
8766
9284
|
:param _ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
|
8767
9285
|
:type ReflectDetailInfos: list of ReflectDetailInfo
|
|
@@ -15963,14 +16481,17 @@ Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:
|
|
|
15963
16481
|
BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
|
|
15964
16482
|
|
|
15965
16483
|
WarnInfos,告警信息,Code 告警码列表和释义:
|
|
15966
|
-
-9100
|
|
15967
|
-
-9101
|
|
15968
|
-
|
|
15969
|
-
-
|
|
15970
|
-
-
|
|
15971
|
-
|
|
15972
|
-
-
|
|
15973
|
-
-
|
|
16484
|
+
-9100 身份证有效日期不合法告警,
|
|
16485
|
+
-9101 身份证边框不完整告警,
|
|
16486
|
+
|
|
16487
|
+
-9102 身份证复印件告警(黑白及彩色复印件),
|
|
16488
|
+
-9108 身份证复印件告警(仅黑白复印件),
|
|
16489
|
+
|
|
16490
|
+
-9103 身份证翻拍告警,
|
|
16491
|
+
-9105 身份证框内遮挡告警,
|
|
16492
|
+
-9104 临时身份证告警,
|
|
16493
|
+
-9106 身份证疑似存在PS痕迹告警,
|
|
16494
|
+
-9107 身份证反光告警。
|
|
15974
16495
|
:type AdvancedInfo: str
|
|
15975
16496
|
:param _ReflectDetailInfos: 反光点覆盖区域详情结果,具体内容请点击左侧链接
|
|
15976
16497
|
:type ReflectDetailInfos: list of ReflectDetailInfo
|
|
@@ -28660,12 +29181,12 @@ class VatInvoiceVerifyNewRequest(AbstractModel):
|
|
|
28660
29181
|
:type InvoiceDate: str
|
|
28661
29182
|
:param _InvoiceCode: 发票代码(10或12 位),全电发票为空。查验未成功超过5次后当日无法再查。
|
|
28662
29183
|
:type InvoiceCode: str
|
|
28663
|
-
:param _InvoiceKind: 票种类型 01:增值税专用发票, 02:货运运输业增值税专用发 票, 03:机动车销售统一发票, 04:增值税普通发票, 08:增值税电子专用发票(含全电), 10:增值税电子普通发票(含全电), 11:增值税普通发票(卷式), 14:增值税电子(通行费)发 票, 15:二手车销售统一发票, 32:深圳区块链发票(云南区块链因业务调整现已下线)。
|
|
29184
|
+
:param _InvoiceKind: 票种类型 01:增值税专用发票, 02:货运运输业增值税专用发 票, 03:机动车销售统一发票, 04:增值税普通发票, 08:增值税电子专用发票(含全电), 10:增值税电子普通发票(含全电), 11:增值税普通发票(卷式), 14:增值税电子(通行费)发 票, 15:二手车销售统一发票,16:财务发票, 32:深圳区块链发票(云南区块链因业务调整现已下线)。
|
|
28664
29185
|
:type InvoiceKind: str
|
|
28665
|
-
:param _CheckCode: 校验码后 6 位,增值税普通发票、增值税电子普通发票、增值税普通发票(卷式)、增值税电子普通发票(通行费)
|
|
29186
|
+
:param _CheckCode: 校验码后 6 位,增值税普通发票、增值税电子普通发票、增值税普通发票(卷式)、增值税电子普通发票(通行费)、全电纸质发票(增值税普通发票)、财政票据时必填;
|
|
28666
29187
|
区块链为 5 位
|
|
28667
29188
|
:type CheckCode: str
|
|
28668
|
-
:param _Amount:
|
|
29189
|
+
:param _Amount: 不含税金额,增值税专用发票、增值税电子专用发票、机动车销售统一发票、二手车销售统一发票、区块链发票、财政发票时必填; 全电发票为价税合计(含税金额)
|
|
28669
29190
|
:type Amount: str
|
|
28670
29191
|
:param _RegionCode: 地区编码,通用机打电子发票时必填。
|
|
28671
29192
|
广东:4400,浙江:3300
|
|
@@ -28812,6 +29333,8 @@ class VatInvoiceVerifyNewResponse(AbstractModel):
|
|
|
28812
29333
|
:type ElectronicTrainTicket: :class:`tencentcloud.ocr.v20181119.models.ElectronicTrainTicket`
|
|
28813
29334
|
:param _ElectronicAirTransport: 全电发票(航空运输电子客票行程单)详细字段信息。
|
|
28814
29335
|
:type ElectronicAirTransport: :class:`tencentcloud.ocr.v20181119.models.ElectronicAirTransport`
|
|
29336
|
+
:param _FinancialBill: 财政发票详细字段信息
|
|
29337
|
+
:type FinancialBill: :class:`tencentcloud.ocr.v20181119.models.FinancialBill`
|
|
28815
29338
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28816
29339
|
:type RequestId: str
|
|
28817
29340
|
"""
|
|
@@ -28821,6 +29344,7 @@ class VatInvoiceVerifyNewResponse(AbstractModel):
|
|
|
28821
29344
|
self._PassInvoiceInfoList = None
|
|
28822
29345
|
self._ElectronicTrainTicket = None
|
|
28823
29346
|
self._ElectronicAirTransport = None
|
|
29347
|
+
self._FinancialBill = None
|
|
28824
29348
|
self._RequestId = None
|
|
28825
29349
|
|
|
28826
29350
|
@property
|
|
@@ -28871,6 +29395,14 @@ class VatInvoiceVerifyNewResponse(AbstractModel):
|
|
|
28871
29395
|
def ElectronicAirTransport(self, ElectronicAirTransport):
|
|
28872
29396
|
self._ElectronicAirTransport = ElectronicAirTransport
|
|
28873
29397
|
|
|
29398
|
+
@property
|
|
29399
|
+
def FinancialBill(self):
|
|
29400
|
+
return self._FinancialBill
|
|
29401
|
+
|
|
29402
|
+
@FinancialBill.setter
|
|
29403
|
+
def FinancialBill(self, FinancialBill):
|
|
29404
|
+
self._FinancialBill = FinancialBill
|
|
29405
|
+
|
|
28874
29406
|
@property
|
|
28875
29407
|
def RequestId(self):
|
|
28876
29408
|
return self._RequestId
|
|
@@ -28902,6 +29434,9 @@ class VatInvoiceVerifyNewResponse(AbstractModel):
|
|
|
28902
29434
|
if params.get("ElectronicAirTransport") is not None:
|
|
28903
29435
|
self._ElectronicAirTransport = ElectronicAirTransport()
|
|
28904
29436
|
self._ElectronicAirTransport._deserialize(params.get("ElectronicAirTransport"))
|
|
29437
|
+
if params.get("FinancialBill") is not None:
|
|
29438
|
+
self._FinancialBill = FinancialBill()
|
|
29439
|
+
self._FinancialBill._deserialize(params.get("FinancialBill"))
|
|
28905
29440
|
self._RequestId = params.get("RequestId")
|
|
28906
29441
|
|
|
28907
29442
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1174
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1168
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|