API browser of miscValidator200 COM module


/images/arrow_right.png ServicePropertyType enumeration type
Defines properties a service possibly can possess in terms of an orthogonal bit list. space
space
Set of enumeration values 8 elements
enServicePropertyHasTP: 1 This bit position characterizes the service as one with a fixed tax point (TP) as opposed to a variable TP services. As a consequence the TPmin and TPmax bits are not set (cf below)!
 
To retrieve the TP of that service call the ISearch::GetPropertyValue method with a property name of "enServicePropertyHasTP" or just "TP".
enServicePropertyHasTPMin: 2 This bit position characterizes the service as one with a variable tax point (TP) as opposed to a fixed TP services. As a consequence the TP bit is not set and TPmax bit is set as well!
 
To retrieve the lower bound of the TP interval of that service (TP min) call the ISearch::GetPropertyValue method with a property name of "enServicePropertyHasTPMin" or just "TPmin".
enServicePropertyHasTPMax: 4 This bit position characterizes the service as one with a variable tax point (TP) as opposed to a fixed TP services. As a consequence the TP bit is not set and TPmin bit is set as well!
 
To retrieve the upper bound of the TP interval of that service (TP max) call the ISearch::GetPropertyValue method with a property name of "enServicePropertyHasTPMax" or just "TPmax".
enServicePropertyIsFrancService: 8 This bit position characterizes the service as defined in Francs and therefore the tax point value (TPV) must be 1.0.
enServicePropertyIsPercentService: 16 This bit position characterizes the service as a percent service meaning that the TP is calculated as a percent fraction from another service defined by a reference code. Consequently, all services with the enServicePropertyIsPercentService bit set have the enServicePropertyIsNeedsRefCode bit set as well.
 
To retrieve the percent fraction of that service, call the ISearch::GetPropertyValue method with a property name of "enServicePropertyIsPercentService" or just "percentService".
enServicePropertyIsNeedsRefCode: 32 This bit position characterizes the service as one that needs a reference code basically defining a chain of codes. If a service needs a reference code than that referenced service must be supplied prior than the current service.
 
To retrieve the reference code, call either the ISearch::GetReferenceCode property or the ISearch::GetPropertyValue method with a property name of "enServicePropertyIsNeedsRefCode" or just "needsRefCode". The such retrieved reference code might be empty in cases where the explicit reference code is unknown and only the property to need a reference code is known.
 
Note, that all services with a turned on "isPercentService" bit have the "needsRefCode" bit turned on as well but not vice versa!
enServicePropertyHasVatRateCode: 64 This bit position characterizes that a vat rate is defined for the service. Since all services have a vat rate this bit is always set.
 
To retrieve the applicable vat rate code, call the ISearch::GetPropertyValue method with a property name of "enServicePropertyHasVatRateCode" or just "vatRateCode". The returned value is one of
  • 0 = none (currently 0% vat rate)
  • 1 = reduced (currently 2.5% vat rate)
  • 2 = full (currently 8% vat rate)
enServicePropertyHasExcludedVat: 128 This bit position characterizes that the service is a Netto service that has the vat rate not yet included. The currently used invoice system assumes a Brutto system meaning that a TP value has the vat rate included.
space