-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#4 - Alterado local dos Schemas para validação. Adicionado todos so S…
…chemas encontrados para validação.
- Loading branch information
Showing
143 changed files
with
28,175 additions
and
9,911 deletions.
There are no files selected for viewing
98 changes: 0 additions & 98 deletions
98
lib/br_nfe/product/xml/v1_00/XSD/xmldsig-core-schema_v1.01.xsd
This file was deleted.
Oops, something went wrong.
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
25 changes: 25 additions & 0 deletions
25
test/fixtures/product/response/v3.10/nfe_autorizacao/success.xml
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,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<soap:Header> | ||
<nfeCabecMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeAutorizacao"> | ||
<cUF>42</cUF> | ||
<versaoDados>3.10</versaoDados> | ||
</nfeCabecMsg> | ||
</soap:Header> | ||
<soap:Body> | ||
<nfeAutorizacaoLoteResult xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeAutorizacao"> | ||
<retEnviNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="3.10"> | ||
<tpAmb>2</tpAmb> | ||
<verAplic>SVRS201603081012</verAplic> | ||
<cStat>103</cStat> | ||
<xMotivo>Lote recebido com sucesso</xMotivo> | ||
<cUF>42</cUF> | ||
<dhRecbto>2016-12-20T10:50:44-02:00</dhRecbto> | ||
<infRec> | ||
<nRec>423002169442281</nRec> | ||
<tMed>1</tMed> | ||
</infRec> | ||
</retEnviNFe> | ||
</nfeAutorizacaoLoteResult> | ||
</soap:Body> | ||
</soap:Envelope> |
33 changes: 33 additions & 0 deletions
33
test/fixtures/product/response/v3.10/nfe_consulta_autorizacao/fail.xml
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,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<soap:Header> | ||
<nfeCabecMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeRetAutorizacao"> | ||
<cUF>42</cUF> | ||
<versaoDados>3.10</versaoDados> | ||
</nfeCabecMsg> | ||
</soap:Header> | ||
<soap:Body> | ||
<nfeRetAutorizacaoLoteResult xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeRetAutorizacao"> | ||
<retConsReciNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="3.10"> | ||
<tpAmb>2</tpAmb> | ||
<verAplic>SVRS201611281548</verAplic> | ||
<nRec>423002169476281</nRec> | ||
<cStat>104</cStat> | ||
<xMotivo>Lote processado</xMotivo> | ||
<cUF>42</cUF> | ||
<dhRecbto>2016-12-20T14:29:28-02:00</dhRecbto> | ||
<protNFe versao="3.10"> | ||
<infProt> | ||
<tpAmb>2</tpAmb> | ||
<verAplic>SVRS201611281548</verAplic> | ||
<chNFe>42161223020443000140550010000000011201601011</chNFe> | ||
<dhRecbto>2016-12-20T14:29:28-02:00</dhRecbto> | ||
<digVal>hBKuDGD3gRtlFDO5bT9VH/UWKBQ=</digVal> | ||
<cStat>209</cStat> | ||
<xMotivo>Rejeicao: IE do emitente invalida</xMotivo> | ||
</infProt> | ||
</protNFe> | ||
</retConsReciNFe> | ||
</nfeRetAutorizacaoLoteResult> | ||
</soap:Body> | ||
</soap:Envelope> |
34 changes: 34 additions & 0 deletions
34
test/fixtures/product/response/v3.10/nfe_consulta_autorizacao/success_104.xml
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,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<soap:Header> | ||
<nfeCabecMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeRetAutorizacao"> | ||
<cUF>42</cUF> | ||
<versaoDados>3.10</versaoDados> | ||
</nfeCabecMsg> | ||
</soap:Header> | ||
<soap:Body> | ||
<nfeRetAutorizacaoLoteResult xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeRetAutorizacao"> | ||
<retConsReciNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="3.10"> | ||
<tpAmb>2</tpAmb> | ||
<verAplic>SVRS201611281548</verAplic> | ||
<nRec>423002169484138</nRec> | ||
<cStat>104</cStat> | ||
<xMotivo>Lote processado</xMotivo> | ||
<cUF>42</cUF> | ||
<dhRecbto>2016-12-20T16:11:28-02:00</dhRecbto> | ||
<protNFe versao="3.10"> | ||
<infProt> | ||
<tpAmb>2</tpAmb> | ||
<verAplic>SVRS201611281548</verAplic> | ||
<chNFe>42161208897094000155550010000000011201601016</chNFe> | ||
<dhRecbto>2016-12-20T16:11:28-02:00</dhRecbto> | ||
<nProt>342160000785247</nProt> | ||
<digVal>AcoglfmS7KCjv/XaaYO0T9ohlqM=</digVal> | ||
<cStat>100</cStat> | ||
<xMotivo>Autorizado o uso da NF-e</xMotivo> | ||
</infProt> | ||
</protNFe> | ||
</retConsReciNFe> | ||
</nfeRetAutorizacaoLoteResult> | ||
</soap:Body> | ||
</soap: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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- 03-03-2011 - correcao do nome da tag raiz --> | ||
<!-- PL_006CC CCe 16/06/2010 --> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="leiauteCCe_v1.00.xsd"/> | ||
<xs:element name="evento" type="TEvento"> | ||
<xs:annotation> | ||
<xs:documentation>Schema XML de validação do evento Carta de Correção</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:schema> |
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,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified"> | ||
<xs:include schemaLocation="leiauteEPEC_v1.00.xsd"/> | ||
<xs:element name="evento" type="TEvento"> | ||
<xs:annotation> | ||
<xs:documentation>Schema XML de validação do Evento Prévio de Emissão em Contingência</xs:documentation> | ||
</xs:annotation> | ||
</xs:element> | ||
</xs:schema> |
Oops, something went wrong.