diff --git a/src/Client.php b/src/Client.php index f20338a..ed4774c 100644 --- a/src/Client.php +++ b/src/Client.php @@ -168,13 +168,13 @@ protected function restCall($apiUrl, $verb, $guzzleParams) } $guzzleParams['headers'] = [ 'Accept' => 'application/json', - 'X-Avalara-Client' => "{$this->appName}; {$this->appVersion}; PhpRestClient; 21.3.0; {$this->machineName}" + 'X-Avalara-Client' => "{$this->appName}; {$this->appVersion}; PhpRestClient; 21.3.1; {$this->machineName}" ]; } else { $guzzleParams['headers'] = [ 'Accept' => 'application/json', 'Authorization' => 'Bearer '.$this->auth[0], - 'X-Avalara-Client' => "{$this->appName}; {$this->appVersion}; PhpRestClient; 21.3.0; {$this->machineName}" + 'X-Avalara-Client' => "{$this->appName}; {$this->appVersion}; PhpRestClient; 21.3.1; {$this->machineName}" ]; } // timeout for 1200s (20 min) diff --git a/src/Constants.php b/src/Constants.php index 05e76fe..62547cc 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -514,6 +514,7 @@ class ErrorCodeId const C_BATCHCANNOTBECANCELLEDSTATUSERROR = 2504; const C_BATCHCANNOTBECANCELLEDFORMATERROR = 2505; const C_INVALIDPARAMETERDATATYPE = 2600; + const C_CANNOTDOWNLOADREPORT = 2700; } @@ -947,12 +948,13 @@ class CertCaptureProvisionStatus * */ class CompanyFilingStatus -{ const C_NOREPORTING = 0; +{ const C_NOTCONFIGUREDFORCOMPLIANCE = 0; const C_NOTYETFILING = 1; const C_FILINGREQUESTED = 2; const C_FIRSTFILING = 3; const C_ACTIVE = 4; - const C_NOTCONFIGUREDFORCOMPLIANCE = 5; + const C_NOREPORTING = 5; + const C_INACTIVE = 6; } diff --git a/src/Methods.php b/src/Methods.php index eed7d9a..070d173 100644 --- a/src/Methods.php +++ b/src/Methods.php @@ -2053,6 +2053,7 @@ public function getCompanyParameterDetail($companyId, $id) { * * `FilingRequested` - The company has requested to begin filing tax returns, but Avalara's compliance team has not yet begun filing. * * `FirstFiling` - The company has recently filing tax returns and is in a new status. * * `Active` - The company is currently active and is filing tax returns via Avalara Managed Returns. + * * `Inactive` - The company is currently inactive. * * ### Security Policies *