Browse Source

Merge 257b1d51cb into 9817897d30

pull/88/merge
Thiago Reis 8 years ago
committed by GitHub
parent
commit
b0d526b73f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .gitignore
  2. 15
      pytrustnfe/nfe/templates/NFeDistribuicaoDFe.xml
  3. 3
      pytrustnfe/nfe/templates/RecepcaoEventoManifesto.xml

1
.gitignore

@ -12,3 +12,4 @@ dist/
docs/_build
.vscode/tags
.cache
.idea/

15
pytrustnfe/nfe/templates/NFeDistribuicaoDFe.xml

@ -9,11 +9,18 @@
<distNSU>
<ultNSU>{{ ultimo_nsu }}</ultNSU>
</distNSU>
<consChNFe>
<chNFe>{{ chave_nfe }}</chNFe>
</consChNFe>
{% if nsu is defined %}
<consNSU>
<NSU>{{ nsu }}</NSU>
</consNSU>
{% endif %}
{% if chNFe is defined %}
<consChNFe>
<chNFe>{{ chNFe }}</chNFe>
</consChNFe>
{% endif %}
</distDFeInt>
</nfeDadosMsg>
</nfeDistDFeInteresse>
</Body>
</Envelope>
</Envelope>

3
pytrustnfe/nfe/templates/RecepcaoEventoManifesto.xml

@ -1,6 +1,6 @@
<envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00">
<idLote>{{ lote }}</idLote>
<evento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00">
<evento versao="1.00">
<infEvento Id="{{ manifesto.identificador }}">
<cOrgao>91</cOrgao>
<tpAmb>{{ ambiente }}</tpAmb>
@ -12,7 +12,6 @@
<verEvento>1.00</verEvento>
<detEvento versao="1.00">
<descEvento>{{ manifesto.event_description }}</descEvento>
<xJust>{{ manifesto.justificativa }}</xJust>
</detEvento>
</infEvento>
</evento>

Loading…
Cancel
Save