Skip to main content
Avalara Help Center

Are latitude and longitude a supported method of calling GetTax?

Overview

I noticed that the GetTaxRequest.DestinationAddress contains latitude and longitude. 
I populated these fields and no other address fields and made a few test calls to TaxSvc.GetTax() and the correct tax was returned. 

Environment

 

Avalara AvaTax

Resolution

  • Sending an address of latitude and longitude coordinates only will return a getTax call using geolocation calculation.
    • When using latitude and longitude coordinates, you cannot complete any other address fields. 
    • You can only send latitude and longitude coordinates or a full address, but not both.