SendInvoices Constructor

It creates a new instance of the SendInvoices.
Public Sub New( _ 
ByVal AADEUserID As String, _ 
ByVal OcpApimSubscriptionKey As String, _ 
ByVal User As String, _ 
ByVal Key As String, _ 
ByVal Test_env As Boolean, _ 
Optional ByVal Provider As Boolean = False _ 
)
This language is not supported or no code example is available.
public SendInvoices( 
string AADEUserID
string OcpApimSubscriptionKey
string User
string Key
bool Test_env
bool Provider = False 
)
This language is not supported or no code example is available.

Parameters

AADEUserID
string

User Name provided by AADE

OcpApimSubscriptionKey
string

API Key provided by AADE

User
string

User Name provided by Arbitrans

Key
string

Key provided by Arbitrans

Test_env
bool

Work in the Test environment true/false. This value is ignored by the dll if the license is TRIAL. In Trial Version, you will always work in the Test Environment of myDATA.

Provider
bool

If you are a provider, set this parameter to True. Warning: Providers needs to be certificated by AADE in order to be an official provider. 
While you are working on a test environment, no certification is required.

Remarks
 
You can retrieve the invoices you sent using RequestInvoices
 
You can export the Invoice Data and send it to mydata@arbitrans.gr, so we can check your issue. Use the method ExportDataForValidation
This method exports your data in an encoded format, according to GDPR, ensuring maximum security for any sensitive or personal data.
Example
 
 SendInvoices sni = new SendInvoices("AADEUserID", "OcpApimSubscriptionKey", "Arbitrans User", "Arbitrans Key", false);
 					
This language is not supported or no code example is available.
 Dim sni As SendInvoices = New SendInvoices("AADEUserID", "OcpApimSubscriptionKey", "Arbitrans User", "Arbitrans Key", False)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition