Clerk/Server Totals Report
This command runs the Clerk/Server Totals Report. Clerk/Server Totals is the request/response sequence for getting various transaction totals per clerk/server along with grand totals. If parameter ATYPE=1
header will be Server and if ATYPE=0
headers will be Clerk.
Note
This is available for First Data Rapid Connect at time of publication. Generated from local batch file – no communication with host needed.
Device UI Required: No
Request Packet
Field | Rule | Type | Minimum | Maximum | Value(s) | Description |
---|---|---|---|---|---|---|
FUNCTION_TYPE | Required | Static value | N/A | N/A | REPORT | Type of function |
COMMAND | Required | Static value | N/A | N/A | CLERK_TOTALS | Command name |
COUNTER | Required | Numeric | 1 | 10 | COUNTER is used for a given MAC label. Each COUNTER should be higher than the last one. This is sed to authenticate the POS. Example: 4 | |
MAC | Required | Base64 Encoded Data | N/A | N/A | Message Authentication Code. This is used to authenticate the POS. | |
MAC_LABEL | Required | Character | 1 | 50 | Associated label that tells the device which MAC_KEY to use to decrypt the value of MAC. This is used to authenticate the POS. Example: REG1 |
Request packet Example
<TRANSACTION>
<FUNCTION_TYPE>REPORT</FUNCTION_TYPE>
<COMMAND>CLERK_TOTALS</COMMAND>
<COUNTER>4</COUNTER>
<MAC> … </MAC>
<MAC_LABEL>REG2</MAC_LABEL>
</TRANSACTION>
Response Packet
Field | Type | Value | Description |
---|---|---|---|
RESPONSE_TEXT | Character | Processor response text. Example: Report Completed | |
RESULT | Character | This indicates the Result details. Example: OK | |
RESULT_CODE | Numeric | Expected result codes: -1 | This indicates the result code. |
TERMINATION_STATUS | Character | SUCCESS and FAILURE | This indicates the transaction termination status. This is the overall status of the transaction irrespective of approved or declined. Like, if the output is generated then the status is SUCCESS and if no output is generated then the status will be FAILURE. |
COUNTER | Numeric | Echoes COUNTER sent in the request. Example: 4 | |
FUNCTION_TYPE | Character | REPORT | Returns the type of function. |
COMMAND | Character | Returns the command name. | |
CLERK_REPORT | Refer to the response example below to have more understandings on CLERK_REPORT_DATA Receipt Text Elements. |
Note
Report will show the total number of sale transactions and total Sale amount, total number of refund transactions and total refund amount, total number of void transactions and total void amount, total number of transactions with tip and total tip amount, total number of transactions with tax and total tax amount, total number of transactions with cashback and total cashback amount, per clerk/server. Also it will show all above details for all clerks inclusive, the grand totals of everything above.
Response packet Example
<RESPONSE>
<RESPONSE_TEXT>Report Completed</RESPONSE_TEXT>
<RESULT>OK</RESULT>
<RESULT_CODE>-1</RESULT_CODE>
<TERMINATION_STATUS>SUCCESS</TERMINATION_STATUS>
<COMMAND>CLERK_TOTALS</COMMAND>
<FUNCTION_TYPE>REPORT</FUNCTION_TYPE>
<CLERK_REPORT>
<CLERK_REPORT_DATA>
<TEXTLINE> VERIFONE SCA </TEXTLINE>
<TEXTLINE> 11700 Great Oaks Way </TEXTLINE>
<TEXTLINE> Suite 210 </TEXTLINE>
<TEXTLINE> Alpharetta, GA 30022 </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE>Merchant ID: 311675 </TEXTLINE>
<TEXTLINE>Terminal ID: 001 </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE>01/23/18 08:31:41</TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> CLERK TOTALS REPORT </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> Clerk ID:777 </TEXTLINE>
<TEXTLINE>Count: 1</TEXTLINE>
<TEXTLINE>Sale Amt $ 1.00</TEXTLINE>
<TEXTLINE>Tip Amt $ 0.00</TEXTLINE>
<TEXTLINE>CB Total: $ 0.00</TEXTLINE>
<TEXTLINE>Refunds: $ 0.00</TEXTLINE>
<TEXTLINE>Voids: $ 0.00</TEXTLINE>
<TEXTLINE>Tax: $ 0.00</TEXTLINE>
<TEXTLINE>Tot Amt $ 1.00</TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> Clerk ID:2 </TEXTLINE>
<TEXTLINE>Count: 1</TEXTLINE>
<TEXTLINE>Sale Amt $ 0.02</TEXTLINE>
<TEXTLINE>Tip Amt $ 0.02</TEXTLINE>
<TEXTLINE>CB Total: $ 0.00</TEXTLINE>
<TEXTLINE>Refunds: $ 0.00</TEXTLINE>
<TEXTLINE>Voids: $ 0.00</TEXTLINE>
<TEXTLINE>Tax: $ 0.00</TEXTLINE>
<TEXTLINE>Tot Amt $ 0.04</TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> GRAND TOTALS </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE>Sale Total: 2 $ 1.02</TEXTLINE>
<TEXTLINE>Tip Total: 1 $ 0.02</TEXTLINE>
<TEXTLINE>CB Total: 0 $ 0.00</TEXTLINE>
<TEXTLINE>Refunds: 0 $ 0.00</TEXTLINE>
<TEXTLINE>Voids: 0 $ 0.00</TEXTLINE>
<TEXTLINE>Tax Total: 0 $ 0.00</TEXTLINE>
<TEXTLINE>Grand Tot: 3 $ 1.04</TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
</CLERK_REPORT_DATA>
</CLERK_REPORT>
<RECEIPT_DATA>
<RECEIPT>
<TEXTLINE> VERIFONE SCA </TEXTLINE>
<TEXTLINE> 11700 Great Oaks Way </TEXTLINE>
<TEXTLINE> Suite 210 </TEXTLINE>
<TEXTLINE> Alpharetta, GA 30022 </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE>Merchant ID: 311675 </TEXTLINE>
<TEXTLINE>Terminal ID: 001 </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE>01/23/18 08:31:41</TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> CLERK TOTALS REPORT </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> Clerk ID:777 </TEXTLINE>
<TEXTLINE>Count: 1</TEXTLINE>
<TEXTLINE>Sale Amt $ 1.00</TEXTLINE>
<TEXTLINE>Tip Amt $ 0.00</TEXTLINE>
<TEXTLINE>CB Total: $ 0.00</TEXTLINE>
<TEXTLINE>Refunds: $ 0.00</TEXTLINE>
<TEXTLINE>Voids: $ 0.00</TEXTLINE>
<TEXTLINE>Tax: $ 0.00</TEXTLINE>
<TEXTLINE>Tot Amt $ 1.00</TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> Clerk ID:2 </TEXTLINE>
<TEXTLINE>Count: 1</TEXTLINE>
<TEXTLINE>Sale Amt $ 0.02</TEXTLINE>
<TEXTLINE>Tip Amt $ 0.02</TEXTLINE>
<TEXTLINE>CB Total: $ 0.00</TEXTLINE>
<TEXTLINE>Refunds: $ 0.00</TEXTLINE>
<TEXTLINE>Voids: $ 0.00</TEXTLINE>
<TEXTLINE>Tax: $ 0.00</TEXTLINE>
<TEXTLINE>Tot Amt $ 0.04</TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> GRAND TOTALS </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE>Sale Total: 2 $ 1.02</TEXTLINE>
<TEXTLINE>Tip Total: 1 $ 0.02</TEXTLINE>
<TEXTLINE>CB Total: 0 $ 0.00</TEXTLINE>
<TEXTLINE>Refunds: 0 $ 0.00</TEXTLINE>
<TEXTLINE>Voids: 0 $ 0.00</TEXTLINE>
<TEXTLINE>Tax Total: 0 $ 0.00</TEXTLINE>
<TEXTLINE>Grand Tot: 3 $ 1.04</TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
<TEXTLINE> </TEXTLINE>
</RECEIPT>
</RECEIPT_DATA>
<COUNTER>4</COUNTER>
</RESPONSE>