We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd8f6e6 commit fb647fdCopy full SHA for fb647fd
1 file changed
satdigitalinvoice/facturacion.py
@@ -252,7 +252,7 @@ def generate_invoice(self, invoice):
252
try:
253
res = self.get_pac_service(invoice['Emisor']['Rfc']).stamp(
254
cfdi=invoice,
255
- accept=Accept.XML_PDF,
+ accept=Accept.XML,
256
ref_id=ref_id
257
)
258
except Exception as ex:
@@ -733,7 +733,7 @@ def show_console(self):
733
self.window['errores_tab'].select()
734
735
def download_invoice(self, uuid: UUID):
736
- res = self.pac_service.recover(uuid, accept=Accept.XML_PDF)
+ res = self.pac_service.recover(uuid, accept=Accept.XML)
737
self._all_invoices = None
738
return MyCFDI.move_to_folder(res.xml, pdf_data=res.pdf)
739
0 commit comments