ProvBratnet Class
Read more about using a third-party provider here.
| Name | Description | |
|---|---|---|
|
ProvBratnet(string, string, string, string, string, bool) | It creates a new instance of the ProvBratnet. |
| Name | Description | |
|---|---|---|
|
CancelDeliveryNote(string, string) | Use this method in order to cancel a Delivery Note to Bratnet Provider. |
|
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). |
|
TransferTable(int, string, string) | Transfers all orders from one table to another. |
|
UpdatePayments(payment) | Updates payment information for an invoice by sending the payment method to AADE. Requires Basic Auth client credentials. |
|
cancelPOSSignature(string, bool, string) | Cancel a POS Provider Signature |
|
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). |
|
getCreditInfo() | Get the available and consumed provider credits. |
|
getInvoiceInfo(string) | Returns the invoice information, based on its UID. |
|
getOpenTableDetails(int, string) | Get detailed information about orders on a specific open table. |
|
getOpenTables(int) | Get a list of all currently open tables for a specific branch |
|
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. |
|
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". |
|
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. |
|
newPayment() | Create a new payment object |
|
newPosTransaction() | Create a new posTransaction object |
|
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. |
| Name | Description | |
|---|---|---|
|
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. |
|
payment |
To update a payment for an invoice, this structure is required. The structure is applied to UpdatePayments method. |
|
posTransaction | To manually get the provider's POS signature, the POS transaction structure is required. The structure is applied to getPOSSignature(posTransaction) |
ArbitransMyData.Providers.ProvBratnet