From 94a029954fefde40560143d78a85b15288d3c828 Mon Sep 17 00:00:00 2001 From: svc-developer Date: Tue, 12 Nov 2024 20:34:16 +0000 Subject: [PATCH] 24.11.2 --- src/Constants.php | 98 ++++++++++++++++++++++++++++++++++++++++++++++- src/Methods.php | 56 +++++++++++++-------------- src/Models.php | 69 +++++++++++++++++++++++++-------- 3 files changed, 177 insertions(+), 46 deletions(-) diff --git a/src/Constants.php b/src/Constants.php index c5399fb..106bb82 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -2,7 +2,7 @@ namespace Avalara; use GuzzleHttp\Client; -define('AVATAX_SDK_VERSION', '24.10.0'); +define('AVATAX_SDK_VERSION', '24.11.2'); /***************************************************************************** * * @@ -983,6 +983,8 @@ class ErrorCodeId const C_ITEMDUALWRITEPARAMETERVALUEMISMATCHERROR = 1740; const C_DUPLICATEITEMIDSINTAXCODECLASSIFICATIONREQUEST = 1741; const C_TOOMANYITEMIDSINTAXCODECLASSIFICATIONREQUEST = 1742; + const C_INVALIDPRODUCTCODELENGTH = 1743; + const C_INVALIDPRODUCTCODEFORMAT = 1744; /** * SendSales API errors @@ -1153,6 +1155,49 @@ class ErrorCodeId * Occurs when user reconciliation happens and unable to create user at AvaTax */ const C_USERRECONCILIATIONERROR = 3004; + + /** + * Occurs when a patch operation is attempted on a field that is not allowed to be patched + */ + const C_INVALIDHTTPPATCHREQUEST = 3005; + + /** + * Occurs when a patch operation other than 'given' operation is performed for the fields + */ + const C_UNSUPPORTEDPATCHOPERATIONERROR = 3006; + + /** + * Occurs when system code and country code does not have active mapping. + */ + const C_SYSTEMCODEANDCOUNTRYCODEMISMATCH = 3007; + + /** + * Occurs when multiple entries for system code and country code exists. + */ + const C_DUPLICATESYSTEMANDCOUNTRYFORITEM = 3008; + + /** + * Avalara Gateway errors: + */ + const C_NOTFOUND = 4001; + const C_UNEXPECTED = 4002; + const C_NOHOSTFOUND = 4003; + const C_UNEXPECTEDAUTH = 4004; + const C_SITESELECTIONFAILED = 4006; + const C_DROPDEFAULTUSERNAME = 4007; + const C_DROPDEFAULTNOTMIGRATED = 4008; + const C_DROPBEARERAUTH = 4009; + const C_SITESELECTIONERROR = 4010; + const C_RATELIMITEXCEEDED = 4011; + const C_NOHEALTHYSITE = 4012; + const C_CLIENTDISCONNECTED = 4013; + const C_SERVICEDISCONNECTED = 4014; + const C_SERVICETIMEOUT = 4015; + + /** + * Error string from the service unknown + */ + const C_UNEXPECTEDERROR = -1; } @@ -2114,6 +2159,11 @@ class ReportSource * returns api */ const C_RETURNSAPI = 2; + + /** + * tax region and tax type + */ + const C_TAXREGION = 3; } @@ -2651,6 +2701,52 @@ class BoundaryLevel } +/** + * Swagger Name: AvaTaxClient + * Defines returns liability type. + */ +class ReturnsLiabilityType +{ + /** + * all + */ + const C_ALL = 0; + + /** + * original + */ + const C_ORIGINAL = 1; + + /** + * amend + */ + const C_AMENDED = 2; + +} + +/** + * Swagger Name: AvaTaxClient + * Defines returns report type. + */ +class ReturnsReportType +{ + /** + * liability summary return detail hospitality + */ + const C_LIABILITYSUMMARYRETURNDETAILHOSPITALITY = 0; + + /** + * liability summary return detail + */ + const C_LIABILITYSUMMARYRETURNDETAIL = 1; + + /** + * liability carry over credit + */ + const C_LIABILITYCARRYOVERCREDIT = 2; + +} + /** * Swagger Name: AvaTaxClient * This field will identify who is remitting the tax - Marketplace or Seller. diff --git a/src/Methods.php b/src/Methods.php index 6a6a319..dd83afb 100644 --- a/src/Methods.php +++ b/src/Methods.php @@ -5551,7 +5551,7 @@ public function createDcv($model=null) { * * Swagger Name: AvaTaxClient * - * @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/).
*Not filterable:* Id, Context, Token, Status, EmailId, CreatedOn, CreatedBy, UpdatedOn, UpdatedBy + * @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/).
*Not filterable:* Id, Context, Token, Status, EmailId * @return \stdClass */ public function filterDcv($filter=null) { @@ -6232,7 +6232,7 @@ public function batchDeleteItemParameters($companyId, $itemId) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The ID of the company that owns this items. @@ -6261,7 +6261,7 @@ public function bulkUploadItems($companyId, $model) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The company id. @@ -6295,7 +6295,7 @@ public function createItemClassifications($companyId, $itemId, $model) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The ID of the company that owns this item parameter. @@ -6327,7 +6327,7 @@ public function createItemParameters($companyId, $itemId, $model) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The ID of the company that owns this item. @@ -6353,7 +6353,7 @@ public function createItems($companyId, $processRecommendationsSynchronously=nul * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The ID of the company that defined these items @@ -6381,7 +6381,7 @@ public function createItemTags($companyId, $itemId, $model) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The ID of the company that creates this request. @@ -7060,7 +7060,7 @@ public function queryItemsByTag($companyId, $tag, $filter=null, $include=null, $ * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The ID of the company that owns this item. @@ -7094,7 +7094,7 @@ public function syncItemCatalogue($companyId, $model) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The ID of the company that owns this item. @@ -7128,7 +7128,7 @@ public function syncItems($companyId, $model) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The ID of the company that this item belongs to. @@ -7160,7 +7160,7 @@ public function updateItem($companyId, $id, $isRecommendationSelected=null, $isR * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The company id. @@ -7191,7 +7191,7 @@ public function updateItemClassification($companyId, $itemId, $id, $model) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin. * Swagger Name: AvaTaxClient * * @param int $companyId The company id. @@ -7819,7 +7819,7 @@ public function adjustMultiDocumentTransaction($code, $type, $include=null, $mod * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro. * Swagger Name: AvaTaxClient * @@ -7963,7 +7963,7 @@ public function createMultiDocumentTransaction($include=null, $model=null) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro. * Swagger Name: AvaTaxClient * @@ -8016,7 +8016,7 @@ public function getMultiDocumentTransactionByCodeAndType($code, $type, $include= * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro. * Swagger Name: AvaTaxClient * @@ -8066,7 +8066,7 @@ public function getMultiDocumentTransactionById($id, $include=null) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro. * Swagger Name: AvaTaxClient * @@ -8175,7 +8175,7 @@ public function refundMultiDocumentTransaction($code, $type, $include=null, $mod * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro. * Swagger Name: AvaTaxClient * @@ -9340,7 +9340,7 @@ public function updateSubscription($accountId, $id, $model) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * Swagger Name: AvaTaxClient * * @param int $id The unique ID number of this report @@ -9442,7 +9442,7 @@ public function initiateExportDocumentLineReport($companyId, $model) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * Swagger Name: AvaTaxClient * * @param int $companyId The id of the company for which to get reports. @@ -10586,7 +10586,7 @@ public function adjustTransaction($companyCode, $transactionCode, $documentType= * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns. * Swagger Name: AvaTaxClient * @@ -10632,7 +10632,7 @@ public function auditTransaction($companyCode, $transactionCode) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns. * Swagger Name: AvaTaxClient * @@ -10960,7 +10960,7 @@ public function deleteLines($include=null, $model=null) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns. * Swagger Name: AvaTaxClient * @@ -11009,7 +11009,7 @@ public function getAllVarianceReportByCompanyCode($companyCode) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns. * Swagger Name: AvaTaxClient * @@ -11043,7 +11043,7 @@ public function getTransactionByCode($companyCode, $transactionCode, $documentTy * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns. * Swagger Name: AvaTaxClient * @@ -11085,7 +11085,7 @@ public function getTransactionByCodeAndType($companyCode, $transactionCode, $doc * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns. * Swagger Name: AvaTaxClient * @@ -11107,7 +11107,7 @@ public function getTransactionById($id, $include=null) { * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns. * Swagger Name: AvaTaxClient * @@ -11160,7 +11160,7 @@ public function getVarianceReportByCompanyCodeByTransactionId($companyCode, $tra * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns. * Swagger Name: AvaTaxClient * @@ -11457,7 +11457,7 @@ public function unvoidTransaction($companyCode, $transactionCode, $documentType= * * ### Security Policies * - * * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. + * * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. * * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns. * Swagger Name: AvaTaxClient * diff --git a/src/Models.php b/src/Models.php index e26c4d4..64149c8 100644 --- a/src/Models.php +++ b/src/Models.php @@ -4829,22 +4829,6 @@ class DcvViewModel * @var string Email id of the user who create Domain control verification */ public $emailId; - /** - * @var string Domain control verification creation date - */ - public $createdOn; - /** - * @var string Domain control verification created by - */ - public $createdBy; - /** - * @var string Domain control verification update date - */ - public $updatedOn; - /** - * @var string Domain control verification update by - */ - public $updatedBy; } /** * Use this object to provide an address and date range where your company does business. @@ -5626,6 +5610,10 @@ class ExportDocumentLineModel * @var string Defines report source. (See ReportSource::* for a list of allowable values) */ public $reportSource; + /** + * @var LiabilityParametersModel + */ + public $liabilityParameters; /** * @var string Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIP (See Compression::* for a list of allowable values) */ @@ -7853,6 +7841,14 @@ class FundingStatusModel * @var int TemplateRequestId */ public $templateRequestId; + /** + * @var string Currency + */ + public $currency; + /** + * @var string AgreementType + */ + public $agreementType; } /** * Represents a bulk upload input model. @@ -9284,6 +9280,41 @@ class JurisdictionRateTypeTaxTypeMappingModel */ public $endDate; } +/** + * The model for liability parameters definitions + * Swagger Name: AvaTaxClient + */ +class LiabilityParametersModel +{ + /** + * @var string The type of Returns liability report to be generated (See ReturnsLiabilityType::* for a list of allowable values) + */ + public $liabilityType; + /** + * @var string The type of Returns report to be generated (See ReturnsReportType::* for a list of allowable values) + */ + public $returnsReportType; + /** + * @var int The Hospitality Account ID with Subscription Type as AvaLoding + */ + public $hospitalityAccountId; + /** + * @var int Filter report based on the year + */ + public $year; + /** + * @var object Filter report based on the month + */ + public $month; + /** + * @var string Filter report based on the country code + */ + public $country; + /** + * @var string Filter report based on the region code or state code + */ + public $region; +} /** * Represents a license key for this account. * Swagger Name: AvaTaxClient @@ -12524,6 +12555,10 @@ class ReportParametersModel * @var string Defines the individual taxes associated with a TaxType category, such as Lodging TaxType which supports numerous TaxSubTypes, including Hotel, Occupancy, ConventionCenter, Accommotations, etc. */ public $taxSubType; + /** + * @var LiabilityParametersModel + */ + public $liabilityParameters; /** * @var string Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIP (See Compression::* for a list of allowable values) */ @@ -15367,7 +15402,7 @@ class VarianceResponseModel /** * @var VarianceResponseEntity[] */ - public $varianceResponses; + public $variance; } /** *