diff --git a/source/app/controllers/cfdi_xml.py b/source/app/controllers/cfdi_xml.py index 9fc9322..3743972 100644 --- a/source/app/controllers/cfdi_xml.py +++ b/source/app/controllers/cfdi_xml.py @@ -609,7 +609,7 @@ class CFDI(object): if taxes_pay['traslados'] or taxes_pay['retenciones']: node_tax = ET.SubElement(node_pago, f'{pre}:ImpuestosP') if taxes_pay['retenciones']: - node = ET.SubElement(node_tax, f'{pre}:RetencionsP') + node = ET.SubElement(node_tax, f'{pre}:RetencionesP') for key, importe in taxes_pay['retenciones'].items(): attr = {'ImpuestoP': key, 'ImporteP': importe} ET.SubElement(node, f'{pre}:RetencionP', attr)