Ir para conteúdo
  • Cadastre-se

dev botao

  • Este tópico foi criado há 2770 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Postado

Ola a todos,

O retorno de autorização de um cfe pelo MonitorPlus vem como abaixo:

[ENVIO]
Resultado=804822|06000|0000|Emitido com sucesso|||PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48Q0ZlPjxpbmZDRmUgSWQ9IkNGZTIzMTcwNDE0MjAwMTY2MDAwMTY2NTk5MDAwMDY3MDgwMDAwNjk4Nzg2NTY0IiB2ZXJzYW89IjAuMDciIHZlcnNhb0RhZG9zRW50PSIwLjA3IiB2ZXJzYW9TQj0iMDEwMDAwIj48aWRlPjxjVUY+MjM8L2NVRj48Y05GPjg3ODY1NjwvY05GPjxtb2Q+NTk8L21vZD48bnNlcmllU0FUPjkwMDAwNjcwODwvbnNlcmllU0FUPjxuQ0ZlPjAwMDA2OTwvbkNGZT48ZEVtaT4yMDE3MDQyOTwvZEVtaT48aEVtaT4xOTA1NTg8L2hFbWk+PGNEVj40PC9jRFY+PHRwQW1iPjI8L3RwQW1iPjxDTlBKPjA4NDkwMjk1MDAwMTMzPC9DTlBKPjxzaWduQUM+TUQyTm9mL08wdFFNUEtpWWVlQXlkU2pZdDdZVjlrVTBuV0taR1hIVmRZSXpSMlc5WjZ0Z1huaS9ZNWJuam1VQWs4TWtxbEJKSWlPT0lza0tDakowODZrN3ZBUDBFVTVjQlJZai9uekhVaVJkdTlBVkQ3V1JmVnMwMEJEeWI1ZnNubktnN2dBWFhINlNCZ0N4Rzl5akFreEowbDJFMmlkc1dCQUo1cGVRRUJacXRIeXRSVUMrRkxhU2ZkMys2NlFOeElCbER3UUlSelVHUGFVNmZ2RXJWRFNmTVVmOFdwa3duUHozNmZDUW55THlwcWUvNW1ib3g5cHQzUkNiYlhjWXFuUi80cG9ZR3I5TTlLeW1qNC9QeVg5eEdlaVh3Ymd6T09ITklVNU0v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UcEE1WWtHdlYwcmlFWFNNSlFpMUxMZytKTFVSelZobUw5TTNnPT08L1g1MDlDZXJ0aWZpY2F0ZT4KPC9YNTA5RGF0YT48L0tleUluZm8+PC9TaWduYXR1cmU+PC9DRmU+Cg==|20170429190558|CFe23170414200166000166599000067080000698786564|3.00||PzkeCZNlWIgRbWE5nVv3AHX6bLr/++m7BPQ++KcPL0L2guQCoWcmgI4rl2hTZn5eDIT37NKQmzXUQdcsZwcPTZC1R6+BDv5qefal1rmWKXjM7X9+1XEMddUgP2yg1O37PTa6dktSbheiHTbrOu6DLNdXEs52QMJ5yN8l6elhBp3+8kwduIgzW8fWQ24HmGL4q0nhX2PaBRdaRDsP75RbpMdQUKn5aHUHWuOHRSr8AJqLQco/MGUVqc5u2Ml3+idZvrvGeN56w3aKTWqUyWVLvhCZi5xiGRZC6mcjpHMhjYIcFt2d1gOeLVkZkBNcKZkU0QMfqZMB7IDsLjTw4XnqWQ==
numeroSessao=804822
codigoDeRetorno=6000
RetornoStr=804822|06000|0000|Emitido com sucesso|||PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48Q0ZlPjxpbmZDRmUgSWQ9IkNGZTIzMTcwNDE0MjAwMTY2MDAwMTY2NTk5MDAwMDY3MDgwMDAwNjk4Nzg2NTY0IiB2ZXJzYW89IjAuMDciIHZlcnNhb0RhZG9zRW50PSIwLjA3IiB2ZXJzYW9TQj0iMDEwMDAwIj48aWRlPjxjVUY+MjM8L2NVRj48Y05GPjg3ODY1NjwvY05GPjxtb2Q+NTk8L21vZD48bnNlcmllU0FUPjkwMDAwNjcwODwvbnNlcmllU0FUPjxuQ0ZlPjAwMDA2OTwvbkNGZT48ZEVtaT4yMDE3MDQyOTwvZEVtaT48aEVtaT4xOTA1NTg8L2hFbWk+PGNEVj40PC9jRFY+PHRwQW1iPjI8L3RwQW1iPjxDTlBKPjA4NDkwMjk1MDAwMTMzPC9DTlBKPjxzaWduQUM+TUQyTm9mL08wdFF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LzYvYnFNNzNhSHB5VWFpNkFLSkJlOXlUYTVSdGNETUY3RTNBTWdmcjhrR0hlTVA4VU55NXZJNEtpbEhrWHR2Q29iaERMOEpEYlN6cVI1RE5Eem5nMFlsaDNjTndmZ29YMS9RU1h4azl3UkxuOVR6aVNTV0RYbFM3UDd0dWl0d0thT2haenlVMVo5MXh1MVdjNlpUS3NCNzRUVUVPM2xTbk5aRXExZFNjV2pkUWE4S3RMYTVPYXM1S01kb0p0OWZrUjZnN05QV0hZOGxtQTlla3hPMEhXQS8ya1hkMnVuVzVWb2M1bVJFOW1FT1JDckl1UXFYSUM0NHpyK1pCenBzTHVYTDFEdWl3anpxRUdqU1hpbER4M1F4UHRRUHJKalpUcEE1WWtHdlYwcmlFWFNNSlFpMUxMZytKTFVSelZobUw5TTNnPT08L1g1MDlDZXJ0aWZpY2F0ZT4KPC9YNTA5RGF0YT48L0tleUluZm8+PC9TaWduYXR1cmU+PC9DRmU+Cg==|20170429190558|CFe23170414200166000166599000067080000698786564|3.00||PzkeCZNlWIgRbWE5nVv3AHX6bLr/++m7BPQ++KcPL0L2guQCoWcmgI4rl2hTZn5eDIT37NKQmzXUQdcsZwcPTZC1R6+BDv5qefal1rmWKXjM7X9+1XEMddUgP2yg1O37PTa6dktSbheiHTbrOu6DLNdXEs52QMJ5yN8l6elhBp3+8kwduIgzW8fWQ24HmGL4q0nhX2PaBRdaRDsP75RbpMdQUKn5aHUHWuOHRSr8AJqLQco/MGUVqc5u2Ml3+idZvrvGeN56w3aKTWqUyWVLvhCZi5xiGRZC6mcjpHMhjYIcFt2d1gOeLVkZkBNcKZkU0QMfqZMB7IDsLjTw4XnqWQ==
Arquivo=C:\CriaSoftWare\SAT\Vendas\AD23170414200166000166599000067080000698786564.xml
XML=<?xml version="1.0" encoding="UTF-8"?><CFe><infCFe Id="CFe23170414200166000166599000067080000698786564" versao="0.07" versaoDadosEnt="0.07" versaoSB="010000"><ide><cUF>23</cUF><cNF>878656</cNF><mod>59</mod><nserieSAT>900006708</nserieSAT><nCFe>000069</nCFe><dEmi>20170429</dEmi><hEmi>190558</hEmi><cDV>4</cDV><tpAmb>2</tpAmb><CNPJ>08490295000133</CNPJ><signAC>MD2Nof/O0tQMPKiYeeAydSjYt7YV9kU0nWKZGXHVdYIzR2W9Z6tgXni/Y5bnjmUAk8MkqlBJIiOOIskKCjJ086k7vAP0EU5cBRYj/nzHUiRdu9AVD7WRfVs00BDyb5fsnnKg7gAXXH6SBgCxG9yjAkxJ0l2E2idsWBAJ5peQEBZqtHytRUC+FLaSfd3+66QNxIBlDwQIRzUGPaU6fvErVDSfMUf8WpkwnPz36fCQnyLypqe/5mbox9pt3RCbbXcYqnR/4poYGr9M9Kymj4/PyX9xGeiXwbgzOOHNIU5M/aAs0rulXz948bZla0eXABgEcp6mDkTzweLPZTbmOhX+eA==</signAC><assinaturaQRCODE>PzkeCZNlWIgRbWE5nVv3AHX6bLr/++m7BPQ++KcPL0L2guQCoWcmgI4rl2hTZn5eDIT37NKQmzXUQdcsZwcPTZC1R6+BDv5qefal1rmWKXjM7X9+1XEMddUgP2yg1O37PTa6dktSbheiHTbrOu6DLNdXEs52QMJ5yN8l6elhBp3+8kwduIgzW8fWQ24HmGL4q0nhX2PaBRdaRDsP75RbpMdQUKn5aHUHWuOHRSr8AJqLQco/MGUVqc5u2Ml3+idZvrvGeN56w3aKTWqUyWVLvhCZi5xiGRZC6mcjpHMhjYIcFt2d1gOeLVkZkBNcKZkU0QMfqZMB7IDsLjTw4XnqWQ==</assinaturaQRCODE><numeroCaixa>001</numeroCaixa></ide><emit><CNPJ>14200166000166</CNPJ><xNome>ELGIN SA</xNome><xFant>ELGIN </xFant><enderEmit><xLgr>RUA 5</xLgr><nro>1000</nro><xBairro>ALDEOTA</xBairro><xMun>FORTALEZA</xMun><CEP>60150160</CEP></enderEmit><IE>1234567890  </IE><cRegTrib>1</cRegTrib><indRatISSQN>S</indRatISSQN></emit><dest/><det nItem="1"><prod><cProd>19</cProd><xProd>FARINHA DE MANDIOCA 1</xProd><NCM>11029000</NCM><CFOP>5405</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>3.00</vUnCom><vProd>3.00</vProd><indRegra>A</indRegra><vItem>3.00</vItem><obsFiscoDet xCampoDet="Cod. CEST"><xTextoDet>0300100</xTextoDet></obsFiscoDet></prod><imposto><vItem12741>0.40</vItem12741><ICMS><ICMSSN102><Orig>0</Orig><CSOSN>300</CSOSN></ICMSSN102></ICMS><PIS><PISSN><CST>49</CST></PISSN></PIS><COFINS><COFINSSN><CST>49</CST></COFINSSN></COFINS></imposto></det><total><ICMSTot><vICMS>0.00</vICMS><vProd>3.00</vProd><vDesc>0.00</vDesc><vPIS>0.00</vPIS><vCOFINS>0.00</vCOFINS><vPISST>0.00</vPISST><vCOFINSST>0.00</vCOFINSST><vOutro>0.00</vOutro></ICMSTot><vCFe>3.00</vCFe><vCFeLei12741>0.40</vCFeLei12741></total><pgto><MP><cMP>01</cMP><vMP>3.00</vMP></MP><vTroco>0.00</vTroco></pgto><infAdic><obsFisco xCampo="xCampo"><xTexto>xTexto</xTexto></obsFisco></infAdic></infCFe><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/2001/04/xmldsig-more#rsa-sha256"/><Reference URI="#CFe23170414200166000166599000067080000698786564"><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/2001/04/xmlenc#sha256"/><DigestValue>DwV0zeNAcnnB2SgkzFhla+vMy3+V5rVrgVPRBuFy45s=</DigestValue></Reference></SignedInfo><SignatureValue>B9S1qbxwsBkF8kWiBpumyJP4/W2mpVkAiYstD3kDJkSr0AYWvdjsn+pmmLpTdSPc9raWy2iF35jlU2nL6Ee3zEcxfNS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b5iwp7iM7gsAU+5jltiVBoy6NAZdhetA3pRDSdeKif7YzDVBUatdmV/QH0SF2eA7OeWWB1H0CAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAYmzqMKzN6iKAyXnkVY/6/bqM73aHpyUai6AKJBe9yTa5RtcDMF7E3AMgfr8kGHeMP8UNy5vI4KilHkXtvCobhDL8JDbSzqR5DNDzng0Ylh3cNwfgoX1/QSXxk9wRLn9TziSSWDXlS7P7tuitwKaOhZzyU1Z91xu1Wc6ZTKsB74TUEO3lSnNZEq1dScWjdQa8KtLa5Oas5KMdoJt9fkR6g7NPWHY8lmA9ekxO0HWA/2kXd2unW5Voc5mRE9mEORCrIuQqXIC44zr+ZBzpsLuXL1DuiwjzqEGjSXilDx3QxPtQPrJjZTpA5YkGvV0riEXSMJQi1LLg+JLURzVhmL9M3g==</X509Certificate>
</X509Data></KeyInfo></Signature></CFe>

Pergunto:

1-) Como pego o numero do cupom gerado pelo equipamento?

2-) Qual numero e serie do equipamento que autorizou o cfe?

3-) Nao ha um numero de protocolo de autorização?

Postado

Está tudo na chave de acesso. Para entender como extrair veja o capítulo: B - Identificação do Cupom Fiscal Eletrônico da Especificação técnica disponível no site da SEFAZ.

Particularmente após verificar que foi emitido o cupom, eu leio essas informações diretamente do XML retornado.

Postado

Poxa, Jairo!

O acbr ja nao deveria criar esses campos em seu retorno? Ler o .ini retornado pelo acbr e ainda depois ler o xml... fica quase um trabalho duplicado.

E qnto a terceira pergunta, numero de protocolo? existe?

  • Este tópico foi criado há 2770 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Crie uma conta ou entre para comentar

Você precisar ser um membro para fazer um comentário

Criar uma conta

Crie uma nova conta em nossa comunidade. É fácil!

Crie uma nova conta

Entrar

Já tem uma conta? Faça o login.

Entrar Agora
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.