Skip to content

A microservice for looking up US sales tax rates from a street address.

Notifications You must be signed in to change notification settings

Microgroove/etalify-salestax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Etalify.SalesTax

A microservice for looking up US sales tax rates from a street address. Uses the Washington State Sales Tax Library for WA rate lookups and TaxJar for out of state lookups.

Configuration

Out of WA state sales tax rate lookups make use of TaxJar and therefore require a TaxJar API key.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
  </startup>
  <appSettings>
    <add key="TaxService.Url" value="https://api.taxjar.com/v2/rates/" />
    <add key="TaxService.ApiKey" value="" />
  </appSettings>
</configuration>

Example

Request

curl -X GET -H "Accept: application/json"
"http://localhost:1337/rates?street=1225%204th%20Ave&city=Seattle&state=WA&zip=98101"

Response

{
  "locationCode": "1726",
  "locationName": "SEATTLE",
  "totalRate": 0.096
}

About

A microservice for looking up US sales tax rates from a street address.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages