Avalara Developer Network Developer

CannotChangeCompanyCode

Summary

The company code for a company is set when the company is created and may not be changed.

Example

{
  "code": "CannotChangeCompanyCode",
  "target": "Unknown",
  "details": [
    {
      "code": "CannotChangeCompanyCode",
      "number": 25,
      "message": "Company Code cannot be changed.",
      "description": "The company code for company -0- (-1-) is '-2-', but you provided '-3-'",
      "faultCode": "Client",
      "helpLink": "http://developer.avalara.com/avatax/errors/CannotChangeCompanyCode",
      "severity": "Error"
    }
  ]
}

Explanation

AvaTax defines each company with a unique CompanyCode within your account. When you create a company, that company’s code is fixed and may not change.

If this company needs to be removed, you should DELETE this object’s URL. For additional help with company setup problems, you should contact Avalara Support.