Class IncludeOSTaxes
public class IncludeOSTaxes
- Inheritance
-
IncludeOSTaxes
- Inherited Members
Properties
CbsRate
[JsonPropertyName("nAliqCbs")]
public decimal? CbsRate { get; set; }
Property Value
CbsReductionPercentage
[JsonPropertyName("nPercReducaoCbs")]
public decimal? CbsReductionPercentage { get; set; }
Property Value
CbsValue
[JsonPropertyName("nValorCbs")]
public decimal? CbsValue { get; set; }
Property Value
CofinsBaseReductionRate
[JsonPropertyName("nAliqRedBaseCOFINS")]
public decimal? CofinsBaseReductionRate { get; set; }
Property Value
CofinsRate
[JsonPropertyName("nAliqCOFINS")]
public decimal? CofinsRate { get; set; }
Property Value
CofinsValue
[JsonPropertyName("nValorCOFINS")]
public decimal? CofinsValue { get; set; }
Property Value
CsllRate
[JsonPropertyName("nAliqCSLL")]
public decimal? CsllRate { get; set; }
Property Value
CsllValue
[JsonPropertyName("nValorCSLL")]
public decimal? CsllValue { get; set; }
Property Value
DeductIss
[JsonPropertyName("lDeduzISS")]
public bool? DeductIss { get; set; }
Property Value
- bool?
DeductionValue
[JsonPropertyName("nValorDeducao")]
public decimal? DeductionValue { get; set; }
Property Value
FixCofins
[JsonPropertyName("cFixarCOFINS")]
public string? FixCofins { get; set; }
Property Value
FixCsll
[JsonPropertyName("cFixarCSLL")]
public string? FixCsll { get; set; }
Property Value
FixInss
[JsonPropertyName("cFixarINSS")]
public string? FixInss { get; set; }
Property Value
FixIrrf
[JsonPropertyName("cFixarIRRF")]
public string? FixIrrf { get; set; }
Property Value
FixIss
[JsonPropertyName("cFixarISS")]
public string? FixIss { get; set; }
Property Value
FixPis
[JsonPropertyName("cFixarPIS")]
public string? FixPis { get; set; }
Property Value
IbsCbsCst
[JsonPropertyName("cCST")]
public string? IbsCbsCst { get; set; }
Property Value
IbsMunRate
[JsonPropertyName("nAliqIbsMun")]
public decimal? IbsMunRate { get; set; }
Property Value
IbsMunReductionPercentage
[JsonPropertyName("nPercReducaoIbsMun")]
public decimal? IbsMunReductionPercentage { get; set; }
Property Value
IbsMunValue
[JsonPropertyName("nValorIbsMun")]
public decimal? IbsMunValue { get; set; }
Property Value
IbsUfRate
[JsonPropertyName("nAliqIbsUf")]
public decimal? IbsUfRate { get; set; }
Property Value
IbsUfReductionPercentage
[JsonPropertyName("nPercReducaoIbsUf")]
public decimal? IbsUfReductionPercentage { get; set; }
Property Value
IbsUfValue
[JsonPropertyName("nValorIbsUf")]
public decimal? IbsUfValue { get; set; }
Property Value
InssBaseReductionRate
[JsonPropertyName("nAliqRedBaseINSS")]
public decimal? InssBaseReductionRate { get; set; }
Property Value
InssRate
[JsonPropertyName("nAliqINSS")]
public decimal? InssRate { get; set; }
Property Value
InssValue
[JsonPropertyName("nValorINSS")]
public decimal? InssValue { get; set; }
Property Value
IrrfDeductionValue
[JsonPropertyName("nValorDeducaoIRRF")]
public decimal? IrrfDeductionValue { get; set; }
Property Value
IrrfRate
[JsonPropertyName("nAliqIRRF")]
public decimal? IrrfRate { get; set; }
Property Value
IrrfValue
[JsonPropertyName("nValorIRRF")]
public decimal? IrrfValue { get; set; }
Property Value
IssBase
[JsonPropertyName("nBaseISS")]
public decimal? IssBase { get; set; }
Property Value
IssRate
[JsonPropertyName("nAliqISS")]
public decimal? IssRate { get; set; }
Property Value
IssValue
[JsonPropertyName("nValorISS")]
public decimal? IssValue { get; set; }
Property Value
ManualCbs
[JsonPropertyName("cManCbs")]
public string? ManualCbs { get; set; }
Property Value
ManualIbsMun
[JsonPropertyName("cManIbsMun")]
public string? ManualIbsMun { get; set; }
Property Value
ManualIbsUf
[JsonPropertyName("cManIbsUf")]
public string? ManualIbsUf { get; set; }
Property Value
OperationIndicator
[JsonPropertyName("cIndOPer")]
public string? OperationIndicator { get; set; }
Property Value
PisBaseReductionRate
[JsonPropertyName("nAliqRedBasePIS")]
public decimal? PisBaseReductionRate { get; set; }
Property Value
PisRate
[JsonPropertyName("nAliqPIS")]
public decimal? PisRate { get; set; }
Property Value
PisValue
[JsonPropertyName("nValorPIS")]
public decimal? PisValue { get; set; }
Property Value
TaxClassification
[JsonPropertyName("cClassTrib")]
public string? TaxClassification { get; set; }
Property Value
TotalDeduction
[JsonPropertyName("nTotDeducao")]
public decimal? TotalDeduction { get; set; }
Property Value
WithholdCofins
[JsonPropertyName("cRetemCOFINS")]
public string? WithholdCofins { get; set; }
Property Value
WithholdCsll
[JsonPropertyName("cRetemCSLL")]
public string? WithholdCsll { get; set; }
Property Value
WithholdInss
[JsonPropertyName("cRetemINSS")]
public string? WithholdInss { get; set; }
Property Value
WithholdIrrf
[JsonPropertyName("cRetemIRRF")]
public string? WithholdIrrf { get; set; }
Property Value
WithholdPis
[JsonPropertyName("cRetemPIS")]
public string? WithholdPis { get; set; }
Property Value
Methods
FromServiceRegistration(ConsultServiceTaxes)
The tax block of a service order item exactly as the service registration (ConsultarCadastroServico)
defines it: ISS rate, PIS/COFINS/CSLL/IR/INSS retention and rates, base reductions, ISS deduction and the
Reforma Tributária fields (CST, classification, operation indicator, IBS/CBS rates and reductions).
The tag names differ between the two Omie types (cRetPIS → cRetemPIS, nAliqIR →
nAliqIRRF, cCstIbsCbs → cCST, cIndOper → cIndOPer, nRedBasePIS →
nAliqRedBasePIS) — that translation is why this lives in the client. Blank codes stay null, so Omie
keeps its own default instead of receiving an empty value.
The ISS retention is not here: on the OS it belongs to the item (cRetemISS), not to impostos.
The registration's PIS/COFINS apuração CST (cCstPIS/cCstCOFINS) has no counterpart on the
service order item, so it cannot be sent.
public static IncludeOSTaxes FromServiceRegistration(ConsultServiceTaxes taxes)
Parameters
taxesConsultServiceTaxes