# Retrieve customer exemption status

Source: https://developer.avalara.com/avatax-dm-combined-erp/document-management/design-considerations/retrieve-customer-exemption-status/

# Retrieve customer exemption status

**Element type: Required**

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

Your integration must allow users to retrieve and display exemption certificate information associated with a customer record. This can be done by adding an`include=certificates` filter in the GetCustomer request. You must also include your`companyId` and the`customerCode` in the request URL.

The displayed information must include:

-   Exempt state
-   Exempt reason
-   Certificate expiration date (for blanket exemptions)
-   If there is an existing AvaTax integration, then optionally identify the exempt reason on customer record.
-   If there is no existing AvaTax integration, then you must identify the exempt reason on customer record.

```
curl  -X GET  -H 'Accept: application/json'  -H 'Authorization: Basic ${btoa(`:`)}'  -H 'Content-Type: application/json'  'https://sandbox-rest.avatax.com/api/v2/companies/{companyId}/customers/{customerCode}?$include=certificates'
```

[Previous](/avatax-dm-combined-erp/document-management/design-considerations/update-customer)

[Next](/avatax-dm-combined-erp/document-management/design-considerations/view-exemption-certificate)