# Entity use code - line level

Source: https://developer.avalara.com/avatax-dm-combined-erp/sales-tax-badge/transactions/cert-entity-use-code-line-level/

# Entity use code - line level

**Element type: Suggested**

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

Line-level exemption triggers are required if line-level exemptions can be managed in the application. In this case, users should be allowed to specify an entity use code at the line level similar to the way they can at the document level.

```
{    "lines": [        {            "number": "1",            "quantity": 1,            "amount": 100,            "taxCode": "PS081282",            "itemCode": "Y0001",            "description": "Yarn",            "entityUseCode": "G"        }    ],    "addresses": {        "singleLocation": {            "line1": "2000 Main Street",            "city": "Irvine",            "region": "CA",            "country": "US",            "postalCode": "92614"        }    },    "type": "SalesInvoice",    "companyCode": "DEFAULT",    "date": "2020-10-16",    "code": "XYZ",    "customerCode": "ABC",    "purchaseOrderNo": "123456789",    "commit": true,    "currencyCode": "USD",    "description": "Yarn"}
```

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

[Next](/avatax-dm-combined-erp/sales-tax-badge/transactions/latitude-longitude)