Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,18 +251,14 @@ Class | Method | HTTP request | Description
<a name="documentation-for-A1099-V2-models"></a>
### A1099 V2 Model Documentation

- [Avalara.SDK.model.A1099.V2.AuthorizedApiRequestModel](docs/A1099/V2/AuthorizedApiRequestModel.md)
- [Avalara.SDK.model.A1099.V2.AuthorizedApiRequestV2DataModel](docs/A1099/V2/AuthorizedApiRequestV2DataModel.md)
- [Avalara.SDK.model.A1099.V2.CompanyCreateUpdateRequestModel](docs/A1099/V2/CompanyCreateUpdateRequestModel.md)
- [Avalara.SDK.model.A1099.V2.CompanyBase](docs/A1099/V2/CompanyBase.md)
- [Avalara.SDK.model.A1099.V2.CompanyRequest](docs/A1099/V2/CompanyRequest.md)
- [Avalara.SDK.model.A1099.V2.CompanyResponse](docs/A1099/V2/CompanyResponse.md)
- [Avalara.SDK.model.A1099.V2.CoveredIndividual](docs/A1099/V2/CoveredIndividual.md)
- [Avalara.SDK.model.A1099.V2.CreateAndSendW9FormEmailRequest](docs/A1099/V2/CreateAndSendW9FormEmailRequest.md)
- [Avalara.SDK.model.A1099.V2.CreateCompanyRequest](docs/A1099/V2/CreateCompanyRequest.md)
- [Avalara.SDK.model.A1099.V2.CreateIssuerRequest](docs/A1099/V2/CreateIssuerRequest.md)
- [Avalara.SDK.model.A1099.V2.CreateW9Form201Response](docs/A1099/V2/CreateW9Form201Response.md)
- [Avalara.SDK.model.A1099.V2.CreateW9FormRequest](docs/A1099/V2/CreateW9FormRequest.md)
- [Avalara.SDK.model.A1099.V2.EntryStatusResponse](docs/A1099/V2/EntryStatusResponse.md)
- [Avalara.SDK.model.A1099.V2.ErrorModel](docs/A1099/V2/ErrorModel.md)
- [Avalara.SDK.model.A1099.V2.ErrorResponse](docs/A1099/V2/ErrorResponse.md)
- [Avalara.SDK.model.A1099.V2.ErrorResponseItem](docs/A1099/V2/ErrorResponseItem.md)
- [Avalara.SDK.model.A1099.V2.Form1042S](docs/A1099/V2/Form1042S.md)
Expand All @@ -278,10 +274,10 @@ Class | Method | HTTP request | Description
- [Avalara.SDK.model.A1099.V2.Form1099R](docs/A1099/V2/Form1099R.md)
- [Avalara.SDK.model.A1099.V2.Form1099StatusDetail](docs/A1099/V2/Form1099StatusDetail.md)
- [Avalara.SDK.model.A1099.V2.Get1099Form200Response](docs/A1099/V2/Get1099Form200Response.md)
- [Avalara.SDK.model.A1099.V2.IW9FormDataModelsOneOf](docs/A1099/V2/IW9FormDataModelsOneOf.md)
- [Avalara.SDK.model.A1099.V2.IntermediaryOrFlowThrough](docs/A1099/V2/IntermediaryOrFlowThrough.md)
- [Avalara.SDK.model.A1099.V2.IrsResponse](docs/A1099/V2/IrsResponse.md)
- [Avalara.SDK.model.A1099.V2.IssuerCommand](docs/A1099/V2/IssuerCommand.md)
- [Avalara.SDK.model.A1099.V2.IssuerBase](docs/A1099/V2/IssuerBase.md)
- [Avalara.SDK.model.A1099.V2.IssuerRequest](docs/A1099/V2/IssuerRequest.md)
- [Avalara.SDK.model.A1099.V2.IssuerResponse](docs/A1099/V2/IssuerResponse.md)
- [Avalara.SDK.model.A1099.V2.JobResponse](docs/A1099/V2/JobResponse.md)
- [Avalara.SDK.model.A1099.V2.OfferAndCoverage](docs/A1099/V2/OfferAndCoverage.md)
Expand All @@ -296,27 +292,21 @@ Class | Method | HTTP request | Description
- [Avalara.SDK.model.A1099.V2.SubstantialUsOwnerResponse](docs/A1099/V2/SubstantialUsOwnerResponse.md)
- [Avalara.SDK.model.A1099.V2.TinMatchStatusResponse](docs/A1099/V2/TinMatchStatusResponse.md)
- [Avalara.SDK.model.A1099.V2.ValidationError](docs/A1099/V2/ValidationError.md)
- [Avalara.SDK.model.A1099.V2.W4FormDataModel](docs/A1099/V2/W4FormDataModel.md)
- [Avalara.SDK.model.A1099.V2.W4FormMinimalRequest](docs/A1099/V2/W4FormMinimalRequest.md)
- [Avalara.SDK.model.A1099.V2.W4FormRequest](docs/A1099/V2/W4FormRequest.md)
- [Avalara.SDK.model.A1099.V2.W4FormResponse](docs/A1099/V2/W4FormResponse.md)
- [Avalara.SDK.model.A1099.V2.W8BenEFormMinimalRequest](docs/A1099/V2/W8BenEFormMinimalRequest.md)
- [Avalara.SDK.model.A1099.V2.W8BenEFormRequest](docs/A1099/V2/W8BenEFormRequest.md)
- [Avalara.SDK.model.A1099.V2.W8BenEFormResponse](docs/A1099/V2/W8BenEFormResponse.md)
- [Avalara.SDK.model.A1099.V2.W8BenESubstantialUsOwnerDataModel](docs/A1099/V2/W8BenESubstantialUsOwnerDataModel.md)
- [Avalara.SDK.model.A1099.V2.W8BenFormDataModel](docs/A1099/V2/W8BenFormDataModel.md)
- [Avalara.SDK.model.A1099.V2.W8BenFormMinimalRequest](docs/A1099/V2/W8BenFormMinimalRequest.md)
- [Avalara.SDK.model.A1099.V2.W8BenFormRequest](docs/A1099/V2/W8BenFormRequest.md)
- [Avalara.SDK.model.A1099.V2.W8BenFormResponse](docs/A1099/V2/W8BenFormResponse.md)
- [Avalara.SDK.model.A1099.V2.W8BeneFormDataModel](docs/A1099/V2/W8BeneFormDataModel.md)
- [Avalara.SDK.model.A1099.V2.W8ImyFormDataModel](docs/A1099/V2/W8ImyFormDataModel.md)
- [Avalara.SDK.model.A1099.V2.W8ImyFormMinimalRequest](docs/A1099/V2/W8ImyFormMinimalRequest.md)
- [Avalara.SDK.model.A1099.V2.W8ImyFormRequest](docs/A1099/V2/W8ImyFormRequest.md)
- [Avalara.SDK.model.A1099.V2.W8ImyFormResponse](docs/A1099/V2/W8ImyFormResponse.md)
- [Avalara.SDK.model.A1099.V2.W9FormBaseMinimalRequest](docs/A1099/V2/W9FormBaseMinimalRequest.md)
- [Avalara.SDK.model.A1099.V2.W9FormBaseRequest](docs/A1099/V2/W9FormBaseRequest.md)
- [Avalara.SDK.model.A1099.V2.W9FormBaseResponse](docs/A1099/V2/W9FormBaseResponse.md)
- [Avalara.SDK.model.A1099.V2.W9FormDataModel](docs/A1099/V2/W9FormDataModel.md)
- [Avalara.SDK.model.A1099.V2.W9FormMinimalRequest](docs/A1099/V2/W9FormMinimalRequest.md)
- [Avalara.SDK.model.A1099.V2.W9FormRequest](docs/A1099/V2/W9FormRequest.md)
- [Avalara.SDK.model.A1099.V2.W9FormResponse](docs/A1099/V2/W9FormResponse.md)
26 changes: 13 additions & 13 deletions docs/A1099/V2/CompaniesW9Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Method | HTTP request | Description

## createCompany

> CompanyResponse createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest)
> CompanyResponse createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest)

Create a company

Expand Down Expand Up @@ -49,11 +49,11 @@ public class Example {

CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "68cce84c-ae6e-4cef-bdc6-4620c710b5e5"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "a607ad38-398e-43d2-918d-d809e43dbd6b"; // String | Unique correlation Id in a GUID format
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/) .
CreateCompanyRequest createCompanyRequest = new CreateCompanyRequest(); // CreateCompanyRequest | The company to create
CompanyRequest companyRequest = new CompanyRequest(); // CompanyRequest | The company to create
try {
CompanyResponse result = apiInstance.createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest);
CompanyResponse result = apiInstance.createCompany(avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CompaniesW9Api#createCompany");
Expand All @@ -74,7 +74,7 @@ Name | Type | Description | Notes
**avalaraVersion** | **String**| API version |
**xCorrelationId** | **String**| Unique correlation Id in a GUID format | [optional]
**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]
**createCompanyRequest** | [**CreateCompanyRequest**](CreateCompanyRequest.md)| The company to create | [optional]
**companyRequest** | [**CompanyRequest**](CompanyRequest.md)| The company to create | [optional]

### Return type

Expand Down Expand Up @@ -136,7 +136,7 @@ public class Example {
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
String id = "id_example"; // String | The company to delete
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "f2e08ea9-6e1e-4828-91f9-4926ff26dbe4"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "54780530-dee1-472f-8626-a1ef1d6f3bfa"; // String | Unique correlation Id in a GUID format
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/) .
try {
apiInstance.deleteCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -228,7 +228,7 @@ public class Example {
String $orderBy = "$orderBy_example"; // String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
Boolean count = true; // Boolean | If true, return the global count of elements in the collection.
Boolean countOnly = true; // Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
String xCorrelationId = "f431c7bb-9661-447a-8f5f-b17b3d55a06c"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "7ee6e06e-ae28-4317-9053-d966f0b24a94"; // String | Unique correlation Id in a GUID format
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/) .
try {
PaginatedQueryResultModelCompanyResponse result = apiInstance.getCompanies(avalaraVersion, $filter, $top, $skip, $orderBy, count, countOnly, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -321,7 +321,7 @@ public class Example {
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
String id = "id_example"; // String | Id of the company
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "c5c11797-5ea9-4ec3-85ba-ed4e0ee63300"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "c2254966-bcae-4b32-a7b4-67f0518ca748"; // String | Unique correlation Id in a GUID format
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/) .
try {
CompanyResponse result = apiInstance.getCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient);
Expand Down Expand Up @@ -373,7 +373,7 @@ Name | Type | Description | Notes

## updateCompany

> CompanyResponse updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest)
> CompanyResponse updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest)

Update a company

Expand Down Expand Up @@ -409,11 +409,11 @@ public class Example {
CompaniesW9Api apiInstance = new CompaniesW9Api(apiClient);
String id = "id_example"; // String | The ID of the company to update
String avalaraVersion = "2.0.0"; // String | API version
String xCorrelationId = "86a26d78-90b6-4ca0-a10b-0221d11dd34a"; // String | Unique correlation Id in a GUID format
String xCorrelationId = "b730ea19-59f4-4cc8-8ef0-94a9d4637a6a"; // String | Unique correlation Id in a GUID format
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/) .
CreateCompanyRequest createCompanyRequest = new CreateCompanyRequest(); // CreateCompanyRequest | The updated company data
CompanyRequest companyRequest = new CompanyRequest(); // CompanyRequest | The updated company data
try {
CompanyResponse result = apiInstance.updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, createCompanyRequest);
CompanyResponse result = apiInstance.updateCompany(id, avalaraVersion, xCorrelationId, xAvalaraClient, companyRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CompaniesW9Api#updateCompany");
Expand All @@ -435,7 +435,7 @@ Name | Type | Description | Notes
**avalaraVersion** | **String**| API version |
**xCorrelationId** | **String**| Unique correlation Id in a GUID format | [optional]
**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]
**createCompanyRequest** | [**CreateCompanyRequest**](CreateCompanyRequest.md)| The updated company data | [optional]
**companyRequest** | [**CompanyRequest**](CompanyRequest.md)| The updated company data | [optional]

### Return type

Expand Down
29 changes: 29 additions & 0 deletions docs/A1099/V2/CompanyBase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@


# CompanyBase


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**name** | **String** | Legal name. Not the DBA name. | |
|**dbaName** | **String** | Doing Business As (DBA) name or continuation of a long legal name. | [optional] |
|**email** | **String** | Contact email address. For inquiries by vendors/employees. | |
|**address** | **String** | Address. | |
|**city** | **String** | City. | |
|**state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | [optional] |
|**zip** | **String** | ZIP/postal code. | |
|**telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). | |
|**tin** | **String** | Federal Tax Identification Number (TIN). EIN/Tax ID (required for US companies). | |
|**referenceId** | **String** | Internal reference ID. Never shown to any agency or recipient. | [optional] |
|**doTinMatch** | **Boolean** | Indicates whether the company authorizes IRS TIN matching. | [optional] |
|**groupName** | **String** | Group name for organizing companies (creates or finds group by name). | [optional] |
|**foreignProvince** | **String** | Province or region for non-US/CA addresses. | [optional] |
|**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. | |
|**resendRequests** | **Boolean** | Boolean to enable automatic reminder emails (default: false). | [optional] |
|**resendIntervalDays** | **Integer** | Days between reminder emails (7-365, required if resendRequests is true). | [optional] |
|**maxReminderAttempts** | **Integer** | Maximum number of reminder attempts (1-52, required if resendRequests is true). | [optional] |



29 changes: 29 additions & 0 deletions docs/A1099/V2/CompanyRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@


# CompanyRequest


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**name** | **String** | Legal name. Not the DBA name. | |
|**dbaName** | **String** | Doing Business As (DBA) name or continuation of a long legal name. | [optional] |
|**email** | **String** | Contact email address. For inquiries by vendors/employees. | |
|**address** | **String** | Address. | |
|**city** | **String** | City. | |
|**state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | [optional] |
|**zip** | **String** | ZIP/postal code. | |
|**telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). | |
|**tin** | **String** | Federal Tax Identification Number (TIN). EIN/Tax ID (required for US companies). | |
|**referenceId** | **String** | Internal reference ID. Never shown to any agency or recipient. | [optional] |
|**doTinMatch** | **Boolean** | Indicates whether the company authorizes IRS TIN matching. | [optional] |
|**groupName** | **String** | Group name for organizing companies (creates or finds group by name). | [optional] |
|**foreignProvince** | **String** | Province or region for non-US/CA addresses. | [optional] |
|**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. | |
|**resendRequests** | **Boolean** | Boolean to enable automatic reminder emails (default: false). | [optional] |
|**resendIntervalDays** | **Integer** | Days between reminder emails (7-365, required if resendRequests is true). | [optional] |
|**maxReminderAttempts** | **Integer** | Maximum number of reminder attempts (1-52, required if resendRequests is true). | [optional] |



2 changes: 1 addition & 1 deletion docs/A1099/V2/CreateAndSendW9FormEmailRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
|**employeeFirstName** | **String** | The first name of the employee. | |
|**employeeLastName** | **String** | The last name of the employee. | |
|**officeCode** | **String** | The office code associated with the form. | [optional] |
|**companyId** | **String** | The ID of the associated company. | |
|**companyId** | **String** | The ID of the associated company. Required when creating a form. | [optional] |
|**referenceId** | **String** | A reference identifier for the form. | [optional] |
|**name** | **String** | The name of the individual or entity associated with the form. | |
|**referenceNumber** | **String** | A reference number for the form. | [optional] |
Expand Down
Loading