FossilOrigin-Name: 01b4d804b69494f7b54170c134ad2bc3f6d7dfa2aff9a34f351b378dca92a11f
This commit is contained in:
bit4bit@riseup.net 2020-09-06 16:49:24 +00:00
parent 153d577100
commit 579fdc08be

View File

@ -378,6 +378,9 @@ class DIANInvoiceXML(fe.FeXML):
invoice.invoice_customer.responsability_code) invoice.invoice_customer.responsability_code)
fexml.placeholder_for('/fe:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme') 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', fexml.set_element('/fe:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName',
invoice.invoice_customer.legal_name) invoice.invoice_customer.legal_name)