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.
|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.|