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
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
avalara_sdk (25.8.2)
avalara_sdk (25.8.3)
faraday (~> 1.0, >= 1.0.1)

GEM
Expand Down
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,14 @@ Class | Method | HTTP request | Description
<a name="documentation-for-A1099-V2-models"></a>
### A1099 V2 Model Documentation

- [models.AuthorizedApiRequestModel](docs/A1099/V2/AuthorizedApiRequestModel.md)
- [models.AuthorizedApiRequestV2DataModel](docs/A1099/V2/AuthorizedApiRequestV2DataModel.md)
- [models.CompanyCreateUpdateRequestModel](docs/A1099/V2/CompanyCreateUpdateRequestModel.md)
- [models.CompanyBase](docs/A1099/V2/CompanyBase.md)
- [models.CompanyRequest](docs/A1099/V2/CompanyRequest.md)
- [models.CompanyResponse](docs/A1099/V2/CompanyResponse.md)
- [models.CoveredIndividual](docs/A1099/V2/CoveredIndividual.md)
- [models.CreateAndSendW9FormEmailRequest](docs/A1099/V2/CreateAndSendW9FormEmailRequest.md)
- [models.CreateCompanyRequest](docs/A1099/V2/CreateCompanyRequest.md)
- [models.CreateIssuerRequest](docs/A1099/V2/CreateIssuerRequest.md)
- [models.CreateW9Form201Response](docs/A1099/V2/CreateW9Form201Response.md)
- [models.CreateW9FormRequest](docs/A1099/V2/CreateW9FormRequest.md)
- [models.EntryStatusResponse](docs/A1099/V2/EntryStatusResponse.md)
- [models.ErrorModel](docs/A1099/V2/ErrorModel.md)
- [models.ErrorResponse](docs/A1099/V2/ErrorResponse.md)
- [models.ErrorResponseItem](docs/A1099/V2/ErrorResponseItem.md)
- [models.Form1042S](docs/A1099/V2/Form1042S.md)
Expand All @@ -217,10 +213,10 @@ Class | Method | HTTP request | Description
- [models.Form1099R](docs/A1099/V2/Form1099R.md)
- [models.Form1099StatusDetail](docs/A1099/V2/Form1099StatusDetail.md)
- [models.Get1099Form200Response](docs/A1099/V2/Get1099Form200Response.md)
- [models.IW9FormDataModelsOneOf](docs/A1099/V2/IW9FormDataModelsOneOf.md)
- [models.IntermediaryOrFlowThrough](docs/A1099/V2/IntermediaryOrFlowThrough.md)
- [models.IrsResponse](docs/A1099/V2/IrsResponse.md)
- [models.IssuerCommand](docs/A1099/V2/IssuerCommand.md)
- [models.IssuerBase](docs/A1099/V2/IssuerBase.md)
- [models.IssuerRequest](docs/A1099/V2/IssuerRequest.md)
- [models.IssuerResponse](docs/A1099/V2/IssuerResponse.md)
- [models.JobResponse](docs/A1099/V2/JobResponse.md)
- [models.OfferAndCoverage](docs/A1099/V2/OfferAndCoverage.md)
Expand All @@ -235,27 +231,21 @@ Class | Method | HTTP request | Description
- [models.SubstantialUsOwnerResponse](docs/A1099/V2/SubstantialUsOwnerResponse.md)
- [models.TinMatchStatusResponse](docs/A1099/V2/TinMatchStatusResponse.md)
- [models.ValidationError](docs/A1099/V2/ValidationError.md)
- [models.W4FormDataModel](docs/A1099/V2/W4FormDataModel.md)
- [models.W4FormMinimalRequest](docs/A1099/V2/W4FormMinimalRequest.md)
- [models.W4FormRequest](docs/A1099/V2/W4FormRequest.md)
- [models.W4FormResponse](docs/A1099/V2/W4FormResponse.md)
- [models.W8BenEFormMinimalRequest](docs/A1099/V2/W8BenEFormMinimalRequest.md)
- [models.W8BenEFormRequest](docs/A1099/V2/W8BenEFormRequest.md)
- [models.W8BenEFormResponse](docs/A1099/V2/W8BenEFormResponse.md)
- [models.W8BenESubstantialUsOwnerDataModel](docs/A1099/V2/W8BenESubstantialUsOwnerDataModel.md)
- [models.W8BenFormDataModel](docs/A1099/V2/W8BenFormDataModel.md)
- [models.W8BenFormMinimalRequest](docs/A1099/V2/W8BenFormMinimalRequest.md)
- [models.W8BenFormRequest](docs/A1099/V2/W8BenFormRequest.md)
- [models.W8BenFormResponse](docs/A1099/V2/W8BenFormResponse.md)
- [models.W8BeneFormDataModel](docs/A1099/V2/W8BeneFormDataModel.md)
- [models.W8ImyFormDataModel](docs/A1099/V2/W8ImyFormDataModel.md)
- [models.W8ImyFormMinimalRequest](docs/A1099/V2/W8ImyFormMinimalRequest.md)
- [models.W8ImyFormRequest](docs/A1099/V2/W8ImyFormRequest.md)
- [models.W8ImyFormResponse](docs/A1099/V2/W8ImyFormResponse.md)
- [models.W9FormBaseMinimalRequest](docs/A1099/V2/W9FormBaseMinimalRequest.md)
- [models.W9FormBaseRequest](docs/A1099/V2/W9FormBaseRequest.md)
- [models.W9FormBaseResponse](docs/A1099/V2/W9FormBaseResponse.md)
- [models.W9FormDataModel](docs/A1099/V2/W9FormDataModel.md)
- [models.W9FormMinimalRequest](docs/A1099/V2/W9FormMinimalRequest.md)
- [models.W9FormRequest](docs/A1099/V2/W9FormRequest.md)
- [models.W9FormResponse](docs/A1099/V2/W9FormResponse.md)
18 changes: 9 additions & 9 deletions docs/A1099/V2/CompaniesW9Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client

avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: '68cce84c-ae6e-4cef-bdc6-4620c710b5e5', # String | Unique correlation Id in a GUID format
x_correlation_id: 'a607ad38-398e-43d2-918d-d809e43dbd6b', # String | Unique correlation Id in a GUID format
x_avalara_client: '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/) .
create_company_request: AvalaraSdk::A1099::V2::CompanyCreateUpdateRequestModel.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CreateCompanyRequest | The company to create
company_request: AvalaraSdk::A1099::V2::CompanyRequest.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CompanyRequest | The company to create
}

begin
Expand Down Expand Up @@ -78,7 +78,7 @@ end
| **avalara_version** | **String** | API version | |
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
| **x_avalara_client** | **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] |
| **create_company_request** | [**CreateCompanyRequest**](CreateCompanyRequest.md) | The company to create | [optional] |
| **company_request** | [**CompanyRequest**](CompanyRequest.md) | The company to create | [optional] |

### Return type

Expand Down Expand Up @@ -123,7 +123,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
id = 'id_example' # String | The company to delete
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: 'f2e08ea9-6e1e-4828-91f9-4926ff26dbe4', # String | Unique correlation Id in a GUID format
x_correlation_id: '54780530-dee1-472f-8626-a1ef1d6f3bfa', # String | Unique correlation Id in a GUID format
x_avalara_client: '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/) .
}

Expand Down Expand Up @@ -210,7 +210,7 @@ opts = {
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
count: true, # Boolean | If true, return the global count of elements in the collection.
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
x_correlation_id: 'f431c7bb-9661-447a-8f5f-b17b3d55a06c', # String | Unique correlation Id in a GUID format
x_correlation_id: '7ee6e06e-ae28-4317-9053-d966f0b24a94', # String | Unique correlation Id in a GUID format
x_avalara_client: '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/) .
}

Expand Down Expand Up @@ -298,7 +298,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
id = 'id_example' # String | Id of the company
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: 'c5c11797-5ea9-4ec3-85ba-ed4e0ee63300', # String | Unique correlation Id in a GUID format
x_correlation_id: 'c2254966-bcae-4b32-a7b4-67f0518ca748', # String | Unique correlation Id in a GUID format
x_avalara_client: '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/) .
}

Expand Down Expand Up @@ -381,9 +381,9 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
id = 'id_example' # String | The ID of the company to update
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: '86a26d78-90b6-4ca0-a10b-0221d11dd34a', # String | Unique correlation Id in a GUID format
x_correlation_id: 'b730ea19-59f4-4cc8-8ef0-94a9d4637a6a', # String | Unique correlation Id in a GUID format
x_avalara_client: '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/) .
create_company_request: AvalaraSdk::A1099::V2::CompanyCreateUpdateRequestModel.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CreateCompanyRequest | The updated company data
company_request: AvalaraSdk::A1099::V2::CompanyRequest.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CompanyRequest | The updated company data
}

begin
Expand Down Expand Up @@ -421,7 +421,7 @@ end
| **avalara_version** | **String** | API version | |
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
| **x_avalara_client** | **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] |
| **create_company_request** | [**CreateCompanyRequest**](CreateCompanyRequest.md) | The updated company data | [optional] |
| **company_request** | [**CompanyRequest**](CompanyRequest.md) | The updated company data | [optional] |

### Return type

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

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **name** | **String** | Legal name. Not the DBA name. | |
| **dba_name** | **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). | |
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. | [optional] |
| **do_tin_match** | **Boolean** | Indicates whether the company authorizes IRS TIN matching. | [optional] |
| **group_name** | **String** | Group name for organizing companies (creates or finds group by name). | [optional] |
| **foreign_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
| **country_code** | **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. | |
| **resend_requests** | **Boolean** | Boolean to enable automatic reminder emails (default: false). | [optional] |
| **resend_interval_days** | **Integer** | Days between reminder emails (7-365, required if resendRequests is true). | [optional] |
| **max_reminder_attempts** | **Integer** | Maximum number of reminder attempts (1-52, required if resendRequests is true). | [optional] |

## Example

```ruby
require 'avalara_sdk'

instance = AvalaraSdk::A1099::V2::CompanyBase.new(
name: null,
dba_name: null,
email: null,
address: null,
city: null,
state: null,
zip: null,
telephone: null,
tin: null,
reference_id: null,
do_tin_match: null,
group_name: null,
foreign_province: null,
country_code: null,
resend_requests: null,
resend_interval_days: null,
max_reminder_attempts: null
)
```

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

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **name** | **String** | Legal name. Not the DBA name. | |
| **dba_name** | **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). | |
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. | [optional] |
| **do_tin_match** | **Boolean** | Indicates whether the company authorizes IRS TIN matching. | [optional] |
| **group_name** | **String** | Group name for organizing companies (creates or finds group by name). | [optional] |
| **foreign_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
| **country_code** | **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. | |
| **resend_requests** | **Boolean** | Boolean to enable automatic reminder emails (default: false). | [optional] |
| **resend_interval_days** | **Integer** | Days between reminder emails (7-365, required if resendRequests is true). | [optional] |
| **max_reminder_attempts** | **Integer** | Maximum number of reminder attempts (1-52, required if resendRequests is true). | [optional] |

## Example

```ruby
require 'avalara_sdk'

instance = AvalaraSdk::A1099::V2::CompanyRequest.new(
name: null,
dba_name: null,
email: null,
address: null,
city: null,
state: null,
zip: null,
telephone: null,
tin: null,
reference_id: null,
do_tin_match: null,
group_name: null,
foreign_province: null,
country_code: null,
resend_requests: null,
resend_interval_days: null,
max_reminder_attempts: null
)
```

Loading