"code": "CannotActivateCompany",
	"target": "Unknown",
	"details": [
			"code": "CannotActivateCompany",
			"number": 148,
			"message": "Active companies must have a tax profile.",
			"description": "To activate this company, set its HasProfile to true, or assign it to a parent company with a tax profile.",
			"faultCode": "Client",
			"helpLink": "",
			"severity": "Error"

This error occurs when you attempt to activate a company that does not have a valid tax profile.

A ‘Company’ object in AvaTax must have either its own tax profile, or it must be a subsidiary company that inherits its tax profile from a parent company.

  • A company with its own tax profile must have the ‘HasProfile’ flag set to true on the company object.
  • A company that inherits its profile from a parent must have its HasProfile flag set to false, and the parentCompanyId value set to the ID of the parent company. That parent company must exist and it must have its own HasProfile flag set to true.