From 922e434e83ebad47b5a1bc36aad8c2a1e18fdbd3 Mon Sep 17 00:00:00 2001 From: "svc.developer" Date: Mon, 3 Nov 2025 05:34:52 -0800 Subject: [PATCH] 25.11.0 --- Gemfile.lock | 2 +- docs/A1099/V2/CompaniesW9Api.md | 10 +++--- docs/A1099/V2/Form1099Misc.md | 2 +- docs/A1099/V2/Form1099Nec.md | 2 ++ docs/A1099/V2/Forms1099Api.md | 14 ++++----- docs/A1099/V2/FormsW9Api.md | 31 ++++++++++--------- docs/A1099/V2/Issuers1099Api.md | 12 +++---- docs/A1099/V2/JobsApi.md | 2 +- docs/A1099/V2/StateEfileStatusDetail.md | 4 ++- .../api/A1099/V2/companies_w9_api.rb | 2 +- lib/avalara_sdk/api/A1099/V2/forms1099_api.rb | 2 +- lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb | 12 +++---- .../api/A1099/V2/issuers1099_api.rb | 2 +- lib/avalara_sdk/api/A1099/V2/jobs_api.rb | 2 +- .../EInvoicing/V1/data_input_fields_api.rb | 2 +- .../api/EInvoicing/V1/documents_api.rb | 2 +- .../api/EInvoicing/V1/interop_api.rb | 2 +- .../api/EInvoicing/V1/mandates_api.rb | 2 +- .../api/EInvoicing/V1/subscriptions_api.rb | 2 +- .../api/EInvoicing/V1/tax_identifiers_api.rb | 2 +- .../api/EInvoicing/V1/trading_partners_api.rb | 2 +- .../models/A1099/V2/form1099_misc.rb | 2 +- .../models/A1099/V2/form1099_nec.rb | 13 +++++++- .../A1099/V2/state_efile_status_detail.rb | 20 +++++++++--- 24 files changed, 87 insertions(+), 61 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index ee7c6d3..85faad0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - avalara_sdk (25.10.0) + avalara_sdk (25.10.1) faraday (~> 1.0, >= 1.0.1) GEM diff --git a/docs/A1099/V2/CompaniesW9Api.md b/docs/A1099/V2/CompaniesW9Api.md index b6d6589..529b302 100644 --- a/docs/A1099/V2/CompaniesW9Api.md +++ b/docs/A1099/V2/CompaniesW9Api.md @@ -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 } @@ -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/) . } @@ -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/) . } @@ -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/) . } @@ -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 } diff --git a/docs/A1099/V2/Form1099Misc.md b/docs/A1099/V2/Form1099Misc.md index c3f7e69..3cc6317 100644 --- a/docs/A1099/V2/Form1099Misc.md +++ b/docs/A1099/V2/Form1099Misc.md @@ -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. | | diff --git a/docs/A1099/V2/Form1099Nec.md b/docs/A1099/V2/Form1099Nec.md index 11e0a82..22179e5 100644 --- a/docs/A1099/V2/Form1099Nec.md +++ b/docs/A1099/V2/Form1099Nec.md @@ -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] | @@ -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, diff --git a/docs/A1099/V2/Forms1099Api.md b/docs/A1099/V2/Forms1099Api.md index 9ed32c4..ffe5a18 100644 --- a/docs/A1099/V2/Forms1099Api.md +++ b/docs/A1099/V2/Forms1099Api.md @@ -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 | } @@ -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 | } @@ -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/) . } @@ -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/) . } @@ -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/) . } @@ -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/) . } @@ -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 | } diff --git a/docs/A1099/V2/FormsW9Api.md b/docs/A1099/V2/FormsW9Api.md index 90fc5d8..446f1fc 100644 --- a/docs/A1099/V2/FormsW9Api.md +++ b/docs/A1099/V2/FormsW9Api.md @@ -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 } @@ -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 } @@ -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/) . } @@ -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/) . } @@ -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. @@ -375,13 +375,14 @@ 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 @@ -389,9 +390,9 @@ 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. -> get_w9_form_pdf_with_http_info(id, avalara_version, opts) +> get_w9_form_pdf_with_http_info(id, avalara_version, opts) ```ruby begin @@ -399,7 +400,7 @@ begin 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 @@ -416,7 +417,7 @@ end ### Return type -nil (empty response body) +**File** ### Authorization @@ -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/) . } @@ -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/) . } @@ -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 } @@ -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 | } diff --git a/docs/A1099/V2/Issuers1099Api.md b/docs/A1099/V2/Issuers1099Api.md index 446d3c8..5ec5762 100644 --- a/docs/A1099/V2/Issuers1099Api.md +++ b/docs/A1099/V2/Issuers1099Api.md @@ -39,7 +39,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client avalara_version = '2.0.0' # String | API version opts = { - x_correlation_id: '0183bbfe-d8da-48ad-a320-b999accf40bd', # String | Unique correlation Id in a GUID format + x_correlation_id: '8783a532-9268-4e0b-a0ff-44de4f71b537', # 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/) . issuer_request: AvalaraSdk::A1099::V2::IssuerRequest.new({name: 'name_example', telephone: 'telephone_example', tax_year: 37, email: 'email_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to create } @@ -123,7 +123,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client id = 'id_example' # String | Id of the issuer to delete avalara_version = '2.0.0' # String | API version opts = { - x_correlation_id: 'c0d08fe4-5eaf-4902-aa48-db347d045ba2', # String | Unique correlation Id in a GUID format + x_correlation_id: '5d63e7f2-9ded-4877-b46c-d4a9deaf226d', # 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/) . } @@ -205,7 +205,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client id = 'id_example' # String | Id of the issuer to retrieve avalara_version = '2.0.0' # String | API version opts = { - x_correlation_id: '126ca6ac-f595-4b34-ada2-22cdd14960f5', # String | Unique correlation Id in a GUID format + x_correlation_id: 'd4b90233-dbcb-43a4-bbf7-d4c5d4e8ea6f', # 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/) . } @@ -287,13 +287,13 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client avalara_version = '2.0.0' # String | API version opts = { - filter: 'taxYear eq 2024', # String | A filter statement to identify specific records to retrieve. For more information on filtering, see Filtering in REST. + filter: 'taxYear eq 2025', # String | A filter statement to identify specific records to retrieve. For more information on filtering, see Filtering in REST. top: 56, # Integer | If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets. skip: 56, # Integer | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. 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: '51f8e5b5-bb09-4b2c-954f-f0f7b119003b', # String | Unique correlation Id in a GUID format + x_correlation_id: '67f66334-e4f2-4d38-aca7-47de8ea93dc0', # 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/) . } @@ -381,7 +381,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client id = 'id_example' # String | Id of the issuer to update avalara_version = '2.0.0' # String | API version opts = { - x_correlation_id: '508db50e-5f2e-404d-9974-509003a9dfa8', # String | Unique correlation Id in a GUID format + x_correlation_id: '88269912-43b9-460b-b285-28c036924f06', # 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/) . issuer_request: AvalaraSdk::A1099::V2::IssuerRequest.new({name: 'name_example', telephone: 'telephone_example', tax_year: 37, email: 'email_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to update } diff --git a/docs/A1099/V2/JobsApi.md b/docs/A1099/V2/JobsApi.md index b2b07e6..0b17664 100644 --- a/docs/A1099/V2/JobsApi.md +++ b/docs/A1099/V2/JobsApi.md @@ -36,7 +36,7 @@ api_instance = AvalaraSdk::A1099::V2::JobsApi.new api_client id = 'id_example' # String | Job id obtained from other API responses, like `/1099/bulk-upsert`. avalara_version = '2.0.0' # String | API version opts = { - x_correlation_id: '44d0405b-1dec-4c17-8933-d5f2e21f598d', # String | Unique correlation Id in a GUID format + x_correlation_id: '8a4b3b32-d90c-4ab4-915b-e3e2d4f3e213', # 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/) . } diff --git a/docs/A1099/V2/StateEfileStatusDetail.md b/docs/A1099/V2/StateEfileStatusDetail.md index 03933f4..eb3d40f 100644 --- a/docs/A1099/V2/StateEfileStatusDetail.md +++ b/docs/A1099/V2/StateEfileStatusDetail.md @@ -7,6 +7,7 @@ | **status** | **String** | | [optional] | | **time** | **String** | | [optional] | | **jurisdiction** | **String** | | [optional] | +| **rejected_reason** | **String** | | [optional] | ## Example @@ -16,7 +17,8 @@ require 'avalara_sdk' instance = AvalaraSdk::A1099::V2::StateEfileStatusDetail.new( status: null, time: null, - jurisdiction: null + jurisdiction: null, + rejected_reason: null ) ``` diff --git a/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb b/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb index b422ad7..2a5460d 100644 --- a/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +++ b/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb b/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb index af08419..01ffea6 100644 --- a/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +++ b/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb b/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb index 3cbf88e..76ea30d 100644 --- a/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +++ b/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end @@ -574,10 +574,10 @@ def get_w9_form_with_http_info(request_parameters) # Download the PDF for a W9/W4/W8 form. # Returns the PDF file for a W9/W4/W8 form. # @param id [String] Id of the form # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param 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/) . - # @return [nil] + # @return [File] def get_w9_form_pdf(request_parameters) - get_w9_form_pdf_with_http_info(request_parameters) - nil + data, _status_code, _headers = get_w9_form_pdf_with_http_info(request_parameters) + data end # Download the PDF for a W9/W4/W8 form. @@ -587,7 +587,7 @@ def get_w9_form_pdf(request_parameters) # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param 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/) . - # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers + # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers def get_w9_form_pdf_with_http_info(request_parameters) # OAuth2 Scopes required_scopes = '' @@ -631,7 +631,7 @@ def get_w9_form_pdf_with_http_info(request_parameters) post_body = {} # return_type - return_type = '' + return_type = 'File' # auth_names auth_names = ['bearer'] diff --git a/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb b/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb index 27b299d..81314fa 100644 --- a/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +++ b/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/A1099/V2/jobs_api.rb b/lib/avalara_sdk/api/A1099/V2/jobs_api.rb index eee0644..375bb18 100644 --- a/lib/avalara_sdk/api/A1099/V2/jobs_api.rb +++ b/lib/avalara_sdk/api/A1099/V2/jobs_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb b/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb index f3b97ad..60e34a8 100644 --- a/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +++ b/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb b/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb index 5d7411e..08d723e 100644 --- a/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +++ b/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb b/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb index a3bbe3b..3c08f10 100644 --- a/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +++ b/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb b/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb index f53cb6f..430cf20 100644 --- a/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +++ b/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb b/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb index de283a8..04b5865 100644 --- a/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +++ b/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb b/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb index a531893..c5039b2 100644 --- a/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +++ b/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb b/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb index 2eeec39..80c61d1 100644 --- a/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +++ b/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb @@ -17,7 +17,7 @@ def initialize(api_client) if (api_client.nil?) fail ArgumentError,'api_client is nil' end - api_client.set_sdk_version("25.10.1") + api_client.set_sdk_version("25.11.0") @api_client = api_client end diff --git a/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb b/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb index 7f9df6f..bace649 100644 --- a/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +++ b/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb @@ -48,7 +48,7 @@ class Form1099Misc # Section 409A deferrals attr_accessor :section409_a_deferrals - # (Legacy field) Excess golden parachute payments + # Excess golden parachute payments - Available only for tax year 2024 and earlier attr_accessor :excess_golden_parachute_payments # Nonqualified deferred compensation diff --git a/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb b/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb index 5888d5d..950526f 100644 --- a/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +++ b/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb @@ -18,6 +18,9 @@ class Form1099Nec # 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. attr_accessor :direct_sales_indicator + # Excess golden parachute payments - Available only for tax year 2025 and later + attr_accessor :excess_golden_parachute_payments + # Federal income tax withheld. attr_accessor :federal_income_tax_withheld @@ -165,6 +168,7 @@ def self.attribute_map { :'nonemployee_compensation' => :'nonemployeeCompensation', :'direct_sales_indicator' => :'directSalesIndicator', + :'excess_golden_parachute_payments' => :'excessGoldenParachutePayments', :'federal_income_tax_withheld' => :'federalIncomeTaxWithheld', :'type' => :'type', :'id' => :'id', @@ -218,6 +222,7 @@ def self.openapi_types { :'nonemployee_compensation' => :'Float', :'direct_sales_indicator' => :'Boolean', + :'excess_golden_parachute_payments' => :'Float', :'federal_income_tax_withheld' => :'Float', :'type' => :'String', :'id' => :'String', @@ -266,6 +271,7 @@ def self.openapi_nullable Set.new([ :'nonemployee_compensation', :'direct_sales_indicator', + :'excess_golden_parachute_payments', :'federal_income_tax_withheld', :'id', :'issuer_id', @@ -338,6 +344,10 @@ def initialize(attributes = {}) self.direct_sales_indicator = attributes[:'direct_sales_indicator'] end + if attributes.key?(:'excess_golden_parachute_payments') + self.excess_golden_parachute_payments = attributes[:'excess_golden_parachute_payments'] + end + if attributes.key?(:'federal_income_tax_withheld') self.federal_income_tax_withheld = attributes[:'federal_income_tax_withheld'] end @@ -564,6 +574,7 @@ def ==(o) self.class == o.class && nonemployee_compensation == o.nonemployee_compensation && direct_sales_indicator == o.direct_sales_indicator && + excess_golden_parachute_payments == o.excess_golden_parachute_payments && federal_income_tax_withheld == o.federal_income_tax_withheld && type == o.type && id == o.id && @@ -615,7 +626,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [nonemployee_compensation, direct_sales_indicator, federal_income_tax_withheld, type, id, issuer_id, issuer_reference_id, issuer_tin, tax_year, reference_id, tin, recipient_name, tin_type, recipient_second_name, address, address2, city, state, zip, email, account_number, office_code, non_us_province, country_code, federal_efile_date, postal_mail, state_efile_date, recipient_edelivery_date, tin_match, no_tin, address_verification, state_and_local_withholding, second_tin_notice, federal_efile_status, state_efile_status, postal_mail_status, tin_match_status, address_verification_status, e_delivery_status, validation_errors, created_at, updated_at].hash + [nonemployee_compensation, direct_sales_indicator, excess_golden_parachute_payments, federal_income_tax_withheld, type, id, issuer_id, issuer_reference_id, issuer_tin, tax_year, reference_id, tin, recipient_name, tin_type, recipient_second_name, address, address2, city, state, zip, email, account_number, office_code, non_us_province, country_code, federal_efile_date, postal_mail, state_efile_date, recipient_edelivery_date, tin_match, no_tin, address_verification, state_and_local_withholding, second_tin_notice, federal_efile_status, state_efile_status, postal_mail_status, tin_match_status, address_verification_status, e_delivery_status, validation_errors, created_at, updated_at].hash end # Builds the object from hash diff --git a/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb b/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb index 0134522..c1aeee8 100644 --- a/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb +++ b/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb @@ -17,12 +17,15 @@ class StateEfileStatusDetail attr_accessor :jurisdiction + attr_accessor :rejected_reason + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'status' => :'status', :'time' => :'time', - :'jurisdiction' => :'jurisdiction' + :'jurisdiction' => :'jurisdiction', + :'rejected_reason' => :'rejectedReason' } end @@ -36,7 +39,8 @@ def self.openapi_types { :'status' => :'String', :'time' => :'String', - :'jurisdiction' => :'String' + :'jurisdiction' => :'String', + :'rejected_reason' => :'String' } end @@ -45,7 +49,8 @@ def self.openapi_nullable Set.new([ :'status', :'time', - :'jurisdiction' + :'jurisdiction', + :'rejected_reason' ]) end @@ -75,6 +80,10 @@ def initialize(attributes = {}) if attributes.key?(:'jurisdiction') self.jurisdiction = attributes[:'jurisdiction'] end + + if attributes.key?(:'rejected_reason') + self.rejected_reason = attributes[:'rejected_reason'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -99,7 +108,8 @@ def ==(o) self.class == o.class && status == o.status && time == o.time && - jurisdiction == o.jurisdiction + jurisdiction == o.jurisdiction && + rejected_reason == o.rejected_reason end # @see the `==` method @@ -111,7 +121,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [status, time, jurisdiction].hash + [status, time, jurisdiction, rejected_reason].hash end # Builds the object from hash