tencentcloud-sdk-python-ocr 3.0.1405__py2.py3-none-any.whl → 3.0.1412__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1405'
17
+ __version__ = '3.0.1412'
@@ -4304,9 +4304,12 @@ class CustomsPaymentReceipt(AbstractModel):
4304
4304
  :type Title: str
4305
4305
  :param _Content: 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
4306
4306
  :type Content: list of OtherInvoiceItem
4307
+ :param _CommonContent: 海关缴款书常用字段
4308
+ :type CommonContent: list of OtherInvoiceItem
4307
4309
  """
4308
4310
  self._Title = None
4309
4311
  self._Content = None
4312
+ self._CommonContent = None
4310
4313
 
4311
4314
  @property
4312
4315
  def Title(self):
@@ -4330,6 +4333,17 @@ class CustomsPaymentReceipt(AbstractModel):
4330
4333
  def Content(self, Content):
4331
4334
  self._Content = Content
4332
4335
 
4336
+ @property
4337
+ def CommonContent(self):
4338
+ """海关缴款书常用字段
4339
+ :rtype: list of OtherInvoiceItem
4340
+ """
4341
+ return self._CommonContent
4342
+
4343
+ @CommonContent.setter
4344
+ def CommonContent(self, CommonContent):
4345
+ self._CommonContent = CommonContent
4346
+
4333
4347
 
4334
4348
  def _deserialize(self, params):
4335
4349
  self._Title = params.get("Title")
@@ -4339,6 +4353,12 @@ class CustomsPaymentReceipt(AbstractModel):
4339
4353
  obj = OtherInvoiceItem()
4340
4354
  obj._deserialize(item)
4341
4355
  self._Content.append(obj)
4356
+ if params.get("CommonContent") is not None:
4357
+ self._CommonContent = []
4358
+ for item in params.get("CommonContent"):
4359
+ obj = OtherInvoiceItem()
4360
+ obj._deserialize(item)
4361
+ self._CommonContent.append(obj)
4342
4362
  memeber_set = set(params.keys())
4343
4363
  for name, value in vars(self).items():
4344
4364
  property_name = name[1:]
@@ -30003,6 +30023,12 @@ class SingleInvoiceItem(AbstractModel):
30003
30023
  :param _SaleInventory: 销货清单
30004
30024
  注意:此字段可能返回 null,表示取不到有效值。
30005
30025
  :type SaleInventory: :class:`tencentcloud.ocr.v20181119.models.SaleInventory`
30026
+ :param _MotorVehicleSaleInvoiceElectronic: 机动车销售统一发票(电子)
30027
+ 注意:此字段可能返回 null,表示取不到有效值。
30028
+ :type MotorVehicleSaleInvoiceElectronic: :class:`tencentcloud.ocr.v20181119.models.MotorVehicleSaleInvoice`
30029
+ :param _UsedCarPurchaseInvoiceElectronic: 二手车销售统一发票(电子)
30030
+ 注意:此字段可能返回 null,表示取不到有效值。
30031
+ :type UsedCarPurchaseInvoiceElectronic: :class:`tencentcloud.ocr.v20181119.models.UsedCarPurchaseInvoice`
30006
30032
  """
30007
30033
  self._VatSpecialInvoice = None
30008
30034
  self._VatCommonInvoice = None
@@ -30039,6 +30065,8 @@ class SingleInvoiceItem(AbstractModel):
30039
30065
  self._OverseasInvoice = None
30040
30066
  self._ShoppingReceipt = None
30041
30067
  self._SaleInventory = None
30068
+ self._MotorVehicleSaleInvoiceElectronic = None
30069
+ self._UsedCarPurchaseInvoiceElectronic = None
30042
30070
 
30043
30071
  @property
30044
30072
  def VatSpecialInvoice(self):
@@ -30460,6 +30488,30 @@ class SingleInvoiceItem(AbstractModel):
30460
30488
  def SaleInventory(self, SaleInventory):
30461
30489
  self._SaleInventory = SaleInventory
30462
30490
 
30491
+ @property
30492
+ def MotorVehicleSaleInvoiceElectronic(self):
30493
+ """机动车销售统一发票(电子)
30494
+ 注意:此字段可能返回 null,表示取不到有效值。
30495
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.MotorVehicleSaleInvoice`
30496
+ """
30497
+ return self._MotorVehicleSaleInvoiceElectronic
30498
+
30499
+ @MotorVehicleSaleInvoiceElectronic.setter
30500
+ def MotorVehicleSaleInvoiceElectronic(self, MotorVehicleSaleInvoiceElectronic):
30501
+ self._MotorVehicleSaleInvoiceElectronic = MotorVehicleSaleInvoiceElectronic
30502
+
30503
+ @property
30504
+ def UsedCarPurchaseInvoiceElectronic(self):
30505
+ """二手车销售统一发票(电子)
30506
+ 注意:此字段可能返回 null,表示取不到有效值。
30507
+ :rtype: :class:`tencentcloud.ocr.v20181119.models.UsedCarPurchaseInvoice`
30508
+ """
30509
+ return self._UsedCarPurchaseInvoiceElectronic
30510
+
30511
+ @UsedCarPurchaseInvoiceElectronic.setter
30512
+ def UsedCarPurchaseInvoiceElectronic(self, UsedCarPurchaseInvoiceElectronic):
30513
+ self._UsedCarPurchaseInvoiceElectronic = UsedCarPurchaseInvoiceElectronic
30514
+
30463
30515
 
30464
30516
  def _deserialize(self, params):
30465
30517
  if params.get("VatSpecialInvoice") is not None:
@@ -30567,6 +30619,12 @@ class SingleInvoiceItem(AbstractModel):
30567
30619
  if params.get("SaleInventory") is not None:
30568
30620
  self._SaleInventory = SaleInventory()
30569
30621
  self._SaleInventory._deserialize(params.get("SaleInventory"))
30622
+ if params.get("MotorVehicleSaleInvoiceElectronic") is not None:
30623
+ self._MotorVehicleSaleInvoiceElectronic = MotorVehicleSaleInvoice()
30624
+ self._MotorVehicleSaleInvoiceElectronic._deserialize(params.get("MotorVehicleSaleInvoiceElectronic"))
30625
+ if params.get("UsedCarPurchaseInvoiceElectronic") is not None:
30626
+ self._UsedCarPurchaseInvoiceElectronic = UsedCarPurchaseInvoice()
30627
+ self._UsedCarPurchaseInvoiceElectronic._deserialize(params.get("UsedCarPurchaseInvoiceElectronic"))
30570
30628
  memeber_set = set(params.keys())
30571
30629
  for name, value in vars(self).items():
30572
30630
  property_name = name[1:]
@@ -1811,6 +1811,16 @@ class OcrClient(AbstractClient):
1811
1811
  <td> 二手车销售统一发票 </td>
1812
1812
  <td> 12 </td>
1813
1813
  </tr>
1814
+ <tr>
1815
+ <td> MotorVehicleSaleInvoiceElectronic </td>
1816
+ <td> 机动车销售统一发票(电子)</td>
1817
+ <td> 12 </td>
1818
+ </tr>
1819
+ <tr>
1820
+ <td> UsedCarPurchaseInvoiceElectronic </td>
1821
+ <td> 二手车销售统一发票(电子)</td>
1822
+ <td> 12 </td>
1823
+ </tr>
1814
1824
  <tr>
1815
1825
  <td> VatInvoiceRoll </td>
1816
1826
  <td> 增值税普通发票(卷票) </td>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ocr
3
- Version: 3.0.1405
3
+ Version: 3.0.1412
4
4
  Summary: Tencent Cloud Ocr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common (==3.0.1405)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1412)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=Tkxct_zdy_hHvHt9h3Z7ac-e8b_f_RP2Ui_IHD0kV_E,631
2
+ tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/ocr/v20181119/errorcodes.py,sha256=L12AZxzshizeJibob00zcd-pBSaeP5XE7OlNM1Firlk,7012
5
+ tencentcloud/ocr/v20181119/models.py,sha256=FXvT6KHpzXnJBIOVK355tGrj2sCrR10QSsunAiKH1fQ,1364347
6
+ tencentcloud/ocr/v20181119/ocr_client.py,sha256=oKMUEEaTRssV-Jr1kakHEGXF9WIlJUqGYbY3eT54rwo,122154
7
+ tencentcloud_sdk_python_ocr-3.0.1412.dist-info/METADATA,sha256=rxoE0zdVT15-v-QIo-vxYy0PI4xeMFgkt46-RGFCLBs,1496
8
+ tencentcloud_sdk_python_ocr-3.0.1412.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_ocr-3.0.1412.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_ocr-3.0.1412.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=GwGOscomA2QYoFhz4T_9RDCrtrqnYFXjw9gkCNskaYA,631
2
- tencentcloud/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/ocr/v20181119/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/ocr/v20181119/errorcodes.py,sha256=L12AZxzshizeJibob00zcd-pBSaeP5XE7OlNM1Firlk,7012
5
- tencentcloud/ocr/v20181119/models.py,sha256=mJKuAvBA-yFru-9u2gWFkDykTqf4BHrm-Pwi5Rzm6jY,1361380
6
- tencentcloud/ocr/v20181119/ocr_client.py,sha256=QDWZ3EFzUvC7XiVXtYpYqsAC0RmtlTTcoWWrTqSGPAI,121743
7
- tencentcloud_sdk_python_ocr-3.0.1405.dist-info/METADATA,sha256=bsqVEbUHvofg6YH2SmPLNp76YeX9BMnAbgxuQhohW2c,1496
8
- tencentcloud_sdk_python_ocr-3.0.1405.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_ocr-3.0.1405.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_ocr-3.0.1405.dist-info/RECORD,,