The service provides rates charged for sales and use taxes by jurisdictions in North America. Available data include tax rates charged and the national and the state or provincial levels, along with applicable county and city rates and portions of shipping and handling balances that are subject to tax.
API methods support submission of a U.S. Zip Code or Canadian province abbreviation identifying the location of the transaction, either a physical store or the buyer's location for online sales. For U.S. transactions, returned data include the state abbreviation, county name, and city name matching the submitted Zip Code, as well as the general sales and use tax rates for that specific location and total tax due. For Canadian locations, the API returns the province abbreviation and name along with the overall sales tax rate and components for GST, PST, and HST. For all locations, returned data indicate any tax due on shipping and handling.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.