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 member for 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 lat/long coordinates, you cannot complete the any other address fields. 
    • You can only send lat/long coordinates​​​​​​​ or a full address, but not both