You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Methods.php
+62-3
Original file line number
Diff line number
Diff line change
@@ -1461,7 +1461,7 @@ public function listCustomersForCertificate($companyId, $id, $include=null) {
1461
1461
*
1462
1462
* @param int $companyId The ID number of the company to search
1463
1463
* @param string $include OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate
1464
-
* @param string $filter A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
1464
+
* @param string $filter A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* exemptionNumber, ecmsId, ecmsStatus, pdf, pages
1465
1465
* @param int $top If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
1466
1466
* @param int $skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
1467
1467
* @param string $orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -3072,6 +3072,35 @@ public function linkShipToCustomersToBillCustomer($companyId, $code, $model)
* Retrieves a list of active certificates for a specified customer within a company.
3077
+
*
3078
+
* This API is intended to identify whether a customer has any active certificates.
3079
+
*
3080
+
* Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
3081
+
* Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
3082
+
* certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
3083
+
* certificate storage for this company, call `RequestCertificateSetup`.
3084
+
*
3085
+
* ### Security Policies
3086
+
*
3087
+
* * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
3088
+
* * This API depends on the following active services:*Required* (all): AvaTaxPro, ECMEssentials, ECMPro, ECMPremium, VEMPro, VEMPremium, ECMProComms, ECMPremiumComms.
3089
+
* Swagger Name: AvaTaxClient
3090
+
*
3091
+
* @param int $companyId The unique ID number of the company that recorded this customer
3092
+
* @param string $customerCode The unique code representing this customer
3093
+
* @return \stdClass
3094
+
*/
3095
+
public function listActiveCertificatesForCustomer($companyId, $customerCode) {
@@ -3135,7 +3164,7 @@ public function listAttributesForCustomer($companyId, $customerCode) {
3135
3164
* @param int $companyId The unique ID number of the company that recorded this customer
3136
3165
* @param string $customerCode The unique code representing this customer
3137
3166
* @param string $include OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate
3138
-
* @param string $filter A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
3167
+
* @param string $filter A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* exemptionNumber, ecmsId, ecmsStatus, pdf, pages
3139
3168
* @param int $top If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
3140
3169
* @param int $skip If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
3141
3170
* @param string $orderBy A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -3150,6 +3179,36 @@ public function listCertificatesForCustomer($companyId, $customerCode, $include=
* Retrieves a list of inactive certificates for a specified customer within a company.
3184
+
*
3185
+
* This API is used to retrieve inactive certificates for a customer. Inactive certificates may include expired,
3186
+
* revoked, or otherwise non-compliant certificates.
3187
+
*
3188
+
* Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
3189
+
* Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
3190
+
* certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
3191
+
* certificate storage for this company, call `RequestCertificateSetup`.
3192
+
*
3193
+
* ### Security Policies
3194
+
*
3195
+
* * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
3196
+
* * This API depends on the following active services:*Required* (all): AvaTaxPro, ECMEssentials, ECMPro, ECMPremium, VEMPro, VEMPremium, ECMProComms, ECMPremiumComms.
3197
+
* Swagger Name: AvaTaxClient
3198
+
*
3199
+
* @param int $companyId The unique ID number of the company that recorded this customer
3200
+
* @param string $customerCode The unique code representing this customer
3201
+
* @return \stdClass
3202
+
*/
3203
+
public function listInActiveCertificatesForCustomer($companyId, $customerCode) {
Copy file name to clipboardExpand all lines: src/Models.php
+5-1
Original file line number
Diff line number
Diff line change
@@ -1930,7 +1930,7 @@ class CertificateModel
1930
1930
*/
1931
1931
public $exemptionReason;
1932
1932
/**
1933
-
* @var string The status of the certificate.
1933
+
* @var string The status of the certificate. Possible values for status COMPLETE,PENDING,PENDING-FUTURE,PENDING-MULTI,PENDING-SINGLE,REVOKED
1934
1934
*/
1935
1935
public $status;
1936
1936
/**
@@ -10461,6 +10461,10 @@ class MultiTaxFilingReturnModel
10461
10461
* @var string The three-character filing calendar currency code for this return. For example if country is 'US' then currency is 'USD'. Similarly, if country is 'CA' then currency is 'CAD', etc.
0 commit comments