libredte 4.3.0__tar.gz → 4.4.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: libredte
3
- Version: 4.3.0
3
+ Version: 4.4.0
4
4
  Summary: Cliente para realizar la integración con los servicios web de LibreDTE desde Python.
5
5
  Home-page: https://github.com/LibreDTE/libredte-api-client-python
6
6
  Author: LibreDTE
@@ -51,6 +51,18 @@ class Dte(ApiBase):
51
51
  """
52
52
  filtros = '' if filtros is None else urlencode(filtros)
53
53
  return self.client.get(f'/dte/dte_tmps/info/{receptor}/{dte}/{codigo}/{emisor}?{filtros}')
54
+
55
+ def delete_dte_temporal(self, receptor, dte, codigo, emisor):
56
+ """
57
+ Elimina un DTE temporal específico.
58
+
59
+ :param str receptor: RUT del receptor.
60
+ :param str dte: Tipo de DTE.
61
+ :param str codigo: Código del DTE temporal.
62
+ :param str emisor: RUT del emisor.
63
+ :return: Respuesta JSON con un boolean que retorna verdadero si se eliminó el DTE temporal.
64
+ """
65
+ return self.client.get(f'/dte/dte_tmps/eliminar/{receptor}/{dte}/{codigo}/{emisor}')
54
66
 
55
67
  def emitir_dte_real(self, dte_real, filtros=None):
56
68
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: libredte
3
- Version: 4.3.0
3
+ Version: 4.4.0
4
4
  Summary: Cliente para realizar la integración con los servicios web de LibreDTE desde Python.
5
5
  Home-page: https://github.com/LibreDTE/libredte-api-client-python
6
6
  Author: LibreDTE
@@ -34,7 +34,7 @@ setup(
34
34
  name='libredte',
35
35
 
36
36
  # Versions should comply with PEP440
37
- version='4.3.0',
37
+ version='4.4.0',
38
38
 
39
39
  description='Cliente para realizar la integración con los servicios web de LibreDTE desde Python.',
40
40
  long_description="\n"+long_description,
File without changes
File without changes
File without changes
File without changes