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
String avalaraVersion ="2.0.0"; // String | API version
52
-
String xCorrelationId ="68cce84c-ae6e-4cef-bdc6-4620c710b5e5"; // String | Unique correlation Id in a GUID format
52
+
String xCorrelationId ="a607ad38-398e-43d2-918d-d809e43dbd6b"; // String | Unique correlation Id in a GUID format
53
53
String xAvalaraClient ="Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
54
-
CreateCompanyRequest createCompanyRequest=newCreateCompanyRequest(); //CreateCompanyRequest | The company to create
54
+
CompanyRequest companyRequest=newCompanyRequest(); //CompanyRequest | The company to create
55
55
try {
56
-
CompanyResponse result = apiInstance.createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest);
56
+
CompanyResponse result = apiInstance.createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest);
57
57
System.out.println(result);
58
58
} catch (ApiException e) {
59
59
System.err.println("Exception when calling CompaniesW9Api#createCompany");
@@ -74,7 +74,7 @@ Name | Type | Description | Notes
74
74
**avalaraVersion** | **String**| API version |
75
75
**xCorrelationId** | **String**| Unique correlation Id in a GUID format | [optional]
76
76
**xAvalaraClient** | **String**| Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional]
77
-
**createCompanyRequest** | [**CreateCompanyRequest**](CreateCompanyRequest.md)| The company to create | [optional]
77
+
**companyRequest** | [**CompanyRequest**](CompanyRequest.md)| The company to create | [optional]
String id ="id_example"; // String | The company to delete
138
138
String avalaraVersion ="2.0.0"; // String | API version
139
-
String xCorrelationId ="f2e08ea9-6e1e-4828-91f9-4926ff26dbe4"; // String | Unique correlation Id in a GUID format
139
+
String xCorrelationId ="54780530-dee1-472f-8626-a1ef1d6f3bfa"; // String | Unique correlation Id in a GUID format
140
140
String xAvalaraClient ="Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
String $orderBy ="$orderBy_example"; // String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
229
229
Boolean count =true; // Boolean | If true, return the global count of elements in the collection.
230
230
Boolean countOnly =true; // Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
231
-
String xCorrelationId ="f431c7bb-9661-447a-8f5f-b17b3d55a06c"; // String | Unique correlation Id in a GUID format
231
+
String xCorrelationId ="7ee6e06e-ae28-4317-9053-d966f0b24a94"; // String | Unique correlation Id in a GUID format
232
232
String xAvalaraClient ="Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
String id ="id_example"; // String | Id of the company
323
323
String avalaraVersion ="2.0.0"; // String | API version
324
-
String xCorrelationId ="c5c11797-5ea9-4ec3-85ba-ed4e0ee63300"; // String | Unique correlation Id in a GUID format
324
+
String xCorrelationId ="c2254966-bcae-4b32-a7b4-67f0518ca748"; // String | Unique correlation Id in a GUID format
325
325
String xAvalaraClient ="Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
326
326
try {
327
327
CompanyResponse result = apiInstance.getCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient);
@@ -373,7 +373,7 @@ Name | Type | Description | Notes
String id ="id_example"; // String | The ID of the company to update
411
411
String avalaraVersion ="2.0.0"; // String | API version
412
-
String xCorrelationId ="86a26d78-90b6-4ca0-a10b-0221d11dd34a"; // String | Unique correlation Id in a GUID format
412
+
String xCorrelationId ="b730ea19-59f4-4cc8-8ef0-94a9d4637a6a"; // String | Unique correlation Id in a GUID format
413
413
String xAvalaraClient ="Swagger UI; 22.1.0"; // String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
414
-
CreateCompanyRequest createCompanyRequest=newCreateCompanyRequest(); //CreateCompanyRequest | The updated company data
414
+
CompanyRequest companyRequest=newCompanyRequest(); //CompanyRequest | The updated company data
415
415
try {
416
-
CompanyResponse result = apiInstance.updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest);
416
+
CompanyResponse result = apiInstance.updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest);
417
417
System.out.println(result);
418
418
} catch (ApiException e) {
419
419
System.err.println("Exception when calling CompaniesW9Api#updateCompany");
@@ -435,7 +435,7 @@ Name | Type | Description | Notes
435
435
**avalaraVersion** | **String**| API version |
436
436
**xCorrelationId** | **String**| Unique correlation Id in a GUID format | [optional]
437
437
**xAvalaraClient** | **String**| Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional]
438
-
**createCompanyRequest** | [**CreateCompanyRequest**](CreateCompanyRequest.md)| The updated company data | [optional]
438
+
**companyRequest** | [**CompanyRequest**](CompanyRequest.md)| The updated company data | [optional]
|**name**|**String**| Legal name. Not the DBA name. ||
11
+
|**dbaName**|**String**| Doing Business As (DBA) name or continuation of a long legal name. |[optional]|
12
+
|**email**|**String**| Contact email address. For inquiries by vendors/employees. ||
13
+
|**address**|**String**| Address. ||
14
+
|**city**|**String**| City. ||
15
+
|**state**|**String**| Two-letter US state or Canadian province code (required for US/CA addresses). |[optional]|
16
+
|**zip**|**String**| ZIP/postal code. ||
17
+
|**telephone**|**String**| Contact phone number (must contain at least 10 digits, max 15 characters). ||
18
+
|**tin**|**String**| Federal Tax Identification Number (TIN). EIN/Tax ID (required for US companies). ||
19
+
|**referenceId**|**String**| Internal reference ID. Never shown to any agency or recipient. |[optional]|
20
+
|**doTinMatch**|**Boolean**| Indicates whether the company authorizes IRS TIN matching. |[optional]|
21
+
|**groupName**|**String**| Group name for organizing companies (creates or finds group by name). |[optional]|
22
+
|**foreignProvince**|**String**| Province or region for non-US/CA addresses. |[optional]|
23
+
|**countryCode**|**String**| Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes.||
24
+
|**resendRequests**|**Boolean**| Boolean to enable automatic reminder emails (default: false). |[optional]|
25
+
|**resendIntervalDays**|**Integer**| Days between reminder emails (7-365, required if resendRequests is true). |[optional]|
26
+
|**maxReminderAttempts**|**Integer**| Maximum number of reminder attempts (1-52, required if resendRequests is true). |[optional]|
|**name**|**String**| Legal name. Not the DBA name. ||
11
+
|**dbaName**|**String**| Doing Business As (DBA) name or continuation of a long legal name. |[optional]|
12
+
|**email**|**String**| Contact email address. For inquiries by vendors/employees. ||
13
+
|**address**|**String**| Address. ||
14
+
|**city**|**String**| City. ||
15
+
|**state**|**String**| Two-letter US state or Canadian province code (required for US/CA addresses). |[optional]|
16
+
|**zip**|**String**| ZIP/postal code. ||
17
+
|**telephone**|**String**| Contact phone number (must contain at least 10 digits, max 15 characters). ||
18
+
|**tin**|**String**| Federal Tax Identification Number (TIN). EIN/Tax ID (required for US companies). ||
19
+
|**referenceId**|**String**| Internal reference ID. Never shown to any agency or recipient. |[optional]|
20
+
|**doTinMatch**|**Boolean**| Indicates whether the company authorizes IRS TIN matching. |[optional]|
21
+
|**groupName**|**String**| Group name for organizing companies (creates or finds group by name). |[optional]|
22
+
|**foreignProvince**|**String**| Province or region for non-US/CA addresses. |[optional]|
23
+
|**countryCode**|**String**| Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes.||
24
+
|**resendRequests**|**Boolean**| Boolean to enable automatic reminder emails (default: false). |[optional]|
25
+
|**resendIntervalDays**|**Integer**| Days between reminder emails (7-365, required if resendRequests is true). |[optional]|
26
+
|**maxReminderAttempts**|**Integer**| Maximum number of reminder attempts (1-52, required if resendRequests is true). |[optional]|
0 commit comments