ProvOrian.completePOSTransaction Method

Use this method to complete the invoice. 
This method should only be used when the invoice has at least one POS transaction (paymentMethod.type = 7). 
IMPORTANT: The invoice will not be issued if this method is not called after the POS transaction has been effectively completed. 
If the POS transaction fails or cancels for any reason, you don't need to take any action.
Public Function completePOSTransaction( _ 
ByVal posComplete As posComplete
) As Dictionary(Of String, String)
This language is not supported or no code example is available.
public Dictionary<string, string> completePOSTransaction( 
posComplete posComplete 
)
This language is not supported or no code example is available.

Parameters

posComplete
posComplete

The raw data of a POS Transaction.

Return Value

Dictionary<string, string>
FieldValue / Description
isSuccessTrue
authenticationCode1B2E34B4AB5DC6AF7890B123456BF7890B1D234B
invoiceMARK400000000000001
invoiceUIDD123FCA456D7F8901F2CA34567BC8B901FA7F23B
qrCodehttps://mydataapidev.aade.gr/TimologioQR/QRInfo?q=1jRnA50t2x%2b5GmIQx6d3Y2WIBuVMN6FFOH
voucherName
invoiceIDf7044da7-7ee0-4505-bd0d-43d831d3f4d1
invoiceUrlhttps://dev-myinvoices.orian.gr/webapi/webapi/OpenApi/getInvoice?AuthCode=1B2E34B4AB5DC6AF7890B123456BF7890B1D234B
peppolURLhttps://dev-myinvoices.orian.gr/webapi/webapi/OpenApi/getPeppolVisual?AuthCode=1B2E34B4AB5DC6AF7890B123456BF7890B1D234B
providerUrlhttps://www.orian.gr
issueDate01/01/2026 09:00:00
statusCode0
statusText
fileName
paymentMark
cancellationMark
paymentInfo
JSON_ARBDATAVjJ4b2FtUXhUW!RpUlZKU1ZqSjRWMVZxUWxwTlZte_pXa1prYTFZeFNrZFphMVpYVTIxR2RFOVhOVlJXZWtaUV
Example
 
  var por = new ProvOrian("orianUser", "orianPassword", "Arbitrans User", "Arbitrans Key", false);
  Dictionary<string, string> fResult = por.SendInvoice(invoice, ori);
 
  var pos = New ProvOrian.posComplete(); // initialize a New posComplete Object
  pos.paymentID = "9dea9161-841c-4f84-bef8-2978d7e1111f";
  pos.transactionID = transactionID; // the alpharethmetic string that the POS returns after the transaction Is complete Is the transactionID.
  pos.paidAmount = 204.0d; // the actual paid amount as sent to the POS.
 
  Dictionary<string, string> result = por.completePOSTransaction(pos); // complete the transaction And tell the provider to issue the invoice.
  					
This language is not supported or no code example is available.
  Dim por As ProvOrian = New ProvOrian("orianUser", "orianPassword", "Arbitrans User", "Arbitrans Key", False)
  Dim fResult As Dictionary(Of String, String) = por.SendInvoice(invoice, ori)
 
  Dim pos As New ProvOrian.posComplete 'initialize a new posComplete object
  pos.paymentID = "9dea9161-841c-4f84-bef8-2978d7e1111f"
  pos.transactionID = transactionID 'the alpharethmetic string that the POS returns after the transaction is complete is the transactionID.
  pos.paidAmount = 204.0 'the actual paid amount as sent to the POS.
 
  Dim result As Dictionary(Of String, String) = por.completePOSTransaction(pos) 'complete the transaction and tell the provider to issue the invoice.
  					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition