avalara_sdk 25.8.3 → 25.9.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -14
- data/docs/A1099/V2/CompaniesW9Api.md +9 -9
- data/docs/A1099/V2/CompanyBase.md +50 -0
- data/docs/A1099/V2/CompanyRequest.md +50 -0
- data/docs/A1099/V2/Form1042S.md +16 -16
- data/docs/A1099/V2/Form1095B.md +15 -15
- data/docs/A1099/V2/Form1095C.md +14 -14
- data/docs/A1099/V2/Form1099Base.md +14 -14
- data/docs/A1099/V2/Form1099Div.md +15 -15
- data/docs/A1099/V2/Form1099Int.md +16 -16
- data/docs/A1099/V2/Form1099K.md +20 -20
- data/docs/A1099/V2/Form1099ListRequest.md +1 -1
- data/docs/A1099/V2/Form1099Misc.md +15 -15
- data/docs/A1099/V2/Form1099Nec.md +17 -17
- data/docs/A1099/V2/Form1099R.md +17 -17
- data/docs/A1099/V2/Forms1099Api.md +12 -12
- data/docs/A1099/V2/FormsW9Api.md +17 -17
- data/docs/A1099/V2/IntermediaryOrFlowThrough.md +2 -2
- data/docs/A1099/V2/IssuerBase.md +46 -0
- data/docs/A1099/V2/IssuerRequest.md +46 -0
- data/docs/A1099/V2/Issuers1099Api.md +9 -9
- data/docs/A1099/V2/JobResponse.md +1 -1
- data/docs/A1099/V2/JobsApi.md +1 -1
- data/docs/A1099/V2/TinMatchStatusResponse.md +1 -1
- data/docs/A1099/V2/W4FormMinimalRequest.md +2 -2
- data/docs/A1099/V2/W4FormRequest.md +11 -11
- data/docs/A1099/V2/W4FormResponse.md +48 -20
- data/docs/A1099/V2/W8BenEFormMinimalRequest.md +2 -2
- data/docs/A1099/V2/W8BenEFormRequest.md +10 -10
- data/docs/A1099/V2/W8BenEFormResponse.md +96 -68
- data/docs/A1099/V2/W8BenFormMinimalRequest.md +2 -2
- data/docs/A1099/V2/W8BenFormRequest.md +6 -6
- data/docs/A1099/V2/W8BenFormResponse.md +55 -27
- data/docs/A1099/V2/W8ImyFormMinimalRequest.md +2 -2
- data/docs/A1099/V2/W8ImyFormRequest.md +10 -10
- data/docs/A1099/V2/W8ImyFormResponse.md +118 -90
- data/docs/A1099/V2/W9FormBaseMinimalRequest.md +2 -2
- data/docs/A1099/V2/W9FormBaseRequest.md +2 -2
- data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
- data/docs/A1099/V2/W9FormMinimalRequest.md +2 -2
- data/docs/A1099/V2/W9FormRequest.md +10 -10
- data/docs/A1099/V2/W9FormResponse.md +44 -16
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +21 -21
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +7 -7
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +16 -16
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +21 -21
- data/lib/avalara_sdk/api/A1099/V2/jobs_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
- data/lib/avalara_sdk/api_client.rb +10 -2
- data/lib/avalara_sdk/models/A1099/V2/company_base.rb +404 -0
- data/lib/avalara_sdk/models/A1099/V2/company_request.rb +411 -0
- data/lib/avalara_sdk/models/A1099/V2/company_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_response.rb +0 -6
- data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +20 -30
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +19 -40
- data/lib/avalara_sdk/models/A1099/V2/form1095_c.rb +18 -49
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +18 -29
- data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +20 -31
- data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +22 -32
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +35 -38
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_request.rb +2 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +20 -31
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +23 -33
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +48 -33
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +48 -2
- data/lib/avalara_sdk/models/A1099/V2/issuer_base.rb +384 -0
- data/lib/avalara_sdk/models/A1099/V2/issuer_request.rb +391 -0
- data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/job_response.rb +0 -6
- data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +0 -6
- data/lib/avalara_sdk/models/A1099/V2/w4_form_minimal_request.rb +1 -27
- data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +31 -29
- data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +191 -15
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_minimal_request.rb +1 -27
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +37 -28
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +190 -14
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_minimal_request.rb +1 -27
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +20 -23
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +191 -15
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_minimal_request.rb +1 -27
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +30 -28
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +191 -15
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_minimal_request.rb +1 -27
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +1 -27
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +47 -18
- data/lib/avalara_sdk/models/A1099/V2/w9_form_minimal_request.rb +1 -27
- data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +40 -25
- data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +190 -14
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +8 -4
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
- 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** |
|
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
|
-
|
126
|
-
|
139
|
+
type: null,
|
140
|
+
name: null,
|
141
|
+
citizenship_country: null,
|
127
142
|
disregarded_entity: null,
|
128
|
-
entity_type:
|
129
|
-
fatca_status:
|
130
|
-
residence_address:
|
131
|
-
residence_city:
|
132
|
-
residence_state:
|
133
|
-
residence_zip:
|
134
|
-
residence_country:
|
135
|
-
residence_is_mailing:
|
136
|
-
mailing_address:
|
137
|
-
mailing_city:
|
138
|
-
mailing_state:
|
139
|
-
mailing_zip:
|
140
|
-
mailing_country:
|
141
|
-
tin_type:
|
142
|
-
tin:
|
143
|
-
giin:
|
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:
|
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:
|
154
|
-
qi_primary_withholding_responsibility_certification:
|
155
|
-
qi_withholding_responsibility_for_ptp_sales_certification:
|
156
|
-
qi_nominee_withholding_responsibility_for_ptp_distributions_certification:
|
157
|
-
qi_securities_lender_substitute_dividend_withholding_certification:
|
158
|
-
qi_withholding_and1099_reporting_responsibility_certification:
|
159
|
-
qi_form1099_or_fatca_reporting_responsibility_certification:
|
160
|
-
qi_opt_out_of_form1099_reporting_certification:
|
161
|
-
qi_withholding_rate_pool_certification:
|
162
|
-
qi_intermediary_or_flow_through_entity_documentation_certification:
|
163
|
-
qualified_derivatives_dealer_certification:
|
164
|
-
qdd_corporation:
|
165
|
-
qdd_partnership:
|
166
|
-
qdd_disregarded_entity:
|
167
|
-
nonqualified_intermediary_certification:
|
168
|
-
nqi_withholding_statement_transmission_certification:
|
169
|
-
nqi_withholding_rate_pool_compliance_certification:
|
170
|
-
nqi_qualified_securities_lender_certification:
|
171
|
-
nqi_alternative_withholding_statement_verification_certification:
|
172
|
-
territory_financial_institution_certification:
|
173
|
-
tfi_treated_as_us_person_certification:
|
174
|
-
tfi_withholding_statement_transmission_certification:
|
175
|
-
tfi_treated_as_us_person_for_ptp_sales_certification:
|
176
|
-
tfi_nominee_us_person_for_ptp_distributions_certification:
|
177
|
-
tfi_not_nominee_for_ptp_distributions_certification:
|
178
|
-
us_branch_non_effectively_connected_income_certification:
|
179
|
-
us_branch_agreement_to_be_treated_as_us_person_certification:
|
180
|
-
us_branch_withholding_statement_and_compliance_certification:
|
181
|
-
us_branch_acting_as_us_person_for_ptp_sales_certification:
|
182
|
-
us_branch_nominee_for_ptp_distributions_certification:
|
183
|
-
us_branch_not_nominee_for_ptp_distributions_certification:
|
184
|
-
withholding_foreign_partnership_or_trust_certification:
|
185
|
-
nonwithholding_foreign_entity_withholding_statement_certification:
|
186
|
-
foreign_entity_partner_in_lower_tier_partnership_certification:
|
187
|
-
foreign_partnership_amount_realized_section1446_f_certification:
|
188
|
-
foreign_partnership_modified_amount_realized_certification:
|
189
|
-
foreign_grantor_trust_amount_realized_allocation_certification:
|
190
|
-
alternative_withholding_statement_reliance_certification:
|
191
|
-
np_ffi_with_exempt_beneficial_owners_certification:
|
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:
|
194
|
-
controlled_foreign_corporation_certification:
|
195
|
-
owner_documented_ffi_certification:
|
196
|
-
owner_documented_ffi_reporting_statement_certification:
|
197
|
-
owner_documented_ffi_auditor_letter_certification:
|
198
|
-
compliant_nonregistering_local_bank_certification:
|
199
|
-
compliant_ffi_low_value_accounts_certification:
|
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:
|
202
|
-
compliant_limited_life_debt_entity_certification:
|
203
|
-
investment_entity_no_financial_accounts_certification:
|
204
|
-
restricted_distributor_certification:
|
205
|
-
restricted_distributor_agreement_certification:
|
206
|
-
restricted_distributor_preexisting_sales_compliance_certification:
|
207
|
-
foreign_central_bank_of_issue_certification:
|
208
|
-
nonreporting_iga_ffi_certification:
|
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:
|
215
|
-
qualified_retirement_fund_certification:
|
216
|
-
narrow_participation_retirement_fund_certification:
|
217
|
-
section401_a_equivalent_pension_plan_certification:
|
218
|
-
investment_entity_for_retirement_funds_certification:
|
219
|
-
exempt_beneficial_owner_sponsored_retirement_fund_certification:
|
220
|
-
excepted_nonfinancial_group_entity_certification:
|
221
|
-
excepted_nonfinancial_start_up_certification:
|
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:
|
238
|
+
excepted_nonfinancial_entity_in_liquidation_or_bankruptcy_certification: null,
|
224
239
|
nonfinancial_entity_filing_date: null,
|
225
|
-
publicly_traded_nffe_certification:
|
240
|
+
publicly_traded_nffe_certification: null,
|
226
241
|
publicly_traded_nffe_securities_market: null,
|
227
|
-
nffe_affiliate_of_publicly_traded_entity_certification:
|
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:
|
231
|
-
active_nffe_certification:
|
232
|
-
passive_nffe_certification:
|
233
|
-
sponsored_direct_reporting_nffe_certification:
|
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:
|
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:
|
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:
|
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. |
|
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.
|
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
13
|
| **exempt_payee_code** | **String** | The exempt payee code. | [optional] |
|
14
14
|
| **exempt_fatca_code** | **String** | The exemption from FATCA reporting code. | [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. |
|
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. |
|
19
|
-
| **state** | **String** | The state of the address. |
|
20
|
-
| **zip** | **String** | The ZIP code of the address. |
|
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** |
|
23
|
-
| **tin** | **String** | The taxpayer identification number (TIN). |
|
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:
|
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** |
|
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
|
-
|
34
|
-
|
35
|
-
|
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:
|
52
|
+
foreign_partner_owner_or_beneficiary: null,
|
38
53
|
exempt_payee_code: null,
|
39
54
|
exempt_fatca_code: null,
|
40
|
-
foreign_country_indicator:
|
41
|
-
address:
|
55
|
+
foreign_country_indicator: null,
|
56
|
+
address: null,
|
42
57
|
foreign_address: null,
|
43
|
-
city:
|
44
|
-
state:
|
45
|
-
zip:
|
46
|
-
account_number:
|
47
|
-
tin_type:
|
48
|
-
tin:
|
49
|
-
backup_withholding:
|
50
|
-
is1099able:
|
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.
|
20
|
+
api_client.set_sdk_version("25.9.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
|
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
|
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
|
-
|
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(
|
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
|
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
|
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
|
-
|
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(
|
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
|
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 :
|
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
|
734
|
-
return @
|
733
|
+
def get_company_request()
|
734
|
+
return @company_request
|
735
735
|
end
|
736
736
|
|
737
|
-
def
|
738
|
-
@
|
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
|
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 :
|
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
|
1004
|
-
return @
|
1003
|
+
def get_company_request()
|
1004
|
+
return @company_request
|
1005
1005
|
end
|
1006
1006
|
|
1007
|
-
def
|
1008
|
-
@
|
1007
|
+
def set_company_request(company_request)
|
1008
|
+
@company_request = company_request
|
1009
1009
|
end
|
1010
1010
|
end
|
1011
1011
|
end
|