myDATATools.getValidE3 Method

Get a list of all valid E3 codes for a specific InvoiceType and ClassificationCategory combination. 
This function can be used to get all the E3 Codes supported by AADE for a specific invoice type with a specific category, whether it is income or expense. 
This way, you can limit the end user's options and lead him to select the correct E3 Code. 
E3 Codes are used in invoice classification for the field classification.Type or the field classifications.classificationType 
The responsibility for selecting the appropriate E3 Code lies with the end user.
Public Function getValidE3( _ 
ByVal InvoiceType As String, _ 
ByVal classificationCategory As String, _ 
ByVal checkType As Integer
) As String()
This language is not supported or no code example is available.
public string[] getValidE3( 
string InvoiceType
string classificationCategory
int checkType 
)
This language is not supported or no code example is available.

Parameters

InvoiceType
string

Invoice Type (1.1, 1.2, 1.3, etc)

classificationCategory
string

Classification Category, ex category1_1

checkType
int

Check Type (Income/Expenses). 
1 is for Income 
2 is for Expenses 
3 is for Income and Expenses

Return Value

string[]
Example
 
 myDATATools mdt = new myDATATools("Arbitrans User", "Arbitrans Key");
 string[] result = mdt.getValidE3("1.1", "category1_95", 1);
 
 // The result of the above is a list containing:
 // E3_596
 // E3_597
 // <empty string>, because category1_95 can be sent without an E3 code.
 					
This language is not supported or no code example is available.
 Dim mdt as myDATATools = new myDATATools("Arbitrans User", "Arbitrans Key")
 Dim result As String() = mdt.getValidE3("1.1", "category1_95", 1)
 
 ' The result of the above is a list containing:
 ' E3_596
 ' E3_597
 ' <empty string>, because category1_95 can be sent without an E3 code.
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition