Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages