# Location codes

Source: https://developer.avalara.com/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-location-codes/

# Location codes

**Element type: Suggested**

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

Your integration may want to include a way for users to specify the address of an existing location model object instead of having to retype an address completely. This can be done using the`locationCode` field in an address model.

This field does not affect the behavior of transactions that must be filed on location-based tax returns. To specify how a transaction will be reported on location-based tax returns, use the`reportingLocationCode` field on the [CreateTransactionModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/CreateTransactionModel/) element.

```
{  "shipFrom":{    locationCode: "DEU012345L"  }}
```

[Previous](/avatax-dm-combined-erp/sales-tax-badge/transactions/latitude-longitude)

[Next](/avatax-dm-combined-erp/sales-tax-badge/transactions/create-commit-credit-memos)