Skip to content

Commit 675b787

Browse files
committed
Corrigido tags do retorno de Distribuição DF-e
1 parent 42c8a0c commit 675b787

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pysped/nfe/leiaute/distdfeint_100.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ def set_xml(self, arquivo):
144144
class DocZip(XMLNFe):
145145
def __init__(self):
146146
super(DocZip, self).__init__()
147-
self.NSU = TagCaracter(nome='docZip', propriedade='NSU' , namespace=NAMESPACE_NFE, raiz='//docZip')
148-
self.schema = TagCaracter(nome='docZip', propriedade='schema', namespace=NAMESPACE_NFE, raiz='//docZip')
149-
self.base64Binary = TagCaracter(nome='', namespace=NAMESPACE_NFE, raiz='//docZip')
147+
self.NSU = TagCaracter(nome='docZip', propriedade='NSU' , namespace=NAMESPACE_NFE, raiz='')
148+
self.schema = TagCaracter(nome='docZip', propriedade='schema', namespace=NAMESPACE_NFE, raiz='')
149+
self.base64Binary = TagCaracter(nome='docZip', namespace=NAMESPACE_NFE, raiz='')
150150

151151
def get_xml(self):
152152
xml = XMLNFe.get_xml(self)

0 commit comments

Comments
 (0)