ProvOrian Class

With this class, you can send Invoices to ORIAN Invoicing Provider. 
Read more about using a third-party provider here.
Public Class ProvOrian
This language is not supported or no code example is available.
public class ProvOrian
This language is not supported or no code example is available.
Name Description
Public constructor ProvOrian(string, string, string, string, bool) It creates a new instance of the ProvOrian.
Top
Methods
 
Name Description
Public method SendInvoice(invoice, orianData, appInfo, int) Send the invoice to Orian provider. 
Provider returns a dictionary(Of String, String) having any results (success or errors).
Public method completePOSTransaction(posComplete) 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 method getPOSSignature(posTransaction) Use this method to get the provider's signature for making a deferred POS payment. 
Deferred POS payments can only be done if the invoice paymentMethod.type = 5.
Public method getQRImage(int) Returns an object-type image, ready to be embedded on your invoice document. 
In the Trial Version, this function returns a QR leading to the url "https://www.arbitrans.gr".
Public method getQRUrl() Returns the validation URL of the Invoicing Provider. Use this URL to generate a QR Code on your own, or use the getQRImage method to export an object-type image of the QR.
Public method resendB2G(correctB2G) Use this method to resend a previously submitted B2G invoice to myDATA. 
Only use this method if ΚΕΔ returns the "SoftReject" status, which indicates that your invoice is generally correct but requires some field changes.
Top
Name Description
Public structure appInfo This structure contains all the necessary fields to report ORIAN, the application that uses this library. 
If you don't want to report your software, leave these fields blank.
Public structure correctB2G To resend an invoice to PEPPOL, use this structure with resendB2G
From the containg fields, only those that need to be changed must have values, except the mark which is a mandatory field.
Public structure posComplete This structure contains all of ORIAN's required fields in order to complete a POS transaction. 
This structure can be used in the completePOSPayment method.
Public structure posTransaction To manually get the provider's POS signature, the POS transaction structure is required. The structure is applied to getPOSSignature(posTransaction) 
Use this structure only for deferred payments applied on credit (myDATATools.getPaymentMethods = 5) invoices completed using POS.
Top
ArbitransMyData.Providers.ProvOrian

.NET Framework

Supported in: 3.5 or newer

In this article

Definition