Class OmieServiceDetail
The full registration of a service (ConsultarCadastroServico). The listing does not carry these fields and
including a service order requires them on every item: LC 116 service code, municipal service code and tax
classification. None of them can be invented — when they are missing from the Omie registration, the caller
should stop and say which service to fix.
public record OmieServiceDetail : IEquatable<OmieServiceDetail>
- Inheritance
-
OmieServiceDetail
- Implements
- Inherited Members
Constructors
OmieServiceDetail(long, string?, string?, decimal, string?, string?, string?)
The full registration of a service (ConsultarCadastroServico). The listing does not carry these fields and
including a service order requires them on every item: LC 116 service code, municipal service code and tax
classification. None of them can be invented — when they are missing from the Omie registration, the caller
should stop and say which service to fix.
public OmieServiceDetail(long ServiceCode, string? Code, string? Description, decimal UnitPrice, string? Lc116Code, string? MunicipalServiceCode, string? TaxClassification)
Parameters
ServiceCodelongOmie's internal service identifier (
nCodServico).CodestringBusiness code (
cCodigo).DescriptionstringService description.
UnitPricedecimalRegistered unit price.
Lc116CodestringLC 116 service code.
MunicipalServiceCodestringService code within the municipality.
TaxClassificationstringTax classification of the service.
Properties
Code
Business code (cCodigo).
public string? Code { get; init; }
Property Value
Description
Service description.
public string? Description { get; init; }
Property Value
Lc116Code
LC 116 service code.
public string? Lc116Code { get; init; }
Property Value
MunicipalServiceCode
Service code within the municipality.
public string? MunicipalServiceCode { get; init; }
Property Value
ServiceCode
Omie's internal service identifier (nCodServico).
public long ServiceCode { get; init; }
Property Value
TaxClassification
Tax classification of the service.
public string? TaxClassification { get; init; }
Property Value
UnitPrice
Registered unit price.
public decimal UnitPrice { get; init; }