# Origin address

Source: https://developer.avalara.com/products/excise/integration-guides/excise/iji7191316588805/

Guide: AvaTax Excise

# Origin address

Details the required fields for specifying the origin address in the RestTransactionLine model.

**Element type**: Required

**Endpoints/models used**: [RestTransactionLine](https://developer.avalara.com/api-reference/excise/v1/models/Avalara.Excise.Determination.Engine.RestTransactionLine/)

For each line item, users must provide address information indicating where a product originated. This is done using the following fields in the [RestTransactionLine](https://developer.avalara.com/api-reference/excise/v1/models/Avalara.Excise.Determination.Engine.RestTransactionLine/) model:

Field

Description

`OriginAddress1`

The first line of the street address. This is **required** for AvaTax-connected AvaTax Excise systems.

`OriginAddress2`

The second line of the street address

`OriginCounty`

The origin county. This name must match a GNIS defined County name in the ATE local jurisdictions table.

`OriginCity`

The origin city. This name must match a GNIS defined City name in the ATE local jurisdictions table.

`OriginJurisdiction`

The state or region of the originating location of the product. This is **required** to perform a base minimum sales tax calculation.

`OriginPostalCode`

The postal code of the originating location of the product. This is **required** to perform a base minimum sales tax calculation and is **required** for AvaTax-connected AvaTax Excise systems.

`OriginCountryCode`

The ISO standard 3-character country code of the origin location. This is **required** to perform a base minimum sales tax calculation.

`OriginAirportCode`

The 3 digit IATA code of an airport

`OriginOutCityLimitInd`

Indicates whether the origin location resides within or outside of the city limits. Values are `Y` (yes) and `N` (no).

`OriginSpecialJurisdictionInd`

Indicates whether the origin has special jurisdictions. Values are `Y` (yes) and `N` (no).

`OriginSpecialJurisdictions`

An array of any special jurisdictions in the origin location. For each special jurisdiction, specify the `SpecialJurisdictionCode` and `SpecialJurisdictionType` in the array.

## Example

```
{
  "TransactionLines": [
    {
      "InvoiceLine": 10,
      "ProductCode": "VLEAF",
      "UnitPrice": 20,
      "BilledUnits": 200,
      "GrossUnits": 200,
      "NetUnits": 200,
      "LineAmount": "",
      "AlternateUnitPrice": 1.00,
      "AlternateLineAmount": "",
      "UnitOfMeasure": "PAK",
      "UnitQuantity": 5,
      "UnitQuantityUnitOfMeasure": "EA",
      "UnitVolume": 0.5,
      "UnitVolumeUnitOfMeasure": "ML",
      "UnitWeight": "",
      "UnitWeightUnitOfMeasure": "",
      "OriginCountryCode": "USA",
      "OriginJurisdiction": "IL",
      "OriginCounty": "Cook",
      "OriginCity": "Chicago",
      "OriginPostalCode": "60601",
      "OriginAddress1": "",
      "DestinationCountryCode": "USA",
      "DestinationJurisdiction": "IL",
      "DestinationCounty": "Cook",
      "DestinationCity": "Chicago",
      "DestinationPostalCode": "60601",
      "DestinationAddress1": "",
      "SaleCountryCode": "USA",
      "SaleJurisdiction": "IL",
      "SaleCounty": "Cook",
      "SaleCity": "Chicago",
      "SalePostalCode": "60601",
      "SaleAddress1": "",
      "UserData": "Test_Vapor",
      "Currency": "USD",
      "CustomString1": "Flag1",
      "CustomString2": "Flag2",
      "CustomString3": "Flag3",
      "CustomString4": "",
      "CustomString5": "",
      "CustomString6": "",
      "CustomString7": "",
      "CustomString8": "",
      "CustomString9": "",
      "CustomString10": "",
      "CustomNumeric1": 1,
      "CustomNumeric2": 2,
      "CustomNumeric3": 3,
      "CustomNumeric4": 0,
      "CustomNumeric5": 0,
      "CustomNumeric6": 0,
      "CustomNumeric7": 0,
      "CustomNumeric8": 0,
      "CustomNumeric9": 0,
      "CustomNumeric10": 0,
      "TaxIncluded": false,
      "Discounted": false,
      "EntityUseCode": ""
    }
  ],
  ...
}
```