# Latitude/longitude support

Source: https://developer.avalara.com/avatax-dm-combined-erp/sales-tax-badge/transactions/latitude-longitude/

# Latitude/longitude support

**Element type: Suggested**

**Endpoints/models used:** [AddressModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/AddressesModel/)

For US addresses only, if the host application captures GPS coordinates with addresses, then pass the latitude and longitude along with address. This is especially useful in situations where a location or service site can only be pinpointed by geo location.

```
{    "lines": [        {            "number": "1",            "quantity": 1,            "amount": 100,            "taxCode": "PS081282",            "itemCode": "Y0001",            "description": "Yarn"        }    ],    "addresses": {        "singleLocation": {            "line1": "2000 Main Street",            "city": "Irvine",            "region": "CA",            "country": "US",            "postalCode": "92614",            "latitude": "33.684330",            "longitude": "-117.850630"        }    },    "type": "SalesInvoice",    "companyCode": "DEFAULT",    "date": "2020-10-16",    "code": "XYZ",    "customerCode": "ABC",    "commit": true,    "currencyCode": "USD",    "description": "Yarn"}
```

[Previous](/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-entity-use-code-line-level)

[Next](/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-location-codes)