avalara_sdk 25.8.0 → 25.8.2
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 +32 -6
- data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +4 -0
- data/docs/A1099/V2/CompaniesW9Api.md +6 -6
- data/docs/A1099/V2/CoveredIndividualRequest.md +26 -26
- data/docs/A1099/V2/Create1099Form201Response.md +4 -0
- data/docs/A1099/V2/ErrorResponse.md +1 -1
- data/docs/A1099/V2/ErrorResponseItem.md +20 -0
- data/docs/A1099/V2/Form1042S.md +140 -0
- data/docs/A1099/V2/Form1042SListItem.md +12 -8
- data/docs/A1099/V2/Form1042SListItemResponse.md +19 -9
- data/docs/A1099/V2/Form1042SRequest.md +14 -10
- data/docs/A1099/V2/Form1042SResponse.md +10 -6
- data/docs/A1099/V2/Form1095B.md +14 -2
- data/docs/A1099/V2/Form1095BListItem.md +14 -8
- data/docs/A1099/V2/Form1095BListItemResponse.md +20 -8
- data/docs/A1099/V2/Form1095BRequest.md +14 -8
- data/docs/A1099/V2/Form1095BResponse.md +106 -0
- data/docs/A1099/V2/Form1095CList.md +20 -0
- data/docs/A1099/V2/Form1095CListItem.md +90 -0
- data/docs/A1099/V2/Form1099Base.md +14 -2
- data/docs/A1099/V2/Form1099BaseResponse.md +20 -8
- data/docs/A1099/V2/Form1099Div.md +130 -0
- data/docs/A1099/V2/Form1099DivListItem.md +32 -28
- data/docs/A1099/V2/Form1099DivListItemResponse.md +130 -0
- data/docs/A1099/V2/Form1099DivRequest.md +32 -28
- data/docs/A1099/V2/Form1099DivResponse.md +48 -6
- data/docs/A1099/V2/Form1099Int.md +122 -0
- data/docs/A1099/V2/Form1099IntList.md +20 -0
- data/docs/A1099/V2/Form1099IntListItem.md +100 -0
- data/docs/A1099/V2/Form1099IntListItemResponse.md +122 -0
- data/docs/A1099/V2/Form1099IntRequest.md +96 -0
- data/docs/A1099/V2/Form1099IntResponse.md +120 -0
- data/docs/A1099/V2/Form1099K.md +14 -2
- data/docs/A1099/V2/Form1099KListItem.md +14 -8
- data/docs/A1099/V2/Form1099KListItemResponse.md +20 -8
- data/docs/A1099/V2/Form1099KRequest.md +18 -12
- data/docs/A1099/V2/Form1099KResponse.md +132 -0
- data/docs/A1099/V2/Form1099ListResponseValueInner.md +4 -0
- data/docs/A1099/V2/Form1099Misc.md +24 -12
- data/docs/A1099/V2/Form1099MiscListItem.md +14 -12
- data/docs/A1099/V2/Form1099MiscListItemResponse.md +30 -16
- data/docs/A1099/V2/Form1099MiscRequest.md +14 -12
- data/docs/A1099/V2/Form1099MiscResponse.md +12 -10
- data/docs/A1099/V2/Form1099Nec.md +14 -2
- data/docs/A1099/V2/Form1099NecListItem.md +14 -10
- data/docs/A1099/V2/Form1099NecListItemResponse.md +20 -8
- data/docs/A1099/V2/Form1099NecRequest.md +14 -10
- data/docs/A1099/V2/Form1099NecResponse.md +10 -8
- data/docs/A1099/V2/Form1099ProccessResult.md +3 -1
- data/docs/A1099/V2/Form1099ProccessResultProcessedFormsInner.md +61 -0
- data/docs/A1099/V2/Form1099R.md +14 -4
- data/docs/A1099/V2/Form1099RListItem.md +12 -8
- data/docs/A1099/V2/Form1099RListItemResponse.md +20 -10
- data/docs/A1099/V2/Form1099RRequest.md +12 -8
- data/docs/A1099/V2/Form1099RResponse.md +132 -0
- data/docs/A1099/V2/FormRequestBase.md +14 -8
- data/docs/A1099/V2/FormRequestListItemBase.md +14 -8
- data/docs/A1099/V2/FormResponseBase.md +10 -6
- data/docs/A1099/V2/FormSingleRequestBase.md +14 -8
- data/docs/A1099/V2/Forms1099Api.md +11 -11
- data/docs/A1099/V2/FormsW9Api.md +21 -19
- data/docs/A1099/V2/Get1099Form200Response.md +4 -0
- data/docs/A1099/V2/ICreateForm1099Request.md +2 -0
- data/docs/A1099/V2/IUpdateForm1099Request.md +2 -0
- data/docs/A1099/V2/IrsResponse.md +20 -0
- data/docs/A1099/V2/Issuers1099Api.md +6 -6
- data/docs/A1099/V2/Jobs1099Api.md +1 -1
- data/docs/A1099/V2/OfferAndCoverageRequest.md +26 -0
- data/docs/A1099/V2/PaginatedQueryResultModelCompanyResponse.md +1 -1
- data/docs/A1099/V2/PaginatedQueryResultModelIssuerResponse.md +1 -1
- data/docs/A1099/V2/PaginatedQueryResultModelW9FormBaseResponse.md +22 -0
- data/docs/A1099/V2/TinMatchStatusResponse.md +22 -0
- data/docs/A1099/V2/Update1099Form200Response.md +8 -0
- data/docs/A1099/V2/W4FormResponse.md +1 -29
- data/docs/A1099/V2/W8BenEFormResponse.md +1 -29
- data/docs/A1099/V2/W8BenFormResponse.md +1 -29
- data/docs/A1099/V2/W8ImyFormResponse.md +1 -29
- data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
- data/docs/A1099/V2/W9FormResponse.md +2 -28
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +3 -3
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +30 -14
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/jobs1099_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/models/A1099/V2/bulk_upsert1099_forms_request.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +79 -79
- data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/error_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_response_item.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +824 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +44 -119
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +67 -12
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +55 -132
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +43 -24
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +68 -9
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +54 -119
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +77 -12
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +56 -121
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_response.rb +709 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +238 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +662 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +68 -9
- data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +77 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +781 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +93 -147
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +931 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +93 -149
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +214 -24
- data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +741 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +238 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +702 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +887 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +684 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +773 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +68 -9
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +56 -119
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +77 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +82 -123
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +839 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +106 -47
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +52 -135
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +116 -40
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +52 -137
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +49 -39
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +68 -9
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +56 -129
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +77 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +56 -131
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +43 -33
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +22 -4
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +107 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +68 -19
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +46 -119
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +77 -23
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +46 -121
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +839 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +54 -119
- data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +56 -119
- data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +43 -24
- data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +56 -121
- data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/i_create_form1099_request.rb +1 -0
- data/lib/avalara_sdk/models/A1099/V2/i_update_form1099_request.rb +1 -0
- data/lib/avalara_sdk/models/A1099/V2/included_base.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/irs_response.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +1 -0
- data/lib/avalara_sdk/models/A1099/V2/offer_and_coverage_request.rb +256 -0
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_w9_form_base_response.rb +234 -0
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/tin_match_status_response.rb +267 -0
- data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +4 -0
- data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +15 -157
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +14 -156
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +15 -157
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +15 -157
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +19 -14
- data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +18 -150
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +21 -1
- 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 +42 -2
@@ -11,8 +11,6 @@ require 'time'
|
|
11
11
|
|
12
12
|
module AvalaraSdk::A1099::V2
|
13
13
|
class Form1099MiscResponse
|
14
|
-
attr_accessor :second_tin_notice
|
15
|
-
|
16
14
|
attr_accessor :rents
|
17
15
|
|
18
16
|
attr_accessor :royalties
|
@@ -23,7 +21,7 @@ module AvalaraSdk::A1099::V2
|
|
23
21
|
|
24
22
|
attr_accessor :fishing_boat_proceeds
|
25
23
|
|
26
|
-
attr_accessor :
|
24
|
+
attr_accessor :medical_and_health_care_payments
|
27
25
|
|
28
26
|
attr_accessor :direct_sales_indicator
|
29
27
|
|
@@ -49,8 +47,6 @@ module AvalaraSdk::A1099::V2
|
|
49
47
|
|
50
48
|
attr_accessor :updated_at
|
51
49
|
|
52
|
-
attr_accessor :user_id
|
53
|
-
|
54
50
|
attr_accessor :state_and_local_withholding
|
55
51
|
|
56
52
|
attr_accessor :tin_type
|
@@ -83,13 +79,13 @@ module AvalaraSdk::A1099::V2
|
|
83
79
|
|
84
80
|
attr_accessor :zip
|
85
81
|
|
86
|
-
attr_accessor :
|
82
|
+
attr_accessor :email
|
87
83
|
|
88
84
|
attr_accessor :account_number
|
89
85
|
|
90
86
|
attr_accessor :office_code
|
91
87
|
|
92
|
-
attr_accessor :
|
88
|
+
attr_accessor :non_us_province
|
93
89
|
|
94
90
|
attr_accessor :country_code
|
95
91
|
|
@@ -101,10 +97,16 @@ module AvalaraSdk::A1099::V2
|
|
101
97
|
|
102
98
|
attr_accessor :tin_match
|
103
99
|
|
100
|
+
attr_accessor :no_tin
|
101
|
+
|
102
|
+
attr_accessor :second_tin_notice
|
103
|
+
|
104
104
|
attr_accessor :address_verification
|
105
105
|
|
106
106
|
attr_accessor :federal_efile_status
|
107
107
|
|
108
|
+
attr_accessor :e_delivery_status
|
109
|
+
|
108
110
|
attr_accessor :state_efile_status
|
109
111
|
|
110
112
|
attr_accessor :postal_mail_status
|
@@ -140,13 +142,12 @@ module AvalaraSdk::A1099::V2
|
|
140
142
|
# Attribute mapping from ruby-style variable name to JSON key.
|
141
143
|
def self.attribute_map
|
142
144
|
{
|
143
|
-
:'second_tin_notice' => :'secondTinNotice',
|
144
145
|
:'rents' => :'rents',
|
145
146
|
:'royalties' => :'royalties',
|
146
147
|
:'other_income' => :'otherIncome',
|
147
148
|
:'fed_income_tax_withheld' => :'fedIncomeTaxWithheld',
|
148
149
|
:'fishing_boat_proceeds' => :'fishingBoatProceeds',
|
149
|
-
:'
|
150
|
+
:'medical_and_health_care_payments' => :'medicalAndHealthCarePayments',
|
150
151
|
:'direct_sales_indicator' => :'directSalesIndicator',
|
151
152
|
:'substitute_payments' => :'substitutePayments',
|
152
153
|
:'crop_insurance_proceeds' => :'cropInsuranceProceeds',
|
@@ -159,7 +160,6 @@ module AvalaraSdk::A1099::V2
|
|
159
160
|
:'type' => :'type',
|
160
161
|
:'created_at' => :'createdAt',
|
161
162
|
:'updated_at' => :'updatedAt',
|
162
|
-
:'user_id' => :'userId',
|
163
163
|
:'state_and_local_withholding' => :'stateAndLocalWithholding',
|
164
164
|
:'tin_type' => :'tinType',
|
165
165
|
:'id' => :'id',
|
@@ -176,17 +176,20 @@ module AvalaraSdk::A1099::V2
|
|
176
176
|
:'city' => :'city',
|
177
177
|
:'state' => :'state',
|
178
178
|
:'zip' => :'zip',
|
179
|
-
:'
|
179
|
+
:'email' => :'email',
|
180
180
|
:'account_number' => :'accountNumber',
|
181
181
|
:'office_code' => :'officeCode',
|
182
|
-
:'
|
182
|
+
:'non_us_province' => :'nonUsProvince',
|
183
183
|
:'country_code' => :'countryCode',
|
184
184
|
:'federal_e_file' => :'federalEFile',
|
185
185
|
:'postal_mail' => :'postalMail',
|
186
186
|
:'state_e_file' => :'stateEFile',
|
187
187
|
:'tin_match' => :'tinMatch',
|
188
|
+
:'no_tin' => :'noTin',
|
189
|
+
:'second_tin_notice' => :'secondTinNotice',
|
188
190
|
:'address_verification' => :'addressVerification',
|
189
191
|
:'federal_efile_status' => :'federalEfileStatus',
|
192
|
+
:'e_delivery_status' => :'eDeliveryStatus',
|
190
193
|
:'state_efile_status' => :'stateEfileStatus',
|
191
194
|
:'postal_mail_status' => :'postalMailStatus',
|
192
195
|
:'tin_match_status' => :'tinMatchStatus',
|
@@ -203,13 +206,12 @@ module AvalaraSdk::A1099::V2
|
|
203
206
|
# Attribute type mapping.
|
204
207
|
def self.openapi_types
|
205
208
|
{
|
206
|
-
:'second_tin_notice' => :'Boolean',
|
207
209
|
:'rents' => :'Float',
|
208
210
|
:'royalties' => :'Float',
|
209
211
|
:'other_income' => :'Float',
|
210
212
|
:'fed_income_tax_withheld' => :'Float',
|
211
213
|
:'fishing_boat_proceeds' => :'Float',
|
212
|
-
:'
|
214
|
+
:'medical_and_health_care_payments' => :'Float',
|
213
215
|
:'direct_sales_indicator' => :'Boolean',
|
214
216
|
:'substitute_payments' => :'Float',
|
215
217
|
:'crop_insurance_proceeds' => :'Float',
|
@@ -222,7 +224,6 @@ module AvalaraSdk::A1099::V2
|
|
222
224
|
:'type' => :'String',
|
223
225
|
:'created_at' => :'Time',
|
224
226
|
:'updated_at' => :'Time',
|
225
|
-
:'user_id' => :'String',
|
226
227
|
:'state_and_local_withholding' => :'StateAndLocalWithholdingResponse',
|
227
228
|
:'tin_type' => :'String',
|
228
229
|
:'id' => :'String',
|
@@ -239,17 +240,20 @@ module AvalaraSdk::A1099::V2
|
|
239
240
|
:'city' => :'String',
|
240
241
|
:'state' => :'String',
|
241
242
|
:'zip' => :'String',
|
242
|
-
:'
|
243
|
+
:'email' => :'String',
|
243
244
|
:'account_number' => :'String',
|
244
245
|
:'office_code' => :'String',
|
245
|
-
:'
|
246
|
+
:'non_us_province' => :'String',
|
246
247
|
:'country_code' => :'String',
|
247
248
|
:'federal_e_file' => :'Boolean',
|
248
249
|
:'postal_mail' => :'Boolean',
|
249
250
|
:'state_e_file' => :'Boolean',
|
250
251
|
:'tin_match' => :'Boolean',
|
252
|
+
:'no_tin' => :'Boolean',
|
253
|
+
:'second_tin_notice' => :'Boolean',
|
251
254
|
:'address_verification' => :'Boolean',
|
252
255
|
:'federal_efile_status' => :'StatusDetail',
|
256
|
+
:'e_delivery_status' => :'StatusDetail',
|
253
257
|
:'state_efile_status' => :'Array<StateEfileStatusDetailResponse>',
|
254
258
|
:'postal_mail_status' => :'StatusDetail',
|
255
259
|
:'tin_match_status' => :'StatusDetail',
|
@@ -262,6 +266,7 @@ module AvalaraSdk::A1099::V2
|
|
262
266
|
def self.openapi_nullable
|
263
267
|
Set.new([
|
264
268
|
:'federal_efile_status',
|
269
|
+
:'e_delivery_status',
|
265
270
|
:'state_efile_status',
|
266
271
|
:'postal_mail_status',
|
267
272
|
:'tin_match_status',
|
@@ -292,10 +297,6 @@ module AvalaraSdk::A1099::V2
|
|
292
297
|
h[k.to_sym] = v
|
293
298
|
}
|
294
299
|
|
295
|
-
if attributes.key?(:'second_tin_notice')
|
296
|
-
self.second_tin_notice = attributes[:'second_tin_notice']
|
297
|
-
end
|
298
|
-
|
299
300
|
if attributes.key?(:'rents')
|
300
301
|
self.rents = attributes[:'rents']
|
301
302
|
end
|
@@ -316,8 +317,8 @@ module AvalaraSdk::A1099::V2
|
|
316
317
|
self.fishing_boat_proceeds = attributes[:'fishing_boat_proceeds']
|
317
318
|
end
|
318
319
|
|
319
|
-
if attributes.key?(:'
|
320
|
-
self.
|
320
|
+
if attributes.key?(:'medical_and_health_care_payments')
|
321
|
+
self.medical_and_health_care_payments = attributes[:'medical_and_health_care_payments']
|
321
322
|
end
|
322
323
|
|
323
324
|
if attributes.key?(:'direct_sales_indicator')
|
@@ -368,10 +369,6 @@ module AvalaraSdk::A1099::V2
|
|
368
369
|
self.updated_at = attributes[:'updated_at']
|
369
370
|
end
|
370
371
|
|
371
|
-
if attributes.key?(:'user_id')
|
372
|
-
self.user_id = attributes[:'user_id']
|
373
|
-
end
|
374
|
-
|
375
372
|
if attributes.key?(:'state_and_local_withholding')
|
376
373
|
self.state_and_local_withholding = attributes[:'state_and_local_withholding']
|
377
374
|
end
|
@@ -436,8 +433,8 @@ module AvalaraSdk::A1099::V2
|
|
436
433
|
self.zip = attributes[:'zip']
|
437
434
|
end
|
438
435
|
|
439
|
-
if attributes.key?(:'
|
440
|
-
self.
|
436
|
+
if attributes.key?(:'email')
|
437
|
+
self.email = attributes[:'email']
|
441
438
|
end
|
442
439
|
|
443
440
|
if attributes.key?(:'account_number')
|
@@ -448,8 +445,8 @@ module AvalaraSdk::A1099::V2
|
|
448
445
|
self.office_code = attributes[:'office_code']
|
449
446
|
end
|
450
447
|
|
451
|
-
if attributes.key?(:'
|
452
|
-
self.
|
448
|
+
if attributes.key?(:'non_us_province')
|
449
|
+
self.non_us_province = attributes[:'non_us_province']
|
453
450
|
end
|
454
451
|
|
455
452
|
if attributes.key?(:'country_code')
|
@@ -472,6 +469,14 @@ module AvalaraSdk::A1099::V2
|
|
472
469
|
self.tin_match = attributes[:'tin_match']
|
473
470
|
end
|
474
471
|
|
472
|
+
if attributes.key?(:'no_tin')
|
473
|
+
self.no_tin = attributes[:'no_tin']
|
474
|
+
end
|
475
|
+
|
476
|
+
if attributes.key?(:'second_tin_notice')
|
477
|
+
self.second_tin_notice = attributes[:'second_tin_notice']
|
478
|
+
end
|
479
|
+
|
475
480
|
if attributes.key?(:'address_verification')
|
476
481
|
self.address_verification = attributes[:'address_verification']
|
477
482
|
end
|
@@ -480,6 +485,10 @@ module AvalaraSdk::A1099::V2
|
|
480
485
|
self.federal_efile_status = attributes[:'federal_efile_status']
|
481
486
|
end
|
482
487
|
|
488
|
+
if attributes.key?(:'e_delivery_status')
|
489
|
+
self.e_delivery_status = attributes[:'e_delivery_status']
|
490
|
+
end
|
491
|
+
|
483
492
|
if attributes.key?(:'state_efile_status')
|
484
493
|
if (value = attributes[:'state_efile_status']).is_a?(Array)
|
485
494
|
self.state_efile_status = value
|
@@ -517,7 +526,7 @@ module AvalaraSdk::A1099::V2
|
|
517
526
|
# @return true if the model is valid
|
518
527
|
def valid?
|
519
528
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
520
|
-
type_validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S"])
|
529
|
+
type_validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S", "1095-C", "1099-INT"])
|
521
530
|
return false unless type_validator.valid?(@type)
|
522
531
|
tin_type_validator = EnumAttributeValidator.new('String', ["EIN", "SSN", "ITIN", "ATIN"])
|
523
532
|
return false unless tin_type_validator.valid?(@tin_type)
|
@@ -527,7 +536,7 @@ module AvalaraSdk::A1099::V2
|
|
527
536
|
# Custom attribute writer method checking allowed values (enum).
|
528
537
|
# @param [Object] type Object to be assigned
|
529
538
|
def type=(type)
|
530
|
-
validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S"])
|
539
|
+
validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S", "1095-C", "1099-INT"])
|
531
540
|
unless validator.valid?(type)
|
532
541
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
533
542
|
end
|
@@ -561,13 +570,12 @@ module AvalaraSdk::A1099::V2
|
|
561
570
|
def ==(o)
|
562
571
|
return true if self.equal?(o)
|
563
572
|
self.class == o.class &&
|
564
|
-
second_tin_notice == o.second_tin_notice &&
|
565
573
|
rents == o.rents &&
|
566
574
|
royalties == o.royalties &&
|
567
575
|
other_income == o.other_income &&
|
568
576
|
fed_income_tax_withheld == o.fed_income_tax_withheld &&
|
569
577
|
fishing_boat_proceeds == o.fishing_boat_proceeds &&
|
570
|
-
|
578
|
+
medical_and_health_care_payments == o.medical_and_health_care_payments &&
|
571
579
|
direct_sales_indicator == o.direct_sales_indicator &&
|
572
580
|
substitute_payments == o.substitute_payments &&
|
573
581
|
crop_insurance_proceeds == o.crop_insurance_proceeds &&
|
@@ -580,7 +588,6 @@ module AvalaraSdk::A1099::V2
|
|
580
588
|
type == o.type &&
|
581
589
|
created_at == o.created_at &&
|
582
590
|
updated_at == o.updated_at &&
|
583
|
-
user_id == o.user_id &&
|
584
591
|
state_and_local_withholding == o.state_and_local_withholding &&
|
585
592
|
tin_type == o.tin_type &&
|
586
593
|
id == o.id &&
|
@@ -597,17 +604,20 @@ module AvalaraSdk::A1099::V2
|
|
597
604
|
city == o.city &&
|
598
605
|
state == o.state &&
|
599
606
|
zip == o.zip &&
|
600
|
-
|
607
|
+
email == o.email &&
|
601
608
|
account_number == o.account_number &&
|
602
609
|
office_code == o.office_code &&
|
603
|
-
|
610
|
+
non_us_province == o.non_us_province &&
|
604
611
|
country_code == o.country_code &&
|
605
612
|
federal_e_file == o.federal_e_file &&
|
606
613
|
postal_mail == o.postal_mail &&
|
607
614
|
state_e_file == o.state_e_file &&
|
608
615
|
tin_match == o.tin_match &&
|
616
|
+
no_tin == o.no_tin &&
|
617
|
+
second_tin_notice == o.second_tin_notice &&
|
609
618
|
address_verification == o.address_verification &&
|
610
619
|
federal_efile_status == o.federal_efile_status &&
|
620
|
+
e_delivery_status == o.e_delivery_status &&
|
611
621
|
state_efile_status == o.state_efile_status &&
|
612
622
|
postal_mail_status == o.postal_mail_status &&
|
613
623
|
tin_match_status == o.tin_match_status &&
|
@@ -624,7 +634,7 @@ module AvalaraSdk::A1099::V2
|
|
624
634
|
# Calculates hash code according to all attributes.
|
625
635
|
# @return [Integer] Hash code
|
626
636
|
def hash
|
627
|
-
[
|
637
|
+
[rents, royalties, other_income, fed_income_tax_withheld, fishing_boat_proceeds, medical_and_health_care_payments, direct_sales_indicator, substitute_payments, crop_insurance_proceeds, gross_proceeds_paid_to_attorney, fish_purchased_for_resale, section409_a_deferrals, fatca_filing_requirement, excess_golden_parachute_payments, nonqualified_deferred_compensation, type, created_at, updated_at, state_and_local_withholding, tin_type, id, issuer_id, issuer_reference_id, issuer_tin, tax_year, reference_id, recipient_name, recipient_tin, recipient_second_name, address, address2, city, state, zip, email, account_number, office_code, non_us_province, country_code, federal_e_file, postal_mail, state_e_file, tin_match, no_tin, second_tin_notice, address_verification, federal_efile_status, e_delivery_status, state_efile_status, postal_mail_status, tin_match_status, address_verification_status, validation_errors].hash
|
628
638
|
end
|
629
639
|
|
630
640
|
# Builds the object from hash
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Avalara 1099 & W-9 API Definition
|
3
3
|
|
4
|
-
### 🔐 Authentication
|
4
|
+
### 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
|
5
5
|
|
6
6
|
|
7
7
|
=end
|
@@ -49,14 +49,22 @@ module AvalaraSdk::A1099::V2
|
|
49
49
|
|
50
50
|
attr_accessor :address_verification_status
|
51
51
|
|
52
|
+
attr_accessor :e_delivery_status
|
53
|
+
|
52
54
|
attr_accessor :reference_id
|
53
55
|
|
54
56
|
attr_accessor :email
|
55
57
|
|
56
58
|
attr_accessor :tin_type
|
57
59
|
|
60
|
+
attr_accessor :fatca_filing_requirement
|
61
|
+
|
58
62
|
attr_accessor :tin
|
59
63
|
|
64
|
+
attr_accessor :no_tin
|
65
|
+
|
66
|
+
attr_accessor :second_tin_notice
|
67
|
+
|
60
68
|
attr_accessor :recipient_name
|
61
69
|
|
62
70
|
attr_accessor :recipient_second_name
|
@@ -71,10 +79,14 @@ module AvalaraSdk::A1099::V2
|
|
71
79
|
|
72
80
|
attr_accessor :zip
|
73
81
|
|
74
|
-
attr_accessor :
|
82
|
+
attr_accessor :non_us_province
|
75
83
|
|
76
84
|
attr_accessor :country_code
|
77
85
|
|
86
|
+
attr_accessor :account_number
|
87
|
+
|
88
|
+
attr_accessor :office_code
|
89
|
+
|
78
90
|
attr_accessor :validation_errors
|
79
91
|
|
80
92
|
attr_accessor :created_at
|
@@ -105,10 +117,14 @@ module AvalaraSdk::A1099::V2
|
|
105
117
|
:'tin_match_status' => :'tinMatchStatus',
|
106
118
|
:'address_verification' => :'addressVerification',
|
107
119
|
:'address_verification_status' => :'addressVerificationStatus',
|
120
|
+
:'e_delivery_status' => :'eDeliveryStatus',
|
108
121
|
:'reference_id' => :'referenceId',
|
109
122
|
:'email' => :'email',
|
110
123
|
:'tin_type' => :'tinType',
|
124
|
+
:'fatca_filing_requirement' => :'fatcaFilingRequirement',
|
111
125
|
:'tin' => :'tin',
|
126
|
+
:'no_tin' => :'noTin',
|
127
|
+
:'second_tin_notice' => :'secondTinNotice',
|
112
128
|
:'recipient_name' => :'recipientName',
|
113
129
|
:'recipient_second_name' => :'recipientSecondName',
|
114
130
|
:'address' => :'address',
|
@@ -116,8 +132,10 @@ module AvalaraSdk::A1099::V2
|
|
116
132
|
:'city' => :'city',
|
117
133
|
:'state' => :'state',
|
118
134
|
:'zip' => :'zip',
|
119
|
-
:'
|
135
|
+
:'non_us_province' => :'nonUsProvince',
|
120
136
|
:'country_code' => :'countryCode',
|
137
|
+
:'account_number' => :'accountNumber',
|
138
|
+
:'office_code' => :'officeCode',
|
121
139
|
:'validation_errors' => :'validationErrors',
|
122
140
|
:'created_at' => :'createdAt',
|
123
141
|
:'updated_at' => :'updatedAt',
|
@@ -152,10 +170,14 @@ module AvalaraSdk::A1099::V2
|
|
152
170
|
:'tin_match_status' => :'Form1099StatusDetail',
|
153
171
|
:'address_verification' => :'Boolean',
|
154
172
|
:'address_verification_status' => :'Form1099StatusDetail',
|
173
|
+
:'e_delivery_status' => :'Form1099StatusDetail',
|
155
174
|
:'reference_id' => :'String',
|
156
175
|
:'email' => :'String',
|
157
176
|
:'tin_type' => :'String',
|
177
|
+
:'fatca_filing_requirement' => :'Boolean',
|
158
178
|
:'tin' => :'String',
|
179
|
+
:'no_tin' => :'Boolean',
|
180
|
+
:'second_tin_notice' => :'Boolean',
|
159
181
|
:'recipient_name' => :'String',
|
160
182
|
:'recipient_second_name' => :'String',
|
161
183
|
:'address' => :'String',
|
@@ -163,8 +185,10 @@ module AvalaraSdk::A1099::V2
|
|
163
185
|
:'city' => :'String',
|
164
186
|
:'state' => :'String',
|
165
187
|
:'zip' => :'String',
|
166
|
-
:'
|
188
|
+
:'non_us_province' => :'String',
|
167
189
|
:'country_code' => :'String',
|
190
|
+
:'account_number' => :'String',
|
191
|
+
:'office_code' => :'String',
|
168
192
|
:'validation_errors' => :'Array<ValidationError>',
|
169
193
|
:'created_at' => :'Time',
|
170
194
|
:'updated_at' => :'Time',
|
@@ -183,10 +207,13 @@ module AvalaraSdk::A1099::V2
|
|
183
207
|
:'postal_mail_status',
|
184
208
|
:'tin_match_status',
|
185
209
|
:'address_verification_status',
|
210
|
+
:'e_delivery_status',
|
186
211
|
:'reference_id',
|
187
212
|
:'email',
|
188
213
|
:'tin_type',
|
214
|
+
:'fatca_filing_requirement',
|
189
215
|
:'tin',
|
216
|
+
:'second_tin_notice',
|
190
217
|
:'recipient_name',
|
191
218
|
:'recipient_second_name',
|
192
219
|
:'address',
|
@@ -194,8 +221,10 @@ module AvalaraSdk::A1099::V2
|
|
194
221
|
:'city',
|
195
222
|
:'state',
|
196
223
|
:'zip',
|
197
|
-
:'
|
224
|
+
:'non_us_province',
|
198
225
|
:'country_code',
|
226
|
+
:'account_number',
|
227
|
+
:'office_code',
|
199
228
|
:'validation_errors',
|
200
229
|
:'state_and_local_withholding'
|
201
230
|
])
|
@@ -301,6 +330,10 @@ module AvalaraSdk::A1099::V2
|
|
301
330
|
self.address_verification_status = attributes[:'address_verification_status']
|
302
331
|
end
|
303
332
|
|
333
|
+
if attributes.key?(:'e_delivery_status')
|
334
|
+
self.e_delivery_status = attributes[:'e_delivery_status']
|
335
|
+
end
|
336
|
+
|
304
337
|
if attributes.key?(:'reference_id')
|
305
338
|
self.reference_id = attributes[:'reference_id']
|
306
339
|
end
|
@@ -313,10 +346,22 @@ module AvalaraSdk::A1099::V2
|
|
313
346
|
self.tin_type = attributes[:'tin_type']
|
314
347
|
end
|
315
348
|
|
349
|
+
if attributes.key?(:'fatca_filing_requirement')
|
350
|
+
self.fatca_filing_requirement = attributes[:'fatca_filing_requirement']
|
351
|
+
end
|
352
|
+
|
316
353
|
if attributes.key?(:'tin')
|
317
354
|
self.tin = attributes[:'tin']
|
318
355
|
end
|
319
356
|
|
357
|
+
if attributes.key?(:'no_tin')
|
358
|
+
self.no_tin = attributes[:'no_tin']
|
359
|
+
end
|
360
|
+
|
361
|
+
if attributes.key?(:'second_tin_notice')
|
362
|
+
self.second_tin_notice = attributes[:'second_tin_notice']
|
363
|
+
end
|
364
|
+
|
320
365
|
if attributes.key?(:'recipient_name')
|
321
366
|
self.recipient_name = attributes[:'recipient_name']
|
322
367
|
end
|
@@ -345,14 +390,22 @@ module AvalaraSdk::A1099::V2
|
|
345
390
|
self.zip = attributes[:'zip']
|
346
391
|
end
|
347
392
|
|
348
|
-
if attributes.key?(:'
|
349
|
-
self.
|
393
|
+
if attributes.key?(:'non_us_province')
|
394
|
+
self.non_us_province = attributes[:'non_us_province']
|
350
395
|
end
|
351
396
|
|
352
397
|
if attributes.key?(:'country_code')
|
353
398
|
self.country_code = attributes[:'country_code']
|
354
399
|
end
|
355
400
|
|
401
|
+
if attributes.key?(:'account_number')
|
402
|
+
self.account_number = attributes[:'account_number']
|
403
|
+
end
|
404
|
+
|
405
|
+
if attributes.key?(:'office_code')
|
406
|
+
self.office_code = attributes[:'office_code']
|
407
|
+
end
|
408
|
+
|
356
409
|
if attributes.key?(:'validation_errors')
|
357
410
|
if (value = attributes[:'validation_errors']).is_a?(Array)
|
358
411
|
self.validation_errors = value
|
@@ -423,10 +476,14 @@ module AvalaraSdk::A1099::V2
|
|
423
476
|
tin_match_status == o.tin_match_status &&
|
424
477
|
address_verification == o.address_verification &&
|
425
478
|
address_verification_status == o.address_verification_status &&
|
479
|
+
e_delivery_status == o.e_delivery_status &&
|
426
480
|
reference_id == o.reference_id &&
|
427
481
|
email == o.email &&
|
428
482
|
tin_type == o.tin_type &&
|
483
|
+
fatca_filing_requirement == o.fatca_filing_requirement &&
|
429
484
|
tin == o.tin &&
|
485
|
+
no_tin == o.no_tin &&
|
486
|
+
second_tin_notice == o.second_tin_notice &&
|
430
487
|
recipient_name == o.recipient_name &&
|
431
488
|
recipient_second_name == o.recipient_second_name &&
|
432
489
|
address == o.address &&
|
@@ -434,8 +491,10 @@ module AvalaraSdk::A1099::V2
|
|
434
491
|
city == o.city &&
|
435
492
|
state == o.state &&
|
436
493
|
zip == o.zip &&
|
437
|
-
|
494
|
+
non_us_province == o.non_us_province &&
|
438
495
|
country_code == o.country_code &&
|
496
|
+
account_number == o.account_number &&
|
497
|
+
office_code == o.office_code &&
|
439
498
|
validation_errors == o.validation_errors &&
|
440
499
|
created_at == o.created_at &&
|
441
500
|
updated_at == o.updated_at &&
|
@@ -451,7 +510,7 @@ module AvalaraSdk::A1099::V2
|
|
451
510
|
# Calculates hash code according to all attributes.
|
452
511
|
# @return [Integer] Hash code
|
453
512
|
def hash
|
454
|
-
[nonemployee_compensation, federal_income_tax_withheld, direct_sales_indicator, id, type, issuer_id, issuer_reference_id, issuer_tin, tax_year, federal_efile, federal_efile_status, state_efile, state_efile_status, postal_mail, postal_mail_status, tin_match, tin_match_status, address_verification, address_verification_status, reference_id, email, tin_type, tin, recipient_name, recipient_second_name, address, address2, city, state, zip,
|
513
|
+
[nonemployee_compensation, federal_income_tax_withheld, direct_sales_indicator, id, type, issuer_id, issuer_reference_id, issuer_tin, tax_year, federal_efile, federal_efile_status, state_efile, state_efile_status, postal_mail, postal_mail_status, tin_match, tin_match_status, address_verification, address_verification_status, e_delivery_status, reference_id, email, tin_type, fatca_filing_requirement, tin, no_tin, second_tin_notice, recipient_name, recipient_second_name, address, address2, city, state, zip, non_us_province, country_code, account_number, office_code, validation_errors, created_at, updated_at, state_and_local_withholding].hash
|
455
514
|
end
|
456
515
|
|
457
516
|
# Builds the object from hash
|