Search

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 nameDescriptionPossible valueRequired
dateStartDate range filter.ISO date (yyyy-mm-dd) yes
dateEndDate range filter.ISO date (yyyy-mm-dd) yes
warehouseIDFilter by warehouse ID.Integer
recordsOnPageNumber of records API should return. By default 20, at most 500.Integer
pageNoAPI returns at most recordsOnPage items at a time. To retrive the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1".Integer

Response

Field nameTypeDescription
invoiceIDIntegerInvoice ID.
invoiceNumberString Invoice number.
customerIDIntegerCustomer ID.
warehouseIDIntegerWarehouse ID.
dateISO date (yyyy-mm-dd)Invoice date.
taxExemptCertificateNumberStringTax exemption certificate number.
amountExemptedDecimalAmount of tax reduction. (Amount of money the customer saved, compared to if the sale had had default tax rates.)