Skip to main content
Retrieves a paginated list of all exemptions for a specific customer. Supports filtering by certificate type, jurisdiction, expiration status, and exemption status.
customer_id
string
required
The unique identifier of the customer.
cursor
string
Cursor for pagination. Use the cursor returned in the previous response to fetch the next page.
limit
integer
default:"10"
Number of items to return per page. Must be between 1 and 100.
certificate_types
string
Comma-separated list of certificate types to filter by (e.g., “SINGLE_STATE,MULTI_STATE”).
exemption_jurisdiction
string
Comma-separated list of jurisdictions to filter by in the format {country}_{state} (e.g., “US_CA,US_NY”).
expiration_status
string
Filter by expiration status. Valid values:
  • ACTIVE - Non-expired exemptions
  • EXPIRED - Expired exemptions
exemption_status
string
Filter by exemption status. Valid values:
  • ACTIVE - Active exemptions
  • INACTIVE - Inactive exemptions
exemptions
array
Array of exemption objects.
total_exemptions
integer
required
Total number of exemptions for the customer.
cursor
string
Cursor to use for fetching the next page. Only present if there are more results.
{
  "message": "Successfully fetched exemptions.",
  "data": {
    "exemptions": [
      {
        "exemption": {
          "country": "US",
          "state": "CA",
          "reason": "PURPOSE_RESALE",
          "identification_type": "STATE_TAX_ID",
          "identification_number": "12-3456789",
          "is_active": true,
          "is_expired": false,
          "end_date": "2025-12-31",
          "created_at": 1704067200,
          "certificate": {
            "id": "cert_123abc",
            "customer_id": "cust_456def",
            "type": "SINGLE_STATE",
            "verification_status": "VERIFICATION_SUCCESS",
            "exemption_certificate_number": "EX-12345",
            "effective_date": "2024-01-01",
            "created_at": 1704067200,
            "file_id": "file_789ghi",
            "file_name": "exemption_cert.pdf"
          }
        }
      }
    ],
    "total_exemptions": 1
  }
}
curl --request GET \
  --url 'https://transaction-tax.api.in.commenda.io/api/v1/exemptions?customer_id=cust_123&limit=20&exemption_jurisdiction=US_CA' \
  --header 'Authorization: Bearer <token>'