avalara_sdk 25.8.3 → 25.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +4 -14
  4. data/docs/A1099/V2/CompaniesW9Api.md +9 -9
  5. data/docs/A1099/V2/CompanyBase.md +50 -0
  6. data/docs/A1099/V2/CompanyRequest.md +50 -0
  7. data/docs/A1099/V2/ErrorResponse.md +2 -2
  8. data/docs/A1099/V2/ErrorResponseItem.md +2 -2
  9. data/docs/A1099/V2/Form1042S.md +16 -16
  10. data/docs/A1099/V2/Form1095B.md +15 -15
  11. data/docs/A1099/V2/Form1095C.md +14 -14
  12. data/docs/A1099/V2/Form1099Base.md +14 -14
  13. data/docs/A1099/V2/Form1099Div.md +15 -15
  14. data/docs/A1099/V2/Form1099Int.md +16 -16
  15. data/docs/A1099/V2/Form1099K.md +20 -20
  16. data/docs/A1099/V2/Form1099ListRequest.md +1 -1
  17. data/docs/A1099/V2/Form1099Misc.md +15 -15
  18. data/docs/A1099/V2/Form1099Nec.md +17 -17
  19. data/docs/A1099/V2/Form1099R.md +17 -17
  20. data/docs/A1099/V2/Forms1099Api.md +12 -12
  21. data/docs/A1099/V2/FormsW9Api.md +17 -17
  22. data/docs/A1099/V2/IntermediaryOrFlowThrough.md +2 -2
  23. data/docs/A1099/V2/IssuerBase.md +46 -0
  24. data/docs/A1099/V2/IssuerRequest.md +46 -0
  25. data/docs/A1099/V2/Issuers1099Api.md +9 -9
  26. data/docs/A1099/V2/JobResponse.md +1 -1
  27. data/docs/A1099/V2/JobsApi.md +1 -1
  28. data/docs/A1099/V2/TinMatchStatusResponse.md +1 -1
  29. data/docs/A1099/V2/W4FormMinimalRequest.md +2 -2
  30. data/docs/A1099/V2/W4FormRequest.md +11 -11
  31. data/docs/A1099/V2/W4FormResponse.md +48 -20
  32. data/docs/A1099/V2/W8BenEFormMinimalRequest.md +2 -2
  33. data/docs/A1099/V2/W8BenEFormRequest.md +10 -10
  34. data/docs/A1099/V2/W8BenEFormResponse.md +96 -68
  35. data/docs/A1099/V2/W8BenFormMinimalRequest.md +2 -2
  36. data/docs/A1099/V2/W8BenFormRequest.md +6 -6
  37. data/docs/A1099/V2/W8BenFormResponse.md +55 -27
  38. data/docs/A1099/V2/W8ImyFormMinimalRequest.md +2 -2
  39. data/docs/A1099/V2/W8ImyFormRequest.md +10 -10
  40. data/docs/A1099/V2/W8ImyFormResponse.md +118 -90
  41. data/docs/A1099/V2/W9FormBaseMinimalRequest.md +2 -2
  42. data/docs/A1099/V2/W9FormBaseRequest.md +2 -2
  43. data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
  44. data/docs/A1099/V2/W9FormMinimalRequest.md +2 -2
  45. data/docs/A1099/V2/W9FormRequest.md +12 -12
  46. data/docs/A1099/V2/W9FormResponse.md +44 -16
  47. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +21 -21
  48. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +7 -7
  49. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +16 -16
  50. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +21 -21
  51. data/lib/avalara_sdk/api/A1099/V2/jobs_api.rb +1 -1
  52. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
  53. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
  54. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
  55. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
  56. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
  57. data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
  58. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
  59. data/lib/avalara_sdk/api_client.rb +10 -2
  60. data/lib/avalara_sdk/models/A1099/V2/company_base.rb +404 -0
  61. data/lib/avalara_sdk/models/A1099/V2/company_request.rb +411 -0
  62. data/lib/avalara_sdk/models/A1099/V2/company_response.rb +1 -1
  63. data/lib/avalara_sdk/models/A1099/V2/error_response.rb +2 -6
  64. data/lib/avalara_sdk/models/A1099/V2/error_response_item.rb +2 -0
  65. data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +20 -30
  66. data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +19 -40
  67. data/lib/avalara_sdk/models/A1099/V2/form1095_c.rb +18 -49
  68. data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +18 -29
  69. data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +20 -31
  70. data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +22 -32
  71. data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +35 -38
  72. data/lib/avalara_sdk/models/A1099/V2/form1099_list_request.rb +2 -12
  73. data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +20 -31
  74. data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +23 -33
  75. data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +48 -33
  76. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +48 -2
  77. data/lib/avalara_sdk/models/A1099/V2/issuer_base.rb +384 -0
  78. data/lib/avalara_sdk/models/A1099/V2/issuer_request.rb +391 -0
  79. data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +1 -1
  80. data/lib/avalara_sdk/models/A1099/V2/job_response.rb +0 -6
  81. data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +0 -6
  82. data/lib/avalara_sdk/models/A1099/V2/w4_form_minimal_request.rb +1 -27
  83. data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +50 -24
  84. data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +191 -15
  85. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_minimal_request.rb +1 -27
  86. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +37 -28
  87. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +190 -14
  88. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_minimal_request.rb +1 -27
  89. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +20 -23
  90. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +191 -15
  91. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_minimal_request.rb +1 -27
  92. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +72 -22
  93. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +191 -15
  94. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_minimal_request.rb +1 -27
  95. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +1 -27
  96. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +47 -18
  97. data/lib/avalara_sdk/models/A1099/V2/w9_form_minimal_request.rb +1 -27
  98. data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +61 -22
  99. data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +190 -14
  100. data/lib/avalara_sdk/version.rb +1 -1
  101. data/lib/avalara_sdk.rb +8 -4
  102. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
  103. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
  104. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
  105. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
  106. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
  107. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
  108. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
  109. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
  110. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
  111. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  112. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
  113. metadata +10 -2
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The form type (always \"W8Imy\" for this model). | [optional][readonly] |
7
8
  | **name** | **String** | The name of the individual or entity associated with the form. | [optional] |
8
9
  | **citizenship_country** | **String** | The country of citizenship. | [optional] |
9
10
  | **disregarded_entity** | **String** | The name of the disregarded entity receiving the payment (if applicable). | [optional] |
@@ -20,7 +21,7 @@
20
21
  | **mailing_state** | **String** | The state of the mailing address. | [optional] |
21
22
  | **mailing_zip** | **String** | The ZIP code of the mailing address. | [optional] |
22
23
  | **mailing_country** | **String** | The country of the mailing address. | [optional] |
23
- | **tin_type** | **String** | The type of TIN provided. | [optional] |
24
+ | **tin_type** | **String** | Tax Identification Number (TIN) type. | [optional] |
24
25
  | **tin** | **String** | The taxpayer identification number (TIN). | [optional] |
25
26
  | **giin** | **String** | The global intermediary identification number (GIIN). | [optional] |
26
27
  | **foreign_tin** | **String** | The foreign taxpayer identification number (TIN). | [optional] |
@@ -115,6 +116,19 @@
115
116
  | **sponsored_direct_reporting_nffe_certification** | **Boolean** | Certifies that the entity is a sponsored direct reporting NFFE. | [optional] |
116
117
  | **direct_reporting_nffe_sponsoring_entity** | **String** | The name of the entity that sponsors the direct reporting NFFE. | [optional] |
117
118
  | **signer_name** | **String** | The name of the signer. | [optional] |
119
+ | **id** | **String** | The unique identifier for the form. | [optional] |
120
+ | **entry_status** | [**EntryStatusResponse**](EntryStatusResponse.md) | The entry status information for the form. | [optional] |
121
+ | **reference_id** | **String** | A reference identifier for the form. | [optional] |
122
+ | **company_id** | **String** | The ID of the associated company. | [optional] |
123
+ | **display_name** | **String** | The display name associated with the form. | [optional] |
124
+ | **email** | **String** | The email address of the individual associated with the form. | [optional] |
125
+ | **archived** | **Boolean** | Indicates whether the form is archived. | [optional] |
126
+ | **ancestor_id** | **String** | Form ID of previous version. | [optional] |
127
+ | **signature** | **String** | The signature of the form. | [optional] |
128
+ | **signed_date** | **Time** | The date the form was signed. | [optional] |
129
+ | **e_delivery_consented_at** | **Time** | The date when e-delivery was consented. | [optional] |
130
+ | **created_at** | **Time** | The creation date of the form. | [optional] |
131
+ | **updated_at** | **Time** | The last updated date of the form. | [optional] |
118
132
 
119
133
  ## Example
120
134
 
@@ -122,27 +136,28 @@
122
136
  require 'avalara_sdk'
123
137
 
124
138
  instance = AvalaraSdk::A1099::V2::W8ImyFormResponse.new(
125
- name: Global Financials LLC,
126
- citizenship_country: USA,
139
+ type: null,
140
+ name: null,
141
+ citizenship_country: null,
127
142
  disregarded_entity: null,
128
- entity_type: Partnership,
129
- fatca_status: Compliant,
130
- residence_address: 321 Wealth Ave,
131
- residence_city: Finance City,
132
- residence_state: TX,
133
- residence_zip: 75001,
134
- residence_country: USA,
135
- residence_is_mailing: false,
136
- mailing_address: P.O. Box 789,
137
- mailing_city: Finance City,
138
- mailing_state: TX,
139
- mailing_zip: 75002,
140
- mailing_country: USA,
141
- tin_type: EIN,
142
- tin: 123-45-6789,
143
- giin: GIIN12345678,
143
+ entity_type: null,
144
+ fatca_status: null,
145
+ residence_address: null,
146
+ residence_city: null,
147
+ residence_state: null,
148
+ residence_zip: null,
149
+ residence_country: null,
150
+ residence_is_mailing: null,
151
+ mailing_address: null,
152
+ mailing_city: null,
153
+ mailing_state: null,
154
+ mailing_zip: null,
155
+ mailing_country: null,
156
+ tin_type: null,
157
+ tin: null,
158
+ giin: null,
144
159
  foreign_tin: null,
145
- reference_number: W8IMY56789,
160
+ reference_number: null,
146
161
  disregarded_entity_fatca_status: null,
147
162
  disregarded_address: null,
148
163
  disregarded_city: null,
@@ -150,89 +165,102 @@ instance = AvalaraSdk::A1099::V2::W8ImyFormResponse.new(
150
165
  disregarded_zip: null,
151
166
  disregarded_country: null,
152
167
  disregarded_entity_giin: null,
153
- qualified_intermediary_certification: false,
154
- qi_primary_withholding_responsibility_certification: false,
155
- qi_withholding_responsibility_for_ptp_sales_certification: false,
156
- qi_nominee_withholding_responsibility_for_ptp_distributions_certification: false,
157
- qi_securities_lender_substitute_dividend_withholding_certification: false,
158
- qi_withholding_and1099_reporting_responsibility_certification: false,
159
- qi_form1099_or_fatca_reporting_responsibility_certification: false,
160
- qi_opt_out_of_form1099_reporting_certification: false,
161
- qi_withholding_rate_pool_certification: false,
162
- qi_intermediary_or_flow_through_entity_documentation_certification: false,
163
- qualified_derivatives_dealer_certification: false,
164
- qdd_corporation: false,
165
- qdd_partnership: false,
166
- qdd_disregarded_entity: false,
167
- nonqualified_intermediary_certification: false,
168
- nqi_withholding_statement_transmission_certification: false,
169
- nqi_withholding_rate_pool_compliance_certification: false,
170
- nqi_qualified_securities_lender_certification: false,
171
- nqi_alternative_withholding_statement_verification_certification: false,
172
- territory_financial_institution_certification: false,
173
- tfi_treated_as_us_person_certification: false,
174
- tfi_withholding_statement_transmission_certification: false,
175
- tfi_treated_as_us_person_for_ptp_sales_certification: false,
176
- tfi_nominee_us_person_for_ptp_distributions_certification: false,
177
- tfi_not_nominee_for_ptp_distributions_certification: false,
178
- us_branch_non_effectively_connected_income_certification: false,
179
- us_branch_agreement_to_be_treated_as_us_person_certification: false,
180
- us_branch_withholding_statement_and_compliance_certification: false,
181
- us_branch_acting_as_us_person_for_ptp_sales_certification: false,
182
- us_branch_nominee_for_ptp_distributions_certification: false,
183
- us_branch_not_nominee_for_ptp_distributions_certification: false,
184
- withholding_foreign_partnership_or_trust_certification: false,
185
- nonwithholding_foreign_entity_withholding_statement_certification: false,
186
- foreign_entity_partner_in_lower_tier_partnership_certification: false,
187
- foreign_partnership_amount_realized_section1446_f_certification: false,
188
- foreign_partnership_modified_amount_realized_certification: false,
189
- foreign_grantor_trust_amount_realized_allocation_certification: false,
190
- alternative_withholding_statement_reliance_certification: false,
191
- np_ffi_with_exempt_beneficial_owners_certification: false,
168
+ qualified_intermediary_certification: null,
169
+ qi_primary_withholding_responsibility_certification: null,
170
+ qi_withholding_responsibility_for_ptp_sales_certification: null,
171
+ qi_nominee_withholding_responsibility_for_ptp_distributions_certification: null,
172
+ qi_securities_lender_substitute_dividend_withholding_certification: null,
173
+ qi_withholding_and1099_reporting_responsibility_certification: null,
174
+ qi_form1099_or_fatca_reporting_responsibility_certification: null,
175
+ qi_opt_out_of_form1099_reporting_certification: null,
176
+ qi_withholding_rate_pool_certification: null,
177
+ qi_intermediary_or_flow_through_entity_documentation_certification: null,
178
+ qualified_derivatives_dealer_certification: null,
179
+ qdd_corporation: null,
180
+ qdd_partnership: null,
181
+ qdd_disregarded_entity: null,
182
+ nonqualified_intermediary_certification: null,
183
+ nqi_withholding_statement_transmission_certification: null,
184
+ nqi_withholding_rate_pool_compliance_certification: null,
185
+ nqi_qualified_securities_lender_certification: null,
186
+ nqi_alternative_withholding_statement_verification_certification: null,
187
+ territory_financial_institution_certification: null,
188
+ tfi_treated_as_us_person_certification: null,
189
+ tfi_withholding_statement_transmission_certification: null,
190
+ tfi_treated_as_us_person_for_ptp_sales_certification: null,
191
+ tfi_nominee_us_person_for_ptp_distributions_certification: null,
192
+ tfi_not_nominee_for_ptp_distributions_certification: null,
193
+ us_branch_non_effectively_connected_income_certification: null,
194
+ us_branch_agreement_to_be_treated_as_us_person_certification: null,
195
+ us_branch_withholding_statement_and_compliance_certification: null,
196
+ us_branch_acting_as_us_person_for_ptp_sales_certification: null,
197
+ us_branch_nominee_for_ptp_distributions_certification: null,
198
+ us_branch_not_nominee_for_ptp_distributions_certification: null,
199
+ withholding_foreign_partnership_or_trust_certification: null,
200
+ nonwithholding_foreign_entity_withholding_statement_certification: null,
201
+ foreign_entity_partner_in_lower_tier_partnership_certification: null,
202
+ foreign_partnership_amount_realized_section1446_f_certification: null,
203
+ foreign_partnership_modified_amount_realized_certification: null,
204
+ foreign_grantor_trust_amount_realized_allocation_certification: null,
205
+ alternative_withholding_statement_reliance_certification: null,
206
+ np_ffi_with_exempt_beneficial_owners_certification: null,
192
207
  ffi_sponsoring_entity: null,
193
- investment_entity_certification: false,
194
- controlled_foreign_corporation_certification: false,
195
- owner_documented_ffi_certification: false,
196
- owner_documented_ffi_reporting_statement_certification: false,
197
- owner_documented_ffi_auditor_letter_certification: false,
198
- compliant_nonregistering_local_bank_certification: false,
199
- compliant_ffi_low_value_accounts_certification: false,
208
+ investment_entity_certification: null,
209
+ controlled_foreign_corporation_certification: null,
210
+ owner_documented_ffi_certification: null,
211
+ owner_documented_ffi_reporting_statement_certification: null,
212
+ owner_documented_ffi_auditor_letter_certification: null,
213
+ compliant_nonregistering_local_bank_certification: null,
214
+ compliant_ffi_low_value_accounts_certification: null,
200
215
  sponsored_closely_held_entity_sponsoring_entity: null,
201
- sponsored_closely_held_investment_vehicle_certification: false,
202
- compliant_limited_life_debt_entity_certification: false,
203
- investment_entity_no_financial_accounts_certification: false,
204
- restricted_distributor_certification: false,
205
- restricted_distributor_agreement_certification: false,
206
- restricted_distributor_preexisting_sales_compliance_certification: false,
207
- foreign_central_bank_of_issue_certification: false,
208
- nonreporting_iga_ffi_certification: false,
216
+ sponsored_closely_held_investment_vehicle_certification: null,
217
+ compliant_limited_life_debt_entity_certification: null,
218
+ investment_entity_no_financial_accounts_certification: null,
219
+ restricted_distributor_certification: null,
220
+ restricted_distributor_agreement_certification: null,
221
+ restricted_distributor_preexisting_sales_compliance_certification: null,
222
+ foreign_central_bank_of_issue_certification: null,
223
+ nonreporting_iga_ffi_certification: null,
209
224
  iga_country: null,
210
225
  iga_model: null,
211
226
  iga_legal_status_treatment: null,
212
227
  iga_ffi_trustee_or_sponsor: null,
213
228
  iga_ffi_trustee_is_foreign: null,
214
- treaty_qualified_pension_fund_certification: false,
215
- qualified_retirement_fund_certification: false,
216
- narrow_participation_retirement_fund_certification: false,
217
- section401_a_equivalent_pension_plan_certification: false,
218
- investment_entity_for_retirement_funds_certification: false,
219
- exempt_beneficial_owner_sponsored_retirement_fund_certification: false,
220
- excepted_nonfinancial_group_entity_certification: false,
221
- excepted_nonfinancial_start_up_certification: false,
229
+ treaty_qualified_pension_fund_certification: null,
230
+ qualified_retirement_fund_certification: null,
231
+ narrow_participation_retirement_fund_certification: null,
232
+ section401_a_equivalent_pension_plan_certification: null,
233
+ investment_entity_for_retirement_funds_certification: null,
234
+ exempt_beneficial_owner_sponsored_retirement_fund_certification: null,
235
+ excepted_nonfinancial_group_entity_certification: null,
236
+ excepted_nonfinancial_start_up_certification: null,
222
237
  startup_formation_or_resolution_date: null,
223
- excepted_nonfinancial_entity_in_liquidation_or_bankruptcy_certification: false,
238
+ excepted_nonfinancial_entity_in_liquidation_or_bankruptcy_certification: null,
224
239
  nonfinancial_entity_filing_date: null,
225
- publicly_traded_nffe_certification: false,
240
+ publicly_traded_nffe_certification: null,
226
241
  publicly_traded_nffe_securities_market: null,
227
- nffe_affiliate_of_publicly_traded_entity_certification: false,
242
+ nffe_affiliate_of_publicly_traded_entity_certification: null,
228
243
  publicly_traded_entity: null,
229
244
  nffe_affiliate_of_publicly_traded_entity_securities_market: null,
230
- excepted_territory_nffe_certification: false,
231
- active_nffe_certification: false,
232
- passive_nffe_certification: false,
233
- sponsored_direct_reporting_nffe_certification: false,
245
+ excepted_territory_nffe_certification: null,
246
+ active_nffe_certification: null,
247
+ passive_nffe_certification: null,
248
+ sponsored_direct_reporting_nffe_certification: null,
234
249
  direct_reporting_nffe_sponsoring_entity: null,
235
- signer_name: null
250
+ signer_name: null,
251
+ id: null,
252
+ entry_status: null,
253
+ reference_id: null,
254
+ company_id: null,
255
+ display_name: null,
256
+ email: null,
257
+ archived: null,
258
+ ancestor_id: null,
259
+ signature: null,
260
+ signed_date: null,
261
+ e_delivery_consented_at: null,
262
+ created_at: null,
263
+ updated_at: null
236
264
  )
237
265
  ```
238
266
 
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **type** | **String** | The form type. | [optional][readonly] |
8
- | **company_id** | **String** | The ID of the associated company. | |
8
+ | **company_id** | **String** | The ID of the associated company. Required when creating a form. | [optional] |
9
9
  | **reference_id** | **String** | A reference identifier for the form. | [optional] |
10
10
  | **email** | **String** | The email address of the individual associated with the form. | [optional] |
11
11
 
@@ -15,7 +15,7 @@
15
15
  require 'avalara_sdk'
16
16
 
17
17
  instance = AvalaraSdk::A1099::V2::W9FormBaseMinimalRequest.new(
18
- type: W4,
18
+ type: null,
19
19
  company_id: null,
20
20
  reference_id: null,
21
21
  email: null
@@ -7,7 +7,7 @@
7
7
  | **e_delivery_consented_at** | **Time** | The date when e-delivery was consented. | [optional] |
8
8
  | **signature** | **String** | The signature of the form. | [optional] |
9
9
  | **type** | **String** | The form type. | [optional][readonly] |
10
- | **company_id** | **String** | The ID of the associated company. | |
10
+ | **company_id** | **String** | The ID of the associated company. Required when creating a form. | [optional] |
11
11
  | **reference_id** | **String** | A reference identifier for the form. | [optional] |
12
12
  | **email** | **String** | The email address of the individual associated with the form. | [optional] |
13
13
 
@@ -19,7 +19,7 @@ require 'avalara_sdk'
19
19
  instance = AvalaraSdk::A1099::V2::W9FormBaseRequest.new(
20
20
  e_delivery_consented_at: null,
21
21
  signature: null,
22
- type: W4,
22
+ type: null,
23
23
  company_id: null,
24
24
  reference_id: null,
25
25
  email: null
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The form type. | [optional][readonly] |
7
8
  | **id** | **String** | The unique identifier for the form. | [optional] |
8
9
  | **entry_status** | [**EntryStatusResponse**](EntryStatusResponse.md) | The entry status information for the form. | [optional] |
9
10
  | **reference_id** | **String** | A reference identifier for the form. | [optional] |
@@ -17,7 +18,6 @@
17
18
  | **e_delivery_consented_at** | **Time** | The date when e-delivery was consented. | [optional] |
18
19
  | **created_at** | **Time** | The creation date of the form. | [optional] |
19
20
  | **updated_at** | **Time** | The last updated date of the form. | [optional] |
20
- | **type** | **String** | The type of the response object. | [optional] |
21
21
 
22
22
  ## Example
23
23
 
@@ -25,6 +25,7 @@
25
25
  require 'avalara_sdk'
26
26
 
27
27
  instance = AvalaraSdk::A1099::V2::W9FormBaseResponse.new(
28
+ type: null,
28
29
  id: null,
29
30
  entry_status: null,
30
31
  reference_id: null,
@@ -37,8 +38,7 @@ instance = AvalaraSdk::A1099::V2::W9FormBaseResponse.new(
37
38
  signed_date: null,
38
39
  e_delivery_consented_at: null,
39
40
  created_at: null,
40
- updated_at: null,
41
- type: null
41
+ updated_at: null
42
42
  )
43
43
  ```
44
44
 
@@ -8,7 +8,7 @@
8
8
  | **email** | **String** | The email address of the individual associated with the form. | |
9
9
  | **name** | **String** | The name of the individual or entity associated with the form. | |
10
10
  | **account_number** | **String** | The account number associated with the form. | [optional] |
11
- | **company_id** | **String** | The ID of the associated company. | |
11
+ | **company_id** | **String** | The ID of the associated company. Required when creating a form. | [optional] |
12
12
  | **reference_id** | **String** | A reference identifier for the form. | [optional] |
13
13
 
14
14
  ## Example
@@ -17,7 +17,7 @@
17
17
  require 'avalara_sdk'
18
18
 
19
19
  instance = AvalaraSdk::A1099::V2::W9FormMinimalRequest.new(
20
- type: W4,
20
+ type: null,
21
21
  email: null,
22
22
  name: null,
23
23
  account_number: null,
@@ -5,27 +5,27 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **type** | **String** | The form type (always \"w9\" for this model). | [optional][readonly] |
8
- | **name** | **String** | The name of the individual or entity associated with the form. | [optional] |
8
+ | **name** | **String** | The name of the individual or entity associated with the form. | |
9
9
  | **business_name** | **String** | The name of the business associated with the form. | [optional] |
10
- | **business_classification** | **String** | The classification of the business. | [optional] |
10
+ | **business_classification** | **String** | The classification of the business. Available values: - Individual: Individual/sole proprietor - C Corporation: C Corporation - S Corporation: S Corporation - Partnership: Partnership - Trust/estate: Trust/estate - LLC-C: Limited liability company (C Corporation) - LLC-S: Limited liability company (S Corporation) - LLC-P: Limited liability company (Partnership) - Other: Other (requires BusinessOther field to be populated) | |
11
11
  | **business_other** | **String** | The classification description when \"businessClassification\" is \"Other\". | [optional] |
12
12
  | **foreign_partner_owner_or_beneficiary** | **Boolean** | Indicates whether the individual is a foreign partner, owner, or beneficiary. | [optional] |
13
- | **exempt_payee_code** | **String** | The exempt payee code. | [optional] |
14
- | **exempt_fatca_code** | **String** | The exemption from FATCA reporting code. | [optional] |
13
+ | **exempt_payee_code** | **String** | The exempt payee code. Allowed values (1–13): - 1 — Organization exempt under §501(a) or IRA; custodial account under §403(b)(7) - 2 — U.S. government or its agencies/instrumentalities - 3 — U.S. state, DC, U.S. territory/possession, or their political subdivisions/agencies/instrumentalities - 4 — Foreign government or its political subdivisions/agencies/instrumentalities - 5 — Corporation - 6 — Dealer in securities or commodities required to register in the U.S., DC, or U.S. territory/possession - 7 — Futures commission merchant registered with the CFTC - 8 — Real estate investment trust (REIT) - 9 — Entity registered at all times during the tax year under the Investment Company Act of 1940 - 10 — Common trust fund operated by a bank under §584(a) - 11 — Financial institution (see §581) - 12 — Broker (nominee/custodian) - 13 — Trust exempt under §664 or described in §4947 | [optional] |
14
+ | **exempt_fatca_code** | **String** | The exemption from FATCA reporting code. Allowed values (A–M): - A — Tax‑exempt organization under §501(a) or IRA (§7701(a)(37)) - B — U.S. government or any of its agencies/instrumentalities - C — U.S. state, DC, territory/possession, or their political subdivisions/instrumentalities - D — Corporation whose stock is regularly traded on an established securities market - E — Corporation that is a member of the same expanded affiliated group as a D corporation - F — Registered dealer in securities/commodities/derivatives - G — REIT (Real Estate Investment Trust) - H — Regulated investment company (§851) or entity registered all year under the Investment Company Act of 1940 - I — Common trust fund (§584(a)) - J — Bank (§581) - K — Broker - L — Charitable remainder trust (§664) or trust described in §4947(a)(1) - M — Trust under §403(b) plan or §457(g) plan | [optional] |
15
15
  | **foreign_country_indicator** | **Boolean** | Indicates whether the individual or entity is in a foreign country. | [optional] |
16
- | **address** | **String** | The address of the individual or entity. | [optional] |
16
+ | **address** | **String** | The address of the individual or entity. | |
17
17
  | **foreign_address** | **String** | The foreign address of the individual or entity. | [optional] |
18
- | **city** | **String** | The city of the address. | [optional] |
19
- | **state** | **String** | The state of the address. | [optional] |
20
- | **zip** | **String** | The ZIP code of the address. | [optional] |
18
+ | **city** | **String** | The city of the address. | |
19
+ | **state** | **String** | The state of the address. | |
20
+ | **zip** | **String** | The ZIP code of the address. | |
21
21
  | **account_number** | **String** | The account number associated with the form. | [optional] |
22
- | **tin_type** | **String** | The type of TIN provided. | [optional] |
23
- | **tin** | **String** | The taxpayer identification number (TIN). | [optional] |
22
+ | **tin_type** | **String** | Tax Identification Number (TIN) type. SSN/ITIN (for individuals) and EIN (for businesses). | |
23
+ | **tin** | **String** | The taxpayer identification number (TIN). | |
24
24
  | **backup_withholding** | **Boolean** | Indicates whether backup withholding applies. | [optional] |
25
25
  | **is1099able** | **Boolean** | Indicates whether the individual or entity should be issued a 1099 form. | [optional] |
26
26
  | **e_delivery_consented_at** | **Time** | The date when e-delivery was consented. | [optional] |
27
27
  | **signature** | **String** | The signature of the form. | [optional] |
28
- | **company_id** | **String** | The ID of the associated company. | |
28
+ | **company_id** | **String** | The ID of the associated company. Required when creating a form. | [optional] |
29
29
  | **reference_id** | **String** | A reference identifier for the form. | [optional] |
30
30
  | **email** | **String** | The email address of the individual associated with the form. | [optional] |
31
31
 
@@ -35,7 +35,7 @@
35
35
  require 'avalara_sdk'
36
36
 
37
37
  instance = AvalaraSdk::A1099::V2::W9FormRequest.new(
38
- type: W4,
38
+ type: null,
39
39
  name: null,
40
40
  business_name: null,
41
41
  business_classification: null,
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **type** | **String** | The form type (always \"W9\" for this model). | [optional][readonly] |
7
8
  | **name** | **String** | The name of the individual or entity associated with the form. | [optional] |
8
9
  | **business_name** | **String** | The name of the business associated with the form. | [optional] |
9
10
  | **business_classification** | **String** | The classification of the business. | [optional] |
@@ -18,11 +19,24 @@
18
19
  | **state** | **String** | The state of the address. | [optional] |
19
20
  | **zip** | **String** | The ZIP code of the address. | [optional] |
20
21
  | **account_number** | **String** | The account number associated with the form. | [optional] |
21
- | **tin_type** | **String** | The type of TIN provided. | [optional] |
22
+ | **tin_type** | **String** | Tax Identification Number (TIN) type. | [optional] |
22
23
  | **tin** | **String** | The taxpayer identification number (TIN). | [optional] |
23
24
  | **backup_withholding** | **Boolean** | Indicates whether backup withholding applies. | [optional] |
24
25
  | **is1099able** | **Boolean** | Indicates whether the individual or entity should be issued a 1099 form. | [optional] |
25
26
  | **tin_match_status** | [**TinMatchStatusResponse**](TinMatchStatusResponse.md) | The TIN Match status from IRS. | [optional] |
27
+ | **id** | **String** | The unique identifier for the form. | [optional] |
28
+ | **entry_status** | [**EntryStatusResponse**](EntryStatusResponse.md) | The entry status information for the form. | [optional] |
29
+ | **reference_id** | **String** | A reference identifier for the form. | [optional] |
30
+ | **company_id** | **String** | The ID of the associated company. | [optional] |
31
+ | **display_name** | **String** | The display name associated with the form. | [optional] |
32
+ | **email** | **String** | The email address of the individual associated with the form. | [optional] |
33
+ | **archived** | **Boolean** | Indicates whether the form is archived. | [optional] |
34
+ | **ancestor_id** | **String** | Form ID of previous version. | [optional] |
35
+ | **signature** | **String** | The signature of the form. | [optional] |
36
+ | **signed_date** | **Time** | The date the form was signed. | [optional] |
37
+ | **e_delivery_consented_at** | **Time** | The date when e-delivery was consented. | [optional] |
38
+ | **created_at** | **Time** | The creation date of the form. | [optional] |
39
+ | **updated_at** | **Time** | The last updated date of the form. | [optional] |
26
40
 
27
41
  ## Example
28
42
 
@@ -30,25 +44,39 @@
30
44
  require 'avalara_sdk'
31
45
 
32
46
  instance = AvalaraSdk::A1099::V2::W9FormResponse.new(
33
- name: John Doe,
34
- business_name: Doe Enterprises,
35
- business_classification: LLC,
47
+ type: null,
48
+ name: null,
49
+ business_name: null,
50
+ business_classification: null,
36
51
  business_other: null,
37
- foreign_partner_owner_or_beneficiary: false,
52
+ foreign_partner_owner_or_beneficiary: null,
38
53
  exempt_payee_code: null,
39
54
  exempt_fatca_code: null,
40
- foreign_country_indicator: false,
41
- address: 123 Main St,
55
+ foreign_country_indicator: null,
56
+ address: null,
42
57
  foreign_address: null,
43
- city: Anytown,
44
- state: CA,
45
- zip: 90210,
46
- account_number: ACC123456,
47
- tin_type: EIN,
48
- tin: 12-3456789,
49
- backup_withholding: false,
50
- is1099able: true,
51
- tin_match_status: null
58
+ city: null,
59
+ state: null,
60
+ zip: null,
61
+ account_number: null,
62
+ tin_type: null,
63
+ tin: null,
64
+ backup_withholding: null,
65
+ is1099able: null,
66
+ tin_match_status: null,
67
+ id: null,
68
+ entry_status: null,
69
+ reference_id: null,
70
+ company_id: null,
71
+ display_name: null,
72
+ email: null,
73
+ archived: null,
74
+ ancestor_id: null,
75
+ signature: null,
76
+ signed_date: null,
77
+ e_delivery_consented_at: null,
78
+ created_at: null,
79
+ updated_at: null
52
80
  )
53
81
  ```
54
82
 
@@ -17,7 +17,7 @@ module AvalaraSdk::A1099
17
17
  if (api_client.nil?)
18
18
  fail ArgumentError,'api_client is nil'
19
19
  end
20
- api_client.set_sdk_version("25.8.3")
20
+ api_client.set_sdk_version("25.10.0")
21
21
  @api_client = api_client
22
22
  end
23
23
 
@@ -227,7 +227,7 @@ module AvalaraSdk::A1099
227
227
 
228
228
  # Create a company
229
229
  # Create a company.
230
- # @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/) . # @param create_company_request [CreateCompanyRequest] The company to create
230
+ # @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/) . # @param company_request [CompanyRequest] The company to create
231
231
  # @return [CompanyResponse]
232
232
  def create_company(request_parameters)
233
233
  data, _status_code, _headers = create_company_with_http_info(request_parameters)
@@ -240,7 +240,7 @@ module AvalaraSdk::A1099
240
240
  # @param avalara_version [String] API version
241
241
  # @param x_correlation_id [String] Unique correlation Id in a GUID format
242
242
  # @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/) .
243
- # @param create_company_request [CreateCompanyRequest] The company to create
243
+ # @param company_request [CompanyRequest] The company to create
244
244
  # @return [Array<(CompanyResponse, Integer, Hash)>] CompanyResponse data, response status code and response headers
245
245
  def create_company_with_http_info(request_parameters)
246
246
  # OAuth2 Scopes
@@ -249,7 +249,7 @@ module AvalaraSdk::A1099
249
249
  avalara_version = request_parameters.get_avalara_version()
250
250
  x_correlation_id = request_parameters.get_x_correlation_id()
251
251
  x_avalara_client = request_parameters.get_x_avalara_client()
252
- create_company_request = request_parameters.get_create_company_request()
252
+ company_request = request_parameters.get_company_request()
253
253
  # verify the required parameter 'avalara_version' is set
254
254
  if @api_client.config.client_side_validation && avalara_version.nil?
255
255
  fail ArgumentError, "Missing the required parameter 'avalara_version' when calling CompaniesW9Api.create_company"
@@ -283,7 +283,7 @@ module AvalaraSdk::A1099
283
283
  form_params = {}
284
284
 
285
285
  # http body (model)
286
- post_body = @api_client.object_to_http_body(create_company_request) || {}
286
+ post_body = @api_client.object_to_http_body(company_request) || {}
287
287
 
288
288
  # return_type
289
289
  return_type = 'CompanyResponse'
@@ -596,7 +596,7 @@ module AvalaraSdk::A1099
596
596
 
597
597
  # Update a company
598
598
  # Update a company.
599
- # @param id [String] The ID of the company to update # @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/) . # @param create_company_request [CreateCompanyRequest] The updated company data
599
+ # @param id [String] The ID of the company to update # @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/) . # @param company_request [CompanyRequest] The updated company data
600
600
  # @return [CompanyResponse]
601
601
  def update_company(request_parameters)
602
602
  data, _status_code, _headers = update_company_with_http_info(request_parameters)
@@ -610,7 +610,7 @@ module AvalaraSdk::A1099
610
610
  # @param avalara_version [String] API version
611
611
  # @param x_correlation_id [String] Unique correlation Id in a GUID format
612
612
  # @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/) .
613
- # @param create_company_request [CreateCompanyRequest] The updated company data
613
+ # @param company_request [CompanyRequest] The updated company data
614
614
  # @return [Array<(CompanyResponse, Integer, Hash)>] CompanyResponse data, response status code and response headers
615
615
  def update_company_with_http_info(request_parameters)
616
616
  # OAuth2 Scopes
@@ -620,7 +620,7 @@ module AvalaraSdk::A1099
620
620
  avalara_version = request_parameters.get_avalara_version()
621
621
  x_correlation_id = request_parameters.get_x_correlation_id()
622
622
  x_avalara_client = request_parameters.get_x_avalara_client()
623
- create_company_request = request_parameters.get_create_company_request()
623
+ company_request = request_parameters.get_company_request()
624
624
  # verify the required parameter 'id' is set
625
625
  if @api_client.config.client_side_validation && id.nil?
626
626
  fail ArgumentError, "Missing the required parameter 'id' when calling CompaniesW9Api.update_company"
@@ -658,7 +658,7 @@ module AvalaraSdk::A1099
658
658
  form_params = {}
659
659
 
660
660
  # http body (model)
661
- post_body = @api_client.object_to_http_body(create_company_request) || {}
661
+ post_body = @api_client.object_to_http_body(company_request) || {}
662
662
 
663
663
  # return_type
664
664
  return_type = 'CompanyResponse'
@@ -692,7 +692,7 @@ module AvalaraSdk::A1099
692
692
  # @param String $avalara_version API version (required)
693
693
  # @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
694
694
  # @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
695
- # @param CreateCompanyRequest $create_company_request The company to create (optional)
695
+ # @param CompanyRequest $company_request The company to create (optional)
696
696
  #
697
697
  class CreateCompanyRequestSdk
698
698
  attr_accessor :avalara_version
@@ -701,7 +701,7 @@ module AvalaraSdk::A1099
701
701
 
702
702
  attr_accessor :x_avalara_client
703
703
 
704
- attr_accessor :create_company_request
704
+ attr_accessor :company_request
705
705
 
706
706
  def initialize()
707
707
  end
@@ -730,12 +730,12 @@ module AvalaraSdk::A1099
730
730
  @x_avalara_client = x_avalara_client
731
731
  end
732
732
 
733
- def get_create_company_request()
734
- return @create_company_request
733
+ def get_company_request()
734
+ return @company_request
735
735
  end
736
736
 
737
- def set_create_company_request(create_company_request)
738
- @create_company_request = create_company_request
737
+ def set_company_request(company_request)
738
+ @company_request = company_request
739
739
  end
740
740
  end
741
741
  # Represents the Request object for the DeleteCompany API
@@ -952,7 +952,7 @@ module AvalaraSdk::A1099
952
952
  # @param String $avalara_version API version (required)
953
953
  # @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
954
954
  # @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
955
- # @param CreateCompanyRequest $create_company_request The updated company data (optional)
955
+ # @param CompanyRequest $company_request The updated company data (optional)
956
956
  #
957
957
  class UpdateCompanyRequestSdk
958
958
  attr_accessor :id
@@ -963,7 +963,7 @@ module AvalaraSdk::A1099
963
963
 
964
964
  attr_accessor :x_avalara_client
965
965
 
966
- attr_accessor :create_company_request
966
+ attr_accessor :company_request
967
967
 
968
968
  def initialize()
969
969
  end
@@ -1000,12 +1000,12 @@ module AvalaraSdk::A1099
1000
1000
  @x_avalara_client = x_avalara_client
1001
1001
  end
1002
1002
 
1003
- def get_create_company_request()
1004
- return @create_company_request
1003
+ def get_company_request()
1004
+ return @company_request
1005
1005
  end
1006
1006
 
1007
- def set_create_company_request(create_company_request)
1008
- @create_company_request = create_company_request
1007
+ def set_company_request(company_request)
1008
+ @company_request = company_request
1009
1009
  end
1010
1010
  end
1011
1011
  end