Skip to content

Commit fb647fd

Browse files
committed
fixed compute
1 parent fd8f6e6 commit fb647fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

satdigitalinvoice/facturacion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def generate_invoice(self, invoice):
252252
try:
253253
res = self.get_pac_service(invoice['Emisor']['Rfc']).stamp(
254254
cfdi=invoice,
255-
accept=Accept.XML_PDF,
255+
accept=Accept.XML,
256256
ref_id=ref_id
257257
)
258258
except Exception as ex:
@@ -733,7 +733,7 @@ def show_console(self):
733733
self.window['errores_tab'].select()
734734

735735
def download_invoice(self, uuid: UUID):
736-
res = self.pac_service.recover(uuid, accept=Accept.XML_PDF)
736+
res = self.pac_service.recover(uuid, accept=Accept.XML)
737737
self._all_invoices = None
738738
return MyCFDI.move_to_folder(res.xml, pdf_data=res.pdf)
739739

0 commit comments

Comments
 (0)