Skip to content

Inconsistent lookup between UI and both API endpoints #4

Description

@patienttruth

Inconsistent lookup w/ address

Address - 18404 Doctor Joe Road
Zip - 98257

On https://webgis.dor.wa.gov/taxratelookup/SalesTax.aspx we get 2909 which is assumed to be correct.

Effective dates7/1/26 - 9/30/26
Location code [(view map)](javascript:ZoomMap(-13640249.3068289,6170001.11075721,'2909','18404 Dr Joe Rd Skagit County 98257 9337');)2909
City
CountySkagit
State Sales and Use Tax.065
Local City/County Sales and Use Tax.018
Total tax rate.083
Confirmation code72F41CE18D

On /AddressRates.aspx we get 2900

<?xml version="1.0" encoding="utf-8"?><response loccode="2900" localrate=".018" rate=".083" code="2" xmlns=""><addressline code="2900" street="SNEE OOSH RD" househigh="18404" houselow="18404" evenodd="O" state="WA" zip="98257" plus4="8900" period="Q32026" rta="N" ptba="" cez="" /><rate name="SKAGIT COUNTY" code="2900" staterate=".065" localrate=".018" /></response>

On /GetTaxRate we get a geocoding error

{
  "type": "Lookup failure",
  "title": "Failed to find address",
  "status": 400,
  "detail": "Failed to geocoded the address provided. Please try another address, or reformat the current address."
}

It seems the WA DOR UI is fixing the address name to Dr which is great. If I try that single change to the address in the API it fixes the lookup on both end points, however I'd have assumed the UI would give the same result as the /AddressRates.aspx end point at least. For whatever reason my CRM auto corrects the address to Doctor Joe Road, so even if I or a client put Dr Joe Rd it would have autocompleted otherwise and broke this. This may be rooted in a CRM issue, but the inconsistent responses are the main point of this issue.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions