Skip to content

Instantly share code, notes, and snippets.

@acras
Last active August 27, 2015 21:00
Show Gist options
  • Save acras/795f29db5ad9a7b337c2 to your computer and use it in GitHub Desktop.
Save acras/795f29db5ad9a7b337c2 to your computer and use it in GitHub Desktop.
Exemplo de JSON de retorno de NFCe
{
"status":"autorizado",
"status_sefaz":"100",
"mensagem_sefaz":"Autorizado o uso da NF-e",
"chave_nfe":"NFe41150876497338001649650010000005351770691965",
"numero":"535",
"serie":"1",
"caminho_xml_nota_fiscal":"/arquivos/76497338001649/201508/XMLs/41150876497338001649650010000005351770691965-nfe.xml",
"caminho_danfe":"/notas_fiscais_consumidor/NFe41150876497338001649650010000005351770691965.html",
"requisicao_nota_fiscal": "OMITIDO",
"protocolo_nota_fiscal":{
"versao":"3.10",
"ambiente":"1",
"versao_aplicativo":"PR-v3_1_1",
"chave_nfe":"41150876497338001649650010000005351770691965",
"data_recebimento":"2015-08-27T15:52:54-03:00",
"numero_protocolo":"141150012243210",
"digest_value":"it8fygS+vJ3S96RQDRJFxYSclcQ=",
"status":"100",
"motivo":"Autorizado o uso da NF-e"
},
"qrcode_url":"http://www.dfeportal.fazenda.pr.gov.br/dfe-portal/rest/servico/consultaNFCe?chNFe=41150876497338001649650010000005351770691965&nVersao=100&tpAmb=1&cDest=54446732900&dhEmi=323031352d30382d32375431353a35323a34352d30333a3030&vNF=97.00&vICMS=17.46&digVal=697438667967532b764a33533936525144524a46785953636c63513d&cIdToken=&cHashQRCode=4F24F9F81E34ACA6D40220B0814E34A70183B6B0",
"url_consulta_nf":"http://www.sped.fazenda.pr.gov.br/modules/conteudo/conteudo.php?conteudo=100"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment