Page 19 of 27
5.5 Receipt
In case the POS requires to request the last EFTPOS receipt content to print, the POS can send a request to receive
the last transaction’s receipt content with the most recent or last transaction’s TxnRef. This can be requested to re-
print the receipt when a printer and it’s paper roll is available. Following are the request and response details specic
to get the last receipt.
5.5.1 Receipt Request XML
Property Required Description
Station Yes Station Name of the Windcave terminal being selected by the POS.
TxnType Yes For Receipt Request, the value should be Receipt.
TxnRef Yes The most recently processed transaction’s transaction reference.
DuplicateFlag No An optional tag. If value 1: Includes a DUPLICATE RECEIPT text string on
the receipt content. Otherwise 0 will not include the duplicate text string.
ReceiptType Yes A ag indicating the receipt content type to receive. Valid Values:
1 = Merchant Copy of receipt with a signature placeholder (only for signa-
ture transaction)
2 = Customer Copy of receipt
3 = Merchant Copy of receipt
Example Receipt Request:
<Scr action="doScrHIT" user="xxx" key="yyy">
<Station>4012345678</Station>
<TxnType>Receipt</TxnType>
<TxnRef>12345</TxnRef>
<DuplicateFlag>0</DuplicateFlag>
<ReceiptType>2</ReceiptType>
</Scr>
Property Description
RcptW Receipt Width species the maximum character limit per receipt content’s line. A termi-
nal’s account is setup with a default receipt width character length. The xed character
limit can be used to center justify the receipt content per line to get the standard receipt
format.
Rcpt Actual EFTPOS receipt content that should be physically printed in case the POS han-
dles the EFTPOS receipt printing. All receipt content should be printed to ensure nan-
cial data integrity.
5.5.2 Receipt Response XML
Example Receipt Response:
<Scr>
<TxnRef>12345</TxnRef>
<TxnType>Receipt</TxnType>
<RcptW>30</RcptW>
<Rcpt> *-----------EFTPOS-----------*18 Apr 18 11:06 CHEQUESWIPE VISA CARD
499999******9103AUTHORISATION 011498REFERENCE 009451PURCHASE AUD1.00TOTAL
AUD1.00 APPROVED PIN VERIFIED *----------------------------*
CUSTOMER COPY PLEASE RETAIN FOR YOUR RECORDS</Rcpt>
</Scr>