From 58d77443d500e054497ac6aede4e52ed827cd85a Mon Sep 17 00:00:00 2001 From: "alnus@disroot.org" Date: Sun, 6 Sep 2020 19:25:38 +0000 Subject: [PATCH] FAJ16 fix #11 FossilOrigin-Name: 99d8784b723ff060d237bdf5d9bd6ace5c35d322a70a0e03a38e2ea9a5dd1bfb --- facho/fe/form.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/facho/fe/form.py b/facho/fe/form.py index a68d85d..6bfba27 100644 --- a/facho/fe/form.py +++ b/facho/fe/form.py @@ -329,6 +329,10 @@ class DIANInvoiceXML(fe.FeXML): #DIAN 1.7.-2020: FAJ14 fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:AddressLine/cbc:Line', invoice.invoice_supplier.address.street) + #DIAN 1.7.-2020: FAJ16 + fexml.set_element('/fe:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PhysicalLocation/cac:Address/cac:Country/cbc:IdentificationCode', + invoice.invoice_supplier.address.country.code) + #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)