Skip to main content
Skip table of contents

Get Totals [GETTOTALS]

Method Name: GETTOTALS

If supported by the device, retrieve the total amount of payments in the day.

Request

Level

Node Name

Node Value(s)

Notes

1

GetTotals

 

 

2

StoreCode

<string>

Store Code

2

TillCode

<string>

Till Code

2

PrintLocation

ECR
EFT

Specify where the receipt will be printed:
ECR - On ECR
EFT - On EFT

2

Reference

<string>

An optional string that can be passed to the provider and/or printed on the payment receipt

Example

CODE
<GetTotals>
  <StoreCode>S01</StoreCode>
  <TillCode>001</TillCode>
  <PrintLocation>ECR</PrintLocation>
  <Reference>EFT EOD Closing</Reference>
</GetTotals>

Response

Level

Node Name

Node Value(s)

Notes

1

DeviceID

<string>

Device ID

1

DateTime

<datetime>

Date/Time of the request

1

TotalAmount

<currency>

Total Amount of the Payment Transactions

1

Currency

<string>

Currency

1

ReceiptText

<string>

Text of the EOD Receipt

Example

CODE
<ReceiptPrinterManagerResponse>
  <DeviceId>05041966</DeviceId>
  <DateTime>2021-07-14T22:06:05.910Z</DateTime>
  <ClosureNumber>565</ClosureNumber>
  <Currency>EUR</Currency>
  <ReceiptText>.....</ReceiptText>
  <Error>False</Error> <ErrorText/>
  <LogFileName/>
</ReceiptPrinterManagerResponse>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.