# Create a customer record

Source: https://developer.avalara.com/products/ecm/integration-guides/document-management/ist0142714713308/

Guide: Exemption Certificate Management (ECM)

# Create a customer record

Learn how to use the CreateCustomers API to add a new customer record in AvaTax with ECM.

The example below uses the [CreateCustomers API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Customers/CreateCustomers/) to create a new customer record in AvaTax with ECM. This customer record includes simple information, including the customer's name and contact information.

**Example**:

```
curl
  -X POST
  -H 'Accept: application/json'
  -H 'Authorization: Basic ${btoa(`:`)}'
  -H 'Content-Type: application/json'
  --data '{
    "customerCode": "NewExemptCustomer",
    "name": "New Exempt Customer",
    "line1": "6810 Ne 153rd Pl",
    "city": "Kenmore",
    "postalCode": "98028-4904",
    "emailAddress": "alice.smith@example.org",
    "contactName": "Alice Smith",
    "country": "US",
    "region": "WA"
  }'
  'https://sandbox-rest.avatax.com/api/v2/companies/365522/customers' 
```