myDATATools.getInvoiceType (Int32, Int32, Boolean) Method

Get all Invoice Types (code and description) that are assigned only to the entity's income or only to its expenses based on the search method (what the entity sent, what they sent to the entity). 
Invoice Types are used in SendInvoices class for the field elements.invoiceType 
This function is not available in the Trial Version.
Public Function getInvoiceType( _ 
ByVal method As Integer, _ 
ByVal type As Integer, _ 
Optional ByVal English As Boolean = False _ 
) As Dictionary(Of String, Object)
This language is not supported or no code example is available.
public Dictionary<string, object> getInvoiceType( 
int method
int type
bool English = False 
)
This language is not supported or no code example is available.

Parameters

method
int

1 is for the method "Sent by the Entity"  
2 is for the method "Sent to the Entity"

type
int

1 is for Income Invoice Types  
2 is for Expenses Invoice Types

English
bool

Optional. If True, the result in English terms. Default is False

Return Value

Dictionary<string, object>
Example
 
 myDATATools mdt = new myDATATools("Arbitrans User", "Arbitrans Key");
 
 // Get a list of all invoice types that correspond to the method
 // What they sent to the entity" and are related to the entity's income.
 Dictionary<string, object> result = mdt.getInvoiceType(2, 1);
 					
This language is not supported or no code example is available.
 Dim mdt as myDATATools = new myDATATools("Arbitrans User", "Arbitrans Key")
 
 ' Get a list of all invoice types that correspond to the method
 ' What they sent to the entity" and are related to the entity's income.
 Dim result As Dictionary(Of String, Object) = mdt.getInvoiceType(2, 1)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition