{"action":"created","issue":{"url":"https://api.github.com/repos/wmixvideo/nfe/issues/408","repository_url":"https://api.github.com/repos/wmixvideo/nfe","labels_url":"https://api.github.com/repos/wmixvideo/nfe/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/wmixvideo/nfe/issues/408/comments","events_url":"https://api.github.com/repos/wmixvideo/nfe/issues/408/events","html_url":"https://github.com/wmixvideo/nfe/issues/408","id":303953407,"number":408,"title":"Consulta Situação NF-e PI","user":{"login":"kim-ae","id":5957922,"avatar_url":"https://avatars1.githubusercontent.com/u/5957922?v=4","gravatar_id":"","url":"https://api.github.com/users/kim-ae","html_url":"https://github.com/kim-ae","followers_url":"https://api.github.com/users/kim-ae/followers","following_url":"https://api.github.com/users/kim-ae/following{/other_user}","gists_url":"https://api.github.com/users/kim-ae/gists{/gist_id}","starred_url":"https://api.github.com/users/kim-ae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kim-ae/subscriptions","organizations_url":"https://api.github.com/users/kim-ae/orgs","repos_url":"https://api.github.com/users/kim-ae/repos","events_url":"https://api.github.com/users/kim-ae/events{/privacy}","received_events_url":"https://api.github.com/users/kim-ae/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-09T19:27:36Z","updated_at":"2018-03-15T11:05:04Z","closed_at":"2018-03-15T11:05:04Z","author_association":"NONE","body":"Olá boa tarde,\r\nEu verifiquei no código que de acordo com a documentação no site do governo o WS que está sendo usado para consultar situação de nota do PI está incorreto.\r\n\r\n> UF que utilizam a SVAN - Sefaz Virtual do Ambiente Nacional: MA, PA \r\n>UF que utilizam a SVRS - Sefaz Virtual do RS: \r\n>- Para serviço de Consulta Cadastro: AC, RN, PB, SC \r\n>- Para demais serviços relacionados com o sistema da NF-e: AC, AL, AP, DF, ES, PB, PI, RJ, RN, RO, RR, SC, SE, TO \r\n\r\nFonte: [Portal NF-e Fazenda](http://www.nfe.fazenda.gov.br/PORTAL/WebServices.aspx#SVAN)\r\n\r\nNo código eu verifiquei no Enum `NFAutorizador31` ele faz o seguinte\r\n```\r\n @Override\r\n        public String getNfeConsultaProtocolo(final DFAmbiente ambiente) {\r\n            return SVAN.getNfeConsultaProtocolo(ambiente);\r\n        }\r\n```\r\nNo caso deveria ser `SVRS`.\r\nEu não sei exatamente quais as politicas para contribuição, por isso não tentei fazer um PR com essa modificação. Caso não tenha problema posso fazer um PR com esta alteração.\r\nDesde já agradeço pela atenção e pelo trabalho excepcional :)"},"comment":{"url":"https://api.github.com/repos/wmixvideo/nfe/issues/comments/373339455","html_url":"https://github.com/wmixvideo/nfe/issues/408#issuecomment-373339455","issue_url":"https://api.github.com/repos/wmixvideo/nfe/issues/408","id":373339455,"user":{"login":"fincatto","id":58352,"avatar_url":"https://avatars2.githubusercontent.com/u/58352?v=4","gravatar_id":"","url":"https://api.github.com/users/fincatto","html_url":"https://github.com/fincatto","followers_url":"https://api.github.com/users/fincatto/followers","following_url":"https://api.github.com/users/fincatto/following{/other_user}","gists_url":"https://api.github.com/users/fincatto/gists{/gist_id}","starred_url":"https://api.github.com/users/fincatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fincatto/subscriptions","organizations_url":"https://api.github.com/users/fincatto/orgs","repos_url":"https://api.github.com/users/fincatto/repos","events_url":"https://api.github.com/users/fincatto/events{/privacy}","received_events_url":"https://api.github.com/users/fincatto/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T11:05:04Z","updated_at":"2018-03-15T11:05:04Z","author_association":"OWNER","body":"Bom dia.\r\nPode enviar o PR sim, a qualquer momento.\r\nAtt"}}
{"actor":{"display_login":"fincatto"}}