posTransaction Structure
Name | Description | |
---|---|---|
amount |
mandatory Field The amount that it will send to the POS. |
|
grossValue |
mandatory Field The gross value of the invoice |
|
invoiceType |
mandatory Field The invoice type. (field elements.invoiceType) This field refers to the myDATATools.getInvoiceTypeProvider data and it should be exactly the same as elements.invoiceType |
|
issuerBranch |
mandatory Field The issuerBranch (field issuer.branch). This field should be exactly the same as elements.series |
|
issuerVatNumber |
mandatory Field The Greek vat number of the issuer. This field should be exactly the same as issuer.vatNumber |
|
netValue |
mandatory Field The total net amount of the invoice |
|
series |
mandatory Field The series of the invoice (field elements.series) |
|
terminalId |
mandatory Field The POS terminal's ID number. You can get the available POS terminals using the VivaWalletPOS.getAvailablePOS |
|
vatAmount |
mandatory Field The total vat amount of the invoice |
To get the provider's POS signature, ensuring that the values of the structure will be the same as the invoice, use the function
getPOSSignature(invoice, String)