From 579fdc08be30eb33e3f04c2b5ca627896d9f92b5 Mon Sep 17 00:00:00 2001 From: "bit4bit@riseup.net" Date: Sun, 6 Sep 2020 16:49:24 +0000 Subject: [PATCH] FAK46 fix #33 FossilOrigin-Name: 01b4d804b69494f7b54170c134ad2bc3f6d7dfa2aff9a34f351b378dca92a11f --- facho/fe/form.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/facho/fe/form.py b/facho/fe/form.py index 4866794..d072082 100644 --- a/facho/fe/form.py +++ b/facho/fe/form.py @@ -378,6 +378,9 @@ class DIANInvoiceXML(fe.FeXML): invoice.invoice_customer.responsability_code) fexml.placeholder_for('/fe:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme') + fexml.set_element('/fe:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID', + invoice.invoice_customer.ident, + **customer_company_id_attrs) fexml.set_element('/fe:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName', invoice.invoice_customer.legal_name)