Share via


FiscalPrinter.GetVatEntry Method (POS for .NET v1.14 SDK Documentation)

3/2/2014

Gets the rate associated with a given VAT identifier.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Function GetVatEntry ( _
    vatId As Integer, _
    optArgs As Integer _
) As Integer
public abstract int GetVatEntry (
    int vatId,
    int optArgs
)
public:
virtual int GetVatEntry (
    int vatId, 
    int optArgs
) abstract
public abstract int GetVatEntry (
    int vatId, 
    int optArgs
)
public abstract function GetVatEntry (
    vatId : int, 
    optArgs : int
) : int

Parameters

  • vatId
    VAT identifier of the required rate.
  • optArgs
    Rate associated with the VAT identifier.

Remarks

GetVatEntry is supported only if CapSetVatTable is true.

GetVatEntry may cause a PosControlException to be thrown with the following ErrorCode:

Value

Description

Illegal

The vatId parameter is invalid.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

FiscalPrinter Class
FiscalPrinter Members
Microsoft.PointOfService Namespace