Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementação método de distribuição de documentos fiscais
- Loading branch information
1 parent
3ea90c8
commit 0a6eda2
Showing
6 changed files
with
45 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> | ||
<Body> | ||
<nfeDistDFeInteresse xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NFeDistribuicaoDFe"> | ||
<nfeDadosMsg> | ||
<distDFeInt xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> | ||
<tpAmb>{{ ambiente }}</tpAmb> | ||
<cUFAutor>{{ estado }}</cUFAutor> | ||
<CNPJ>{{ consulta.cnpj_cpf }}</CNPJ> | ||
<distNSU> | ||
<ultNSU>{{ consulta.ultimo_nsu }}</ultNSU> | ||
</distNSU> | ||
</distDFeInt> | ||
</nfeDadosMsg> | ||
</nfeDistDFeInteresse> | ||
</Body> | ||
</Envelope> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> | ||
<idLote>{{ obj.lote }}</idLote> | ||
<idLote>{{ lote }}</idLote> | ||
<evento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"> | ||
<infEvento Id="{{ obj.id }}"> | ||
<cOrgao>{{ obj.orgao }}</cOrgao> | ||
<tpAmb>{{ obj.ambiente }}</tpAmb> | ||
<CNPJ>{{ obj.cnpj }}</CNPJ> | ||
<chNFe>{{ obj.chave_nfe }}</chNFe> | ||
<dhEvento>{{ obj.data_hora_evento }}</dhEvento> | ||
<infEvento Id="{{ manifesto.identificador }}"> | ||
<cOrgao>{{ manifesto.estado }}</cOrgao> | ||
<tpAmb>{{ ambiente }}</tpAmb> | ||
<CNPJ>{{ manifesto.cnpj_empresa }}</CNPJ> | ||
<chNFe>{{ manifesto.chave_nfe }}</chNFe> | ||
<dhEvento>{{ manifesto.data_hora_evento }}</dhEvento> | ||
<tpEvento>210200</tpEvento> | ||
<nSeqEvento>{{ obj.sequencia }}</nSeqEvento> | ||
<nSeqEvento>{{ manifesto.numero_sequencial }}</nSeqEvento> | ||
<verEvento>1.00</verEvento> | ||
<detEvento versao="1.00"> | ||
<descEvento>Confirmacao da Operacao</descEvento> | ||
</detEvento> | ||
</infEvento> | ||
</evento> | ||
</envEvento> | ||
</envEvento> |