# Item code

Source: https://developer.avalara.com/vat-erp/transactions/certification-requirements/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`, the AvaTax will look up the item using the [ItemModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/ItemModel/) API call and use all the information available about that item for this transaction.

[![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"    }  ],  ...} 
```