Sample: JSON
POST Request:
{
"preferences":{
"outputCasing":"M",
"defaultBufferWidth":"",
"distanceUnits":"FEET",
"returnCensusFields":"y"
},
"locations":[
{
"geometry":{
"type":"point",
"coordinates":[-119.759098,41.909106]
},
"purchaseAmount":"40000"
},
{
"geometry":{
"type":"point",
"coordinates":[-109.212223,37.097559]
},
"purchaseAmount":"40000"
}
]
}
JSON POST Response
{
"taxResponses": [
{
"objectId": "1",
"confidence": 100,
"jurisdiction": {
"state": {
"code": "46",
"name": "SD"
},
"county": {
"code": "137",
"name": "Ziebach"
},
"place": {
"name": "",
"code": "00000",
"gnisCode": "000000000",
"classCode": "",
"incorporatedFlag": "Uninc",
"lastAnnexedDate": "",
"lastUpdatedDate": "",
"lastVerifiedDate": ""
},
"spds": [
{
"districtName": "Cheyenne River Sioux Tribe",
"districtCode": "IRD",
"districtNumber": "00005",
"versionDate": "092006",
"effectiveDate": "062007",
"compiledDate": "092006",
"updateDate": "062016"
}
]
},
"salesTax": {
"totalTaxRate": 0.045,
"totalTaxAmount": 4.5,
"stateTaxRate": 0,
"stateTaxAmount": 0,
"countyTaxRate": 0,
"countyTaxAmount": 0,
"municipalTaxRate": 0,
"municipalTaxAmount": 0,
"spdsTax": [
{
"districtNumber": "00005",
"taxRate": 0.045,
"taxAmount": 4.5
}
],
"specialTaxRulesApplied": false,
"specialTaxRulesDescriptor": "NA"
},
"useTax": {
"totalTaxRate": 0.045,
"totalTaxAmount": 4.5,
"stateTaxRate": 0,
"stateTaxAmount": 0,
"countyTaxRate": 0,
"countyTaxAmount": 0,
"municipalTaxRate": 0,
"municipalTaxAmount": 0,
"spdsTax": [
{
"districtNumber": "00005",
"taxRate": 0.045,
"taxAmount": 4.5
}
],
"specialTaxRulesApplied": false,
"specialTaxRulesDescriptor": "NA"
},
"census": {
"cbsa": {
"name": "",
"code": ""
},
"matchLevel": "",
"matchCode": "",
"tract": "",
"mcd": {
"name": "North Ziebach",
"code": "45810"
}
}
},
{
"objectId": "2",
"confidence": 100,
"jurisdiction": {
"state": {
"code": "46",
"name": "SD"
},
"county": {
"code": "041",
"name": "Dewey"
},
"place": {
"name": "Eagle Butte",
"code": "17620",
"gnisCode": "001267361",
"classCode": "C5",
"incorporatedFlag": "Inc",
"lastAnnexedDate": "12/2015",
"lastUpdatedDate": "02/2018",
"lastVerifiedDate": "09/2017"
},
"spds": [
{
"districtName": "Cheyenne River Sioux Tribe",
"districtCode": "IRD",
"districtNumber": "00005",
"versionDate": "092006",
"effectiveDate": "062007",
"compiledDate": "092006",
"updateDate": "062016"
}
]
},
"salesTax": {
"totalTaxRate": 0.065,
"totalTaxAmount": 6.5,
"stateTaxRate": 0,
"stateTaxAmount": 0,
"countyTaxRate": 0,
"countyTaxAmount": 0,
"municipalTaxRate": 0.02,
"municipalTaxAmount": 2,
"spdsTax": [
{
"districtNumber": "00005",
"taxRate": 0.045,
"taxAmount": 4.5
}
],
"specialTaxRulesApplied": false,
"specialTaxRulesDescriptor": "NA"
},
"useTax": {
"totalTaxRate": 0.065,
"totalTaxAmount": 6.5,
"stateTaxRate": 0,
"stateTaxAmount": 0,
"countyTaxRate": 0,
"countyTaxAmount": 0,
"municipalTaxRate": 0.02,
"municipalTaxAmount": 2,
"spdsTax": [
{
"districtNumber": "00005",
"taxRate": 0.045,
"taxAmount": 4.5
}
],
"specialTaxRulesApplied": false,
"specialTaxRulesDescriptor": "NA"
},
"census": {
"cbsa": {
"name": "",
"code": ""
},
"matchLevel": "",
"matchCode": "",
"tract": "",
"mcd": {
"name": "Eagle Butte",
"code": "17620"
}
}
}
]
}
In case no data is found, the following response is returned:
{"taxResponses": [{}]}