# Header level origin address

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

# Header level origin 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 an origin address at the header level of a transaction so that this origin address applies to all lines on the transaction. For users, this is an optional field because not all transactions will be shipped from a location.

An origin address is added to your application using the`shipFrom` 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-header-level-dest-address)

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