# Bill to address (header and line levels)

Source: https://developer.avalara.com/sales-tax-integration-guide/dhk6543622721666/

# Bill to address (header and line levels)

Use the bill-to address at the header or line level to define the purchaser billing address that AvaTax uses for transaction processing and digital product sourcing.

**Element type:** Required (Header), Conditional (Line level)

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

Your integration must let users enter a bill-to, or purchaser billing, address at the header or line level of a transaction. A header-level address applies to all transaction lines. A line-level address applies only to that line.

In California and other jurisdictions that enforce statutory digital sourcing hierarchies, AvaTax evaluates `addresses.billTo` as a Tier 1 priority when it calculates sales tax for SaaS, prewritten computer software, and digital products.

If your platform supports line-level addressing, your integration must also support `billTo` at the line level for mixed or multicustomer billing scenarios.

Add the bill-to address to your application by using the `billTo` field in the `AddressesModel` at the header or line level.

## Example

```
{
  "addresses": {
    "shipFrom": {
      "line1": "1 Market St",
      "city": "San Francisco",
      "region": "CA",
      "country": "US",
      "postalCode": "94105"
    },
    "shipTo": {
      "line1": "2600 Fresno St",
      "city": "Fresno",
      "region": "CA",
      "country": "US",
      "postalCode": "93721"
    },
    "billTo": {
      "line1": "1 Frank H Ogawa Plaza",
      "city": "Oakland",
      "region": "CA",
      "country": "US",
      "postalCode": "94612"
    }
  }
}
```