API Docs
API Docs
  1. Exemptions
  • Getting Started
    • Introduction to Sales Tax Calculation
    • Step By Step - Creating your first transaction
    • Step By Step - Creating VAT / Global Tax Transaction
  • Endpoints
    • Authentication
      • Authentication - Getting Started
      • Create JWT
    • Customers
      • Get to Know
      • Get Customer
      • Get All Customers
      • Upsert Customer
      • Update Customer
    • Exemptions
      • Get to Know
      • Get All Exemptions
        GET
      • Post Exemption
        POST
      • Update Exemption
        POST
      • Patch Exemption
        PATCH
    • Transactions
      • Get to Know
      • The Importance of Shipping Address
      • How to Use Credit Memos
      • Get Transaction (thin)
      • Get Transaction
      • Upsert Transaction
      • Delete Transaction
      • Get All Transactions (thin)
      • Get All Transactions
      • Upsert VAT / GT Transactio
    • Address Validation
      • Address Validation Intro
      • Validate Address
    • Sales Tax Rates
      • Get Sales Tax Rates
    • Vat Validation
      • Validate Vat
  • Special Features
    • Global Tax Rate
    • Partial Address
    • Discounts
    • Inclusive Tax
    • Vat Validation
    • Post exemptions from CSV
      POST
  1. Exemptions

Post Exemption

POST
/v1/exemptions

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
exemption
object 
required
customerId
string 
required
country
string 
required
state
null 
required
classification
object 
required
validationDates
object 
required
status
object 
required
certificate
object 
required
exemptionType
string 
required
exemptionStatus
string 
required
states
array [object {3}] 
required
abbreviation
string 
optional
code
string 
optional
name
string 
optional
Example
{
  "exemption": {
    "customerId": "{{customerComplytId}}",
    "country": "Usa",
    "state": {
      "abbreviation": "CO",
      "code": "06",
      "name": "Colorado"
    },
    "classification": {
      "code": "code",
      "description": "description"
    },
    "validationDates": {
      "fromDate": "1984-11-01T02:00:00",
      "toDate": "2050-11-01T02:00:00"
    },
    "status": {
      "code": "code",
      "name": "name"
    },
    "certificate": {
      "certificateId": "id",
      "url": "url",
      "name": "name"
    },
    "exemptionType": "FULLY",
    "exemptionStatus": "ACTIVE"
  },
  "states": [
    {
      "abbreviation": "CO",
      "code": "06",
      "name": "Colorado"
    }
  ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://sandbox.complyt.io/v1/exemptions' \
--header 'Content-Type: application/json' \
--data-raw '{
    "exemption": {
        "customerId": "",
        "country": "Usa",
        "state": {
            "abbreviation": "CO",
            "code": "06",
            "name": "Colorado"
        },
        "classification": {
            "code": "code",
            "description": "description"
        },
        "validationDates": {
            "fromDate": "1984-11-01T02:00:00",
            "toDate": "2050-11-01T02:00:00"
        },
        "status": {
            "code": "code",
            "name": "name"
        },
        "certificate": {
            "certificateId": "id",
            "url": "url",
            "name": "name"
        },
        "exemptionType": "FULLY",
        "exemptionStatus": "ACTIVE"
    },
    "states": [
        {
            "abbreviation": "CO",
            "code": "06",
            "name": "Colorado"
        }
    ]
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Previous
Get All Exemptions
Next
Update Exemption
Built with