myDATATools.isGov Method

Check if a Greek VAT Number belongs to a Government Organization. 
This is ctitical for the Invoicing Provider, in order to determine if the transaction is B2G.
Public Function isGov( _ 
ByVal greekVatNumber As String
) As Boolean
This language is not supported or no code example is available.
public bool isGov( 
string greekVatNumber 
)
This language is not supported or no code example is available.

Parameters

greekVatNumber
string

The Greek Vat Number, without the Country code. Example: 123456789

Return Value

bool
Example
 
 myDATATools mdt = new myDATATools("Arbitrans User", "Arbitrans Key");
 bool gov = mdt.isGov(123456789); // Where 123456789 is the Greek Vat Number (9 digits)
 					
This language is not supported or no code example is available.
 Dim mdt as myDATATools = new myDATATools("Arbitrans User", "Arbitrans Key")
 Dim gov As Boolean = mdt.isGov(123456789) 'Where 123456789 is the Greek Vat Number (9 digits)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition