This call is deprecated. We recommend to use the Reports API instead.
The corresponding new call is: GET /v1/POSDay/, GET /v1/POSDay/transaction, GET /v1/POSDay/transaction/cashflow and others.
Retrieve an "X Report" or "Z Report".
X / Z Report is a report of POS transactions and payments. The output is identical, but an X report is typically printed during the day, and a Z report at the end of the day, after counting the cash drawer.
X / Z Report can be retrieved either as structured data or HTML.
For other reports, see the following API calls:
|Parameter name||Description||Possible value||Required|
The report to retrieve. Possible values: "ZReport", "SalesReport", "totalTax".
The "SalesReport" and "totalTax" reports are customer-specific formats and not documented, so "ZReport" is the only option that can be actually used.
|dayID||If set, report will contain only the transactions in a specific POS or for a specific drawer depending if shift type is set to POS or drawers. Cannot be used together with pointOfSaleID and warehouseID. API will return error code 1013 if these parameters are used together.||Integer|
|pointOfSaleID||If set, report will contain only the transactions in a specific POS.||Integer|
|warehouseID||If set, report will contain only the transactions in a specific store / warehouse.||Integer|
|salesManagerID||If set, report will contain only the transactions of a specific cashier / associate / salesperson / sales manager.||Integer|
|currencyCode||If set, report will contain only the transactions in a specific currency.||Integer|
|getShortReport||0 or 1|
|format||By default API returns structured data. Set format to "HTML" to retrieve an HTML report||String|
|htm||String||If HTML format was selected, this variable contains the report HTML.|
|STRUCTURED DATA||Array||To be documented.|