FAJ17 fix #35
FossilOrigin-Name: dc12f0b6d7cc5a2db16075d7545e3ebbbcaca0e26e562a2d3176cb642d9ab14e
This commit is contained in:
parent
2179865453
commit
8c5d7754a7
@ -35,7 +35,7 @@ class Address:
|
|||||||
street: str = ''
|
street: str = ''
|
||||||
city: str = ''
|
city: str = ''
|
||||||
department: str = ''
|
department: str = ''
|
||||||
country: Country = Country('CO', 'COLOMBIA')
|
country: Country = Country('CO', 'Colombia')
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
@ -326,11 +326,12 @@ class DIANInvoiceXML(fe.FeXML):
|
|||||||
#DIAN 1.7.-2020: FAJ09
|
#DIAN 1.7.-2020: FAJ09
|
||||||
fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cbc:ID',
|
fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cbc:ID',
|
||||||
invoice.invoice_supplier.address.city)
|
invoice.invoice_supplier.address.city)
|
||||||
|
#DIAN 1.7.-2020: FAJ14
|
||||||
|
|
||||||
fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:AddressLine/cbc:Line',
|
fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:AddressLine/cbc:Line',
|
||||||
invoice.invoice_supplier.address.street)
|
invoice.invoice_supplier.address.street)
|
||||||
|
#DIAN 1.7.-2020: FAJ17
|
||||||
|
fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:Country/cbc:Name',
|
||||||
|
invoice.invoice_supplier.address.country.name)
|
||||||
|
|
||||||
supplier_company_id_attrs = fe.SCHEME_AGENCY_ATTRS.copy()
|
supplier_company_id_attrs = fe.SCHEME_AGENCY_ATTRS.copy()
|
||||||
supplier_company_id_attrs.update({'schemeID': invoice.invoice_supplier.ident.dv,
|
supplier_company_id_attrs.update({'schemeID': invoice.invoice_supplier.ident.dv,
|
||||||
|
Loading…
Reference in New Issue
Block a user