Jump to content

click.png

click.png

click.png

click.png

click.png

click.png

click.png click.png click.png

logo_acbr_paygo.png

TEF ACBr PayGo
Seja um revendedor e ofereça uma solução completa para seu cliente.


Saiba mais

beneficios.png

click.png

click.png

click.png

NFC-e XML 4.0 QRCode 2.0 falha na validação dos dados


Go to solution Solved by Fernando Camacho,
  • Este tópico foi criado há 984 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui

Recommended Posts

Bom dia,

O ACBr está invalidando o XML quando utilizo XML 4.0 com QRCode 2.0 segue a mensagem abaixo, já verifiquei o Schema na pasta do acbr está atualizadissimo

'Falha na validação dos dados da nota: 3983'#$D#$A#$D#$A'''https://www.nfce.fazenda.sp.gov.br/qrcode?p=35181108223314000246650010000039831000039832|2|1|1|E1C995CEBCE23A71B88BC622A1FB1...'' violates pattern constraint of ''((HTTPS?|https?)://.*\?chNFe=[0-9]{44}&nVersao=[0-9]{3}&tpAmb=[1-2](&cDest=([A-Za-z0-9.:+-/)(]{0}|[A-Za-z0-9.:+-/)(]{5,20})?...''.'#$D#$A'The element ''{http://www.portalfiscal.inf.br/nfe}qrCode'' with value ''https://www.nfce.fazenda.sp.gov.br/qrcode?p=35181108223314000246650010000039831000039832|2|1|1|E1C995CEBCE23A71B88BC622A1FB1...'' failed to parse.'#$D#$A

Edited by Fernando Camacho
Link to comment
Share on other sites

'<?xml version="1.0" encoding="UTF-8"?><NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe versao="4.00" Id="NFe35181108223314000246650010000039831000039832"><ide><cUF>35</cUF><cNF>00003983</cNF><natOp>VENDA CONSUMIDOR</natOp><mod>65</mod><serie>1</serie><nNF>3983</nNF><dhEmi>2018-11-22T17:37:30-02:00</dhEmi><tpNF>1</tpNF><idDest>1</idDest><cMunFG>3554508</cMunFG><tpImp>4</tpImp><tpEmis>1</tpEmis><cDV>2</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><indFinal>1</indFinal><indPres>1</indPres><procEmi>0</procEmi><verProc>ACBrNFe</verProc></ide><emit><CNPJ>08223314000246</CNPJ><xNome>Fernando Mauricio Camacho ME</xNome><xFant>NF Ribeirao</xFant><enderEmit><xLgr>RUA SAO JOSE</xLgr><nro>933</nro><xCpl>LUC 211</xCpl><xBairro>CENTRO</xBairro><cMun>3554508</cMun><xMun>RIBEIRAO PRETO</xMun><UF>SP</UF><CEP>14010160</CEP><cPais>1058</cPais><xPais>BRASIL</xPais></enderEmit><IE>797281210110</IE><CRT>1</CRT></emit><det nItem="1"><prod><cProd>302843</cProd><cEAN>7896311710348</cEAN><xProd>PROTEIN CRISP PEANUT BUTTER INTEGRALMEDICA</xProd><NCM>21069030</NCM><CFOP>5102</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>7.5000000000</vUnCom><vProd>7.50</vProd><cEANTrib>7896311710348</cEANTrib><uTrib>UN</uTrib><qTrib>1.0000</qTrib><vUnTrib>7.5000000000</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>2.36</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>49</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>49</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></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>7.50</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>7.50</vNF><vTotTrib>2.36</vTotTrib></ICMSTot></total><transp><modFrete>9</modFrete></transp><pag><detPag><tPag>01</tPag><vPag>7.50</vPag></detPag></pag><infAdic><infCpl>Trib aprox R$:1.01 Federal, 1.35 Estadual; Fonte:IBPT F3W1D7;</infCpl></infAdic></infNFe><infNFeSupl><qrCode><![CDATA[https://www.nfce.fazenda.sp.gov.br/qrcode?p=35181108223314000246650010000039831000039832|2|1|1|E1C995CEBCE23A71B88BC622A1FB1CAA7A08A66E]]></qrCode><urlChave>https://www.nfce.fazenda.sp.gov.br/consulta</urlChave></infNFeSupl><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="#NFe35181108223314000246650010000039831000039832"><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>I2iY24N/K0ZlngYYSIFLdU51gN0=</DigestValue></Reference></SignedInfo><SignatureValue>EcLnI/ePyVfuRvEgWwR40Iz6zeO2RzIYMvfInaQfhXlAxn8sO12/vxS7dHAOoUKnoCLhbUrtJQHjMDNy6z4fA8RiYeFq7fAr4hwo0gir07iBRDLh0raClXE4UDCn3RFlrEgy/NNr/OWtWTi9ogkcdaGY9lA5SfMuzzeLIVtb20R2AUJqJDTuVisWpIMwRe0/GW+rtDt77ISOwKtaoQr00PiJYlmV66rmEvnIpIvlxmuLxlenTPVUeST3IhOUpD/okeYhCR0RA1xlpi28c+uU6FLE7PWwbrsCEe6WHDf+GsqZoOsl2CfPC4Ev5Zb2+nrvHBsjD+NTNRE04X42gOdwpQ==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIH/jCCBeagAwIBAgIQM3rqbnyKixIHx667nT2gmTANBgkqhkiG9w0BAQsFADB4MQswCQYDVQQGEwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE2MDQGA1UECxMtU2VjcmV0YXJpYSBkYSBSZWNlaXRhIEZlZGVyYWwgZG8gQnJhc2lsIC0gUkZCMRwwGgYDVQQDExNBQyBDZXJ0aXNpZ24gUkZCIEc1MB4XDTE4MDkxNDEyMzkzNVoXDTE5MDkxNDEyMzkzNVowgesxCzAJBgNVBAYTAkJSMRMwEQYDVQQKDApJQ1AtQnJhc2lsMQswCQYDVQQIDAJTUDEMMAoGA1UEBwwDSXR1MTYwNAYDVQQLDC1TZWNyZXRhcmlhIGRhIFJlY2VpdGEgRmVkZXJhbCBkbyBCcmFzaWwgLSBSRkIxFjAUBgNVBAsMDVJGQiBlLUNOUEogQTExKTAnBgNVBAsMIEF1dGVudGljYWRvIHBvciBBUiBVbmljYSBNZW5lemVzMTEwLwYDVQQDDChGRVJOQU5ETyBNQVVSSUNJTyBDQU1BQ0hPOjA4MjIz'...

Link to comment
Share on other sites

  • Este tópico foi criado há 984 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.