# Shipping/freight handling

Source: https://developer.avalara.com/vat-erp/transactions/certification-requirements/shipping-freight-handling/

**Element type:** Required

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

The handling of shipping and freight in AvaTax must match your underlying system's implementation.

-   Some systems include freight in the total amount of the line or lines.

-   Other systems include shipping/freight on a separate line.

If your integration will include shipping/freight on separate lines, AvaTax provides various freight tax codes that you can pass on to your transactions. Our [tax codes search](https://taxcode.avatax.avalara.com/tree?tree=freight-and-freight-related-charges&tab=interactive) utility provides a list of specific freight tax codes. Select the code that best represents how you ship your goods.

## Freight included in total lines

[![Closed](https://avalara-devdocs-prod.mcoutput.com/vat-erp/Skins/Default/Stylesheets/Images/transparent.gif)View example](javascript:void\(0\);)

```
 {    "lines": [        {            "number": "1",            "quantity": 1,            "amount": 102.50,            "taxCode": "PS081282",            "itemCode": "Y0001",            "description": "Cost for yarn and freight"        },        {            "number": "2",            "quantity": 1,            "amount": 52.50,            "taxCode": "PS081284",            "itemCode": "Y0002",            "description": "Cost for string and freight"        }    ],    ...} 
```

## Freight as a separate line item

[![Closed](https://avalara-devdocs-prod.mcoutput.com/vat-erp/Skins/Default/Stylesheets/Images/transparent.gif)View example](javascript:void\(0\);)

```
 {    "lines": [        {            "number": "1",            "quantity": 1,            "amount": 100,            "taxCode": "PS081282",            "itemCode": "Y0001",            "description": "Yarn"        },        {            "number": "3",            "quantity": 1,            "amount": 5,            "taxCode": "FR000000",             "itemCode": "Y0001",            "description": "Shipping cost for Yarn"        }    ],    ...
```