FAK26 fix #8.

* facho/fe/data/dian/codelist/TipoResponsabilidad-2.1.gc: se elimina ZZ, no
es valido segun documento dian.

FossilOrigin-Name: b2a84cb433e413cf75a9642d33e0ad9799b732d42aa6669dd1467135273c25c7
This commit is contained in:
bit4bit@riseup.net 2020-09-06 17:01:16 +00:00
parent 579fdc08be
commit 3908a00a07
2 changed files with 6 additions and 10 deletions

View File

@ -62,13 +62,5 @@
<SimpleValue>Régimen simple de tributación</SimpleValue>
</Value>
</Row>
<Row>
<Value ColumnRef="code">
<SimpleValue>ZZ</SimpleValue>
</Value>
<Value ColumnRef="name">
<SimpleValue>No aplica</SimpleValue>
</Value>
</Row>
</SimpleCodeList>
</gc:CodeList>
</gc:CodeList>

View File

@ -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',