{"action":"created","issue":{"url":"https://api.github.com/repos/wmixvideo/nfe/issues/197","repository_url":"https://api.github.com/repos/wmixvideo/nfe","labels_url":"https://api.github.com/repos/wmixvideo/nfe/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/wmixvideo/nfe/issues/197/comments","events_url":"https://api.github.com/repos/wmixvideo/nfe/issues/197/events","html_url":"https://github.com/wmixvideo/nfe/issues/197","id":165337058,"number":197,"title":"Validação do NCM","user":{"login":"henriquebartoski","id":2744811,"avatar_url":"https://avatars.githubusercontent.com/u/2744811?v=3","gravatar_id":"","url":"https://api.github.com/users/henriquebartoski","html_url":"https://github.com/henriquebartoski","followers_url":"https://api.github.com/users/henriquebartoski/followers","following_url":"https://api.github.com/users/henriquebartoski/following{/other_user}","gists_url":"https://api.github.com/users/henriquebartoski/gists{/gist_id}","starred_url":"https://api.github.com/users/henriquebartoski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henriquebartoski/subscriptions","organizations_url":"https://api.github.com/users/henriquebartoski/orgs","repos_url":"https://api.github.com/users/henriquebartoski/repos","events_url":"https://api.github.com/users/henriquebartoski/events{/privacy}","received_events_url":"https://api.github.com/users/henriquebartoski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-13T14:36:19Z","updated_at":"2016-07-13T15:24:30Z","closed_at":null,"body":"Bom dia.\r\nAtualmente nosso sistema permite utilizar o NCM dos produtos com o valor \"00000000\", o que é aceito pelo sefaz. Estou fazendo a migração para o uso da biblioteca nfe e passei a obter o erro de validação \"NCM fora do padrao (00000000)\".\r\n\r\nÉ viável a alteração da validação para permitir o uso do \"00000000\" ou alguém sabe uma forma de contornar a situação? "},"comment":{"url":"https://api.github.com/repos/wmixvideo/nfe/issues/comments/232390590","html_url":"https://github.com/wmixvideo/nfe/issues/197#issuecomment-232390590","issue_url":"https://api.github.com/repos/wmixvideo/nfe/issues/197","id":232390590,"user":{"login":"jefperito","id":1095685,"avatar_url":"https://avatars.githubusercontent.com/u/1095685?v=3","gravatar_id":"","url":"https://api.github.com/users/jefperito","html_url":"https://github.com/jefperito","followers_url":"https://api.github.com/users/jefperito/followers","following_url":"https://api.github.com/users/jefperito/following{/other_user}","gists_url":"https://api.github.com/users/jefperito/gists{/gist_id}","starred_url":"https://api.github.com/users/jefperito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jefperito/subscriptions","organizations_url":"https://api.github.com/users/jefperito/orgs","repos_url":"https://api.github.com/users/jefperito/repos","events_url":"https://api.github.com/users/jefperito/events{/privacy}","received_events_url":"https://api.github.com/users/jefperito/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T15:24:30Z","updated_at":"2016-07-13T15:24:30Z","body":"As validações são feitas de acordo com o padrão da documentação oficial, se é permitido pela doc e não atende é bug.\r\n\r\na expressão regular do NCM no XSD está diferente o que está implementado no java.\r\n\r\nXSD:\r\n[0-9]{2}|[0-9]{8}\r\nJava:\r\n[0-9]{2}|[0][1-9][0-9]{6}|[1-9][0-9]{7}\r\n\r\nParece que ficou menos restritivo o valor de NCM.\r\nDeve ser atualizado para o XSD."}}
{"actor":{"display_login":"jefperito"}}