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.
Files changed (185) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +32 -6
  4. data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +4 -0
  5. data/docs/A1099/V2/CompaniesW9Api.md +6 -6
  6. data/docs/A1099/V2/CoveredIndividualRequest.md +26 -26
  7. data/docs/A1099/V2/Create1099Form201Response.md +4 -0
  8. data/docs/A1099/V2/ErrorResponse.md +1 -1
  9. data/docs/A1099/V2/ErrorResponseItem.md +20 -0
  10. data/docs/A1099/V2/Form1042S.md +140 -0
  11. data/docs/A1099/V2/Form1042SListItem.md +12 -8
  12. data/docs/A1099/V2/Form1042SListItemResponse.md +19 -9
  13. data/docs/A1099/V2/Form1042SRequest.md +14 -10
  14. data/docs/A1099/V2/Form1042SResponse.md +10 -6
  15. data/docs/A1099/V2/Form1095B.md +14 -2
  16. data/docs/A1099/V2/Form1095BListItem.md +14 -8
  17. data/docs/A1099/V2/Form1095BListItemResponse.md +20 -8
  18. data/docs/A1099/V2/Form1095BRequest.md +14 -8
  19. data/docs/A1099/V2/Form1095BResponse.md +106 -0
  20. data/docs/A1099/V2/Form1095CList.md +20 -0
  21. data/docs/A1099/V2/Form1095CListItem.md +90 -0
  22. data/docs/A1099/V2/Form1099Base.md +14 -2
  23. data/docs/A1099/V2/Form1099BaseResponse.md +20 -8
  24. data/docs/A1099/V2/Form1099Div.md +130 -0
  25. data/docs/A1099/V2/Form1099DivListItem.md +32 -28
  26. data/docs/A1099/V2/Form1099DivListItemResponse.md +130 -0
  27. data/docs/A1099/V2/Form1099DivRequest.md +32 -28
  28. data/docs/A1099/V2/Form1099DivResponse.md +48 -6
  29. data/docs/A1099/V2/Form1099Int.md +122 -0
  30. data/docs/A1099/V2/Form1099IntList.md +20 -0
  31. data/docs/A1099/V2/Form1099IntListItem.md +100 -0
  32. data/docs/A1099/V2/Form1099IntListItemResponse.md +122 -0
  33. data/docs/A1099/V2/Form1099IntRequest.md +96 -0
  34. data/docs/A1099/V2/Form1099IntResponse.md +120 -0
  35. data/docs/A1099/V2/Form1099K.md +14 -2
  36. data/docs/A1099/V2/Form1099KListItem.md +14 -8
  37. data/docs/A1099/V2/Form1099KListItemResponse.md +20 -8
  38. data/docs/A1099/V2/Form1099KRequest.md +18 -12
  39. data/docs/A1099/V2/Form1099KResponse.md +132 -0
  40. data/docs/A1099/V2/Form1099ListResponseValueInner.md +4 -0
  41. data/docs/A1099/V2/Form1099Misc.md +24 -12
  42. data/docs/A1099/V2/Form1099MiscListItem.md +14 -12
  43. data/docs/A1099/V2/Form1099MiscListItemResponse.md +30 -16
  44. data/docs/A1099/V2/Form1099MiscRequest.md +14 -12
  45. data/docs/A1099/V2/Form1099MiscResponse.md +12 -10
  46. data/docs/A1099/V2/Form1099Nec.md +14 -2
  47. data/docs/A1099/V2/Form1099NecListItem.md +14 -10
  48. data/docs/A1099/V2/Form1099NecListItemResponse.md +20 -8
  49. data/docs/A1099/V2/Form1099NecRequest.md +14 -10
  50. data/docs/A1099/V2/Form1099NecResponse.md +10 -8
  51. data/docs/A1099/V2/Form1099ProccessResult.md +3 -1
  52. data/docs/A1099/V2/Form1099ProccessResultProcessedFormsInner.md +61 -0
  53. data/docs/A1099/V2/Form1099R.md +14 -4
  54. data/docs/A1099/V2/Form1099RListItem.md +12 -8
  55. data/docs/A1099/V2/Form1099RListItemResponse.md +20 -10
  56. data/docs/A1099/V2/Form1099RRequest.md +12 -8
  57. data/docs/A1099/V2/Form1099RResponse.md +132 -0
  58. data/docs/A1099/V2/FormRequestBase.md +14 -8
  59. data/docs/A1099/V2/FormRequestListItemBase.md +14 -8
  60. data/docs/A1099/V2/FormResponseBase.md +10 -6
  61. data/docs/A1099/V2/FormSingleRequestBase.md +14 -8
  62. data/docs/A1099/V2/Forms1099Api.md +11 -11
  63. data/docs/A1099/V2/FormsW9Api.md +21 -19
  64. data/docs/A1099/V2/Get1099Form200Response.md +4 -0
  65. data/docs/A1099/V2/ICreateForm1099Request.md +2 -0
  66. data/docs/A1099/V2/IUpdateForm1099Request.md +2 -0
  67. data/docs/A1099/V2/IrsResponse.md +20 -0
  68. data/docs/A1099/V2/Issuers1099Api.md +6 -6
  69. data/docs/A1099/V2/Jobs1099Api.md +1 -1
  70. data/docs/A1099/V2/OfferAndCoverageRequest.md +26 -0
  71. data/docs/A1099/V2/PaginatedQueryResultModelCompanyResponse.md +1 -1
  72. data/docs/A1099/V2/PaginatedQueryResultModelIssuerResponse.md +1 -1
  73. data/docs/A1099/V2/PaginatedQueryResultModelW9FormBaseResponse.md +22 -0
  74. data/docs/A1099/V2/TinMatchStatusResponse.md +22 -0
  75. data/docs/A1099/V2/Update1099Form200Response.md +8 -0
  76. data/docs/A1099/V2/W4FormResponse.md +1 -29
  77. data/docs/A1099/V2/W8BenEFormResponse.md +1 -29
  78. data/docs/A1099/V2/W8BenFormResponse.md +1 -29
  79. data/docs/A1099/V2/W8ImyFormResponse.md +1 -29
  80. data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
  81. data/docs/A1099/V2/W9FormResponse.md +2 -28
  82. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +1 -1
  83. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +3 -3
  84. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +30 -14
  85. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +1 -1
  86. data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +1 -1
  87. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
  88. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
  89. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
  90. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
  91. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
  92. data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
  93. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
  94. data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +2 -0
  95. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +1 -1
  96. data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +79 -79
  97. data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +2 -0
  98. data/lib/avalara_sdk/models/A1099/V2/error_response.rb +1 -1
  99. data/lib/avalara_sdk/models/A1099/V2/error_response_item.rb +221 -0
  100. data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +824 -0
  101. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +44 -119
  102. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +67 -12
  103. data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +55 -132
  104. data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +43 -24
  105. data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +68 -9
  106. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +54 -119
  107. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +77 -12
  108. data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +56 -121
  109. data/lib/avalara_sdk/models/A1099/V2/form1095_b_response.rb +709 -0
  110. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +238 -0
  111. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +662 -0
  112. data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +68 -9
  113. data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +77 -12
  114. data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +781 -0
  115. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +93 -147
  116. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +931 -0
  117. data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +93 -149
  118. data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +214 -24
  119. data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +741 -0
  120. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +238 -0
  121. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +702 -0
  122. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +887 -0
  123. data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +684 -0
  124. data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +773 -0
  125. data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +68 -9
  126. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +56 -119
  127. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +77 -12
  128. data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +82 -123
  129. data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +839 -0
  130. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +2 -0
  131. data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +106 -47
  132. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +52 -135
  133. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +116 -40
  134. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +52 -137
  135. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +49 -39
  136. data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +68 -9
  137. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +56 -129
  138. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +77 -12
  139. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +56 -131
  140. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +43 -33
  141. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +22 -4
  142. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +107 -0
  143. data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +68 -19
  144. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +46 -119
  145. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +77 -23
  146. data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +46 -121
  147. data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +839 -0
  148. data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail.rb +1 -1
  149. data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +54 -119
  150. data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +56 -119
  151. data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +43 -24
  152. data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +56 -121
  153. data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +2 -0
  154. data/lib/avalara_sdk/models/A1099/V2/i_create_form1099_request.rb +1 -0
  155. data/lib/avalara_sdk/models/A1099/V2/i_update_form1099_request.rb +1 -0
  156. data/lib/avalara_sdk/models/A1099/V2/included_base.rb +1 -1
  157. data/lib/avalara_sdk/models/A1099/V2/irs_response.rb +221 -0
  158. data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +1 -0
  159. data/lib/avalara_sdk/models/A1099/V2/offer_and_coverage_request.rb +256 -0
  160. data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_w9_form_base_response.rb +234 -0
  161. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +1 -1
  162. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb +1 -1
  163. data/lib/avalara_sdk/models/A1099/V2/tin_match_status_response.rb +267 -0
  164. data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +4 -0
  165. data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +1 -1
  166. data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +15 -157
  167. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +14 -156
  168. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +15 -157
  169. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +15 -157
  170. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +19 -14
  171. data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +18 -150
  172. data/lib/avalara_sdk/version.rb +1 -1
  173. data/lib/avalara_sdk.rb +21 -1
  174. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
  175. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
  176. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
  177. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
  178. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
  179. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
  180. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
  181. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
  182. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
  183. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  184. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
  185. metadata +42 -2
@@ -11,14 +11,50 @@ require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
13
  class Form1099DivResponse
14
+ attr_accessor :total_ordinary_dividends
15
+
16
+ attr_accessor :qualified_dividends
17
+
18
+ attr_accessor :total_capital_gain_distributions
19
+
20
+ attr_accessor :unrecaptured_section1250_gain
21
+
22
+ attr_accessor :section1202_gain
23
+
24
+ attr_accessor :collectibles_gain
25
+
26
+ attr_accessor :section897_ordinary_dividends
27
+
28
+ attr_accessor :section897_capital_gain
29
+
30
+ attr_accessor :nondividend_distributions
31
+
32
+ attr_accessor :federal_income_tax_withheld
33
+
34
+ attr_accessor :section199_a_dividends
35
+
36
+ attr_accessor :investment_expenses
37
+
38
+ attr_accessor :foreign_tax_paid
39
+
40
+ attr_accessor :foreign_country_or_us_possession
41
+
42
+ attr_accessor :cash_liquidation_distributions
43
+
44
+ attr_accessor :noncash_liquidation_distributions
45
+
46
+ attr_accessor :exempt_interest_dividends
47
+
48
+ attr_accessor :specified_private_activity_bond_interest_dividends
49
+
50
+ attr_accessor :fatca_filing_requirement
51
+
14
52
  attr_accessor :type
15
53
 
16
54
  attr_accessor :created_at
17
55
 
18
56
  attr_accessor :updated_at
19
57
 
20
- attr_accessor :user_id
21
-
22
58
  attr_accessor :state_and_local_withholding
23
59
 
24
60
  attr_accessor :tin_type
@@ -51,13 +87,13 @@ module AvalaraSdk::A1099::V2
51
87
 
52
88
  attr_accessor :zip
53
89
 
54
- attr_accessor :recipient_email
90
+ attr_accessor :email
55
91
 
56
92
  attr_accessor :account_number
57
93
 
58
94
  attr_accessor :office_code
59
95
 
60
- attr_accessor :recipient_non_us_province
96
+ attr_accessor :non_us_province
61
97
 
62
98
  attr_accessor :country_code
63
99
 
@@ -69,10 +105,16 @@ module AvalaraSdk::A1099::V2
69
105
 
70
106
  attr_accessor :tin_match
71
107
 
108
+ attr_accessor :no_tin
109
+
110
+ attr_accessor :second_tin_notice
111
+
72
112
  attr_accessor :address_verification
73
113
 
74
114
  attr_accessor :federal_efile_status
75
115
 
116
+ attr_accessor :e_delivery_status
117
+
76
118
  attr_accessor :state_efile_status
77
119
 
78
120
  attr_accessor :postal_mail_status
@@ -108,10 +150,28 @@ module AvalaraSdk::A1099::V2
108
150
  # Attribute mapping from ruby-style variable name to JSON key.
109
151
  def self.attribute_map
110
152
  {
153
+ :'total_ordinary_dividends' => :'totalOrdinaryDividends',
154
+ :'qualified_dividends' => :'qualifiedDividends',
155
+ :'total_capital_gain_distributions' => :'totalCapitalGainDistributions',
156
+ :'unrecaptured_section1250_gain' => :'unrecapturedSection1250Gain',
157
+ :'section1202_gain' => :'section1202Gain',
158
+ :'collectibles_gain' => :'collectiblesGain',
159
+ :'section897_ordinary_dividends' => :'section897OrdinaryDividends',
160
+ :'section897_capital_gain' => :'section897CapitalGain',
161
+ :'nondividend_distributions' => :'nondividendDistributions',
162
+ :'federal_income_tax_withheld' => :'federalIncomeTaxWithheld',
163
+ :'section199_a_dividends' => :'section199ADividends',
164
+ :'investment_expenses' => :'investmentExpenses',
165
+ :'foreign_tax_paid' => :'foreignTaxPaid',
166
+ :'foreign_country_or_us_possession' => :'foreignCountryOrUSPossession',
167
+ :'cash_liquidation_distributions' => :'cashLiquidationDistributions',
168
+ :'noncash_liquidation_distributions' => :'noncashLiquidationDistributions',
169
+ :'exempt_interest_dividends' => :'exemptInterestDividends',
170
+ :'specified_private_activity_bond_interest_dividends' => :'specifiedPrivateActivityBondInterestDividends',
171
+ :'fatca_filing_requirement' => :'fatcaFilingRequirement',
111
172
  :'type' => :'type',
112
173
  :'created_at' => :'createdAt',
113
174
  :'updated_at' => :'updatedAt',
114
- :'user_id' => :'userId',
115
175
  :'state_and_local_withholding' => :'stateAndLocalWithholding',
116
176
  :'tin_type' => :'tinType',
117
177
  :'id' => :'id',
@@ -128,17 +188,20 @@ module AvalaraSdk::A1099::V2
128
188
  :'city' => :'city',
129
189
  :'state' => :'state',
130
190
  :'zip' => :'zip',
131
- :'recipient_email' => :'recipientEmail',
191
+ :'email' => :'email',
132
192
  :'account_number' => :'accountNumber',
133
193
  :'office_code' => :'officeCode',
134
- :'recipient_non_us_province' => :'recipientNonUsProvince',
194
+ :'non_us_province' => :'nonUsProvince',
135
195
  :'country_code' => :'countryCode',
136
196
  :'federal_e_file' => :'federalEFile',
137
197
  :'postal_mail' => :'postalMail',
138
198
  :'state_e_file' => :'stateEFile',
139
199
  :'tin_match' => :'tinMatch',
200
+ :'no_tin' => :'noTin',
201
+ :'second_tin_notice' => :'secondTinNotice',
140
202
  :'address_verification' => :'addressVerification',
141
203
  :'federal_efile_status' => :'federalEfileStatus',
204
+ :'e_delivery_status' => :'eDeliveryStatus',
142
205
  :'state_efile_status' => :'stateEfileStatus',
143
206
  :'postal_mail_status' => :'postalMailStatus',
144
207
  :'tin_match_status' => :'tinMatchStatus',
@@ -155,10 +218,28 @@ module AvalaraSdk::A1099::V2
155
218
  # Attribute type mapping.
156
219
  def self.openapi_types
157
220
  {
221
+ :'total_ordinary_dividends' => :'Float',
222
+ :'qualified_dividends' => :'Float',
223
+ :'total_capital_gain_distributions' => :'Float',
224
+ :'unrecaptured_section1250_gain' => :'Float',
225
+ :'section1202_gain' => :'Float',
226
+ :'collectibles_gain' => :'Float',
227
+ :'section897_ordinary_dividends' => :'Float',
228
+ :'section897_capital_gain' => :'Float',
229
+ :'nondividend_distributions' => :'Float',
230
+ :'federal_income_tax_withheld' => :'Float',
231
+ :'section199_a_dividends' => :'Float',
232
+ :'investment_expenses' => :'Float',
233
+ :'foreign_tax_paid' => :'Float',
234
+ :'foreign_country_or_us_possession' => :'String',
235
+ :'cash_liquidation_distributions' => :'Float',
236
+ :'noncash_liquidation_distributions' => :'Float',
237
+ :'exempt_interest_dividends' => :'Float',
238
+ :'specified_private_activity_bond_interest_dividends' => :'Float',
239
+ :'fatca_filing_requirement' => :'Boolean',
158
240
  :'type' => :'String',
159
241
  :'created_at' => :'Time',
160
242
  :'updated_at' => :'Time',
161
- :'user_id' => :'String',
162
243
  :'state_and_local_withholding' => :'StateAndLocalWithholdingResponse',
163
244
  :'tin_type' => :'String',
164
245
  :'id' => :'String',
@@ -175,17 +256,20 @@ module AvalaraSdk::A1099::V2
175
256
  :'city' => :'String',
176
257
  :'state' => :'String',
177
258
  :'zip' => :'String',
178
- :'recipient_email' => :'String',
259
+ :'email' => :'String',
179
260
  :'account_number' => :'String',
180
261
  :'office_code' => :'String',
181
- :'recipient_non_us_province' => :'String',
262
+ :'non_us_province' => :'String',
182
263
  :'country_code' => :'String',
183
264
  :'federal_e_file' => :'Boolean',
184
265
  :'postal_mail' => :'Boolean',
185
266
  :'state_e_file' => :'Boolean',
186
267
  :'tin_match' => :'Boolean',
268
+ :'no_tin' => :'Boolean',
269
+ :'second_tin_notice' => :'Boolean',
187
270
  :'address_verification' => :'Boolean',
188
271
  :'federal_efile_status' => :'StatusDetail',
272
+ :'e_delivery_status' => :'StatusDetail',
189
273
  :'state_efile_status' => :'Array<StateEfileStatusDetailResponse>',
190
274
  :'postal_mail_status' => :'StatusDetail',
191
275
  :'tin_match_status' => :'StatusDetail',
@@ -198,6 +282,7 @@ module AvalaraSdk::A1099::V2
198
282
  def self.openapi_nullable
199
283
  Set.new([
200
284
  :'federal_efile_status',
285
+ :'e_delivery_status',
201
286
  :'state_efile_status',
202
287
  :'postal_mail_status',
203
288
  :'tin_match_status',
@@ -228,6 +313,82 @@ module AvalaraSdk::A1099::V2
228
313
  h[k.to_sym] = v
229
314
  }
230
315
 
316
+ if attributes.key?(:'total_ordinary_dividends')
317
+ self.total_ordinary_dividends = attributes[:'total_ordinary_dividends']
318
+ end
319
+
320
+ if attributes.key?(:'qualified_dividends')
321
+ self.qualified_dividends = attributes[:'qualified_dividends']
322
+ end
323
+
324
+ if attributes.key?(:'total_capital_gain_distributions')
325
+ self.total_capital_gain_distributions = attributes[:'total_capital_gain_distributions']
326
+ end
327
+
328
+ if attributes.key?(:'unrecaptured_section1250_gain')
329
+ self.unrecaptured_section1250_gain = attributes[:'unrecaptured_section1250_gain']
330
+ end
331
+
332
+ if attributes.key?(:'section1202_gain')
333
+ self.section1202_gain = attributes[:'section1202_gain']
334
+ end
335
+
336
+ if attributes.key?(:'collectibles_gain')
337
+ self.collectibles_gain = attributes[:'collectibles_gain']
338
+ end
339
+
340
+ if attributes.key?(:'section897_ordinary_dividends')
341
+ self.section897_ordinary_dividends = attributes[:'section897_ordinary_dividends']
342
+ end
343
+
344
+ if attributes.key?(:'section897_capital_gain')
345
+ self.section897_capital_gain = attributes[:'section897_capital_gain']
346
+ end
347
+
348
+ if attributes.key?(:'nondividend_distributions')
349
+ self.nondividend_distributions = attributes[:'nondividend_distributions']
350
+ end
351
+
352
+ if attributes.key?(:'federal_income_tax_withheld')
353
+ self.federal_income_tax_withheld = attributes[:'federal_income_tax_withheld']
354
+ end
355
+
356
+ if attributes.key?(:'section199_a_dividends')
357
+ self.section199_a_dividends = attributes[:'section199_a_dividends']
358
+ end
359
+
360
+ if attributes.key?(:'investment_expenses')
361
+ self.investment_expenses = attributes[:'investment_expenses']
362
+ end
363
+
364
+ if attributes.key?(:'foreign_tax_paid')
365
+ self.foreign_tax_paid = attributes[:'foreign_tax_paid']
366
+ end
367
+
368
+ if attributes.key?(:'foreign_country_or_us_possession')
369
+ self.foreign_country_or_us_possession = attributes[:'foreign_country_or_us_possession']
370
+ end
371
+
372
+ if attributes.key?(:'cash_liquidation_distributions')
373
+ self.cash_liquidation_distributions = attributes[:'cash_liquidation_distributions']
374
+ end
375
+
376
+ if attributes.key?(:'noncash_liquidation_distributions')
377
+ self.noncash_liquidation_distributions = attributes[:'noncash_liquidation_distributions']
378
+ end
379
+
380
+ if attributes.key?(:'exempt_interest_dividends')
381
+ self.exempt_interest_dividends = attributes[:'exempt_interest_dividends']
382
+ end
383
+
384
+ if attributes.key?(:'specified_private_activity_bond_interest_dividends')
385
+ self.specified_private_activity_bond_interest_dividends = attributes[:'specified_private_activity_bond_interest_dividends']
386
+ end
387
+
388
+ if attributes.key?(:'fatca_filing_requirement')
389
+ self.fatca_filing_requirement = attributes[:'fatca_filing_requirement']
390
+ end
391
+
231
392
  if attributes.key?(:'type')
232
393
  self.type = attributes[:'type']
233
394
  end
@@ -240,10 +401,6 @@ module AvalaraSdk::A1099::V2
240
401
  self.updated_at = attributes[:'updated_at']
241
402
  end
242
403
 
243
- if attributes.key?(:'user_id')
244
- self.user_id = attributes[:'user_id']
245
- end
246
-
247
404
  if attributes.key?(:'state_and_local_withholding')
248
405
  self.state_and_local_withholding = attributes[:'state_and_local_withholding']
249
406
  end
@@ -308,8 +465,8 @@ module AvalaraSdk::A1099::V2
308
465
  self.zip = attributes[:'zip']
309
466
  end
310
467
 
311
- if attributes.key?(:'recipient_email')
312
- self.recipient_email = attributes[:'recipient_email']
468
+ if attributes.key?(:'email')
469
+ self.email = attributes[:'email']
313
470
  end
314
471
 
315
472
  if attributes.key?(:'account_number')
@@ -320,8 +477,8 @@ module AvalaraSdk::A1099::V2
320
477
  self.office_code = attributes[:'office_code']
321
478
  end
322
479
 
323
- if attributes.key?(:'recipient_non_us_province')
324
- self.recipient_non_us_province = attributes[:'recipient_non_us_province']
480
+ if attributes.key?(:'non_us_province')
481
+ self.non_us_province = attributes[:'non_us_province']
325
482
  end
326
483
 
327
484
  if attributes.key?(:'country_code')
@@ -344,6 +501,14 @@ module AvalaraSdk::A1099::V2
344
501
  self.tin_match = attributes[:'tin_match']
345
502
  end
346
503
 
504
+ if attributes.key?(:'no_tin')
505
+ self.no_tin = attributes[:'no_tin']
506
+ end
507
+
508
+ if attributes.key?(:'second_tin_notice')
509
+ self.second_tin_notice = attributes[:'second_tin_notice']
510
+ end
511
+
347
512
  if attributes.key?(:'address_verification')
348
513
  self.address_verification = attributes[:'address_verification']
349
514
  end
@@ -352,6 +517,10 @@ module AvalaraSdk::A1099::V2
352
517
  self.federal_efile_status = attributes[:'federal_efile_status']
353
518
  end
354
519
 
520
+ if attributes.key?(:'e_delivery_status')
521
+ self.e_delivery_status = attributes[:'e_delivery_status']
522
+ end
523
+
355
524
  if attributes.key?(:'state_efile_status')
356
525
  if (value = attributes[:'state_efile_status']).is_a?(Array)
357
526
  self.state_efile_status = value
@@ -389,7 +558,7 @@ module AvalaraSdk::A1099::V2
389
558
  # @return true if the model is valid
390
559
  def valid?
391
560
  warn '[DEPRECATED] the `valid?` method is obsolete'
392
- type_validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S"])
561
+ type_validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S", "1095-C", "1099-INT"])
393
562
  return false unless type_validator.valid?(@type)
394
563
  tin_type_validator = EnumAttributeValidator.new('String', ["EIN", "SSN", "ITIN", "ATIN"])
395
564
  return false unless tin_type_validator.valid?(@tin_type)
@@ -399,7 +568,7 @@ module AvalaraSdk::A1099::V2
399
568
  # Custom attribute writer method checking allowed values (enum).
400
569
  # @param [Object] type Object to be assigned
401
570
  def type=(type)
402
- validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S"])
571
+ validator = EnumAttributeValidator.new('String', ["1099-NEC", "1099-MISC", "1099-DIV", "1099-R", "1099-K", "1095-B", "1042-S", "1095-C", "1099-INT"])
403
572
  unless validator.valid?(type)
404
573
  fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
405
574
  end
@@ -433,10 +602,28 @@ module AvalaraSdk::A1099::V2
433
602
  def ==(o)
434
603
  return true if self.equal?(o)
435
604
  self.class == o.class &&
605
+ total_ordinary_dividends == o.total_ordinary_dividends &&
606
+ qualified_dividends == o.qualified_dividends &&
607
+ total_capital_gain_distributions == o.total_capital_gain_distributions &&
608
+ unrecaptured_section1250_gain == o.unrecaptured_section1250_gain &&
609
+ section1202_gain == o.section1202_gain &&
610
+ collectibles_gain == o.collectibles_gain &&
611
+ section897_ordinary_dividends == o.section897_ordinary_dividends &&
612
+ section897_capital_gain == o.section897_capital_gain &&
613
+ nondividend_distributions == o.nondividend_distributions &&
614
+ federal_income_tax_withheld == o.federal_income_tax_withheld &&
615
+ section199_a_dividends == o.section199_a_dividends &&
616
+ investment_expenses == o.investment_expenses &&
617
+ foreign_tax_paid == o.foreign_tax_paid &&
618
+ foreign_country_or_us_possession == o.foreign_country_or_us_possession &&
619
+ cash_liquidation_distributions == o.cash_liquidation_distributions &&
620
+ noncash_liquidation_distributions == o.noncash_liquidation_distributions &&
621
+ exempt_interest_dividends == o.exempt_interest_dividends &&
622
+ specified_private_activity_bond_interest_dividends == o.specified_private_activity_bond_interest_dividends &&
623
+ fatca_filing_requirement == o.fatca_filing_requirement &&
436
624
  type == o.type &&
437
625
  created_at == o.created_at &&
438
626
  updated_at == o.updated_at &&
439
- user_id == o.user_id &&
440
627
  state_and_local_withholding == o.state_and_local_withholding &&
441
628
  tin_type == o.tin_type &&
442
629
  id == o.id &&
@@ -453,17 +640,20 @@ module AvalaraSdk::A1099::V2
453
640
  city == o.city &&
454
641
  state == o.state &&
455
642
  zip == o.zip &&
456
- recipient_email == o.recipient_email &&
643
+ email == o.email &&
457
644
  account_number == o.account_number &&
458
645
  office_code == o.office_code &&
459
- recipient_non_us_province == o.recipient_non_us_province &&
646
+ non_us_province == o.non_us_province &&
460
647
  country_code == o.country_code &&
461
648
  federal_e_file == o.federal_e_file &&
462
649
  postal_mail == o.postal_mail &&
463
650
  state_e_file == o.state_e_file &&
464
651
  tin_match == o.tin_match &&
652
+ no_tin == o.no_tin &&
653
+ second_tin_notice == o.second_tin_notice &&
465
654
  address_verification == o.address_verification &&
466
655
  federal_efile_status == o.federal_efile_status &&
656
+ e_delivery_status == o.e_delivery_status &&
467
657
  state_efile_status == o.state_efile_status &&
468
658
  postal_mail_status == o.postal_mail_status &&
469
659
  tin_match_status == o.tin_match_status &&
@@ -480,7 +670,7 @@ module AvalaraSdk::A1099::V2
480
670
  # Calculates hash code according to all attributes.
481
671
  # @return [Integer] Hash code
482
672
  def hash
483
- [type, created_at, updated_at, user_id, 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, recipient_email, account_number, office_code, recipient_non_us_province, country_code, federal_e_file, postal_mail, state_e_file, tin_match, address_verification, federal_efile_status, state_efile_status, postal_mail_status, tin_match_status, address_verification_status, validation_errors].hash
673
+ [total_ordinary_dividends, qualified_dividends, total_capital_gain_distributions, unrecaptured_section1250_gain, section1202_gain, collectibles_gain, section897_ordinary_dividends, section897_capital_gain, nondividend_distributions, federal_income_tax_withheld, section199_a_dividends, investment_expenses, foreign_tax_paid, foreign_country_or_us_possession, cash_liquidation_distributions, noncash_liquidation_distributions, exempt_interest_dividends, specified_private_activity_bond_interest_dividends, fatca_filing_requirement, 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
484
674
  end
485
675
 
486
676
  # Builds the object from hash