# Item code

Source: https://developer.avalara.com/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-item-code/

# Item code

**Element type: Required**

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

Your UI must include a method for allowing users to specify an item code that is passed to AvaTax at the line level. An item code is the item identifier and is specified using the`itemCode` field on the [LineItemModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/LineItemModel/).

This field should be optional for users. If a user provides an`itemCode` field, the AvaTax API will look up the item using the [ItemModel API](https://developer.avalara.com/api-reference/avatax/rest/v2/models/ItemModel/) call and use all the information available about that item for this transaction.

```
{    "lines": [        {            "number": "1",            "quantity": 1,            "amount": 100,            "taxCode": "PS081282",            "itemCode": "Y0001",            "description": "Yarn"        }    ],  ...}
```

[Previous](/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-line-number)

[Next](/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-item-description)