# Header level destination address

Source: https://developer.avalara.com/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-header-level-dest-address/

# Header level destination address

**Element type: Required**

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

Your integration must provide a way for users to enter a destination address at the header level of a transaction so that this destination address applies to all lines on the transaction. For users, this is an optional field because not all transactions will be shipped to a location.

A destination address is added to your application using the`shipTo` field in the [AddressModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/AddressesModel/) at the header level.

```
{    "lines": [        {            "number": "1",            "quantity": 1,            "amount": 100,            "taxCode": "PS081282",            "itemCode": "Y0001",            "description": "Yarn"        }    ],    "addresses": {      "shipFrom": {        "line1": "2000 Main Street",        "city": "Irvine",        "region": "CA",        "country": "US",        "postalCode": "92614"      },      "shipTo": {        "line1": "1100 2nd Ave",        "city": "Seattle",        "region": "WA",        "country": "US",        "postalCode": "98101"      }    },    "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-doc-type)

[Next](/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-header-level-origin-address)