Skip to content

Commit

Permalink
Merge pull request #202 from Transis-Felipe/patch-1
Browse files Browse the repository at this point in the history
Ajuste para o cnae do demo no padrao do ginfes
  • Loading branch information
rftd authored Mar 23, 2023
2 parents fab0ec1 + 2d49246 commit d65304d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenAC.Net.NFSe.Demo/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ private void GerarRps()
if (InputBox.Show("Item na lista de serviço", "Informe o item na lista de serviço.", ref itemListaServico).Equals(DialogResult.Cancel)) return;

// Setar o cnae de acordo com o schema aceito pelo provedor.
var cnae = municipio.Provedor.IsIn(NFSeProvider.SIAPNet, NFSeProvider.Sintese, NFSeProvider.ABase, NFSeProvider.Pronim203, NFSeProvider.Sigiss2) ? "5211701" : "861010101";
var cnae = municipio.Provedor.IsIn(NFSeProvider.SIAPNet, NFSeProvider.Sintese, NFSeProvider.ABase, NFSeProvider.Pronim203, NFSeProvider.Sigiss2, NFSeProvider.Ginfes) ? "5211701" : "861010101";
if (InputBox.Show("CNAE", "Informe o codigo CNAE.", ref cnae).Equals(DialogResult.Cancel)) return;
nfSe.Servico.CodigoCnae = cnae;

Expand Down

0 comments on commit d65304d

Please sign in to comment.