Ir para conteúdo
  • Cadastre-se

dev botao

nao cancela em homologacao


Ver Solução Respondido por Italo Giurizzato Junior,
  • Este tópico foi criado há 1976 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

  • Membros Pro
Postado

estou  testando em um novo cliente,  produtor rural..

faço a nf-e  e autorizo, de boa...

porem  ao testar o cancelamento..  informo o  xml gerado, sendo emitente  com CPF

porem, no cancelamento  aparece  CNPJ..

onde estou  errando ?  alguem pode me dar uma ajuda ?

nao consigo  fazer uplodad  dos arquivos...

vou inclui-los no corpo da mensagem.

02/07/2019 16:18:16 - Dados da Sw.House gravados com sucesso
02/07/2019 16:18:16 - ATENÇÃO: Chave RSA Privada NÃO pode ser lida no arquivo "swh.ini".

02/07/2019 16:18:16 - Configuração geral gravada com sucesso
02/07/2019 16:18:16 - ATENÇÃO: Chave RSA Privada NÃO pode ser lida no arquivo "swh.ini".

02/07/2019 16:18:16 - ACBr MonitorPLUS Ver.1.2.0.67
02/07/2019 16:18:16 - Aguardando comandos ACBr
02/07/2019 16:18:16 - Monitorando Comandos TXT em: C:\ACBrMonitorPLUS\ENTNFE.TXT
02/07/2019 16:18:16 - Respostas gravadas em: C:\ACBrMonitorPLUS\SAINFE.TXT
02/07/2019 16:18:16 - Log de comandos será gravado em: C:\ACBrMonitorPLUS\LOG.TXT
02/07/2019 16:18:31 - NFE.CancelarNFe("51190700070033030197559200000000011520347402","TESTE DE CANCELAMENTO DE NFE PF")
02/07/2019 16:18:33 - OK: Rejeicao: CPF do Emitente difere do CPF do Certificado Digital
[Cancelamento]
Arquivo=
CNPJDest=
CStat=227
CUF=51
DhRecbto=02/07/2019 16:18:15
Msg=
VerAplic=MT_A2RL-4.00
Versao=MT_A2RL-4.00
XML=
XMotivo=Rejeicao: CPF do Emitente difere do CPF do Certificado Digital
chNFe=51190700070033030197559200000000011520347402
emailDest=
nProt=
nSeqEvento=1
tpAmb=2
tpEvento=110111
xEvento=

**-

<?xml version="1.0" encoding="UTF-8"?><envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"><idLote>1</idLote><evento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00"><infEvento Id="ID1101115119070007003303019755920000000001152034740201"><cOrgao>51</cOrgao><tpAmb>2</tpAmb><CNPJ>00070033030197</CNPJ><chNFe>51190700070033030197559200000000011520347402</chNFe><dhEvento>2019-07-02T16:18:32-03:00</dhEvento><tpEvento>110111</tpEvento><nSeqEvento>1</nSeqEvento><verEvento>1.00</verEvento><detEvento versao="1.00"><descEvento>Cancelamento</descEvento><nProt>151190000162679</nProt><xJust>TESTE DE CANCELAMENTO DE NFE PF</xJust></detEvento></infEvento><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#ID1101115119070007003303019755920000000001152034740201"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>O5PFNdDDAgo8aPA05rvbz55ElU4=</DigestValue></Reference></SignedInfo><SignatureValue>AtUSgIc6XNjDgG1aNMyvzaY7NvO369GWv7ZuqZvowA+pRipRu4wGhizDWoHS+NXx1WNqHMEwON6rNLao8btatoVvWzFU1r2c8JWUO1PoIsAjkR4MXO/66nuqtfqPaf5Kfyyrr6RPBXjojHWxgDoutjwqfm2ii+IDw9p24J/+huHuQqKKKZIQNEBtvXj4vh88GPuXdRKLr+okMOBvvEWKw3h49454nJeptQ4pQOf34XsXuc5oqFnPeY4tkG7YELU/EbCJUpS7xAaSnszRkgRHKq4/IdgvcF7PjlIOUlxxAhwCtzmDv7/CwD32HEy8A2a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xukm7XJpUQ7AtKRw2gdTOP750yiG+kTqnH9NOgpvHLz5Lf3IN4Hu52p+Gd0GNwlG+4w5r3JISZs4s1oZJ4r72bttTm38rxAHNFfzWHWYt7TelsNTGFo+qfGxRk0+kI/sAPEQHkrQAzlO4EC9cMqCUyTCVKJQegwwtrNHtOWM6z82MaqGQvWf6t7PzYiRQ9eShmnL7hDalQWGZQCoH2rufQF5an3cw0ZogicKAJn2jc7kY6XJvuyKebX/Xvittq1wNjjhzN6s33Pxz6Y6BDdHW7T6BTthPZedGDbPOQx8w8pCaSVAqxyZXvvs9VF3xxLfEE6UtU44c5mg9gjyIyAkv7t/9XhOYhZhD2PXHu2TQ5q3RuDjdz/JchhLgjJv8+63KZbTsXKKTZ2tRjG887gxxTNGTf/jUH8pXfSWQ0Tff16NIWGlfH1m212O6zKlyEawhGAihUtX/IE/plSI61Agm8WKbdPCjXcrSQtO6vUkiCt625ntKqdemfEJuQeKeAkTZ53bsuBdK9J/RghaiP5Xgso4xc1Sf8YP/eoY8J9MpEm2f7HMW/FI=</X509Certificate></X509Data></KeyInfo></Signature></evento></envEvento>

**-

<?xml version="1.0" encoding="UTF-8"?><nfeProc versao="4.00" xmlns="http://www.portalfiscal.inf.br/nfe"><NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe versao="4.00" Id="NFe17180724600355003014550010000015941520303254"><ide><cUF>17</cUF><cNF>52030325</cNF><natOp>REMESSA C/FIM ESPECIFICO DE EXPORTACAO</natOp><mod>55</mod><serie>1</serie><nNF>1594</nNF><dhEmi>2018-07-20T00:00:00-04:00</dhEmi><dhSaiEnt>2018-07-20T00:00:00-04:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>1703909</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>4</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>0</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>ACBrNFe</verProc></ide><emit><CNPJ>24600355003014</CNPJ><xNome>MATOSUL AGROINDUSTRIAL LTDA</xNome><enderEmit><xLgr>RODOVIA TO080, KM 112</xLgr><nro>S/N</nro><xBairro>ZONA RURAL</xBairro><cMun>1703909</cMun><xMun>CASEARA</xMun><UF>TO</UF><CEP>77680000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais></enderEmit><IE>294510176</IE><CRT>3</CRT></emit><dest><CNPJ>60498706040299</CNPJ><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AV ENGENHEIRO LUIZ CRULS</xLgr><nro>S/N</nro><xBairro>JARDIM BRASILIA</xBairro><cMun>1718204</cMun><xMun>PORTO NACIONAL</xMun><UF>TO</UF><CEP>77500000</CEP><cPais>1058</cPais><xPais>brasil</xPais></enderDest><indIEDest>1</indIEDest><IE>294546294</IE></dest><det nItem="1"><prod><cProd>001</cProd><cEAN>SEM GTIN</cEAN><xProd>SOJA PRODUCAO</xProd><NCM>12019000</NCM><CFOP>5501</CFOP><uCom>KG.</uCom><qCom>36820.0000</qCom><vUnCom>1.3566667600</vUnCom><vProd>49952.47</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>TON</uTrib><qTrib>36.8200</qTrib><vUnTrib>1356.6667572000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS40><orig>0</orig><CST>41</CST></ICMS40></ICMS><PIS><PISNT><CST>09</CST></PISNT></PIS><COFINS><COFINSNT><CST>09</CST></COFINSNT></COFINS></imposto></det><total><ICMSTot><vBC>0.00</vBC><vICMS>0.00</vICMS><vICMSDeson>0.00</vICMSDeson><vFCP>0.00</vFCP><vBCST>0.00</vBCST><vST>0.00</vST><vFCPST>0.00</vFCPST><vFCPSTRet>0.00</vFCPSTRet><vProd>49952.47</vProd><vFrete>0.00</vFrete><vSeg>0.00</vSeg><vDesc>0.00</vDesc><vII>0.00</vII><vIPI>0.00</vIPI><vIPIDevol>0.00</vIPIDevol><vPIS>0.00</vPIS><vCOFINS>0.00</vCOFINS><vOutro>0.00</vOutro><vNF>49952.47</vNF></ICMSTot></total><transp><modFrete>1</modFrete><transporta><xNome>SEBASTIAO CESARIO GONCALVES</xNome></transporta><veicTransp><placa>KDL9809</placa><UF>MA</UF></veicTransp><vol><qVol>36820</qVol><esp>A GRANEL</esp><marca>S/MARCA</marca><nVol>S/NUMERO</nVol><pesoL>36820.000</pesoL><pesoB>36820.000</pesoB></vol></transp><cobr><fat><nFat>00001594</nFat><vOrig>49952.47</vOrig><vDesc>0.00</vDesc><vLiq>49952.47</vLiq></fat></cobr><pag><detPag><indPag>0</indPag><tPag>90</tPag><vPag>49952.47</vPag></detPag></pag><infAdic><infCpl>NAO INCIDENCIA DE ICMS CONF ART. 4 INC II DA LEI 1287/2001 RICMS/TO TERMO DE ACORDO 2.081/2008 REME SSA COM FIM ESPECIFICO DE EXPORTACAO. SUSP PIS E COFINS CONF. LEI 10925/2004 ART. 8,9 E 15. SOJA PROVENIENTE ARMAZEM PARTICIPANTE.</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"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe17180724600355003014550010000015941520303254"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>MVLlTUbipLR8FKU50Wg1IwRYx4k=</DigestValue></Reference></SignedInfo><SignatureValue>gwcr5DKZptsMr1DCYpdTnjjDoQq7yNMUQwKlH9aKF3ixHc1hi60WAbzi66/KQwd3hRMmKwHAgEQ8OnqkguBL/0mAUPw746rN5rMZKG5h3IOTvt94sF1LKWHEMNiK/MybQir3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Ly9pY3AtYnJhc2lsLmFjZmVuYWNvbi5jb20uYnIvcmVwb3NpdG9yaW8vY2VydGlmaWNhZG9zL0FDX0luc3RpdHV0b19GZW5hY29uX1JGQkczLnA3YzBBBggrBgEFBQcwAYY1aHR0cDovL29jc3AtYWMtaW5zdGl0dXRvLWZlbmFjb24tcmZiLmNlcnRpc2lnbi5jb20uYnIwDQYJKoZIhvcNAQELBQADggIBAEtZD+SwmZM3HO3/JKqn+EZxd/BUCV4JkrcK17n7C3xJQobfCIgs0oo4uoJSyFmdd6/P6BiQzWwuyKmFc5vMZIfPp/PUDCh6ixIu3QvAkgu5Yz+x4or24LjZ1zqeh0i0JMJunSV9yOkducXRoMhWZVktTC2Y01uz79HeuZ8pOa1c1WzzhS3QcSBLCVF5EMZs0tShyXcbTYwlXnHRHM1U/WtmoeH34FcFxpUZKoEm+pNAsKxUT4UpeZlTf8pDw+uB281WGLhhZrX25V1fvJcy6eti8FndyhXI5rtmJ6ESZ7UgIO+rcQXLFerj6YZ22mgHtMF5CLL2gONlH4UaNiBXS3xBgcV8NFO3R7RDqvPQYGtNKVSJMPHPuFyIjwajaICx64h9GcMD6QPDVREKM/9FYiCnp7AZrWx43MhIuNZvuCkXX3PCxT8ouaX3WlmVWjwre0dHrPq0z/NNmd7SrxtFzKN4FakcbrukpupvO+X9tZGiK/5qaPEu2GJ7ToBXdMQPk7xoAOnRz1RPZ994GnzEdulF1Z90EPUL+dFXvdaPst/AcMJjQCp0qCaEn8ovKTdb0V52DtovlXWF2DGDYbAAY9/h37EXlQamTkvygB2WeKksJc4s+5LRguz7p0Np3vadQQjETeZ5ZdwTETBn6w97noeoGTUh1w6YB9X7+TBrPQmf</X509Certificate></X509Data></KeyInfo></Signature></NFe><protNFe versao="4.00"><infProt><tpAmb>2</tpAmb><verAplic>SVRS201807231135</verAplic><chNFe>17180724600355003014550010000015941520303254</chNFe><dhRecbto>2018-07-23T17:20:19-03:00</dhRecbto><nProt>317180004012497</nProt><digVal>MVLlTUbipLR8FKU50Wg1IwRYx4k=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo></infProt></protNFe></nfeProc>

**--

<?xml version="1.0" encoding="UTF-8"?><nfeProc versao="4.00" xmlns="http://www.portalfiscal.inf.br/nfe"><NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe versao="4.00" Id="NFe51190700070033030197559200000000011520347402"><ide><cUF>51</cUF><cNF>52034740</cNF><natOp>VENDA DE PRODUCAO</natOp><mod>55</mod><serie>920</serie><nNF>1</nNF><dhEmi>2019-07-02T00:00:00-03:00</dhEmi><dhSaiEnt>2019-07-02T00:00:00-03:00</dhSaiEnt><tpNF>1</tpNF><idDest>2</idDest><cMunFG>5107180</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>2</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>0</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>ACBrNFe</verProc></ide><emit><CPF>70033030197</CPF><xNome>NICOLE PERONDI E OUTRO</xNome><enderEmit><xLgr>FAZENDA REUNIDAS</xLgr><nro>S/N</nro><xBairro>ZONA RURAL</xBairro><cMun>5107180</cMun><xMun>RIBEIRAO CASCALHEIRA</xMun><UF>MT</UF><CEP>78675000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>6732531498</fone></enderEmit><IE>136481191</IE><CRT>3</CRT></emit><dest><CNPJ>26662449000109</CNPJ><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AV NORTE SUL</xLgr><nro>SN</nro><xBairro>PQ AGROINDUSTRIAL</xBairro><cMun>1716109</cMun><xMun>PARAISO DO TOCANTINS</xMun><UF>TO</UF><CEP>77600000</CEP><cPais>1058</cPais><xPais>brasil</xPais></enderDest><indIEDest>1</indIEDest><IE>294814191</IE></dest><det nItem="1"><prod><cProd>001</cProd><cEAN>SEM GTIN</cEAN><xProd>SOJA PRODUCAO</xProd><NCM>12019000</NCM><CFOP>6101</CFOP><uCom>KG.</uCom><qCom>15000.0000</qCom><vUnCom>1.2000000000</vUnCom><vProd>18000.00</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>TON</uTrib><qTrib>15.0000</qTrib><vUnTrib>1200.0000000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>18000.00</vBC><pICMS>12.0000</pICMS><vICMS>2160.00</vICMS></ICMS00></ICMS><PIS><PISNT><CST>09</CST></PISNT></PIS><COFINS><COFINSNT><CST>09</CST></COFINSNT></COFINS></imposto></det><total><ICMSTot><vBC>18000.00</vBC><vICMS>2160.00</vICMS><vICMSDeson>0.00</vICMSDeson><vFCP>0.00</vFCP><vBCST>0.00</vBCST><vST>0.00</vST><vFCPST>0.00</vFCPST><vFCPSTRet>0.00</vFCPSTRet><vProd>18000.00</vProd><vFrete>0.00</vFrete><vSeg>0.00</vSeg><vDesc>0.00</vDesc><vII>0.00</vII><vIPI>0.00</vIPI><vIPIDevol>0.00</vIPIDevol><vPIS>0.00</vPIS><vCOFINS>0.00</vCOFINS><vOutro>0.00</vOutro><vNF>18000.00</vNF></ICMSTot></total><transp><modFrete>0</modFrete><vol><qVol>15000</qVol><esp>A GRANEL</esp><marca>S/MARCA</marca><nVol>S/NUMERO</nVol><pesoL>15000.000</pesoL><pesoB>15000.000</pesoB></vol></transp><pag><detPag><indPag>0</indPag><tPag>90</tPag><vPag>0.00</vPag></detPag></pag><infRespTec><CNPJ>05110478000198</CNPJ><xContato>EMILIO MIOTTO NETO</xContato><email>[email protected]</email><fone>6733821949</fone></infRespTec></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe51190700070033030197559200000000011520347402"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>ObiF2wtyhMo/0CaFIDojXQMSUj4=</DigestValue></Reference></SignedInfo><SignatureValue>N/0/DYWXvpuPEwuzFtptH8ePai/g4r9icbj7Sd0mkpusYyW8G3ZbdkToM1cW0YKoSm1Shj+42molaij4B7rk/pIEZ2PIPH/QMkdAWjYLiPFD1ST4IzFSCPFQcqRkVNL3yYbfJJ01WEDNIju5QQFOjaHxM2WxHCqFx/LT/3ULfjyUOeVB0SuDZ7eAuT/VTlWdTQY8ey+85/p15T7N1IQ6PLUqeTP7IlwOkC4yCjMk4xhBKjyLlIglKuwl584Akc4e+CZrdgxaSfHiWiPsegg1Fgj9nPTS9dvbKNdvyBUDdSZ+cNawAmJaB02tGVyV4Ns+kjT4c2May6492SQxLqCOew==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIHqDCCBZCgAwIBAgIIEd4ZBwJYSUQwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwEQYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCcmFzaWxlaXJhIHYyMRIwEAYDVQQLEwlBQyBTT0xVVEkxGzAZBgNVBAMTEkFDIFNPTFVUSSBNdWx0aXBsYTAeFw0xOTA3MDIxNzU5NTRaFw0yMDA3MDExNzU5NTRaMIHjMQswCQYDVQQGEwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE0MDIGA1UECxMrQXV0b3JpZGFkZSBDZXJ0aWZpY2Fkb3JhIFJhaXogQnJhc2lsZWlyYSB2MjESMBAGA1UECxMJQUMgU09MVVRJMRswGQYDVQQLExJBQyBTT0xVVEkgTXVsdGlwbGExFzAVBgNVBAsTD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P/eoY8J9MpEm2f7HMW/FI=</X509Certificate></X509Data></KeyInfo></Signature></NFe><protNFe versao="4.00"><infProt Id="ID151190000162679"><tpAmb>2</tpAmb><verAplic>MT_A2RL-4.00</verAplic><chNFe>51190700070033030197559200000000011520347402</chNFe><dhRecbto>2019-07-02T15:45:36-04:00</dhRecbto><nProt>151190000162679</nProt><digVal>ObiF2wtyhMo/0CaFIDojXQMSUj4=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo></infProt></protNFe></nfeProc>

 

 

  • Consultores
Postado

Bom dia,

No comando: NFE.CancelarNFe("51190700070033030197559200000000011520347402","TESTE DE CANCELAMENTO DE NFE PF")

O correto não informar o caminho mais o nome do XML em vez de informar somente a chave?

Por exemplo:

NFE.CancelarNFe("C:\XML\51190700070033030197559200000000011520347402-nfe.xml","TESTE DE CANCELAMENTO DE NFE PF")

Consultor SAC ACBr

Italo Giurizzato Junior
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr

Analista de Sistemas / Araraquara-SP

Araraquara - A era dos Trólebus

  • Membros Pro
Postado

Italo...

veja o resultado...

03/07/2019 11:05:28 - NFE.CancelarNFe("C:\mz\nfe\XML\51190700070033030197559200000000011520347402-nfe.xml","TESTE DE CANCELAMENTO DE NFE PF")
03/07/2019 11:05:29 - OK: Rejeicao: CPF do Emitente difere do CPF do Certificado Digital
[Cancelamento]
Arquivo=
CNPJDest=
CStat=227
CUF=51
DhRecbto=03/07/2019 11:05:20
Msg=
VerAplic=MT_A2RL-4.00
Versao=MT_A2RL-4.00
XML=
XMotivo=Rejeicao: CPF do Emitente difere do CPF do Certificado Digital
chNFe=51190700070033030197559200000000011520347402
emailDest=
nProt=
nSeqEvento=1
tpAmb=2
tpEvento=110111
xEvento=

 

  • Consultores
Postado

Acredito que ao extrair o CPF da chave, não deva estar fazendo de forma correta.

Na chave esta da seguinte forma: 00070033030197.

Como esta no certificado?

Tente desta forma:

NFE.CancelarNFe("51190700070033030197559200000000011520347402","TESTE DE CANCELAMENTO DE NFE PF","70033030197")

O terceiro parâmetro é o CPF do emitente sem os zeros a esquerda como costa na chave.

  • Curtir 1
Consultor SAC ACBr

Italo Giurizzato Junior
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr

Analista de Sistemas / Araraquara-SP

Araraquara - A era dos Trólebus

  • Membros Pro
Postado

Italo...

no certificado estah  certo.. 11 digitos...

o meu problema  estah sendo q o acbr, gera o xml q envia ao sefaz  com tag  CNPJ e nao  CPF

se eu alterar   essa tag manualmente.. e enviar esse xml alterado.. passa de boa...

como  o  acbr  define qual tag <CPF> ou CNPJ> a usar  no xml q monta para envio ?

 

×
×
  • 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.