none
XML mal formado - Nf-e PR RRS feed

  • Pergunta

  • bom dia pessoal

    estou tentando enviar um lote de notas fiscais para o web server do PR - 1.10, ja validei meu xml e esta tudo correto alguem tem ideia do que pode ser esse XML MAL FORMADO??

    meu xml de lote

    <?xml version="1.0" encoding="UTF-8"?>
    <enviNFe xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.portalfiscal.inf.br/nfe enviNFe_v1.10.xsd" versao="1.10">
     <idLote>000000101743220</idLote>
     <NFe xmlns="http://www.portalfiscal.inf.br/nfe">
      <infNFe versao="1.10" Id="NFe41100480534423000120550020000541487055475100">
       <ide>
        <cUF>41</cUF>
        <cNF>705547510</cNF>
        <natOp>VENDA MERCADORIA</natOp>
        <indPag>2</indPag>
        <mod>55</mod>
        <serie>2</serie>
        <nNF>54148</nNF>
        <dEmi>2010-04-01</dEmi>
        <dSaiEnt>2009-11-16</dSaiEnt>
        <tpNF>1</tpNF>
        <cMunFG>4106902</cMunFG>
        <tpImp>1</tpImp>
        <tpEmis>1</tpEmis>
        <cDV>0</cDV>
        <tpAmb>2</tpAmb>
        <finNFe>1</finNFe>
        <procEmi>0</procEmi>
        <verProc>2.0.199</verProc>
       </ide>
       <emit>
        <CNPJ>80534423000120</CNPJ>
        <xNome>SOFHAR GESTAO &amp; TECNOLOGIA S/A</xNome>
        <xFant>SOFHAR - MATRIZ</xFant>
        <enderEmit>
         <xLgr>RUA ALBERTO FOLLONI</xLgr>
         <nro>757</nro>
         <xBairro>AHU</xBairro>
         <cMun>4106902</cMun>
         <xMun>CURITIBA</xMun>
         <UF>PR</UF>
         <CEP>80540000</CEP>
         <cPais>1058</cPais>
         <xPais>Brasil</xPais>
         <fone>4133501500</fone>
        </enderEmit>
        <IE>1016807032</IE>
        <IM>70791963580</IM>
        <CNAE>7020400</CNAE>
       </emit>
       <dest>
        <CNPJ>77595395000228</CNPJ>
        <xNome>FRIMESA COOPERATIVA CENTRAL</xNome>
        <enderDest>
         <xLgr>RUA BAHIA</xLgr>
         <nro>757</nro>
         <xBairro>FRIMESA</xBairro>
         <cMun>4115804</cMun>
         <xMun>MEDIANEIRA</xMun>
         <UF>PR</UF>
         <CEP>85884000</CEP>
         <xPais>Brasil</xPais>
         <fone>4532648124</fone>
        </enderDest>
        <IE>4200192112</IE>
       </dest>
       <det nItem="1">
        <prod>
         <cProd>16568</cProd>
         <cEAN />
         <xProd>WINDOWS ULTIMATE 7 PORTUGUES FPP FULL DVD</xProd>
         <CFOP>5102</CFOP>
         <uCom>UN</uCom>
         <qCom>1.0000</qCom>
         <vUnCom>512.9900</vUnCom>
         <vProd>512.99</vProd>
         <cEANTrib />
         <uTrib>UN</uTrib>
         <qTrib>1.0000</qTrib>
         <vUnTrib>512.9900</vUnTrib>
        </prod>
        <imposto>
         <ICMS>
          <ICMS00>
           <orig>0</orig>
           <CST>00</CST>
           <modBC>0</modBC>
           <vBC>0.00</vBC>
           <pICMS>0.00</pICMS>
           <vICMS>0.00</vICMS>
          </ICMS00>
         </ICMS>
         <PIS>
          <PISAliq>
           <CST>02</CST>
           <vBC>0</vBC>
           <pPIS>0.00</pPIS>
           <vPIS>0.00</vPIS>
          </PISAliq>
         </PIS>
         <COFINS>
          <COFINSAliq>
           <CST>02</CST>
           <vBC>0</vBC>
           <pCOFINS>0.00</pCOFINS>
           <vCOFINS>0.00</vCOFINS>
          </COFINSAliq>
         </COFINS>
        </imposto>
       </det>
       <total>
        <ICMSTot>
         <vBC>0.00</vBC>
         <vICMS>0.00</vICMS>
         <vBCST>0.00</vBCST>
         <vST>0.00</vST>
         <vProd>512.99</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>512.99</vNF>
        </ICMSTot>
       </total>
       <transp>
        <modFrete>0</modFrete>
       </transp>
       <cobr>
        <fat>
         <nFat>54148.00</nFat>
         <vOrig>512.99</vOrig>
         <vLiq>512.99</vLiq>
        </fat>
        <dup>
         <nDup>541481</nDup>
         <dVenc>2009-12-07</dVenc>
         <vDup>512.99</vDup>
        </dup>
       </cobr>
       <infAdic>
        <infAdFisco>ICMS ISENTO CFME ART.5 LEI 13.214/2001</infAdFisco>
        <infCpl>COBRANCA REGISTRADA A/C: ANDERSON BONA Fatura:  /541481 07-12-2009 R$512.99/</infCpl>
       </infAdic>
      </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="#NFe41100480534423000120550020000541487055475100">
         <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>aJ7vtUcrYemm3q9DodGOJFlazt0=</DigestValue>
        </Reference>
       </SignedInfo>
       <SignatureValue>Qpq6MyYJAFYwOZhED9GskzyCDVWMGov7pRpXq6qVns0k6fj5ylV05Wo+uENtkqXVVYh4dNpgFKnUG3EOBM4M0xb82Fp3xE8jRyvqbwGV218tPl6vfykgJ5vEvp6LC/vRiVYHdZTU9ldkeHHdJ0tnBpR2WMzhjbXUAFGu8jjQUEY=</SignatureValue>
       <KeyInfo>
        <X509Data>
         <X509Certificate>MIIGKzCCBROgAwIBAgIIP01uCBZV2C8wDQYJKoZIhvcNAQEFBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxKDAmBgNVBAMTH1NFUkFTQSBDZXJ0aWZpY2Fkb3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wuY29tLmJyL3JlcG9zaXRvcmlvL2RwYzCB8AYDVR0fBIHoMIHlMEmgR6BFhkNodHRwOi8vd3d3LmNlcnRpZmljYWRvZGlnaXRhbC5jb20uYnIvcmVwb3NpdG9yaW8vbGNyL3NlcmFzYWNkdjEuY3JsMEOgQaA/hj1odHRwOi8vbGNyLmNlcnRpZmljYWRvcy5jb20uYnIvcmVwb3NpdG9yaW8vbGNyL3NlcmFzYWNkdjEuY3JsMFOgUaBPhk1odHRwOi8vcmVwb3NpdG9yaW8uaWNwYnJhc2lsLmdvdi5ici9sY3IvU2VyYXNhL3JlcG9zaXRvcmlvL2xjci9zZXJhc2FjZHYxLmNybDCBlwYIKwYBBQUHAQEEgYowgYcwPAYIKwYBBQUHMAGGMGh0dHA6Ly9vY3NwLmNlcnRpZmljYWRvZGlnaXRhbC5jb20uYnIvc2VyYXNhY2R2MTBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5jZXJ0aWZpY2Fkb2RpZ2l0YWwuY29tLmJyL2NhZGVpYXMvc2VyYXNhY2R2MS5wN2IwDQYJKoZIhvcNAQEFBQADggEBAFRZzxWoE4uwScGkyZ+zyy2LCZlOvWePtEC+fCHpaDimr0UIXPAvah6hSQ9aCDTPAcQNvXhOVcy/NITBLJhFrMTVj5NHPXYIVL+YjxFrd5hpE5MjLP462cIK8t67eG2enzTZ2B9pL8H5gJc8GiM15aaa7ADtmaDVD6xAnrzrZbNVYvppn4XiRrpaYDMVQreIAEfaGmtC2lHASQT91l2bFpKRrDPCbJgJNRUP9MsFe2stM6e6G2j/4HSBFEFQmmZGtIvotg3nvqcRZ0KFbLRp19Ut4c7/xeuFBPg83UnTsZg0SBrPHMY+xzGGW9lMs1Nbfnf+Rk6Fu7LG7pLx25AGCXQ=</X509Certificate>
        </X509Data>
       </KeyInfo>
      </Signature>
     </NFe>
    </enviNFe>
    terça-feira, 20 de abril de 2010 14:59

Todas as Respostas

  • vc ja utilizou o validador online do sefa rs?

    http://www.sefaz.rs.gov.br/NFE/NFE-VAL.aspx

    quinta-feira, 22 de abril de 2010 22:41
  •  

    Já sim e ele valida corretamente a nota. esta nota que coloquei ele dá assinatura invalida pois alterei alguns dados no corpo da nota...

    Mais o XML esta correto...

    sexta-feira, 23 de abril de 2010 11:36
  • verifique o xml sem a assinatura pois pode ter algum espaço ou algo do genero

    conselho pelo bloco de notas, mostra o conteudo sem formataçao, mais facil a analise

    sexta-feira, 23 de abril de 2010 14:24
  •  

    Everton pode me enviar um Xml seu para eu dar uma olhada?

    Estou vendo com Celso que é membro aqui do forum esta com um problema parecido estamos desconfiados que o problema esta neste espaço entre:

    </SignedInfo>


       <SignatureValue>

    <X509Data>


         <X509Certificate>

    Quando abro o XML pelo Visual ou pelo TXT nao aparece estes espaços porem pelo IE aparecem. add ai no msn que vemos esse meu problema e tento entender melhor o seu do outro topico -  maiconcesarvaz@hotmail.com

     

    sexta-feira, 23 de abril de 2010 15:25
  • Maicon,

    Conseguiu resolver seu problema?


    André Alves de Lima
    Visite o meu site: http://andrealveslima.spaces.live.com
    Me siga no Twitter: @andrealveslima
    sexta-feira, 30 de abril de 2010 22:47
    Moderador