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.10.0)
avalara_sdk (25.10.1)
faraday (~> 1.0, >= 1.0.1)

GEM
Expand Down
10 changes: 5 additions & 5 deletions docs/A1099/V2/CompaniesW9Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client

avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: 'e059925d-91f6-4c34-9bcd-2a0e997dd8fa', # String | Unique correlation Id in a GUID format
x_correlation_id: 'bedc4273-bb12-48c6-88a8-c0aee6e7b954', # 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/) .
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
}
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: 'b01f9bff-5e8c-49d6-8c9b-44892e578dc5', # String | Unique correlation Id in a GUID format
x_correlation_id: '9ed3d9c2-5c65-47f5-accf-cc911576c7cb', # 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: '9654708e-0675-4a73-a0fa-5b8016bb2175', # String | Unique correlation Id in a GUID format
x_correlation_id: '50aba33f-6235-4915-aa65-80129e69c929', # 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: 'c9747d06-85d9-42ed-a7d2-1438a48a4d33', # String | Unique correlation Id in a GUID format
x_correlation_id: '5cb4aaf8-d220-4a6d-bc06-4c664b4b5d51', # 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,7 +381,7 @@ 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: '0227fcc3-16c4-439b-a4ea-28c316d311ef', # String | Unique correlation Id in a GUID format
x_correlation_id: '53bb7b71-2c2d-4faf-a86b-5bcb3642ce67', # 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/) .
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
}
Expand Down
2 changes: 1 addition & 1 deletion docs/A1099/V2/Form1099Misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
| **gross_proceeds_paid_to_attorney** | **Float** | Gross proceeds paid to an attorney | [optional] |
| **fish_purchased_for_resale** | **Float** | Fish purchased for resale | [optional] |
| **section409_a_deferrals** | **Float** | Section 409A deferrals | [optional] |
| **excess_golden_parachute_payments** | **Float** | (Legacy field) Excess golden parachute payments | [optional] |
| **excess_golden_parachute_payments** | **Float** | Excess golden parachute payments - Available only for tax year 2024 and earlier | [optional] |
| **nonqualified_deferred_compensation** | **Float** | Nonqualified deferred compensation | [optional] |
| **fatca_filing_requirement** | **Boolean** | FATCA filing requirement. | [optional] |
| **type** | **String** | Form type. | |
Expand Down
2 changes: 2 additions & 0 deletions docs/A1099/V2/Form1099Nec.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| ---- | ---- | ----------- | ----- |
| **nonemployee_compensation** | **Float** | Nonemployee compensation. Required if DirectSalesIndicator is false. | |
| **direct_sales_indicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale. Should be true if Nonemployee compensation is not provided. | [optional] |
| **excess_golden_parachute_payments** | **Float** | Excess golden parachute payments - Available only for tax year 2025 and later | [optional] |
| **federal_income_tax_withheld** | **Float** | Federal income tax withheld. | [optional] |
| **type** | **String** | Form type. | |
| **id** | **String** | Form ID. Unique identifier set when the record is created. | [optional][readonly] |
Expand Down Expand Up @@ -55,6 +56,7 @@ require 'avalara_sdk'
instance = AvalaraSdk::A1099::V2::Form1099Nec.new(
nonemployee_compensation: null,
direct_sales_indicator: null,
excess_golden_parachute_payments: null,
federal_income_tax_withheld: null,
type: null,
id: null,
Expand Down
14 changes: 7 additions & 7 deletions docs/A1099/V2/Forms1099Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
avalara_version = '2.0.0' # String | API version
opts = {
dry_run: true, # Boolean | defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB
x_correlation_id: '2d9b6e7b-79bb-4d14-9699-4638bb6151d9', # String | Unique correlation Id in a GUID format
x_correlation_id: '65ba673f-da74-46f5-a26a-2b7da2eae19c', # 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/) .
form1099_list_request: AvalaraSdk::A1099::V2::Form1099ListRequest.new # Form1099ListRequest |
}
Expand Down Expand Up @@ -126,7 +126,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client

avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: '5274903f-4f84-4aba-9dcf-408ca56e00ea', # String | Unique correlation Id in a GUID format
x_correlation_id: '4e987f77-91dd-473a-9583-a7552f724f89', # 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/) .
get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: 'Form1099Nec', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
}
Expand Down Expand Up @@ -210,7 +210,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
id = 'id_example' # String | The unique identifier of the desired form to delete.
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: 'f59c9692-f2fb-4dbe-8cba-98633c4bfb3b', # String | Unique correlation Id in a GUID format
x_correlation_id: '2e4a61ed-57e4-4eed-9668-ba57bf364a8a', # 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 @@ -292,7 +292,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
id = 'id_example' # String |
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: '73429041-37dd-428a-8fd5-94f9bfdc849d', # String | Unique correlation Id in a GUID format
x_correlation_id: 'f1d240d0-9019-4e85-87c4-bfa1c90d59e1', # 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 @@ -376,7 +376,7 @@ id = 'id_example' # String | The ID of the form
avalara_version = '2.0.0' # String | API version
opts = {
mark_edelivered: true, # Boolean | Optional boolean that if set indicates that the form should be marked as having been successfully edelivered
x_correlation_id: '880a787b-1d92-485f-a3db-b5277d3d0ba1', # String | Unique correlation Id in a GUID format
x_correlation_id: 'bc095972-c93b-457e-bc4b-407a3a94891c', # 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 @@ -465,7 +465,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: '612ac19d-6b12-4fe1-b92b-61e73b3b5d54', # String | Unique correlation Id in a GUID format
x_correlation_id: '4e7e1488-0963-48c2-abd5-296f37dae5c5', # 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 @@ -553,7 +553,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
id = 'id_example' # String |
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: '5717cd04-c60c-4603-9ede-aba2bec55e19', # String | Unique correlation Id in a GUID format
x_correlation_id: '7abc5695-4063-414a-aa57-7cb2b9fee1dc', # 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/) .
get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: 'Form1099Nec', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
}
Expand Down
31 changes: 16 additions & 15 deletions docs/A1099/V2/FormsW9Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client

avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: 'fa427ec8-fbb3-4e25-8c7e-2f81d68241ec', # String | Unique correlation Id in a GUID format
x_correlation_id: 'a31bfcd3-48f4-4459-86e7-2ce87c8eab6b', # 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_and_send_w9_form_email_request: AvalaraSdk::A1099::V2::W4FormMinimalRequest.new({email: 'email_example', employee_first_name: 'employee_first_name_example', employee_last_name: 'employee_last_name_example'}) # CreateAndSendW9FormEmailRequest | Form to be created
}
Expand Down Expand Up @@ -126,7 +126,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client

avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: '6bde16cf-bc27-448b-8abd-a3461599deff', # String | Unique correlation Id in a GUID format
x_correlation_id: '4d4842c6-baeb-4f47-970e-dc9a9da6e8f4', # 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_w9_form_request: AvalaraSdk::A1099::V2::W4FormRequest.new({employee_first_name: 'employee_first_name_example', employee_last_name: 'employee_last_name_example', tin_type: 'tin_type_example', tin: 'tin_example'}) # CreateW9FormRequest | Form to be created
}
Expand Down Expand Up @@ -210,7 +210,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
id = 'id_example' # String | ID of the form to delete
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: '4bc1a0f7-f202-4e27-ba6d-37645f4a839e', # String | Unique correlation Id in a GUID format
x_correlation_id: 'fc19f8c0-4c87-4387-8ab1-aa9d962df4eb', # 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 @@ -292,7 +292,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
id = 'id_example' # String | ID of the form
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: '7dd6cb2c-d9ed-4fb7-8f97-67d35d09e59e', # String | Unique correlation Id in a GUID format
x_correlation_id: 'd24ad701-0869-495f-ad6e-234ea6b363b5', # 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 @@ -348,7 +348,7 @@ end

## get_w9_form_pdf

> get_w9_form_pdf(id, avalara_version, opts)
> File get_w9_form_pdf(id, avalara_version, opts)

Download the PDF for a W9/W4/W8 form.

Expand All @@ -375,31 +375,32 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
id = 'id_example' # String | Id of the form
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: '783194b6-5fc6-41c5-a5b4-1b02018e09dd', # String | Unique correlation Id in a GUID format
x_correlation_id: '51c49fe8-a8d5-4e6c-93b2-271795eaa196', # 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/) .
}

begin
# Download the PDF for a W9/W4/W8 form.
api_instance.get_w9_form_pdf(id, avalara_version, opts)
result = api_instance.get_w9_form_pdf(id, avalara_version, opts)
p result
rescue AvalaraSdk::ApiError => e
puts "Error when calling FormsW9Api->get_w9_form_pdf: #{e}"
end
```

#### Using the get_w9_form_pdf_with_http_info variant

This returns an Array which contains the response data (`nil` in this case), status code and headers.
This returns an Array which contains the response data, status code and headers.

> <Array(nil, Integer, Hash)> get_w9_form_pdf_with_http_info(id, avalara_version, opts)
> <Array(File, Integer, Hash)> get_w9_form_pdf_with_http_info(id, avalara_version, opts)

```ruby
begin
# Download the PDF for a W9/W4/W8 form.
data, status_code, headers = api_instance.get_w9_form_pdf_with_http_info(id, avalara_version, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => nil
p data # => File
rescue AvalaraSdk::A1099::V2::ApiError => e
puts "Error when calling FormsW9Api->get_w9_form_pdf_with_http_info: #{e}"
end
Expand All @@ -416,7 +417,7 @@ end

### Return type

nil (empty response body)
**File**

### Authorization

Expand Down Expand Up @@ -462,7 +463,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: 'c1b56927-f8e5-4243-8fd5-b5d13f7c0c29', # String | Unique correlation Id in a GUID format
x_correlation_id: '9bfb0cee-b6e0-4c22-a8a2-4be68535c83e', # 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 @@ -550,7 +551,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
id = 'id_example' # String | The ID of the W9/W4/W8 form.
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: 'ef646026-89fe-420b-bea9-e29ec45d9557', # String | Unique correlation Id in a GUID format
x_correlation_id: 'a615b830-d8f7-4687-afe7-c9987a509eac', # 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 @@ -633,7 +634,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
id = 'id_example' # String | ID of the form to update
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: 'ac8f162c-fbee-4c4d-b9fa-986df02c90e3', # String | Unique correlation Id in a GUID format
x_correlation_id: 'eb20e211-254b-4e5f-a1a5-7e6f596e378b', # 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_w9_form_request: AvalaraSdk::A1099::V2::W4FormRequest.new({employee_first_name: 'employee_first_name_example', employee_last_name: 'employee_last_name_example', tin_type: 'tin_type_example', tin: 'tin_example'}) # CreateW9FormRequest | Form to be updated
}
Expand Down Expand Up @@ -718,7 +719,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
id = 'id_example' # String | Id of the form
avalara_version = '2.0.0' # String | API version
opts = {
x_correlation_id: 'c332bc05-2179-4a35-bd1a-1d01a3d03e36', # String | Unique correlation Id in a GUID format
x_correlation_id: 'a757e3ef-d759-49bd-b130-28ef831f2126', # 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/) .
file: File.new('/path/to/some/file') # File |
}
Expand Down
Loading