NFE - SEFAZ-SP

LIZA 20/08/2014 11:46:17
#440609
Alguem confirma problemas com nfe na sefaz de sp no momento ?
LIZA 20/08/2014 12:05:41
#440610
verifiquei no site da sefaz-sp, que entrou em contingência hoje as 11:40, neste caso, quando ocorrer assim sem aviso, a única opção é emitir em formulário de segurança ?, ou tem como desviar para outro local de processamento ?
MESTRE 20/08/2014 12:21:29
#440611
ESTÀ COM PROBLEMA AQUI TAMBEM



falando nisso Liza como vc faz para ler os arquivos XML??
LIZA 20/08/2014 12:25:54
#440613
pelo que vi no site da sefaz, sp acabou de normalizar.....Como assim, ler o xml ?
MESTRE 20/08/2014 13:35:44
#440615
ler o xml.. pegar o xml
  <?xml version=[Ô]1.0[Ô] encoding=[Ô]UTF-8[Ô]?>

-<nfeProc xmlns=[Ô]http://www.portalfiscal.inf.br/nfe[Ô] versao=[Ô]2.00[Ô]>


-<NFe xmlns=[Ô]http://www.portalfiscal.inf.br/nfe[Ô]>


-<infNFe versao=[Ô]2.00[Ô] Id=[Ô]NFe35140304921401000135550010000058771372000049[Ô]>


-<ide>

<cUF>35</cUF>

<cNF>37200004</cNF>

<natOp>RETORNO</natOp>

<indPag>2</indPag>

<mod>55</mod>

<serie>1</serie>

<nNF>5877</nNF>

<dEmi>2014-03-17</dEmi>

<tpNF>1</tpNF>

<cMunFG>3518800</cMunFG>

<tpImp>1</tpImp>

<tpEmis>1</tpEmis>

<cDV>9</cDV>

<tpAmb>1</tpAmb>

<finNFe>1</finNFe>

<procEmi>3</procEmi>

<verProc>2.2.21</verProc>

</ide>


-<emit>

<CNPJ>04234234245</CNPJ>

<xNome>NOME EMPRESA</xNome>


-<enderEmit>

<xLgr>ENDEREÇO</xLgr>

<nro>106</nro>

<xBairro>CIDADE</xBairro>

<cMun>35183434800</cMun>

<xMun>Guarulhos</xMun>

<UF>SP</UF>

<CEP>05221070</CEP>

<cPais>1058</cPais>

<xPais>BRASIL</xPais>

<fone>551124460053</fone>

</enderEmit>

<IE>33675336110</IE>

<CRT>3</CRT>

</emit>


-<dest>

<CNPJ>12314430000167</CNPJ>

<xNome>Cliente</xNome>


-<enderDest>

<xLgr>RUA BLABLABLAA</xLgr>

<nro>111</nro>

<xBairro>BAIRRO</xBairro>

<cMun>445106902</cMun>

<xMun>Curitiba</xMun>

<UF>PR</UF>

<CEP>8550110</CEP>

<cPais>1058</cPais>

<xPais>BRASIL</xPais>

</enderDest>

<IE>9052799551</IE>

<email>email@email.com.br</email>

</dest>


-<det nItem=[Ô]1[Ô]>


-<prod>

<cProd>01</cProd>

<cEAN/>

<xProd>3 PNEUS 215/75 R17.5</xProd>

<NCM>99999999</NCM>

<CFOP>6949</CFOP>

<uCom>UN</uCom>

<qCom>3.0000</qCom>

<vUnCom>100.0000000000</vUnCom>

<vProd>300.00</vProd>

<cEANTrib/>

<uTrib>UN</uTrib>

<qTrib>3.0000</qTrib>

<vUnTrib>100.0000000000</vUnTrib>

<indTot>1</indTot>

</prod>


-<imposto>


-<ICMS>


-<ICMS40>

<orig>0</orig>

<CST>41</CST>

</ICMS40>

</ICMS>


-<IPI>

<cEnq>999</cEnq>


-<IPINT>

<CST>55</CST>

</IPINT>

</IPI>


-<PIS>


-<PISNT>

<CST>07</CST>

</PISNT>

</PIS>


-<COFINS>


-<COFINSNT>

<CST>07</CST>

</COFINSNT>

</COFINS>

</imposto>

</det>


-<total>


-<ICMSTot>

<vBC>0.00</vBC>

<vICMS>0.00</vICMS>

<vBCST>0.00</vBCST>

<vST>0.00</vST>

<vProd>300.00</vProd>

<vFrete>0.00</vFrete>

<vSeg>0.00</vSeg>

<vDesc>0.00</vDesc>

<vII>0.00</vII>

<vIPI>0.00</vIPI>

<vPIS>0.00</vPIS>

<vCOFINS>0.00</vCOFINS>

<vOutro>0.00</vOutro>

<vNF>300.00</vNF>

</ICMSTot>

</total>


-<transp>

<modFrete>1</modFrete>


-<vol>

<qVol>3</qVol>

<esp>VOLUMES</esp>

<pesoL>80.000</pesoL>

<pesoB>80.000</pesoB>

</vol>

</transp>


-<infAdic>

<infCpl>RETORNO (PARCIAL) DE MATERIAL REFERENTE NOTA FISCAL n° 18 EMITIDA EM 27/08/2013 NAO INCIDENCIA DE IPI CONF. ARTIGO 5 INCISO XI DECRETO 45.544/00. NAO INCIDENCIA DE ICMS CONF. ARTIGO 7 INCISO X1 DECRETO 45.490/00</infCpl>

</infAdic>


-<compra>

<xPed>3 PNEUS 215/75 R17.5</xPed>

</compra>

</infNFe>


-<Signature xmlns=[Ô]http://www.w3.org/2000/09/xmldsig#[Ô]>


-<SignedInfo>

<CanonicalizationMethod Algorithm=[Ô]http://www.w3.org/TR/2001/REC-xml-c14n-20010315[Ô]/>

<SignatureMethod Algorithm=[Ô]http://www.w3.org/2000/09/xmldsig#rsa-sha1[Ô]/>


-<Reference URI=[Ô]#NFe35140304921401000135550010000058771372000049[Ô]>


-<Transforms>

<Transform Algorithm=[Ô]http://www.w3.org/2000/09/xmldsig#enveloped-signature[Ô]/>

<Transform Algorithm=[Ô]http://www.w3.org/TR/2001/REC-xml-c14n-20010315[Ô]/>

</Transforms>

<DigestMethod Algorithm=[Ô]http://www.w3.org/2000/09/xmldsig#sha1[Ô]/>

<DigestValue>nNw9OtyK5uegW71Cuu6BB4xQoWI=</DigestValue>

</Reference>

</SignedInfo>

<SignatureValue>hD/UFw4z1uECAa6FWJ2IRUT9qCOPpj+rzPsFWZCyaeLM8Qu6Mi9AuzFO8EMmpkeS2ePr4Y7sTppY Vdt/eVv9yfgjk8wZu1zQpbrXmN103blcSEe5IcdM3UJDwmyOedyH9wNYYygkbmNEpHLy5PjPcL5W ll0wUN374dwplbBtu1PPXIsU7WhZK2axBo17ue4tXJsYJ822Q3SyCPXGuTVdq5ta4pqngDSEjufr zdE9YJdnOPvpoUOF0OjdYsYTTes6uXmhL31dj7FtG5+qvkvv+JQBkT9or1xhRWFND1oGTjW5KuNW Q5yK7XWuC1Odl6BmXDrr3Vns91vNnQ4vTwxe6Q==</SignatureValue>


-<KeyInfo>


-<X509Data>

<X509Certific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pc2lnbl9NdWx0aXBsYV9HNS5wN2MwKAYI KwYBBQUHMAGGHGh0dHA6Ly9vY3NwLmNlcnRpc2lnbi5jb20uYnIwDQYJKoZIhvcNAQELBQADggIB ACKz8KcvY8GjPAwCIKCQuEEnvuxnCIbWplCmVoZCW6M4kk1z4ltnzrQ7Nh0XoFaIukpDA8efTv6z 5LaBL/21n33mVgr8+XJxOQH1L2mUrpLf/Sg/9CBcoCn/C5yi/KlnlWcka/8G+gopGToGe2jTtWPK QdrsUYeiVP3VClSiwjebGAI5DwnVqGrmJRGJ/a17HsxAXt7t2fxAMoJ2Z9K0cpdcNi1RWM8F8jOW cjJhya35EdPbv6aOZNwzsQKacP5TV3G7t5Yx8GGwisP2Z+6uH1Ocw3TmzXrZvEeqIMmvG0n2b3uQ VlGudXBdy4vJyIhBVXuVjk2XF1xoqETw5SkkVKXLJZ7mntfoC1+I+69jNA7tJ9EJG+wRpLK9J53A 068rKmK4cVv+eyNxtSUO2In5JaqRASDEQdHE/VP14nXOJ2NK+ammnD9t5x7yy1ta2VASP5Zy2Dmu 01ackS8Ea8eQ1P4FSPZTKWUn+bfmd3TP7/aMdhPSYk+4P5iX0pydg2qztgj9c+klsQbhW4W+iLcQ QzwneMbuDMGs+j5cNmJb8NIvd5UN9bJg1amFLtckss1j012qj7tH9eTSiaLzK8SMTE1be22Ygv1G Yo1ZZybAVHUSbePdo6YejSlFaGK6gtWav/hAVxlFYz+8qjcfycCt5c2YHGeUEe+ZbVvJy13issQA</X509Certificate>

</X509Data>

</KeyInfo>

</Signature>

</NFe>


-<protNFe versao=[Ô]2.00[Ô]>


-<infProt>

<tpAmb>1</tpAmb>

<verAplic>SP_NFE_PL_006q</verAplic>

<chNFe>35140304921401000135550010000058771372000049</chNFe>

<dhRecbto>2014-03-17T13:07:15</dhRecbto>

<nProt>135140163317353</nProt>

<digVal>nNw9OtyK5uegW71Cuu6BB4xQoWI=</digVal>

<cStat>100</cStat>

<xMotivo>Autorizado o uso da NF-e</xMotivo>

</infProt>

</protNFe>

</nfeProc>


Ler ele pra subir as inforamções tudo bonitinho no banco de dados
LIZA 21/08/2014 08:34:55
#440634
essa leitura ainda não faço...
Tópico encerrado , respostas não são mais permitidas