diff --git a/facho/fe/data/dian/codelist/TipoResponsabilidad-2.1.gc b/facho/fe/data/dian/codelist/TipoResponsabilidad-2.1.gc index d5e9d27..9ba4739 100644 --- a/facho/fe/data/dian/codelist/TipoResponsabilidad-2.1.gc +++ b/facho/fe/data/dian/codelist/TipoResponsabilidad-2.1.gc @@ -62,13 +62,5 @@ Régimen simple de tributación - - - ZZ - - - No aplica - - - \ No newline at end of file + diff --git a/facho/fe/form.py b/facho/fe/form.py index d072082..58d98e4 100644 --- a/facho/fe/form.py +++ b/facho/fe/form.py @@ -375,7 +375,11 @@ class DIANInvoiceXML(fe.FeXML): 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) + #DIAN 1.7.-2020: FAK26 + invoice.invoice_customer.responsability_code, + #DIAN 1.7.-2020: FAK27 + listName=invoice.invoice_customer.responsability_regime_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',