# Origin type

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

Guide: AvaTax Excise

# Origin type

Learn about the origin type field and how it’s used in the RestTransactionLine model.

**Element type**: Suggested

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

For each line item, users should be able to input a unique ID for an origin location rather than inputting the entire address. This is done using the `Origin` field in the [RestTransactionLine](https://developer.avalara.com/api-reference/excise/v1/models/Avalara.Excise.Determination.Engine.RestTransactionLine/) model. An `Origin` must match a custom ID from the locations table in the Avalara AvaTax Excise application client database.

## Example

```
{
  ...,
  "TransactionLines": [
    {
      "InvoiceLine": 10,
      "MovementStartDate": "2024-09-01",
      "MovementEndDate": "2024-09-01",
      "ProductCode": "E00",
      "UnitPrice": 1.00,
      "NetUnits": 10100,
      "GrossUnits": 10000,
      "BilledUnits": 10100,
      "LineAmount": 10100,
      "BillOfLadingNumber": "CertTest_5",
      "BillOfLadingDate": "2024-09-01",
      "OriginCountryCode": "USA",
      "OriginJurisdiction": "IA",
      "OriginCounty": "SCOTT",
      "OriginCity": "BETTENDORF",
      "OriginPostalCode": "52722",
      "OriginAddress1": "",
      "OriginType": "",
      "Origin": "Loc1234",
      "DestinationCountryCode": "USA",
      "DestinationJurisdiction": "FL",
      "DestinationCounty": "HILLSBOROUGH",
      "DestinationCity": "TAMPA",
      "DestinationPostalCode": "33603",
      "DestinationAddress1": "",
      "DestinationType": "",
      "Destination": "Loc4321",
      "SaleCountryCode": "USA",
      "SaleJurisdiction": "IL",
      "SaleCounty": "COOK",
      "SaleCity": "CHICAGO",
      "SalePostalCode": "60610",
      "SaleAddress1": "",
      "SaleType": "",
      "SaleLocation": "Loc4444",
      "UserData": "CertTest_5",
      "Currency": "USD",
      "UnitOfMeasure": "GLL",
      "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": ""
    }
  ]
}
```