Skip to content
Open
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
16 changes: 16 additions & 0 deletions CTe.Classes/CTeOutrosServicos/Informacoes/Impostos/impOs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,21 @@ public decimal? vTotTrib
public infTribFed infTribFed { get; set; }

public IBSCBS IBSCBS { get; set; }

private decimal? _vTotDFe;
/// <summary>
/// O total geral do DFe deverá ser a soma do total da prestação + IBS + CBS
/// vTotDFe = vPrest / vTPrest + gIBSCBS / vIBS + gCBS / vCBS
///
/// Exceção: Em 2026 não somar IBS e CBS
/// Observação: Implementação futura
/// </summary>
public decimal? vTotDFe
{
get { return _vTotDFe.Arredondar(2); }
set { _vTotDFe = value.Arredondar(2); }
}

public bool vTotDFeSpecified { get { return vTotDFe.HasValue; } }
}
}