From eeb128fda629e57e3fef0a41af1a44ddb6b40fbd Mon Sep 17 00:00:00 2001 From: el Mau Date: Mon, 13 Mar 2023 17:16:15 -0600 Subject: [PATCH] Fix in taxes in invoice pay --- source/app/models/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source/app/models/main.py b/source/app/models/main.py index d05ce55..381e37f 100644 --- a/source/app/models/main.py +++ b/source/app/models/main.py @@ -7636,6 +7636,7 @@ class CfdiPagos(BaseModel): while new_import_tax > import_dr: base_dr -= Decimal(0.01) new_import_tax = round(base_dr * tax.impuesto.tasa, 2) + import_dr = new_import_tax xml_tax_base = FORMAT.format(base_dr) xml_importe = FORMAT.format(import_dr)