-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathimpOs.cs
More file actions
44 lines (35 loc) · 1.27 KB
/
impOs.cs
File metadata and controls
44 lines (35 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using CTe.Classes.Informacoes.Impostos;
using CTe.Classes.Informacoes.Impostos.Tributacao;
using DFe.Classes;
namespace CTe.CTeOSDocumento.CTe.CTeOS.Informacoes.Impostos
{
public class impOs
{
public ICMS ICMS { get; set; }
private decimal? _vTotTrib;
public decimal? vTotTrib
{
get { return _vTotTrib.Arredondar(2); }
set { _vTotTrib = value.Arredondar(2); }
}
public bool vTotTribSpecified { get { return vTotTrib.HasValue; } }
public string infAdFisco { get; set; }
public ICMSUFFim ICMSUFFim { get; set; }
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; } }
}
}