diff --git a/Gemfile.lock b/Gemfile.lock index 25cacf1..3d1f392 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - avalara_sdk (25.11.0) + avalara_sdk (25.11.1) faraday (~> 1.0, >= 1.0.1) GEM diff --git a/docs/A1099/V2/CompaniesW9Api.md b/docs/A1099/V2/CompaniesW9Api.md index 5646da5..6db6590 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: '7c95bc18-e364-4e63-aab4-9260cdc4c00a', # String | Unique correlation Id in a GUID format + x_correlation_id: '045715ac-dfd3-4f63-ba82-2276c5cb9c7b', # 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: 'f5ef0c70-61e2-4454-b9ef-8bfde6bc6bb8', # String | Unique correlation Id in a GUID format + x_correlation_id: 'bdfb4c9b-5dd4-45c3-8dad-630ba1d31df1', # 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: 'aa61595a-1a76-4245-ba16-fd1d202d84a9', # String | Unique correlation Id in a GUID format + x_correlation_id: 'd8c76c7d-ddae-47da-bfde-e696155b0689', # 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: 'e2bddbfd-bef8-4dbd-a0b8-db8773b8848e', # String | Unique correlation Id in a GUID format + x_correlation_id: 'e0312268-c9e8-4db6-95bd-99d216095728', # 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: '8579d504-d27d-495e-8c27-a2ab95610b10', # String | Unique correlation Id in a GUID format + x_correlation_id: '715aa1d1-d1b9-4d18-adb3-fffb9e26c197', # 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/Forms1099Api.md b/docs/A1099/V2/Forms1099Api.md index 2ce60d2..f1be46e 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: '0a003f2f-5501-4250-ab7b-8d19badbfc37', # String | Unique correlation Id in a GUID format + x_correlation_id: '6e64cd85-8016-4753-83f5-e78c041e8ab1', # 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: '57792295-a7b1-4533-b84b-80801d8a3029', # String | Unique correlation Id in a GUID format + x_correlation_id: '05146ed0-5ef3-4d21-a139-bceaf30183da', # 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: '1042-S', 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: '09b8e2c9-03af-4e93-a089-3815a9772bff', # String | Unique correlation Id in a GUID format + x_correlation_id: 'dfa0ca1e-71ad-4ea3-b2a0-e33a88ae9418', # 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: '82187008-2768-4604-ab7e-c85895698b44', # String | Unique correlation Id in a GUID format + x_correlation_id: '7cee7d23-fb69-4dd0-bbb5-e2afaf72a72e', # 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: 'b394da48-4847-404d-9b08-ba462c76558a', # String | Unique correlation Id in a GUID format + x_correlation_id: '751b64d2-bcd9-46d8-a671-cb88f65b2eb7', # 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: 'e0a2a426-d793-43ac-b268-ffc5de391e38', # String | Unique correlation Id in a GUID format + x_correlation_id: 'a5957b23-68b0-4987-b6d8-6f2246d72c27', # 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: '4ce0c187-5acb-4d13-98dd-5027249b2bae', # String | Unique correlation Id in a GUID format + x_correlation_id: 'f907e539-ce8b-4d8d-846e-793f9d00ba77', # 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: '1042-S', 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 ea536b5..b829b4e 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: 'c38d2382-701f-45cd-a8f6-1266dffa2568', # String | Unique correlation Id in a GUID format + x_correlation_id: 'f288b7a0-8ae8-4fa4-a0e1-b294d597b7a3', # 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: 'b9de84ae-a81f-4bea-8e20-636f527a793a', # String | Unique correlation Id in a GUID format + x_correlation_id: '0508a682-ec3b-4686-9f1c-800b1c16cb02', # 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: '7c3b1d91-24b2-4837-81f3-53dfee39af27', # String | Unique correlation Id in a GUID format + x_correlation_id: 'b6cde878-ee95-404d-864e-46cd2d3e3e85', # 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: '762f55d1-2a73-4d5b-bf72-8cfe3eeb88a2', # String | Unique correlation Id in a GUID format + x_correlation_id: '6923a86c-3ac5-4826-8b32-b6f5c04bd49b', # 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/) . } @@ -375,7 +375,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: '89d3ec3b-0f67-45c9-a2ca-4962052f518c', # String | Unique correlation Id in a GUID format + x_correlation_id: 'f14992b5-c401-4059-a78e-5e4f4f389334', # 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/) . } @@ -463,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: 'ce3e18ce-6c27-4e4d-8d1f-86e3c4edb2f8', # String | Unique correlation Id in a GUID format + x_correlation_id: '99af27b9-a391-417e-a443-69f93286eb92', # 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/) . } @@ -551,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: '0984d2ea-40e7-4c14-8df6-4fb38d7b58bf', # String | Unique correlation Id in a GUID format + x_correlation_id: 'af3f06c2-8e69-4ce1-b283-a387ea3e7763', # 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/) . } @@ -634,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: 'a9ecdca0-c53b-475a-b5b2-2bab07d1a4ae', # String | Unique correlation Id in a GUID format + x_correlation_id: '605a2261-2ae9-46f7-b597-d2e88867e827', # 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 } @@ -719,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: 'e92920ea-0dfb-498f-a01c-b883102a2868', # String | Unique correlation Id in a GUID format + x_correlation_id: '57662456-54a0-47c9-a5c5-4fe315a77ae7', # 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/IssuerBase.md b/docs/A1099/V2/IssuerBase.md index 921a6c4..f4816bb 100644 --- a/docs/A1099/V2/IssuerBase.md +++ b/docs/A1099/V2/IssuerBase.md @@ -9,9 +9,9 @@ | **tin** | **String** | Federal Tax Identification Number (TIN). | [optional] | | **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. If present, it will prefix download filenames. Allowed characters: letters, numbers, dashes, underscores, and spaces. | [optional] | | **telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. | | -| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. | | -| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | [optional] | -| **email** | **String** | Contact email address. For recipient inquiries. | | +| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. It's only required on creation, and cannot be modified on update. | | +| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | | +| **email** | **String** | Contact email address. For recipient inquiries. Phone will be used on communications if you don't specify an email | [optional] | | **address** | **String** | Address. | | | **city** | **String** | City. | | | **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | | diff --git a/docs/A1099/V2/IssuerRequest.md b/docs/A1099/V2/IssuerRequest.md index f688480..057f52d 100644 --- a/docs/A1099/V2/IssuerRequest.md +++ b/docs/A1099/V2/IssuerRequest.md @@ -9,9 +9,9 @@ | **tin** | **String** | Federal Tax Identification Number (TIN). | [optional] | | **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. If present, it will prefix download filenames. Allowed characters: letters, numbers, dashes, underscores, and spaces. | [optional] | | **telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. | | -| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. | | -| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | [optional] | -| **email** | **String** | Contact email address. For recipient inquiries. | | +| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. It's only required on creation, and cannot be modified on update. | | +| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | | +| **email** | **String** | Contact email address. For recipient inquiries. Phone will be used on communications if you don't specify an email | [optional] | | **address** | **String** | Address. | | | **city** | **String** | City. | | | **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | | diff --git a/docs/A1099/V2/IssuerResponse.md b/docs/A1099/V2/IssuerResponse.md index 301a6db..70ad466 100644 --- a/docs/A1099/V2/IssuerResponse.md +++ b/docs/A1099/V2/IssuerResponse.md @@ -12,9 +12,9 @@ | **tin** | **String** | Federal Tax Identification Number (TIN). | [optional] | | **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. If present, it will prefix download filenames. Allowed characters: letters, numbers, dashes, underscores, and spaces. | [optional] | | **telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. | | -| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. | | -| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | [optional] | -| **email** | **String** | Contact email address. For recipient inquiries. | | +| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. It's only required on creation, and cannot be modified on update. | | +| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | | +| **email** | **String** | Contact email address. For recipient inquiries. Phone will be used on communications if you don't specify an email | [optional] | | **address** | **String** | Address. | | | **city** | **String** | City. | | | **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | | diff --git a/docs/A1099/V2/Issuers1099Api.md b/docs/A1099/V2/Issuers1099Api.md index 09fd3cb..8d3a0a8 100644 --- a/docs/A1099/V2/Issuers1099Api.md +++ b/docs/A1099/V2/Issuers1099Api.md @@ -39,9 +39,9 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client avalara_version = '2.0.0' # String | API version opts = { - x_correlation_id: '0728787f-f85c-4e15-ba07-25253a945623', # String | Unique correlation Id in a GUID format + x_correlation_id: '1b668e82-569a-4e33-9b59-496c627c5239', # 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 + issuer_request: AvalaraSdk::A1099::V2::IssuerRequest.new({name: 'name_example', telephone: 'telephone_example', tax_year: 37, country_code: 'country_code_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to create } begin @@ -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: '8c2fac3b-c278-4322-a578-64155b016fa4', # String | Unique correlation Id in a GUID format + x_correlation_id: 'af861a36-f0a6-4e6c-aa8b-c4ca6b715a26', # 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: 'e2dfb3b2-e280-4c1e-aedb-4beef717f272', # String | Unique correlation Id in a GUID format + x_correlation_id: 'd72af416-f173-416a-9eb6-fa3cb5ea2028', # 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/) . } @@ -293,7 +293,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: '9b820982-4b99-47ce-a52a-9d9fb13ca71c', # String | Unique correlation Id in a GUID format + x_correlation_id: '954f179a-8653-47ca-a40f-d7ee9ff36a61', # 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,9 +381,9 @@ 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: 'e4f25699-cd85-43eb-929a-f4ce7a5c91b5', # String | Unique correlation Id in a GUID format + x_correlation_id: '59fe2706-9acd-4fc3-8cd9-a575e82916d6', # 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 + issuer_request: AvalaraSdk::A1099::V2::IssuerRequest.new({name: 'name_example', telephone: 'telephone_example', tax_year: 37, country_code: 'country_code_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to update } begin diff --git a/docs/A1099/V2/JobsApi.md b/docs/A1099/V2/JobsApi.md index 17dca61..5001262 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: '120bb5f5-b0ca-4c10-8790-142f997e8336', # String | Unique correlation Id in a GUID format + x_correlation_id: '404add46-17ce-4740-8684-de29503d6500', # 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/StateAndLocalWithholding.md b/docs/A1099/V2/StateAndLocalWithholding.md index d0abd14..342b2de 100644 --- a/docs/A1099/V2/StateAndLocalWithholding.md +++ b/docs/A1099/V2/StateAndLocalWithholding.md @@ -6,11 +6,11 @@ | ---- | ---- | ----------- | ----- | | **state_tax_withheld** | **Float** | Amount of state tax that was withheld | [optional] | | **state** | **String** | US state | [optional] | -| **state_id_number** | **String** | State ID number of the entity issuing the form | [optional] | +| **state_id** | **String** | State ID of the entity issuing the form | [optional] | | **state_income** | **Float** | Amount of state income | [optional] | | **local_tax_withheld** | **Float** | Amount of local tax that was withheld | [optional] | | **locality** | **String** | Locality name | [optional] | -| **locality_id_number** | **String** | Locality ID number of the entity issuing the form | [optional] | +| **locality_id** | **String** | Locality ID of the entity issuing the form | [optional] | | **local_income** | **Float** | Amount of local income | [optional] | ## Example @@ -21,11 +21,11 @@ require 'avalara_sdk' instance = AvalaraSdk::A1099::V2::StateAndLocalWithholding.new( state_tax_withheld: null, state: null, - state_id_number: null, + state_id: null, state_income: null, local_tax_withheld: null, locality: null, - locality_id_number: null, + locality_id: null, local_income: null ) ``` diff --git a/docs/A1099/V2/ValidationError.md b/docs/A1099/V2/ValidationError.md index 53ee9be..9a2eac9 100644 --- a/docs/A1099/V2/ValidationError.md +++ b/docs/A1099/V2/ValidationError.md @@ -6,6 +6,7 @@ | ---- | ---- | ----------- | ----- | | **field** | **String** | The field containing the error | [optional] | | **errors** | **Array<String>** | The list of error messages | [optional] | +| **error_codes** | **Array<String>** | The list of error codes (only present when api_error_codes flag is enabled) | [optional] | ## Example @@ -14,7 +15,8 @@ require 'avalara_sdk' instance = AvalaraSdk::A1099::V2::ValidationError.new( field: null, - errors: null + errors: null, + error_codes: 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 8d6778b..4f35df8 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.11.1") + api_client.set_sdk_version("25.11.2") @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 8d52e7e..80b2b44 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.11.1") + api_client.set_sdk_version("25.11.2") @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 db29b8d..e49ae85 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.11.1") + api_client.set_sdk_version("25.11.2") @api_client = api_client end diff --git a/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb b/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb index dbd1ca0..4c87860 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.11.1") + api_client.set_sdk_version("25.11.2") @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 6fcd0bb..0e1a665 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.11.1") + api_client.set_sdk_version("25.11.2") @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 cd89502..f868748 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.11.1") + api_client.set_sdk_version("25.11.2") @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 e001ad3..396b381 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.11.1") + api_client.set_sdk_version("25.11.2") @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 193285d..198fdd9 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.11.1") + api_client.set_sdk_version("25.11.2") @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 99d92b3..74e9682 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.11.1") + api_client.set_sdk_version("25.11.2") @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 f3e00cb..eaa5c73 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.11.1") + api_client.set_sdk_version("25.11.2") @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 07003a9..9a2720c 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.11.1") + api_client.set_sdk_version("25.11.2") @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 c554bda..5eb90fb 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.11.1") + api_client.set_sdk_version("25.11.2") @api_client = api_client end diff --git a/lib/avalara_sdk/models/A1099/V2/issuer_base.rb b/lib/avalara_sdk/models/A1099/V2/issuer_base.rb index f5ca843..8a53f6d 100644 --- a/lib/avalara_sdk/models/A1099/V2/issuer_base.rb +++ b/lib/avalara_sdk/models/A1099/V2/issuer_base.rb @@ -26,13 +26,13 @@ class IssuerBase # Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. attr_accessor :telephone - # Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. + # Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. It's only required on creation, and cannot be modified on update. attr_accessor :tax_year # Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. attr_accessor :country_code - # Contact email address. For recipient inquiries. + # Contact email address. For recipient inquiries. Phone will be used on communications if you don't specify an email attr_accessor :email # Address. @@ -171,12 +171,12 @@ def initialize(attributes = {}) if attributes.key?(:'country_code') self.country_code = attributes[:'country_code'] + else + self.country_code = nil end if attributes.key?(:'email') self.email = attributes[:'email'] - else - self.email = nil end if attributes.key?(:'address') diff --git a/lib/avalara_sdk/models/A1099/V2/issuer_request.rb b/lib/avalara_sdk/models/A1099/V2/issuer_request.rb index 8e9380b..470a0ef 100644 --- a/lib/avalara_sdk/models/A1099/V2/issuer_request.rb +++ b/lib/avalara_sdk/models/A1099/V2/issuer_request.rb @@ -26,13 +26,13 @@ class IssuerRequest # Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. attr_accessor :telephone - # Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. + # Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. It's only required on creation, and cannot be modified on update. attr_accessor :tax_year # Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. attr_accessor :country_code - # Contact email address. For recipient inquiries. + # Contact email address. For recipient inquiries. Phone will be used on communications if you don't specify an email attr_accessor :email # Address. @@ -178,12 +178,12 @@ def initialize(attributes = {}) if attributes.key?(:'country_code') self.country_code = attributes[:'country_code'] + else + self.country_code = nil end if attributes.key?(:'email') self.email = attributes[:'email'] - else - self.email = nil end if attributes.key?(:'address') diff --git a/lib/avalara_sdk/models/A1099/V2/issuer_response.rb b/lib/avalara_sdk/models/A1099/V2/issuer_response.rb index 85b4409..f795d33 100644 --- a/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +++ b/lib/avalara_sdk/models/A1099/V2/issuer_response.rb @@ -35,13 +35,13 @@ class IssuerResponse # Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. attr_accessor :telephone - # Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. + # Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. It's only required on creation, and cannot be modified on update. attr_accessor :tax_year # Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. attr_accessor :country_code - # Contact email address. For recipient inquiries. + # Contact email address. For recipient inquiries. Phone will be used on communications if you don't specify an email attr_accessor :email # Address. @@ -205,12 +205,12 @@ def initialize(attributes = {}) if attributes.key?(:'country_code') self.country_code = attributes[:'country_code'] + else + self.country_code = nil end if attributes.key?(:'email') self.email = attributes[:'email'] - else - self.email = nil end if attributes.key?(:'address') diff --git a/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb b/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb index cf430f6..4041cbe 100644 --- a/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +++ b/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb @@ -17,8 +17,8 @@ class StateAndLocalWithholding # US state attr_accessor :state - # State ID number of the entity issuing the form - attr_accessor :state_id_number + # State ID of the entity issuing the form + attr_accessor :state_id # Amount of state income attr_accessor :state_income @@ -29,8 +29,8 @@ class StateAndLocalWithholding # Locality name attr_accessor :locality - # Locality ID number of the entity issuing the form - attr_accessor :locality_id_number + # Locality ID of the entity issuing the form + attr_accessor :locality_id # Amount of local income attr_accessor :local_income @@ -40,11 +40,11 @@ def self.attribute_map { :'state_tax_withheld' => :'stateTaxWithheld', :'state' => :'state', - :'state_id_number' => :'stateIdNumber', + :'state_id' => :'stateId', :'state_income' => :'stateIncome', :'local_tax_withheld' => :'localTaxWithheld', :'locality' => :'locality', - :'locality_id_number' => :'localityIdNumber', + :'locality_id' => :'localityId', :'local_income' => :'localIncome' } end @@ -59,11 +59,11 @@ def self.openapi_types { :'state_tax_withheld' => :'Float', :'state' => :'String', - :'state_id_number' => :'String', + :'state_id' => :'String', :'state_income' => :'Float', :'local_tax_withheld' => :'Float', :'locality' => :'String', - :'locality_id_number' => :'String', + :'locality_id' => :'String', :'local_income' => :'Float' } end @@ -73,11 +73,11 @@ def self.openapi_nullable Set.new([ :'state_tax_withheld', :'state', - :'state_id_number', + :'state_id', :'state_income', :'local_tax_withheld', :'locality', - :'locality_id_number', + :'locality_id', :'local_income' ]) end @@ -105,8 +105,8 @@ def initialize(attributes = {}) self.state = attributes[:'state'] end - if attributes.key?(:'state_id_number') - self.state_id_number = attributes[:'state_id_number'] + if attributes.key?(:'state_id') + self.state_id = attributes[:'state_id'] end if attributes.key?(:'state_income') @@ -121,8 +121,8 @@ def initialize(attributes = {}) self.locality = attributes[:'locality'] end - if attributes.key?(:'locality_id_number') - self.locality_id_number = attributes[:'locality_id_number'] + if attributes.key?(:'locality_id') + self.locality_id = attributes[:'locality_id'] end if attributes.key?(:'local_income') @@ -152,11 +152,11 @@ def ==(o) self.class == o.class && state_tax_withheld == o.state_tax_withheld && state == o.state && - state_id_number == o.state_id_number && + state_id == o.state_id && state_income == o.state_income && local_tax_withheld == o.local_tax_withheld && locality == o.locality && - locality_id_number == o.locality_id_number && + locality_id == o.locality_id && local_income == o.local_income end @@ -169,7 +169,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [state_tax_withheld, state, state_id_number, state_income, local_tax_withheld, locality, locality_id_number, local_income].hash + [state_tax_withheld, state, state_id, state_income, local_tax_withheld, locality, locality_id, local_income].hash end # Builds the object from hash diff --git a/lib/avalara_sdk/models/A1099/V2/validation_error.rb b/lib/avalara_sdk/models/A1099/V2/validation_error.rb index d2012f4..2af6765 100644 --- a/lib/avalara_sdk/models/A1099/V2/validation_error.rb +++ b/lib/avalara_sdk/models/A1099/V2/validation_error.rb @@ -17,11 +17,15 @@ class ValidationError # The list of error messages attr_accessor :errors + # The list of error codes (only present when api_error_codes flag is enabled) + attr_accessor :error_codes + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'field' => :'field', - :'errors' => :'errors' + :'errors' => :'errors', + :'error_codes' => :'errorCodes' } end @@ -34,7 +38,8 @@ def self.acceptable_attributes def self.openapi_types { :'field' => :'String', - :'errors' => :'Array' + :'errors' => :'Array', + :'error_codes' => :'Array' } end @@ -42,7 +47,8 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'field', - :'errors' + :'errors', + :'error_codes' ]) end @@ -70,6 +76,12 @@ def initialize(attributes = {}) self.errors = value end end + + if attributes.key?(:'error_codes') + if (value = attributes[:'error_codes']).is_a?(Array) + self.error_codes = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -93,7 +105,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && field == o.field && - errors == o.errors + errors == o.errors && + error_codes == o.error_codes end # @see the `==` method @@ -105,7 +118,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [field, errors].hash + [field, errors, error_codes].hash end # Builds the object from hash