jef2_tim Posted March 20, 2009 Report Share Posted March 20, 2009 Ola amigos Estou em busca de um banco de dados q contenha os codigos corretos das cidades para emissao de NFE. Ex: No site do IBGE a cidade de BELEM-PA tem o codigo 150140 porem o codigo correto é 1501402 OU seja, no IBGE sempre falta o ultimo numero. Como posso ter este ultimo numero? flow amigos Um Xharbraço. Uso Fwh 8.4 (xharbour 1.1) e Xmate Para Compilar Impactus Automação Comercial jef2_timber@hotmail.com (91)-3238-7012 Belem-PA Quote Link to comment Share on other sites More sharing options...
jef2_tim Posted March 20, 2009 Author Report Share Posted March 20, 2009 Ola amigos Estou em busca de um banco de dados q contenha os codigos corretos das cidades para emissao de NFE. Ex: No site do IBGE a cidade de BELEM-PA tem o codigo 150140 porem o codigo correto é 1501402 OU seja, no IBGE sempre falta o ultimo numero. Como posso ter este ultimo numero? flow amigos Um Xharbraço. Uso Fwh 8.4 (xharbour 1.1) e Xmate Para Compilar Impactus Automação Comercial jef2_timber@hotmail.com (91)-3238-7012 Belem-PA Quote Link to comment Share on other sites More sharing options...
sygecom Posted March 20, 2009 Report Share Posted March 20, 2009 http://www.sped.fazenda.gov.br/spedtabelas/AppConsulta/publico/aspx/ConsultaTabelasExternas.aspx?CodSistema=SpedFiscal Leonardo Machado Porto Alegre-RS Hwgui + Mysql / xHarbour 1.0.0 Quote Link to comment Share on other sites More sharing options...
JRICARTE Posted March 20, 2009 Report Share Posted March 20, 2009 Ola, eu tenho em DBF, estou tentando colocar em Dicas... Quote Link to comment Share on other sites More sharing options...
leandroptu Posted March 21, 2009 Report Share Posted March 21, 2009 http://www.fivewin.com.br/exibedicas.asp?id=956 Ver se te atende.. Fivewin 2.7 + XHarbour Build 0.99.60 + WorkShop + vLib + SqlLib + MySQL 5.0.27 + xDev Studio E-mail: leandrolopes@success.inf.br Msn: leandroptu@ada.com.br Paracatu/MG Vamos Aderir:"Retorne avisando se a dica funcionou" Quote Link to comment Share on other sites More sharing options...
EDUTEK Posted March 21, 2009 Report Share Posted March 21, 2009 se precisar incluir um municipio novo pega do site do IBGE em Cidades mas lá não tem o Digito verificador local msoma := 0 mInic = 1 for p := 1 to 6 mSoma+=val(substr(alltrim(str(val(substr( mCod, p, 1 ))*mInic)),1,1)) mInic = iif(mInic = 1,2,1) next nRet := mod( mSoma, 10 ) nmod:=10-( nRet ) cId:=mCod+if ( nret==0 .or. nret==10, "0", str( nmod, 1 ) ) cDigVerificador := if( nret==0.or.nret==10, "0", str( nmod, 1 ) ) return(cDigVerificador) id=code>id=code>isso aÃ. Eduardo Mendes eduardo@conesnet.com.br Fwh 9.01 + xH 1.0.0 + xDev + Fast Report + SQLRDD xH 1.0.0 + GTWVW + DBFCDX + xDev Clipper 5.2e + DBFCDX + Exospace Campo Grande - MS Quote Link to comment Share on other sites More sharing options...
btsinfo@com4.com.br Posted July 3, 2010 Report Share Posted July 3, 2010 citação:Ola, eu tenho em DBF, estou tentando colocar em Dicas... id=quote>id=quote>Clipper53 / Fivewin /xHB Quote Link to comment Share on other sites More sharing options...
btsinfo@com4.com.br Posted July 3, 2010 Report Share Posted July 3, 2010 citação:Ola, eu tenho em DBF, estou tentando colocar em Dicas... id=quote>id=quote>Ola amigo, Da pra enviar este arquivo para mim? Obrigado Clipper53 / Fivewin /xHB Quote Link to comment Share on other sites More sharing options...
SAOliveira Posted July 4, 2010 Report Share Posted July 4, 2010 Jef, não sei onde voce faz a busca. http://www.ibge.gov.br/home/geociencias/areaterritorial/area.shtm "Não faça para o proximo o que não quer para sà mesmo!" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.