# Use the correct address type for your POS

Source: https://developer.avalara.com/ecommerce-integration-guide/transactions/certification-requirements/use-the-correct-address-type-for-your-pos/

**Element type:** Required for POS

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

For cash-and-carry sales, be sure that the address for shipping details reflects a POS location. You can do this using the `singleLocation` address type or by specifying the same address for the `shipFrom` and `shipTo` locations.

 [![Closed](https://avalara-devdocs-prod.mcoutput.com/avatax-for-ecom/Content/Skins/Default/Stylesheets/Images/transparent.gif) Example](javascript:void\(0\);)

```
"addresses": {  "singleLocation": {    "line1": "2000 Main Street",    "city": "Irvine",    "region": "CA",    "country": "US",    "postalCode": "92614"  }}
```