{
"code": "TaxCodeAssociatedTaxRule",
"target": "Unknown",
"details": [
{
"code": "TaxCodeAssociatedTaxRule",
"number": 165,
"message": "Cannot delete tax code associated to tax rule.",
"description": "The Tax Code '-0-' is associated with a tax rule and cannot be deleted.",
"faultCode": "Client",
"helpLink": "http://developer.avalara.com/avatax/errors/TaxCodeAssociatedTaxRule",
"severity": "Error"
}
]
}
A TaxCode can be associated with a TaxRule. When a TaxCode is associated with a TaxRule, the TaxCode cannot be deleted. This error indicates that the provided tax code cannot be deleted because it is in use.