DeliveryNote.RejectDeliveryNote Method

Using this method you can reject a Delivery Note.  
It is used only by the receiver of the Delivery Note.
Public Function RejectDeliveryNote( _ 
ByVal reject As rejection, _ 
Optional ByVal GreekErrors As Boolean = False _ 
) As String
This language is not supported or no code example is available.
public string RejectDeliveryNote( 
rejection reject
bool GreekErrors = False 
)
This language is not supported or no code example is available.

Parameters

reject
rejection

The rejection type of rejection

GreekErrors
bool

Determines if the error will be returned in Greek or not.

Return Value

string

The Rejection MARK as string, in a format like: mark:400000000000001

Example
 
 DeliveryNote del = new DeliveryNote("AADEUserID", "OcpApimSubscriptionKey", "Arbitrans User", "Arbitrans Key", false);
 DeliveryNote.rejection tra = del.newRejection;
 var packs = new List<DeliveryNote.packages>();
 
 tra.qrURL = "https://mydataapidev.aade.gr/TimologioQR/QRInfo?q=1jRnA50t";
 tra.Reason = "Wrong receiver";
 
 string result = del.RejectDeliveryNote(tra);
 string exp = del.ExportDataForValidation();
 					
This language is not supported or no code example is available.
 Dim del As DeliveryNote = New DeliveryNote("AADEUserID", "OcpApimSubscriptionKey", "Arbitrans User", "Arbitrans Key", False)
 Dim tra As DeliveryNote.rejection = del.newRejection
 Dim packs As New List(Of DeliveryNote.packages)
 
 tra.qrURL = "https://mydataapidev.aade.gr/TimologioQR/QRInfo?q=1jRnA50t"
 tra.Reason = "Wrong receiver"
 
 Dim result As String = del.RejectDeliveryNote(tra)
 Dim exp As String = del.ExportDataForValidation()
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition