Fix in taxes in invoice pay
This commit is contained in:
commit
6411c2e51e
|
@ -7636,6 +7636,7 @@ class CfdiPagos(BaseModel):
|
||||||
while new_import_tax > import_dr:
|
while new_import_tax > import_dr:
|
||||||
base_dr -= Decimal(0.01)
|
base_dr -= Decimal(0.01)
|
||||||
new_import_tax = round(base_dr * tax.impuesto.tasa, 2)
|
new_import_tax = round(base_dr * tax.impuesto.tasa, 2)
|
||||||
|
import_dr = new_import_tax
|
||||||
|
|
||||||
xml_tax_base = FORMAT.format(base_dr)
|
xml_tax_base = FORMAT.format(base_dr)
|
||||||
xml_importe = FORMAT.format(import_dr)
|
xml_importe = FORMAT.format(import_dr)
|
||||||
|
|
Loading…
Reference in New Issue