ProvBratnet Class

With this class, you can send Invoices to Bratnet Invoicing Provider. 
Read more about using a third-party provider here.
Public Class ProvBratnet
This language is not supported or no code example is available.
public class ProvBratnet
This language is not supported or no code example is available.
Name Description
Public constructor ProvBratnet(string, string, string, string, string, bool) It creates a new instance of the ProvBratnet.
Top
Methods
 
Name Description
Public method CancelDeliveryNote(string, string) Use this method in order to cancel a Delivery Note to Bratnet Provider.
Public method SendInvoice(invoice, bratnetData, bool, bool, string) Send the invoice to Bratnet provider. 
Provider returns a dictionary(Of String, String) having any results (success or errors).
Public method TransferTable(int, string, string) Transfers all orders from one table to another.
Public method UpdatePayments(payment) Updates payment information for an invoice by sending the payment method to AADE. Requires Basic Auth client credentials.
Public method cancelPOSSignature(string, bool, string) Cancel a POS Provider Signature
Public method getB2GInfo(string) Get the current B2G/ΚΕΔ status of a single B2G invoice identified by its AADE mark (the unique mark of the invoice in scope of Greece).
Public method getCreditInfo() Get the available and consumed provider credits.
Public method getInvoiceInfo(string) Returns the invoice information, based on its UID.
Public method getOpenTableDetails(int, string) Get detailed information about orders on a specific open table.
Public method getOpenTables(int) Get a list of all currently open tables for a specific branch
Public method getPOSSignature(posTransaction, string, bool, string) Get the POS signature to create a new POS Sale. 
The results of this method will be used at VivaWalletPOS.newSale.
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 newPayment() Create a new payment object
Public method newPosTransaction() Create a new posTransaction object
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 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 payment To update a payment for an invoice, this structure is required. 
The structure is applied to UpdatePayments 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)
Top
ArbitransMyData.Providers.ProvBratnet

.NET Framework

Supported in: 3.5 or newer

In this article

Definition