Skip to content

Commit 7e5125f

Browse files
25.9.0 (#27)
* Further fix for avalara client header to always include the value * 25.9.0
1 parent 73ba7f8 commit 7e5125f

File tree

92 files changed

+7469
-1108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+7469
-1108
lines changed

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -251,18 +251,14 @@ Class | Method | HTTP request | Description
251251
<a name="documentation-for-A1099-V2-models"></a>
252252
### A1099 V2 Model Documentation
253253

254-
- [Avalara.SDK.model.A1099.V2.AuthorizedApiRequestModel](docs/A1099/V2/AuthorizedApiRequestModel.md)
255-
- [Avalara.SDK.model.A1099.V2.AuthorizedApiRequestV2DataModel](docs/A1099/V2/AuthorizedApiRequestV2DataModel.md)
256-
- [Avalara.SDK.model.A1099.V2.CompanyCreateUpdateRequestModel](docs/A1099/V2/CompanyCreateUpdateRequestModel.md)
254+
- [Avalara.SDK.model.A1099.V2.CompanyBase](docs/A1099/V2/CompanyBase.md)
255+
- [Avalara.SDK.model.A1099.V2.CompanyRequest](docs/A1099/V2/CompanyRequest.md)
257256
- [Avalara.SDK.model.A1099.V2.CompanyResponse](docs/A1099/V2/CompanyResponse.md)
258257
- [Avalara.SDK.model.A1099.V2.CoveredIndividual](docs/A1099/V2/CoveredIndividual.md)
259258
- [Avalara.SDK.model.A1099.V2.CreateAndSendW9FormEmailRequest](docs/A1099/V2/CreateAndSendW9FormEmailRequest.md)
260-
- [Avalara.SDK.model.A1099.V2.CreateCompanyRequest](docs/A1099/V2/CreateCompanyRequest.md)
261-
- [Avalara.SDK.model.A1099.V2.CreateIssuerRequest](docs/A1099/V2/CreateIssuerRequest.md)
262259
- [Avalara.SDK.model.A1099.V2.CreateW9Form201Response](docs/A1099/V2/CreateW9Form201Response.md)
263260
- [Avalara.SDK.model.A1099.V2.CreateW9FormRequest](docs/A1099/V2/CreateW9FormRequest.md)
264261
- [Avalara.SDK.model.A1099.V2.EntryStatusResponse](docs/A1099/V2/EntryStatusResponse.md)
265-
- [Avalara.SDK.model.A1099.V2.ErrorModel](docs/A1099/V2/ErrorModel.md)
266262
- [Avalara.SDK.model.A1099.V2.ErrorResponse](docs/A1099/V2/ErrorResponse.md)
267263
- [Avalara.SDK.model.A1099.V2.ErrorResponseItem](docs/A1099/V2/ErrorResponseItem.md)
268264
- [Avalara.SDK.model.A1099.V2.Form1042S](docs/A1099/V2/Form1042S.md)
@@ -278,10 +274,10 @@ Class | Method | HTTP request | Description
278274
- [Avalara.SDK.model.A1099.V2.Form1099R](docs/A1099/V2/Form1099R.md)
279275
- [Avalara.SDK.model.A1099.V2.Form1099StatusDetail](docs/A1099/V2/Form1099StatusDetail.md)
280276
- [Avalara.SDK.model.A1099.V2.Get1099Form200Response](docs/A1099/V2/Get1099Form200Response.md)
281-
- [Avalara.SDK.model.A1099.V2.IW9FormDataModelsOneOf](docs/A1099/V2/IW9FormDataModelsOneOf.md)
282277
- [Avalara.SDK.model.A1099.V2.IntermediaryOrFlowThrough](docs/A1099/V2/IntermediaryOrFlowThrough.md)
283278
- [Avalara.SDK.model.A1099.V2.IrsResponse](docs/A1099/V2/IrsResponse.md)
284-
- [Avalara.SDK.model.A1099.V2.IssuerCommand](docs/A1099/V2/IssuerCommand.md)
279+
- [Avalara.SDK.model.A1099.V2.IssuerBase](docs/A1099/V2/IssuerBase.md)
280+
- [Avalara.SDK.model.A1099.V2.IssuerRequest](docs/A1099/V2/IssuerRequest.md)
285281
- [Avalara.SDK.model.A1099.V2.IssuerResponse](docs/A1099/V2/IssuerResponse.md)
286282
- [Avalara.SDK.model.A1099.V2.JobResponse](docs/A1099/V2/JobResponse.md)
287283
- [Avalara.SDK.model.A1099.V2.OfferAndCoverage](docs/A1099/V2/OfferAndCoverage.md)
@@ -296,27 +292,21 @@ Class | Method | HTTP request | Description
296292
- [Avalara.SDK.model.A1099.V2.SubstantialUsOwnerResponse](docs/A1099/V2/SubstantialUsOwnerResponse.md)
297293
- [Avalara.SDK.model.A1099.V2.TinMatchStatusResponse](docs/A1099/V2/TinMatchStatusResponse.md)
298294
- [Avalara.SDK.model.A1099.V2.ValidationError](docs/A1099/V2/ValidationError.md)
299-
- [Avalara.SDK.model.A1099.V2.W4FormDataModel](docs/A1099/V2/W4FormDataModel.md)
300295
- [Avalara.SDK.model.A1099.V2.W4FormMinimalRequest](docs/A1099/V2/W4FormMinimalRequest.md)
301296
- [Avalara.SDK.model.A1099.V2.W4FormRequest](docs/A1099/V2/W4FormRequest.md)
302297
- [Avalara.SDK.model.A1099.V2.W4FormResponse](docs/A1099/V2/W4FormResponse.md)
303298
- [Avalara.SDK.model.A1099.V2.W8BenEFormMinimalRequest](docs/A1099/V2/W8BenEFormMinimalRequest.md)
304299
- [Avalara.SDK.model.A1099.V2.W8BenEFormRequest](docs/A1099/V2/W8BenEFormRequest.md)
305300
- [Avalara.SDK.model.A1099.V2.W8BenEFormResponse](docs/A1099/V2/W8BenEFormResponse.md)
306-
- [Avalara.SDK.model.A1099.V2.W8BenESubstantialUsOwnerDataModel](docs/A1099/V2/W8BenESubstantialUsOwnerDataModel.md)
307-
- [Avalara.SDK.model.A1099.V2.W8BenFormDataModel](docs/A1099/V2/W8BenFormDataModel.md)
308301
- [Avalara.SDK.model.A1099.V2.W8BenFormMinimalRequest](docs/A1099/V2/W8BenFormMinimalRequest.md)
309302
- [Avalara.SDK.model.A1099.V2.W8BenFormRequest](docs/A1099/V2/W8BenFormRequest.md)
310303
- [Avalara.SDK.model.A1099.V2.W8BenFormResponse](docs/A1099/V2/W8BenFormResponse.md)
311-
- [Avalara.SDK.model.A1099.V2.W8BeneFormDataModel](docs/A1099/V2/W8BeneFormDataModel.md)
312-
- [Avalara.SDK.model.A1099.V2.W8ImyFormDataModel](docs/A1099/V2/W8ImyFormDataModel.md)
313304
- [Avalara.SDK.model.A1099.V2.W8ImyFormMinimalRequest](docs/A1099/V2/W8ImyFormMinimalRequest.md)
314305
- [Avalara.SDK.model.A1099.V2.W8ImyFormRequest](docs/A1099/V2/W8ImyFormRequest.md)
315306
- [Avalara.SDK.model.A1099.V2.W8ImyFormResponse](docs/A1099/V2/W8ImyFormResponse.md)
316307
- [Avalara.SDK.model.A1099.V2.W9FormBaseMinimalRequest](docs/A1099/V2/W9FormBaseMinimalRequest.md)
317308
- [Avalara.SDK.model.A1099.V2.W9FormBaseRequest](docs/A1099/V2/W9FormBaseRequest.md)
318309
- [Avalara.SDK.model.A1099.V2.W9FormBaseResponse](docs/A1099/V2/W9FormBaseResponse.md)
319-
- [Avalara.SDK.model.A1099.V2.W9FormDataModel](docs/A1099/V2/W9FormDataModel.md)
320310
- [Avalara.SDK.model.A1099.V2.W9FormMinimalRequest](docs/A1099/V2/W9FormMinimalRequest.md)
321311
- [Avalara.SDK.model.A1099.V2.W9FormRequest](docs/A1099/V2/W9FormRequest.md)
322312
- [Avalara.SDK.model.A1099.V2.W9FormResponse](docs/A1099/V2/W9FormResponse.md)

docs/A1099/V2/CompaniesW9Api.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Method | HTTP request | Description
1414

1515
## createCompany
1616

17-
> CompanyResponse createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest)
17+
> CompanyResponse createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest)
1818
1919
Create a company
2020

@@ -49,11 +49,11 @@ public class Example {
4949

5050
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
5151
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
5353
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 = new CreateCompanyRequest(); // CreateCompanyRequest | The company to create
54+
CompanyRequest companyRequest = new CompanyRequest(); // CompanyRequest | The company to create
5555
try {
56-
CompanyResponse result = apiInstance.createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest);
56+
CompanyResponse result = apiInstance.createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest);
5757
System.out.println(result);
5858
} catch (ApiException e) {
5959
System.err.println("Exception when calling CompaniesW9Api#createCompany");
@@ -74,7 +74,7 @@ Name | Type | Description | Notes
7474
**avalaraVersion** | **String**| API version |
7575
**xCorrelationId** | **String**| Unique correlation Id in a GUID format | [optional]
7676
**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]
7878

7979
### Return type
8080

@@ -136,7 +136,7 @@ public class Example {
136136
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
137137
String id = "id_example"; // String | The company to delete
138138
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
140140
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/) .
141141
try {
142142
apiInstance.deleteCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient);
@@ -228,7 +228,7 @@ public class Example {
228228
String $orderBy = "$orderBy_example"; // String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
229229
Boolean count = true; // Boolean | If true, return the global count of elements in the collection.
230230
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
232232
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/) .
233233
try {
234234
PaginatedQueryResultModelCompanyResponse result = apiInstance.getCompanies(avalaraVersion, $filter, $top, $skip, $orderBy, count, countOnly, xCorrelationId, xAvalaraClient);
@@ -321,7 +321,7 @@ public class Example {
321321
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
322322
String id = "id_example"; // String | Id of the company
323323
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
325325
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/) .
326326
try {
327327
CompanyResponse result = apiInstance.getCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient);
@@ -373,7 +373,7 @@ Name | Type | Description | Notes
373373

374374
## updateCompany
375375

376-
> CompanyResponse updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest)
376+
> CompanyResponse updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest)
377377
378378
Update a company
379379

@@ -409,11 +409,11 @@ public class Example {
409409
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
410410
String id = "id_example"; // String | The ID of the company to update
411411
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
413413
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 = new CreateCompanyRequest(); // CreateCompanyRequest | The updated company data
414+
CompanyRequest companyRequest = new CompanyRequest(); // CompanyRequest | The updated company data
415415
try {
416-
CompanyResponse result = apiInstance.updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest);
416+
CompanyResponse result = apiInstance.updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest);
417417
System.out.println(result);
418418
} catch (ApiException e) {
419419
System.err.println("Exception when calling CompaniesW9Api#updateCompany");
@@ -435,7 +435,7 @@ Name | Type | Description | Notes
435435
**avalaraVersion** | **String**| API version |
436436
**xCorrelationId** | **String**| Unique correlation Id in a GUID format | [optional]
437437
**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]
439439

440440
### Return type
441441

docs/A1099/V2/CompanyBase.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
3+
# CompanyBase
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**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., &#39;US&#39;, &#39;CA&#39;), 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] |
27+
28+
29+

docs/A1099/V2/CompanyRequest.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
3+
# CompanyRequest
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**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., &#39;US&#39;, &#39;CA&#39;), 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] |
27+
28+
29+

docs/A1099/V2/CreateAndSendW9FormEmailRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
|**employeeFirstName** | **String** | The first name of the employee. | |
1313
|**employeeLastName** | **String** | The last name of the employee. | |
1414
|**officeCode** | **String** | The office code associated with the form. | [optional] |
15-
|**companyId** | **String** | The ID of the associated company. | |
15+
|**companyId** | **String** | The ID of the associated company. Required when creating a form. | [optional] |
1616
|**referenceId** | **String** | A reference identifier for the form. | [optional] |
1717
|**name** | **String** | The name of the individual or entity associated with the form. | |
1818
|**referenceNumber** | **String** | A reference number for the form. | [optional] |

0 commit comments

Comments
 (0)