-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anya Stettler
committed
Mar 20, 2014
1 parent
fd47bdc
commit b13a6a9
Showing
5 changed files
with
255 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
There is no explicit Ping call in the REST API, but an equivalent functionality can be achieved by calling EstimateTax with known good parameters. | ||
|
||
curl --user 1234567890:A1B2C3D4E5F6G7H8 "https://development.avalara.net/1.0/tax/47.627935,-122.51702/get?saleamount=10" | ||
|
||
Expected response: | ||
{ | ||
"Rate": 0.086, | ||
"Tax": 0.86, | ||
"TaxDetails": | ||
[ | ||
{ | ||
"Rate": 0.065, | ||
"Tax": 0.65, | ||
"Region": "WA", | ||
"Country": "US", | ||
"JurisType": "State", | ||
"JurisName": "WASHINGTON", | ||
"TaxName": "WA STATE TAX" | ||
}, | ||
{ | ||
"Rate": 0.021, | ||
"Tax": 0.21, | ||
"Region": "WA", | ||
"Country": "US", | ||
"JurisType": "City", | ||
"JurisName": "BAINBRIDGE ISLAND", | ||
"TaxName": "WA CITY TAX" | ||
} | ||
] | ||
, "ResultCode": "Success" | ||
} |
Oops, something went wrong.