From 0a32a1bfc157e5aca6d565fd591a7ad225cf8b4f Mon Sep 17 00:00:00 2001 From: "alnus@disroot.org" Date: Fri, 4 Sep 2020 02:54:11 +0000 Subject: [PATCH] =?UTF-8?q?correci=C3=B3n=20Dian=20FAJ20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: cfe682e977168bd8eb2cec3412356ef9b06246663bbf168bbead62f804c6c2c9 --- facho/fe/form.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/facho/fe/form.py b/facho/fe/form.py index 612887a..f93d758 100644 --- a/facho/fe/form.py +++ b/facho/fe/form.py @@ -301,6 +301,8 @@ class DIANInvoiceXML(fe.FeXML): fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID', invoice.invoice_supplier.ident, **supplier_company_id_attrs) + fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:RegistrationName', + invoice.invoice_supplier.legal_name) fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID', invoice.invoice_supplier.ident,