Skip to content

Commit 25f23c2

Browse files
25.11.0 (#15)
1 parent 55f0875 commit 25f23c2

24 files changed

+87
-61
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
avalara_sdk (25.10.0)
4+
avalara_sdk (25.10.1)
55
faraday (~> 1.0, >= 1.0.1)
66

77
GEM

docs/A1099/V2/CompaniesW9Api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
3939

4040
avalara_version = '2.0.0' # String | API version
4141
opts = {
42-
x_correlation_id: 'e059925d-91f6-4c34-9bcd-2a0e997dd8fa', # String | Unique correlation Id in a GUID format
42+
x_correlation_id: 'bedc4273-bb12-48c6-88a8-c0aee6e7b954', # String | Unique correlation Id in a GUID format
4343
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/) .
4444
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
4545
}
@@ -123,7 +123,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
123123
id = 'id_example' # String | The company to delete
124124
avalara_version = '2.0.0' # String | API version
125125
opts = {
126-
x_correlation_id: 'b01f9bff-5e8c-49d6-8c9b-44892e578dc5', # String | Unique correlation Id in a GUID format
126+
x_correlation_id: '9ed3d9c2-5c65-47f5-accf-cc911576c7cb', # String | Unique correlation Id in a GUID format
127127
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/) .
128128
}
129129

@@ -210,7 +210,7 @@ opts = {
210210
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
211211
count: true, # Boolean | If true, return the global count of elements in the collection.
212212
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
213-
x_correlation_id: '9654708e-0675-4a73-a0fa-5b8016bb2175', # String | Unique correlation Id in a GUID format
213+
x_correlation_id: '50aba33f-6235-4915-aa65-80129e69c929', # String | Unique correlation Id in a GUID format
214214
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/) .
215215
}
216216

@@ -298,7 +298,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
298298
id = 'id_example' # String | Id of the company
299299
avalara_version = '2.0.0' # String | API version
300300
opts = {
301-
x_correlation_id: 'c9747d06-85d9-42ed-a7d2-1438a48a4d33', # String | Unique correlation Id in a GUID format
301+
x_correlation_id: '5cb4aaf8-d220-4a6d-bc06-4c664b4b5d51', # String | Unique correlation Id in a GUID format
302302
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/) .
303303
}
304304

@@ -381,7 +381,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
381381
id = 'id_example' # String | The ID of the company to update
382382
avalara_version = '2.0.0' # String | API version
383383
opts = {
384-
x_correlation_id: '0227fcc3-16c4-439b-a4ea-28c316d311ef', # String | Unique correlation Id in a GUID format
384+
x_correlation_id: '53bb7b71-2c2d-4faf-a86b-5bcb3642ce67', # String | Unique correlation Id in a GUID format
385385
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/) .
386386
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
387387
}

docs/A1099/V2/Form1099Misc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
| **gross_proceeds_paid_to_attorney** | **Float** | Gross proceeds paid to an attorney | [optional] |
1717
| **fish_purchased_for_resale** | **Float** | Fish purchased for resale | [optional] |
1818
| **section409_a_deferrals** | **Float** | Section 409A deferrals | [optional] |
19-
| **excess_golden_parachute_payments** | **Float** | (Legacy field) Excess golden parachute payments | [optional] |
19+
| **excess_golden_parachute_payments** | **Float** | Excess golden parachute payments - Available only for tax year 2024 and earlier | [optional] |
2020
| **nonqualified_deferred_compensation** | **Float** | Nonqualified deferred compensation | [optional] |
2121
| **fatca_filing_requirement** | **Boolean** | FATCA filing requirement. | [optional] |
2222
| **type** | **String** | Form type. | |

docs/A1099/V2/Form1099Nec.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
| ---- | ---- | ----------- | ----- |
77
| **nonemployee_compensation** | **Float** | Nonemployee compensation. Required if DirectSalesIndicator is false. | |
88
| **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] |
9+
| **excess_golden_parachute_payments** | **Float** | Excess golden parachute payments - Available only for tax year 2025 and later | [optional] |
910
| **federal_income_tax_withheld** | **Float** | Federal income tax withheld. | [optional] |
1011
| **type** | **String** | Form type. | |
1112
| **id** | **String** | Form ID. Unique identifier set when the record is created. | [optional][readonly] |
@@ -55,6 +56,7 @@ require 'avalara_sdk'
5556
instance = AvalaraSdk::A1099::V2::Form1099Nec.new(
5657
nonemployee_compensation: null,
5758
direct_sales_indicator: null,
59+
excess_golden_parachute_payments: null,
5860
federal_income_tax_withheld: null,
5961
type: null,
6062
id: null,

docs/A1099/V2/Forms1099Api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
4242
avalara_version = '2.0.0' # String | API version
4343
opts = {
4444
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
45-
x_correlation_id: '2d9b6e7b-79bb-4d14-9699-4638bb6151d9', # String | Unique correlation Id in a GUID format
45+
x_correlation_id: '65ba673f-da74-46f5-a26a-2b7da2eae19c', # String | Unique correlation Id in a GUID format
4646
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/) .
4747
form1099_list_request: AvalaraSdk::A1099::V2::Form1099ListRequest.new # Form1099ListRequest |
4848
}
@@ -126,7 +126,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
126126

127127
avalara_version = '2.0.0' # String | API version
128128
opts = {
129-
x_correlation_id: '5274903f-4f84-4aba-9dcf-408ca56e00ea', # String | Unique correlation Id in a GUID format
129+
x_correlation_id: '4e987f77-91dd-473a-9583-a7552f724f89', # String | Unique correlation Id in a GUID format
130130
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/) .
131131
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 |
132132
}
@@ -210,7 +210,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
210210
id = 'id_example' # String | The unique identifier of the desired form to delete.
211211
avalara_version = '2.0.0' # String | API version
212212
opts = {
213-
x_correlation_id: 'f59c9692-f2fb-4dbe-8cba-98633c4bfb3b', # String | Unique correlation Id in a GUID format
213+
x_correlation_id: '2e4a61ed-57e4-4eed-9668-ba57bf364a8a', # String | Unique correlation Id in a GUID format
214214
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/) .
215215
}
216216

@@ -292,7 +292,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
292292
id = 'id_example' # String |
293293
avalara_version = '2.0.0' # String | API version
294294
opts = {
295-
x_correlation_id: '73429041-37dd-428a-8fd5-94f9bfdc849d', # String | Unique correlation Id in a GUID format
295+
x_correlation_id: 'f1d240d0-9019-4e85-87c4-bfa1c90d59e1', # String | Unique correlation Id in a GUID format
296296
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/) .
297297
}
298298

@@ -376,7 +376,7 @@ id = 'id_example' # String | The ID of the form
376376
avalara_version = '2.0.0' # String | API version
377377
opts = {
378378
mark_edelivered: true, # Boolean | Optional boolean that if set indicates that the form should be marked as having been successfully edelivered
379-
x_correlation_id: '880a787b-1d92-485f-a3db-b5277d3d0ba1', # String | Unique correlation Id in a GUID format
379+
x_correlation_id: 'bc095972-c93b-457e-bc4b-407a3a94891c', # String | Unique correlation Id in a GUID format
380380
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/) .
381381
}
382382

@@ -465,7 +465,7 @@ opts = {
465465
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
466466
count: true, # Boolean | If true, return the global count of elements in the collection.
467467
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
468-
x_correlation_id: '612ac19d-6b12-4fe1-b92b-61e73b3b5d54', # String | Unique correlation Id in a GUID format
468+
x_correlation_id: '4e7e1488-0963-48c2-abd5-296f37dae5c5', # String | Unique correlation Id in a GUID format
469469
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/) .
470470
}
471471

@@ -553,7 +553,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
553553
id = 'id_example' # String |
554554
avalara_version = '2.0.0' # String | API version
555555
opts = {
556-
x_correlation_id: '5717cd04-c60c-4603-9ede-aba2bec55e19', # String | Unique correlation Id in a GUID format
556+
x_correlation_id: '7abc5695-4063-414a-aa57-7cb2b9fee1dc', # String | Unique correlation Id in a GUID format
557557
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/) .
558558
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 |
559559
}

docs/A1099/V2/FormsW9Api.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
4343

4444
avalara_version = '2.0.0' # String | API version
4545
opts = {
46-
x_correlation_id: 'fa427ec8-fbb3-4e25-8c7e-2f81d68241ec', # String | Unique correlation Id in a GUID format
46+
x_correlation_id: 'a31bfcd3-48f4-4459-86e7-2ce87c8eab6b', # String | Unique correlation Id in a GUID format
4747
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/) .
4848
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
4949
}
@@ -126,7 +126,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
126126

127127
avalara_version = '2.0.0' # String | API version
128128
opts = {
129-
x_correlation_id: '6bde16cf-bc27-448b-8abd-a3461599deff', # String | Unique correlation Id in a GUID format
129+
x_correlation_id: '4d4842c6-baeb-4f47-970e-dc9a9da6e8f4', # String | Unique correlation Id in a GUID format
130130
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/) .
131131
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
132132
}
@@ -210,7 +210,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
210210
id = 'id_example' # String | ID of the form to delete
211211
avalara_version = '2.0.0' # String | API version
212212
opts = {
213-
x_correlation_id: '4bc1a0f7-f202-4e27-ba6d-37645f4a839e', # String | Unique correlation Id in a GUID format
213+
x_correlation_id: 'fc19f8c0-4c87-4387-8ab1-aa9d962df4eb', # String | Unique correlation Id in a GUID format
214214
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/) .
215215
}
216216

@@ -292,7 +292,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
292292
id = 'id_example' # String | ID of the form
293293
avalara_version = '2.0.0' # String | API version
294294
opts = {
295-
x_correlation_id: '7dd6cb2c-d9ed-4fb7-8f97-67d35d09e59e', # String | Unique correlation Id in a GUID format
295+
x_correlation_id: 'd24ad701-0869-495f-ad6e-234ea6b363b5', # String | Unique correlation Id in a GUID format
296296
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/) .
297297
}
298298

@@ -348,7 +348,7 @@ end
348348

349349
## get_w9_form_pdf
350350

351-
> get_w9_form_pdf(id, avalara_version, opts)
351+
> File get_w9_form_pdf(id, avalara_version, opts)
352352
353353
Download the PDF for a W9/W4/W8 form.
354354

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

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

390391
#### Using the get_w9_form_pdf_with_http_info variant
391392

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

394-
> <Array(nil, Integer, Hash)> get_w9_form_pdf_with_http_info(id, avalara_version, opts)
395+
> <Array(File, Integer, Hash)> get_w9_form_pdf_with_http_info(id, avalara_version, opts)
395396
396397
```ruby
397398
begin
398399
# Download the PDF for a W9/W4/W8 form.
399400
data, status_code, headers = api_instance.get_w9_form_pdf_with_http_info(id, avalara_version, opts)
400401
p status_code # => 2xx
401402
p headers # => { ... }
402-
p data # => nil
403+
p data # => File
403404
rescue AvalaraSdk::A1099::V2::ApiError => e
404405
puts "Error when calling FormsW9Api->get_w9_form_pdf_with_http_info: #{e}"
405406
end
@@ -416,7 +417,7 @@ end
416417

417418
### Return type
418419

419-
nil (empty response body)
420+
**File**
420421

421422
### Authorization
422423

@@ -462,7 +463,7 @@ opts = {
462463
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
463464
count: true, # Boolean | If true, return the global count of elements in the collection.
464465
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
465-
x_correlation_id: 'c1b56927-f8e5-4243-8fd5-b5d13f7c0c29', # String | Unique correlation Id in a GUID format
466+
x_correlation_id: '9bfb0cee-b6e0-4c22-a8a2-4be68535c83e', # String | Unique correlation Id in a GUID format
466467
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/) .
467468
}
468469

@@ -550,7 +551,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
550551
id = 'id_example' # String | The ID of the W9/W4/W8 form.
551552
avalara_version = '2.0.0' # String | API version
552553
opts = {
553-
x_correlation_id: 'ef646026-89fe-420b-bea9-e29ec45d9557', # String | Unique correlation Id in a GUID format
554+
x_correlation_id: 'a615b830-d8f7-4687-afe7-c9987a509eac', # String | Unique correlation Id in a GUID format
554555
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/) .
555556
}
556557

@@ -633,7 +634,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
633634
id = 'id_example' # String | ID of the form to update
634635
avalara_version = '2.0.0' # String | API version
635636
opts = {
636-
x_correlation_id: 'ac8f162c-fbee-4c4d-b9fa-986df02c90e3', # String | Unique correlation Id in a GUID format
637+
x_correlation_id: 'eb20e211-254b-4e5f-a1a5-7e6f596e378b', # String | Unique correlation Id in a GUID format
637638
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/) .
638639
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
639640
}
@@ -718,7 +719,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
718719
id = 'id_example' # String | Id of the form
719720
avalara_version = '2.0.0' # String | API version
720721
opts = {
721-
x_correlation_id: 'c332bc05-2179-4a35-bd1a-1d01a3d03e36', # String | Unique correlation Id in a GUID format
722+
x_correlation_id: 'a757e3ef-d759-49bd-b130-28ef831f2126', # String | Unique correlation Id in a GUID format
722723
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/) .
723724
file: File.new('/path/to/some/file') # File |
724725
}

0 commit comments

Comments
 (0)