Skip to content

Reports

Three commands that need no payload. All three go to the same address as every other command — only command differs.

POSThttps://localhost:26496/service

X-report

POST/service·command: PrintXReport

Prints the current shift totals. Changes nothing.

json
{ "id": "3", "method": "send", "data": { "command": "PrintXReport" } }
json
{ "id": "3", "success": true, "data": null }

data: null with success: true is a success — these commands return nothing.

Z-report

POST/service·command: CloseZReport

Closes the shift and prints the fiscal report.

json
{ "id": "4", "method": "send", "data": { "command": "CloseZReport" } }

This cannot be undone. Ask the operator to confirm before sending it, and never retry it automatically.

Take a Z-report at the end of every trading day. A shift left open longer than 24 hours makes the device start rejecting sales.

Reprint the last receipt

POST/service·command: PrintLastReceipt
json
{ "id": "5", "method": "send", "data": { "command": "PrintLastReceipt" } }

Prints whatever the device recorded last. Use it when a Sale times out and you do not know whether the receipt was printed:

Sale → timeout
  ├─ do not resend
  ├─ PrintLastReceipt
  ├─ your receipt came out? → it was already printed, do not send it again
  └─ something else?        → the sale did not go through, send it again

It prints on paper — it does not return the receipt as data.

ARCA Proxy API