REST API
SelectInvoice
POST/v2/TableApp/SelectInvoice

SelectInvoice displays a list of invoices on the terminal screen and allows the customer to select one. All the responses have GeneralResponse section that informs about successful result or error. See Error Codes and Messages.

Body Parameters

Title
string
InvoiceList*
array
Tpn
string
RegisterId
string
Authkey*
string
SPInProxyTimeout
number
CustomFields
object
POST/v2/TableApp/SelectInvoice
1curl --location 'https://test.spinpos.net/v2/TableApp/SelectInvoice' \
2--header 'Content-Type: application/json' \
3--data '{
4 "Title": "",
5 "InvoiceList": [
6 {
7 "Id": "",
8 "Name": "",
9 "Amount": "",
10 "Type": "Open"
11 }
12 ],
13 "Tpn": "",
14 "RegisterId": "",
15 "Authkey": "",
16 "SPInProxyTimeout": "",
17 "CustomFields": {}
18}'
Response

// Awaiting response…

Sample response
{
  "SelectedInvoiceId": "",
  "GeneralResponse": {
    "ResultCode": "0",
    "StatusCode": "0000",
    "Message": "",
    "DetailedMessage": "",
    "DelayBeforeNextRequest": null
  }
}