Avalara Developer Network Developer

InvalidJurisdictionType

Summary

You specified a jurisdiction type that is not recognized.

Example

{
  "code": "InvalidJurisdictionType",
  "target": "Unknown",
  "details": [
    {
      "code": "InvalidJurisdictionType",
      "number": 140,
      "message": "Invalid jurisdiction type.",
      "description": "The value '-0-' is not a valid Avalara-recognized jurisdiction type.",
      "faultCode": "Client",
      "helpLink": "http://developer.avalara.com/avatax/errors/InvalidJurisdictionType",
      "severity": "Error"
    }
  ]
}

Explanation

The jurisdiction type value is an enumerated value that can only be one of the following values:

  • Country (sometimes abbreviated CNT) - This represents a country that is recognized by ISO 3166 as having its own country code.
  • State (also known as Region, Province, or sometimes abbreviated STA) - This represents an administrative jurisdiction within the country.
  • County (sometimes abbreviated CTY) - A smaller administrative jurisdiction than a state/region/province, but typically larger than a city. Not all countries have county jurisdictions.
  • City (sometimes abbreviated CIT) - An administrative jurisdiction representing a single city.
  • Special (sometimes abbreviated STJ for Special Tax Jurisdiction) - An administrative jurisdiction created for the purpose of taxing transactions within a boundary.