# Create a customer record

Source: https://developer.avalara.com/avatax-dm-combined-erp/document-management/dm-use-cases/test-create-customer-record/

# Create a customer record

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 Document Management. This customer record includes simple information, including the customer's name and contact information.

```
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'
```

[Previous](/avatax-dm-combined-erp/document-management/dm-use-cases)

[Next](/avatax-dm-combined-erp/document-management/dm-use-cases/test-retrieve-exemption-status)