# Customer code

Source: https://developer.avalara.com/avatax-dm-combined-erp/sales-tax-badge/designing/customer-code/

# Customer code

**Element type: Required**

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

Your integration must pass your unique customer IDs in the`customerCode` field. This field is required because it can be used to identify exempt customers within AvaTax, whether through AvaTax exemptions or through CertCapture.

```
--data '{    "code":"Tax amount scenario",    "type":"SalesInvoice",    "companyCode":"DICEYREILLYS",    "date":"2021-03-08",    "customerCode":"Test Customer ID",    "commit":true,    "currencyCode":"USD",    ...}'
```

[Previous](/avatax-dm-combined-erp/sales-tax-badge/designing)

[Next](/avatax-dm-combined-erp/sales-tax-badge/designing/entity-use-code)