Skip to content

Commit 08313ed

Browse files
committed
Fixed Descarga Masiva
1 parent 5932bcc commit 08313ed

File tree

2 files changed

+5
-23
lines changed

2 files changed

+5
-23
lines changed

docs/pages/getting_started/45_cfdi_descarga_massiva.rst

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,3 @@ ___________________
100100
# volver a intentar más tarde
101101
pass
102102
103-
104-
Si ya se tiene una solicitud
105-
______________________________
106-
107-
.. code-block:: python
108-
109-
# Si ya se tiene un id_solicitud
110-
for paquete_id, data in sat_service.recover_comprobante_iwait(
111-
id_solicitud='365e2a3d-6f99-4563-856e-28caddc7ad39',
112-
):
113-
with open(f"{paquete_id}.zip", "wb") as f:
114-
f.write(data)
115-
116-

satcfdi/pacs/sat.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,21 @@
1010
from enum import IntEnum, Enum, StrEnum
1111
from functools import cache
1212
from itertools import islice
13-
from typing import Iterator
1413
from uuid import UUID
1514

16-
from bs4 import BeautifulSoup
17-
from packaging import version
18-
1915
import requests
16+
from bs4 import BeautifulSoup
2017
from lxml import etree
2118
from lxml.etree import QName
22-
from satcfdi.create.cfd.catalogos import TipoDeComprobante
23-
24-
from ..models import Code
19+
from packaging import version
2520

21+
from satcfdi.create.cfd.catalogos import TipoDeComprobante
22+
from . import PAC, Environment, TaxpayerStatus
2623
from .. import __version__
2724
from ..cfdi import CFDI
25+
from ..create.w3.signature import signature_c14n_sha1, _digest, _tobytes
2826
from ..exceptions import ResponseError
2927
from ..models import Signer, Certificate
30-
from . import PAC, Environment, TaxpayerStatus
31-
from ..create.w3.signature import signature_c14n_sha1, _digest, _tobytes
3228
from ..transform import MEXICO_TZ, get_timezone, verify_certificate
3329
from ..utils import iterate, parser
3430

0 commit comments

Comments
 (0)