avalara_sdk 25.8.2 → 25.8.3

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 (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +18 -79
  4. data/docs/A1099/V2/CompaniesW9Api.md +18 -18
  5. data/docs/A1099/V2/CompanyCreateUpdateRequestModel.md +18 -18
  6. data/docs/A1099/V2/CompanyResponse.md +37 -37
  7. data/docs/A1099/V2/CoveredIndividual.md +56 -0
  8. data/docs/A1099/V2/CreateAndSendW9FormEmailRequest.md +55 -0
  9. data/docs/A1099/V2/CreateCompanyRequest.md +49 -0
  10. data/docs/A1099/V2/CreateIssuerRequest.md +49 -0
  11. data/docs/A1099/V2/EntryStatusResponse.md +20 -0
  12. data/docs/A1099/V2/Form1042S.md +83 -83
  13. data/docs/A1099/V2/Form1095B.md +72 -62
  14. data/docs/A1099/V2/Form1095C.md +112 -0
  15. data/docs/A1099/V2/Form1099Base.md +60 -60
  16. data/docs/A1099/V2/Form1099Div.md +79 -77
  17. data/docs/A1099/V2/Form1099Int.md +76 -74
  18. data/docs/A1099/V2/Form1099K.md +83 -83
  19. data/docs/A1099/V2/Form1099ListRequest.md +20 -0
  20. data/docs/A1099/V2/Form1099Misc.md +79 -77
  21. data/docs/A1099/V2/Form1099Nec.md +64 -64
  22. data/docs/A1099/V2/Form1099R.md +95 -93
  23. data/docs/A1099/V2/Forms1099Api.md +45 -41
  24. data/docs/A1099/V2/FormsW9Api.md +98 -14
  25. data/docs/A1099/V2/Get1099Form200Response.md +19 -19
  26. data/docs/A1099/V2/IntermediaryOrFlowThrough.md +11 -11
  27. data/docs/A1099/V2/IssuerCommand.md +16 -16
  28. data/docs/A1099/V2/IssuerResponse.md +35 -35
  29. data/docs/A1099/V2/Issuers1099Api.md +10 -10
  30. data/docs/A1099/V2/JobResponse.md +56 -0
  31. data/docs/A1099/V2/JobsApi.md +91 -0
  32. data/docs/A1099/V2/OfferAndCoverage.md +28 -0
  33. data/docs/A1099/V2/PaginatedQueryResultModelForm1099Base.md +22 -0
  34. data/docs/A1099/V2/PrimaryWithholdingAgent.md +4 -4
  35. data/docs/A1099/V2/StateAndLocalWithholding.md +8 -8
  36. data/docs/A1099/V2/ValidationError.md +2 -2
  37. data/docs/A1099/V2/W4FormMinimalRequest.md +30 -0
  38. data/docs/A1099/V2/W4FormRequest.md +6 -6
  39. data/docs/A1099/V2/W8BenEFormMinimalRequest.md +28 -0
  40. data/docs/A1099/V2/W8BenEFormRequest.md +6 -6
  41. data/docs/A1099/V2/W8BenFormMinimalRequest.md +28 -0
  42. data/docs/A1099/V2/W8BenFormRequest.md +6 -6
  43. data/docs/A1099/V2/W8ImyFormMinimalRequest.md +28 -0
  44. data/docs/A1099/V2/W8ImyFormRequest.md +6 -6
  45. data/docs/A1099/V2/W9FormBaseMinimalRequest.md +24 -0
  46. data/docs/A1099/V2/W9FormBaseRequest.md +6 -6
  47. data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
  48. data/docs/A1099/V2/W9FormMinimalRequest.md +28 -0
  49. data/docs/A1099/V2/W9FormRequest.md +6 -6
  50. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +27 -27
  51. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +89 -57
  52. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +144 -6
  53. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +21 -21
  54. data/lib/avalara_sdk/api/A1099/V2/{jobs1099_api.rb → jobs_api.rb} +9 -9
  55. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
  56. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
  57. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
  58. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
  59. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
  60. data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
  61. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
  62. data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +58 -17
  63. data/lib/avalara_sdk/models/A1099/V2/company_response.rb +110 -69
  64. data/lib/avalara_sdk/models/A1099/V2/{covered_individual_request.rb → covered_individual.rb} +36 -7
  65. data/lib/avalara_sdk/models/A1099/V2/{i_create_form1099_request.rb → create_and_send_w9_form_email_request.rb} +6 -5
  66. data/lib/avalara_sdk/models/A1099/V2/{error_response_errors_inner.rb → create_company_request.rb} +3 -3
  67. data/lib/avalara_sdk/models/A1099/V2/{i_update_form1099_request.rb → create_issuer_request.rb} +3 -5
  68. data/lib/avalara_sdk/models/A1099/V2/{status_detail.rb → entry_status_response.rb} +20 -18
  69. data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +424 -179
  70. data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +365 -179
  71. data/lib/avalara_sdk/models/A1099/V2/{form1095_b_response.rb → form1095_c.rb} +259 -111
  72. data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +286 -177
  73. data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +310 -171
  74. data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +308 -174
  75. data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +298 -186
  76. data/lib/avalara_sdk/models/A1099/V2/{form1099_div_list.rb → form1099_list_request.rb} +49 -22
  77. data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +337 -201
  78. data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +298 -183
  79. data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +414 -274
  80. data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +9 -9
  81. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +13 -1
  82. data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +42 -23
  83. data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +77 -46
  84. data/lib/avalara_sdk/models/A1099/V2/{job_result.rb → job_response.rb} +108 -42
  85. data/lib/avalara_sdk/models/A1099/V2/{offer_and_coverage_request.rb → offer_and_coverage.rb} +79 -9
  86. data/lib/avalara_sdk/models/A1099/V2/{paginated_query_result_model.rb → paginated_query_result_model_form1099_base.rb} +4 -4
  87. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +23 -16
  88. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +8 -0
  89. data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +2 -0
  90. data/lib/avalara_sdk/models/A1099/V2/w4_form_minimal_request.rb +418 -0
  91. data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +53 -27
  92. data/lib/avalara_sdk/models/A1099/V2/{company_model.rb → w8_ben_e_form_minimal_request.rb} +139 -170
  93. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +53 -27
  94. data/lib/avalara_sdk/models/A1099/V2/{base_company_model.rb → w8_ben_form_minimal_request.rb} +148 -122
  95. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +53 -27
  96. data/lib/avalara_sdk/models/A1099/V2/{attribute.rb → w8_imy_form_minimal_request.rb} +135 -132
  97. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +53 -27
  98. data/lib/avalara_sdk/models/A1099/V2/{http_validation_problem_details.rb → w9_form_base_minimal_request.rb} +87 -53
  99. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +60 -27
  100. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +14 -14
  101. data/lib/avalara_sdk/models/A1099/V2/{company_response_model.rb → w9_form_minimal_request.rb} +140 -148
  102. data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +53 -27
  103. data/lib/avalara_sdk/version.rb +1 -1
  104. data/lib/avalara_sdk.rb +22 -105
  105. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
  106. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
  107. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
  108. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
  109. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
  110. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
  111. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
  112. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
  113. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
  114. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  115. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
  116. metadata +37 -103
  117. data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +0 -210
  118. data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +0 -108
  119. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +0 -403
  120. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +0 -407
  121. data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +0 -108
  122. data/lib/avalara_sdk/models/A1099/V2/data.rb +0 -237
  123. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +0 -238
  124. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +0 -816
  125. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +0 -980
  126. data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +0 -778
  127. data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +0 -619
  128. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +0 -238
  129. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +0 -606
  130. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +0 -765
  131. data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +0 -627
  132. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +0 -238
  133. data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +0 -662
  134. data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +0 -726
  135. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +0 -747
  136. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +0 -931
  137. data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +0 -729
  138. data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +0 -790
  139. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +0 -238
  140. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +0 -702
  141. data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +0 -887
  142. data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +0 -684
  143. data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +0 -773
  144. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +0 -238
  145. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +0 -788
  146. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +0 -995
  147. data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +0 -770
  148. data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +0 -839
  149. data/lib/avalara_sdk/models/A1099/V2/form1099_list.rb +0 -219
  150. data/lib/avalara_sdk/models/A1099/V2/form1099_list_data_inner.rb +0 -55
  151. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +0 -220
  152. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +0 -108
  153. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +0 -238
  154. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +0 -688
  155. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +0 -886
  156. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +0 -670
  157. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +0 -754
  158. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +0 -238
  159. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +0 -586
  160. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +0 -765
  161. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +0 -567
  162. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +0 -646
  163. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +0 -228
  164. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +0 -107
  165. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +0 -238
  166. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +0 -763
  167. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +0 -942
  168. data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +0 -720
  169. data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +0 -839
  170. data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +0 -223
  171. data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +0 -502
  172. data/lib/avalara_sdk/models/A1099/V2/form_request_csv_base.rb +0 -475
  173. data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +0 -548
  174. data/lib/avalara_sdk/models/A1099/V2/form_request_model.rb +0 -345
  175. data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +0 -612
  176. data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +0 -530
  177. data/lib/avalara_sdk/models/A1099/V2/included_base.rb +0 -219
  178. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_request.rb +0 -311
  179. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +0 -311
  180. data/lib/avalara_sdk/models/A1099/V2/link.rb +0 -210
  181. data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +0 -231
  182. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +0 -221
  183. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +0 -221
  184. data/lib/avalara_sdk/models/A1099/V2/problem_details.rb +0 -251
  185. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +0 -278
  186. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +0 -282
  187. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_app.rb +0 -231
  188. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +0 -231
  189. data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +0 -108
  190. data/lib/avalara_sdk/models/A1099/V2/validation_error_app.rb +0 -229
  191. data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +0 -231
  192. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response.rb +0 -233
  193. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner.rb +0 -274
  194. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_addresses_inner.rb +0 -251
  195. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_identifiers_inner.rb +0 -221
  196. data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_supported_document_types_inner.rb +0 -241
  197. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request.rb +0 -224
  198. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_data_inner.rb +0 -237
  199. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_metadata.rb +0 -288
  200. data/lib/avalara_sdk/models/EInvoicing/V1/submit_document_data.rb +0 -216
@@ -10,65 +10,95 @@ require 'date'
10
10
  require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
- class JobResult
13
+ # Response model for job operations
14
+ class JobResponse
15
+ # Unique identifier for the job
14
16
  attr_accessor :id
15
17
 
18
+ # Job type identifier. Will always be \"update_job\" for bulk upsert operations
16
19
  attr_accessor :type
17
20
 
18
- # Dry run. If `true`, this job only simulates the changes but doesn't actually persist them.
19
- attr_accessor :dry_run
20
-
21
- # Upsert. If `true`, this job will first attempt to update existing records if matches can be found. Matches are done in the following order: * Form ID * Form Reference ID and tax year * Form TIN and tax year
22
- attr_accessor :upsert
23
-
24
- # Status of the job
21
+ # Current status of the job (e.g., Success, Failed, InProgress)
25
22
  attr_accessor :status
26
23
 
24
+ # Error message if the job failed, null otherwise
27
25
  attr_accessor :error_message
28
26
 
29
- # Total number of forms processed
27
+ # Total number of forms processed. Value can be 0 or another value based on what the job has available
30
28
  attr_accessor :total_processed
31
29
 
32
- # Total number of forms in the request
30
+ # Total number of forms in the request. Value can be 0 or another value based on what the job has available
33
31
  attr_accessor :total_rows
34
32
 
35
- # Number of forms updated and valid for e-filing and e-delivery
33
+ # Number of forms updated and valid for e-filing and e-delivery. Value can be 0 or another value based on what the job has available
36
34
  attr_accessor :updated_valid
37
35
 
38
- # Number of forms updated and valid for e-filing but missing email or email is undeliverable
36
+ # Number of forms updated and valid for e-filing but missing email or email is undeliverable. Value can be 0 or another value based on what the job has available
39
37
  attr_accessor :updated_no_email
40
38
 
41
- # Number of forms updated but invalid for e-filing
39
+ # Number of forms updated but invalid for e-filing. Value can be 0 or another value based on what the job has available
42
40
  attr_accessor :updated_invalid
43
41
 
44
- # Number of forms skipped because they would have updated a record already updated once in the request
42
+ # Number of forms skipped because they would have updated a record already updated once in the request. Value can be 0 or another value based on what the job has available
45
43
  attr_accessor :skipped_duplicate
46
44
 
47
- # Number of forms skipped because they would have made a form invalid and the form is already e-filed or scheduled for e-filing
45
+ # Number of forms skipped because they would have made a form invalid and the form is already e-filed or scheduled for e-filing. Value can be 0 or another value based on what the job has available
48
46
  attr_accessor :skipped_invalid
49
47
 
50
- # Number of forms skipped because they matched multiple forms
48
+ # Number of forms skipped because they matched multiple forms. Value can be 0 or another value based on what the job has available
51
49
  attr_accessor :skipped_multiple_matches
52
50
 
53
- # Number of forms skipped because no matching form or issuer could be found
51
+ # Number of forms skipped because no matching form or issuer could be found. Value can be 0 or another value based on what the job has available
54
52
  attr_accessor :not_found
55
53
 
56
- # Number of new forms created because no matching form could be found (and `upsert` was true) - with errors
54
+ # Number of new forms created because no matching form could be found (and `upsert` was true) - with errors. Value can be 0 or another value based on what the job has available
57
55
  attr_accessor :created_invalid
58
56
 
59
- # Number of new forms created because no matching form could be found (and `upsert` was true) - valid for e-filing but missing email or email is undeliverable
57
+ # Number of new forms created because no matching form could be found (and `upsert` was true) - valid for e-filing but missing email or email is undeliverable. Value can be 0 or another value based on what the job has available
60
58
  attr_accessor :created_no_email
61
59
 
62
- # Number of new forms created because no matching form could be found (and `upsert` was true) - valid for e-filing and e-delivery
60
+ # Number of new forms created because no matching form could be found (and `upsert` was true) - valid for e-filing and e-delivery. Value can be 0 or another value based on what the job has available
63
61
  attr_accessor :created_valid
64
62
 
63
+ # Dry run. If `true`, this job only simulates the changes but doesn't actually persist them.
64
+ attr_accessor :dry_run
65
+
66
+ # Upsert. If `true`, this job will first attempt to update existing records if matches can be found. Matches are done in the following order: Form ID, Form Reference ID and tax year, Form TIN and tax year.
67
+ attr_accessor :upsert
68
+
69
+ # Link to access the job details
70
+ attr_accessor :link
71
+
72
+ # List of processed forms returned when bulk-upsert processes ≤1000 records. Same format as GET /1099/forms response. Only available in bulk-upsert endpoint responses.
73
+ attr_accessor :processed_forms
74
+
75
+ class EnumAttributeValidator
76
+ attr_reader :datatype
77
+ attr_reader :allowable_values
78
+
79
+ def initialize(datatype, allowable_values)
80
+ @allowable_values = allowable_values.map do |value|
81
+ case datatype.to_s
82
+ when /Integer/i
83
+ value.to_i
84
+ when /Float/i
85
+ value.to_f
86
+ else
87
+ value
88
+ end
89
+ end
90
+ end
91
+
92
+ def valid?(value)
93
+ !value || allowable_values.include?(value)
94
+ end
95
+ end
96
+
65
97
  # Attribute mapping from ruby-style variable name to JSON key.
66
98
  def self.attribute_map
67
99
  {
68
100
  :'id' => :'id',
69
101
  :'type' => :'type',
70
- :'dry_run' => :'dryRun',
71
- :'upsert' => :'upsert',
72
102
  :'status' => :'status',
73
103
  :'error_message' => :'errorMessage',
74
104
  :'total_processed' => :'totalProcessed',
@@ -82,7 +112,11 @@ module AvalaraSdk::A1099::V2
82
112
  :'not_found' => :'notFound',
83
113
  :'created_invalid' => :'createdInvalid',
84
114
  :'created_no_email' => :'createdNoEmail',
85
- :'created_valid' => :'createdValid'
115
+ :'created_valid' => :'createdValid',
116
+ :'dry_run' => :'dryRun',
117
+ :'upsert' => :'upsert',
118
+ :'link' => :'link',
119
+ :'processed_forms' => :'processedForms'
86
120
  }
87
121
  end
88
122
 
@@ -96,8 +130,6 @@ module AvalaraSdk::A1099::V2
96
130
  {
97
131
  :'id' => :'String',
98
132
  :'type' => :'String',
99
- :'dry_run' => :'Boolean',
100
- :'upsert' => :'Boolean',
101
133
  :'status' => :'String',
102
134
  :'error_message' => :'String',
103
135
  :'total_processed' => :'Integer',
@@ -111,16 +143,20 @@ module AvalaraSdk::A1099::V2
111
143
  :'not_found' => :'Integer',
112
144
  :'created_invalid' => :'Integer',
113
145
  :'created_no_email' => :'Integer',
114
- :'created_valid' => :'Integer'
146
+ :'created_valid' => :'Integer',
147
+ :'dry_run' => :'Boolean',
148
+ :'upsert' => :'Boolean',
149
+ :'link' => :'String',
150
+ :'processed_forms' => :'Array<Get1099Form200Response>'
115
151
  }
116
152
  end
117
153
 
118
154
  # List of attributes with nullable: true
119
155
  def self.openapi_nullable
120
156
  Set.new([
121
- :'type',
122
- :'status',
123
157
  :'error_message',
158
+ :'link',
159
+ :'processed_forms'
124
160
  ])
125
161
  end
126
162
 
@@ -128,13 +164,13 @@ module AvalaraSdk::A1099::V2
128
164
  # @param [Hash] attributes Model attributes in the form of hash
129
165
  def initialize(attributes = {})
130
166
  if (!attributes.is_a?(Hash))
131
- fail ArgumentError, "The input argument (attributes) must be a hash in `AvalaraSdk::A1099::V2::JobResult` initialize method"
167
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AvalaraSdk::A1099::V2::JobResponse` initialize method"
132
168
  end
133
169
 
134
170
  # check to see if the attribute exists and convert string to symbol for hash key
135
171
  attributes = attributes.each_with_object({}) { |(k, v), h|
136
172
  if (!self.class.attribute_map.key?(k.to_sym))
137
- fail ArgumentError, "`#{k}` is not a valid attribute in `AvalaraSdk::A1099::V2::JobResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
173
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AvalaraSdk::A1099::V2::JobResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
138
174
  end
139
175
  h[k.to_sym] = v
140
176
  }
@@ -147,14 +183,6 @@ module AvalaraSdk::A1099::V2
147
183
  self.type = attributes[:'type']
148
184
  end
149
185
 
150
- if attributes.key?(:'dry_run')
151
- self.dry_run = attributes[:'dry_run']
152
- end
153
-
154
- if attributes.key?(:'upsert')
155
- self.upsert = attributes[:'upsert']
156
- end
157
-
158
186
  if attributes.key?(:'status')
159
187
  self.status = attributes[:'status']
160
188
  end
@@ -210,6 +238,24 @@ module AvalaraSdk::A1099::V2
210
238
  if attributes.key?(:'created_valid')
211
239
  self.created_valid = attributes[:'created_valid']
212
240
  end
241
+
242
+ if attributes.key?(:'dry_run')
243
+ self.dry_run = attributes[:'dry_run']
244
+ end
245
+
246
+ if attributes.key?(:'upsert')
247
+ self.upsert = attributes[:'upsert']
248
+ end
249
+
250
+ if attributes.key?(:'link')
251
+ self.link = attributes[:'link']
252
+ end
253
+
254
+ if attributes.key?(:'processed_forms')
255
+ if (value = attributes[:'processed_forms']).is_a?(Array)
256
+ self.processed_forms = value
257
+ end
258
+ end
213
259
  end
214
260
 
215
261
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -224,9 +270,27 @@ module AvalaraSdk::A1099::V2
224
270
  # @return true if the model is valid
225
271
  def valid?
226
272
  warn '[DEPRECATED] the `valid?` method is obsolete'
273
+ status_validator = EnumAttributeValidator.new('String', ["InProgress", "Success", "Failed"])
274
+ return false unless status_validator.valid?(@status)
227
275
  true
228
276
  end
229
277
 
278
+ # Custom attribute writer method checking allowed values (enum).
279
+ # @param [Object] status Object to be assigned
280
+ def status=(status)
281
+ validator = EnumAttributeValidator.new('String', ["InProgress", "Success", "Failed"])
282
+ unless validator.valid?(status)
283
+ fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
284
+ end
285
+ @status = status
286
+ end
287
+
288
+ # Custom attribute writer method with validation
289
+ # @param [Object] processed_forms Value to be assigned
290
+ def processed_forms=(processed_forms)
291
+ @processed_forms = processed_forms
292
+ end
293
+
230
294
  # Checks equality by comparing each attribute.
231
295
  # @param [Object] Object to be compared
232
296
  def ==(o)
@@ -234,8 +298,6 @@ module AvalaraSdk::A1099::V2
234
298
  self.class == o.class &&
235
299
  id == o.id &&
236
300
  type == o.type &&
237
- dry_run == o.dry_run &&
238
- upsert == o.upsert &&
239
301
  status == o.status &&
240
302
  error_message == o.error_message &&
241
303
  total_processed == o.total_processed &&
@@ -249,7 +311,11 @@ module AvalaraSdk::A1099::V2
249
311
  not_found == o.not_found &&
250
312
  created_invalid == o.created_invalid &&
251
313
  created_no_email == o.created_no_email &&
252
- created_valid == o.created_valid
314
+ created_valid == o.created_valid &&
315
+ dry_run == o.dry_run &&
316
+ upsert == o.upsert &&
317
+ link == o.link &&
318
+ processed_forms == o.processed_forms
253
319
  end
254
320
 
255
321
  # @see the `==` method
@@ -261,7 +327,7 @@ module AvalaraSdk::A1099::V2
261
327
  # Calculates hash code according to all attributes.
262
328
  # @return [Integer] Hash code
263
329
  def hash
264
- [id, type, dry_run, upsert, status, error_message, total_processed, total_rows, updated_valid, updated_no_email, updated_invalid, skipped_duplicate, skipped_invalid, skipped_multiple_matches, not_found, created_invalid, created_no_email, created_valid].hash
330
+ [id, type, status, error_message, total_processed, total_rows, updated_valid, updated_no_email, updated_invalid, skipped_duplicate, skipped_invalid, skipped_multiple_matches, not_found, created_invalid, created_no_email, created_valid, dry_run, upsert, link, processed_forms].hash
265
331
  end
266
332
 
267
333
  # Builds the object from hash
@@ -10,25 +10,52 @@ require 'date'
10
10
  require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
- class OfferAndCoverageRequest
14
- # Month of coverage
13
+ # Offer and coverage information for health coverage forms
14
+ class OfferAndCoverage
15
+ # Id
16
+ attr_accessor :id
17
+
18
+ # Month of coverage. Available values: - All: All months - January: January - February: February - March: March - April: April - May: May - June: June - July: July - August: August - September: September - October: October - November: November - December: December
15
19
  attr_accessor :month
16
20
 
17
- # Offer of coverage code
21
+ # Offer of Coverage Code. Required if Share has a value, including zero. Available values: Pre-ICHRA Codes (available before 2020): - 1A: Qualifying offer: minimum essential coverage providing minimum value offered to full-time employee with employee required contribution ≤ 9.5% (as adjusted) of mainland single federal poverty line and at least minimum essential coverage offered to spouse and dependent(s) - 1B: Minimum essential coverage providing minimum value offered to employee only - 1C: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage offered to dependent(s) (not spouse) - 1D: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage offered to spouse (not dependent(s)) - 1E: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage offered to dependent(s) and spouse - 1F: Minimum essential coverage NOT providing minimum value offered to employee; employee and spouse or dependent(s); or employee, spouse, and dependents - 1G: Offer of coverage to an individual who was not an employee or not a full-time employee and who enrolled in self-insured coverage - 1H: No offer of coverage (employee not offered any health coverage or employee offered coverage that is not minimum essential coverage) - 1J: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage conditionally offered to spouse; minimum essential coverage not offered to dependent(s) - 1K: Minimum essential coverage providing minimum value offered to employee; at least minimum essential coverage offered to dependents; and at least minimum essential coverage conditionally offered to spouse ICHRA Codes (introduced 2020, require ZIP code): - 1L: Individual coverage HRA offered to employee only - 1M: Individual coverage HRA offered to employee and dependent(s) (not spouse) - 1N: Individual coverage HRA offered to employee, spouse, and dependent(s) - 1O: Individual coverage HRA offered to employee only using employment site ZIP code affordability safe harbor - 1P: Individual coverage HRA offered to employee and dependent(s) (not spouse) using employment site ZIP code affordability safe harbor - 1Q: Individual coverage HRA offered to employee, spouse, and dependent(s) using employment site ZIP code affordability safe harbor - 1R: Individual coverage HRA that is NOT affordable - 1S: Individual coverage HRA offered to an individual who was not a full-time employee - 1T: Individual coverage HRA offered to employee and spouse (not dependents) - 1U: Individual coverage HRA offered to employee and spouse (not dependents) using employment site ZIP code affordability safe harbor Note: Codes 1B, 1C, 1D, 1E, 1J, 1K, 1L, 1M, 1N, 1O, 1P, 1Q, 1T, 1U require employee share amount (0.00 is a valid value).
18
22
  attr_accessor :offer_code
19
23
 
20
- # Employee required contribution share
24
+ # Employee required contribution share - Employee Share of Lowest Cost Monthly Premium, for Self-Only Minimum Value Coverage - May not exceed 3499.99
21
25
  attr_accessor :share
22
26
 
23
- # Safe harbor code
27
+ # Safe harbor code - Applicable Section 4980H Safe Harbor Code. Available values: - 2A: Form W-2 safe harbor - 2B: Federal poverty line safe harbor - 2C: Rate of pay safe harbor - 2D: Part-time employee safe harbor for employees who were not full-time for any month of the year - 2E: Multiemployer interim rule relief - 2F: Qualifying offer method - 2G: Qualifying offer transition relief - 2H: Other affordability safe harbor
24
28
  attr_accessor :safe_harbor_code
25
29
 
26
- # ZIP code for coverage area
30
+ # ZIP/postal code. For coverage area (optional, unless codes 1L to 1U are used).
27
31
  attr_accessor :zip_code
28
32
 
33
+ class EnumAttributeValidator
34
+ attr_reader :datatype
35
+ attr_reader :allowable_values
36
+
37
+ def initialize(datatype, allowable_values)
38
+ @allowable_values = allowable_values.map do |value|
39
+ case datatype.to_s
40
+ when /Integer/i
41
+ value.to_i
42
+ when /Float/i
43
+ value.to_f
44
+ else
45
+ value
46
+ end
47
+ end
48
+ end
49
+
50
+ def valid?(value)
51
+ !value || allowable_values.include?(value)
52
+ end
53
+ end
54
+
29
55
  # Attribute mapping from ruby-style variable name to JSON key.
30
56
  def self.attribute_map
31
57
  {
58
+ :'id' => :'id',
32
59
  :'month' => :'month',
33
60
  :'offer_code' => :'offerCode',
34
61
  :'share' => :'share',
@@ -45,6 +72,7 @@ module AvalaraSdk::A1099::V2
45
72
  # Attribute type mapping.
46
73
  def self.openapi_types
47
74
  {
75
+ :'id' => :'Integer',
48
76
  :'month' => :'String',
49
77
  :'offer_code' => :'String',
50
78
  :'share' => :'Float',
@@ -56,6 +84,7 @@ module AvalaraSdk::A1099::V2
56
84
  # List of attributes with nullable: true
57
85
  def self.openapi_nullable
58
86
  Set.new([
87
+ :'id',
59
88
  :'month',
60
89
  :'offer_code',
61
90
  :'share',
@@ -68,17 +97,21 @@ module AvalaraSdk::A1099::V2
68
97
  # @param [Hash] attributes Model attributes in the form of hash
69
98
  def initialize(attributes = {})
70
99
  if (!attributes.is_a?(Hash))
71
- fail ArgumentError, "The input argument (attributes) must be a hash in `AvalaraSdk::A1099::V2::OfferAndCoverageRequest` initialize method"
100
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AvalaraSdk::A1099::V2::OfferAndCoverage` initialize method"
72
101
  end
73
102
 
74
103
  # check to see if the attribute exists and convert string to symbol for hash key
75
104
  attributes = attributes.each_with_object({}) { |(k, v), h|
76
105
  if (!self.class.attribute_map.key?(k.to_sym))
77
- fail ArgumentError, "`#{k}` is not a valid attribute in `AvalaraSdk::A1099::V2::OfferAndCoverageRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
106
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AvalaraSdk::A1099::V2::OfferAndCoverage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
78
107
  end
79
108
  h[k.to_sym] = v
80
109
  }
81
110
 
111
+ if attributes.key?(:'id')
112
+ self.id = attributes[:'id']
113
+ end
114
+
82
115
  if attributes.key?(:'month')
83
116
  self.month = attributes[:'month']
84
117
  end
@@ -112,14 +145,51 @@ module AvalaraSdk::A1099::V2
112
145
  # @return true if the model is valid
113
146
  def valid?
114
147
  warn '[DEPRECATED] the `valid?` method is obsolete'
148
+ month_validator = EnumAttributeValidator.new('String', ["All", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"])
149
+ return false unless month_validator.valid?(@month)
150
+ offer_code_validator = EnumAttributeValidator.new('String', ["1A", "1B", "1C", "1D", "1E", "1F", "1G", "1H", "1J", "1K", "1L", "1M", "1N", "1O", "1P", "1Q", "1R", "1S", "1T", "1U"])
151
+ return false unless offer_code_validator.valid?(@offer_code)
152
+ safe_harbor_code_validator = EnumAttributeValidator.new('String', ["2A", "2B", "2C", "2D", "2E", "2F", "2G", "2H"])
153
+ return false unless safe_harbor_code_validator.valid?(@safe_harbor_code)
115
154
  true
116
155
  end
117
156
 
157
+ # Custom attribute writer method checking allowed values (enum).
158
+ # @param [Object] month Object to be assigned
159
+ def month=(month)
160
+ validator = EnumAttributeValidator.new('String', ["All", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"])
161
+ unless validator.valid?(month)
162
+ fail ArgumentError, "invalid value for \"month\", must be one of #{validator.allowable_values}."
163
+ end
164
+ @month = month
165
+ end
166
+
167
+ # Custom attribute writer method checking allowed values (enum).
168
+ # @param [Object] offer_code Object to be assigned
169
+ def offer_code=(offer_code)
170
+ validator = EnumAttributeValidator.new('String', ["1A", "1B", "1C", "1D", "1E", "1F", "1G", "1H", "1J", "1K", "1L", "1M", "1N", "1O", "1P", "1Q", "1R", "1S", "1T", "1U"])
171
+ unless validator.valid?(offer_code)
172
+ fail ArgumentError, "invalid value for \"offer_code\", must be one of #{validator.allowable_values}."
173
+ end
174
+ @offer_code = offer_code
175
+ end
176
+
177
+ # Custom attribute writer method checking allowed values (enum).
178
+ # @param [Object] safe_harbor_code Object to be assigned
179
+ def safe_harbor_code=(safe_harbor_code)
180
+ validator = EnumAttributeValidator.new('String', ["2A", "2B", "2C", "2D", "2E", "2F", "2G", "2H"])
181
+ unless validator.valid?(safe_harbor_code)
182
+ fail ArgumentError, "invalid value for \"safe_harbor_code\", must be one of #{validator.allowable_values}."
183
+ end
184
+ @safe_harbor_code = safe_harbor_code
185
+ end
186
+
118
187
  # Checks equality by comparing each attribute.
119
188
  # @param [Object] Object to be compared
120
189
  def ==(o)
121
190
  return true if self.equal?(o)
122
191
  self.class == o.class &&
192
+ id == o.id &&
123
193
  month == o.month &&
124
194
  offer_code == o.offer_code &&
125
195
  share == o.share &&
@@ -136,7 +206,7 @@ module AvalaraSdk::A1099::V2
136
206
  # Calculates hash code according to all attributes.
137
207
  # @return [Integer] Hash code
138
208
  def hash
139
- [month, offer_code, share, safe_harbor_code, zip_code].hash
209
+ [id, month, offer_code, share, safe_harbor_code, zip_code].hash
140
210
  end
141
211
 
142
212
  # Builds the object from hash
@@ -11,7 +11,7 @@ require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
13
  # Generic paginated model to wrap query response data
14
- class PaginatedQueryResultModel
14
+ class PaginatedQueryResultModelForm1099Base
15
15
  attr_accessor :recordset_count
16
16
 
17
17
  attr_accessor :value
@@ -36,7 +36,7 @@ module AvalaraSdk::A1099::V2
36
36
  def self.openapi_types
37
37
  {
38
38
  :'recordset_count' => :'Integer',
39
- :'value' => :'Array<Object>',
39
+ :'value' => :'Array<Get1099Form200Response>',
40
40
  :'next_link' => :'String'
41
41
  }
42
42
  end
@@ -54,13 +54,13 @@ module AvalaraSdk::A1099::V2
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `AvalaraSdk::A1099::V2::PaginatedQueryResultModel` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AvalaraSdk::A1099::V2::PaginatedQueryResultModelForm1099Base` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `AvalaraSdk::A1099::V2::PaginatedQueryResultModel`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AvalaraSdk::A1099::V2::PaginatedQueryResultModelForm1099Base`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -10,16 +10,19 @@ require 'date'
10
10
  require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
- class PrimaryWithholdingAgent
14
- attr_accessor :primary_withholding_agent_name
13
+ # Primary withholding agent information for tax forms
14
+ class PrimaryWithholdingAgent
15
+ # Name of the primary withholding agent
16
+ attr_accessor :name
15
17
 
16
- attr_accessor :primary_withholding_agent_ein
18
+ # EIN (Employer Identification Number) of the primary withholding agent.
19
+ attr_accessor :ein
17
20
 
18
21
  # Attribute mapping from ruby-style variable name to JSON key.
19
22
  def self.attribute_map
20
23
  {
21
- :'primary_withholding_agent_name' => :'primaryWithholdingAgentName',
22
- :'primary_withholding_agent_ein' => :'primaryWithholdingAgentEin'
24
+ :'name' => :'name',
25
+ :'ein' => :'ein'
23
26
  }
24
27
  end
25
28
 
@@ -31,16 +34,16 @@ module AvalaraSdk::A1099::V2
31
34
  # Attribute type mapping.
32
35
  def self.openapi_types
33
36
  {
34
- :'primary_withholding_agent_name' => :'String',
35
- :'primary_withholding_agent_ein' => :'String'
37
+ :'name' => :'String',
38
+ :'ein' => :'String'
36
39
  }
37
40
  end
38
41
 
39
42
  # List of attributes with nullable: true
40
43
  def self.openapi_nullable
41
44
  Set.new([
42
- :'primary_withholding_agent_name',
43
- :'primary_withholding_agent_ein'
45
+ :'name',
46
+ :'ein'
44
47
  ])
45
48
  end
46
49
 
@@ -59,12 +62,16 @@ module AvalaraSdk::A1099::V2
59
62
  h[k.to_sym] = v
60
63
  }
61
64
 
62
- if attributes.key?(:'primary_withholding_agent_name')
63
- self.primary_withholding_agent_name = attributes[:'primary_withholding_agent_name']
65
+ if attributes.key?(:'name')
66
+ self.name = attributes[:'name']
67
+ else
68
+ self.name = nil
64
69
  end
65
70
 
66
- if attributes.key?(:'primary_withholding_agent_ein')
67
- self.primary_withholding_agent_ein = attributes[:'primary_withholding_agent_ein']
71
+ if attributes.key?(:'ein')
72
+ self.ein = attributes[:'ein']
73
+ else
74
+ self.ein = nil
68
75
  end
69
76
  end
70
77
 
@@ -88,8 +95,8 @@ module AvalaraSdk::A1099::V2
88
95
  def ==(o)
89
96
  return true if self.equal?(o)
90
97
  self.class == o.class &&
91
- primary_withholding_agent_name == o.primary_withholding_agent_name &&
92
- primary_withholding_agent_ein == o.primary_withholding_agent_ein
98
+ name == o.name &&
99
+ ein == o.ein
93
100
  end
94
101
 
95
102
  # @see the `==` method
@@ -101,7 +108,7 @@ module AvalaraSdk::A1099::V2
101
108
  # Calculates hash code according to all attributes.
102
109
  # @return [Integer] Hash code
103
110
  def hash
104
- [primary_withholding_agent_name, primary_withholding_agent_ein].hash
111
+ [name, ein].hash
105
112
  end
106
113
 
107
114
  # Builds the object from hash
@@ -11,20 +11,28 @@ require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
13
  class StateAndLocalWithholding
14
+ # Amount of state tax that was withheld
14
15
  attr_accessor :state_tax_withheld
15
16
 
17
+ # US state
16
18
  attr_accessor :state
17
19
 
20
+ # State ID number of the entity issuing the form
18
21
  attr_accessor :state_id_number
19
22
 
23
+ # Amount of state income
20
24
  attr_accessor :state_income
21
25
 
26
+ # Amount of local tax that was withheld
22
27
  attr_accessor :local_tax_withheld
23
28
 
29
+ # Locality name
24
30
  attr_accessor :locality
25
31
 
32
+ # Locality ID number of the entity issuing the form
26
33
  attr_accessor :locality_id_number
27
34
 
35
+ # Amount of local income
28
36
  attr_accessor :local_income
29
37
 
30
38
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,8 +11,10 @@ require 'time'
11
11
 
12
12
  module AvalaraSdk::A1099::V2
13
13
  class ValidationError
14
+ # The field containing the error
14
15
  attr_accessor :field
15
16
 
17
+ # The list of error messages
16
18
  attr_accessor :errors
17
19
 
18
20
  # Attribute mapping from ruby-style variable name to JSON key.