Fix in taxes in invoice pay

This commit is contained in:
el Mau 2023-03-13 17:16:30 -06:00
commit 6411c2e51e
1 changed files with 1 additions and 0 deletions

View File

@ -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)