# HS codes

Source: https://developer.avalara.com/products/crossborder/integration-guides/avatax-for-cdit/txu1083808640829/

Guide: AvaTax Cross-Border (Customs Duty and Import Tax)

# HS codes

Learn about HS codes, their usage in transactions, and how they determine tariff rates.

**Element type: Conditional**

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

Your integration must allow users to specify in a transaction. AvaTax uses the HS code and destination country to determine the most accurate tariff rate for that product.

The HS code is specified at the line level using the `hsCode` option.

**Example**

```
{
  "lines": [
    {
      "number": "1",
      "quantity": 1,
      "amount": 4500,
      "taxCode": "P0000000",
      "hsCode":"8511109901"
    }
  ],
...
}
```