myDATATools.getGovName 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 getGovName( _ 
ByVal govID As String
) As String
This language is not supported or no code example is available.
public string getGovName( 
string govID 
)
This language is not supported or no code example is available.

Parameters

govID
string

The Government Organization ID. Example: 1053.2020000000.0001

Return Value

string
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