Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atualizar comando de download #234

Closed
cuducos opened this issue Aug 16, 2024 · 0 comments
Closed

Atualizar comando de download #234

cuducos opened this issue Aug 16, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@cuducos
Copy link
Owner

cuducos commented Aug 16, 2024

A Receita mudou a forma de disponibilizar os arquivos: ao invés de um JSON que tinha o link para os arquivos, agora temos um único link em https://dados.gov.br que leva a https://dadosabertos.rfb.gov.br/CNPJ/dados_abertos_cnpj/

Então temos que atualizar a lógica em download/federal_revenue.go para que federalRevenueGetURLsBase possa:

  1. Acessar https://dadosabertos.rfb.gov.br/CNPJ/dados_abertos_cnpj/
  2. Identificar o mês mais recente
  3. Acessar a URL do mês mais recente
  4. Identificar os arquivos para download
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant