Skip to content

Commit

Permalink
Merge pull request #135 from avadev/21.3.1
Browse files Browse the repository at this point in the history
Update for 21.3.1
  • Loading branch information
shilpakhanal authored Apr 1, 2021
2 parents 71654a7 + a7443d4 commit 2b5db43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ class ErrorCodeId
const C_BATCHCANNOTBECANCELLEDSTATUSERROR = 2504;
const C_BATCHCANNOTBECANCELLEDFORMATERROR = 2505;
const C_INVALIDPARAMETERDATATYPE = 2600;
const C_CANNOTDOWNLOADREPORT = 2700;

}

Expand Down Expand Up @@ -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;

}

Expand Down
1 change: 1 addition & 0 deletions src/Methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 2b5db43

Please sign in to comment.