From 5d81b2ff807fa3db8d4c4c058d3ebebc3e071281 Mon Sep 17 00:00:00 2001 From: "alnus@disroot.org" Date: Fri, 4 Sep 2020 02:46:01 +0000 Subject: [PATCH] =?UTF-8?q?correci=C3=B3n=20Dian=20FAK20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FossilOrigin-Name: 7bc334f3f33b7e57f6223d6af26edda580d0894c45927195fafb415936d4259f --- facho/fe/form.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/facho/fe/form.py b/facho/fe/form.py index 53b6500..612887a 100644 --- a/facho/fe/form.py +++ b/facho/fe/form.py @@ -329,6 +329,8 @@ class DIANInvoiceXML(fe.FeXML): fexml.set_element('/fe:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID', invoice.invoice_customer.ident, **fe.SCHEME_AGENCY_ATTRS) + fexml.set_element('/fe:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:RegistrationName', + invoice.invoice_customer.legal_name) fexml.set_element('/fe:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:TaxLevelCode', invoice.invoice_customer.responsability_code) fexml.placeholder_for('/fe:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme')