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

Criação do campo indDeduzDeson na classe ICMSGeral #1550

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion NFe.Servicos/ServicosNFe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1112,10 +1112,11 @@ public RetornoNfeDistDFeInt NfeDistDFeInteresse(string ufAutor, string documento
}

var retornoXmlString = retorno.OuterXml;
var retConsulta = new retDistDFeInt().CarregarDeXmlString(retornoXmlString);

SalvarArquivoXml(DateTime.Now.ParaDataHoraString() + "-distDFeInt.xml", retornoXmlString);

var retConsulta = new retDistDFeInt().CarregarDeXmlString(retornoXmlString);

#region Obtém um retDistDFeInt de cada evento, adiciona os documentos ao resultado e salva-os em arquivo

if (retConsulta.loteDistDFeInt != null && _cFgServico.UnZip)
Expand Down
7 changes: 6 additions & 1 deletion NFe.Utils/Tributacao/Estadual/ICMSGeral.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,12 @@ public ICMSBasico ObterICMSBasico(CRT crt)
/// </summary>
public MotivoDesoneracaoIcms? motDesICMS { get; set; }

/// <summary>
/// <summary>
/// Indicador do valor de desoneracao é deduzido do total da NF-e
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugiro alterar o summary para o que explica diretamente o campo. Como a descrição indicada na sefaz:

image

/// </summary>
public DeduzDesoneracaoNoProduto? indDeduzDeson { get; set; }

/// <summary>
/// Valor do ICMS da Operação
/// </summary>
public decimal? vICMSOp { get; set; }
Expand Down