getTaxExemptions

Retrieve sales documents where tax exemption was applied. (Customer supplied a tax exemption certificate number and their tax rate for that sale was reduced.)

With this information, it is possible to build a "Tax Exemption Report".

Please note that this API call only lists those occasions where tax exemption was manually activated in POS. Sales to customers who have the "Tax Exempt" check box checked on their customer card, are NOT listed.

This API call is only available if your account has Classic back office (not Berlin back office), and you must be using at least back office version 4.5.0. Otherwise, this API call will return error code 1006.

Input parameters

Parameter name Description Possible value Required
dateStart Date range filter. ISO date (yyyy-mm-dd) yes
dateEnd Date range filter. ISO date (yyyy-mm-dd) yes
warehouseID Filter by warehouse ID. integer
recordsOnPage Number of records API should return. By default 20, at most 500. integer
pageNo API returns at most recordsOnPage items at a time. To retrieve the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". integer

Response

Field name Type Description
invoiceID integer Invoice ID.
invoiceNumber string Invoice number.
customerID integer Customer ID.
warehouseID integer Warehouse ID.
date ISO date (yyyy-mm-dd) Invoice date.
taxExemptCertificateNumber string Tax exemption certificate number.
amountExempted number Amount of tax reduction. (Amount of money the customer saved, compared to if the sale had had default tax rates.)