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
@@ -4,64 +4,65 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **gross_distributions** | **Float** | | [optional] |
8
- | **taxable_amount** | **Float** | | [optional] |
9
- | **taxable_amount_not_determined** | **Boolean** | | [optional] |
10
- | **total_distribution_indicator** | **Boolean** | | [optional] |
11
- | **capital_gain** | **Float** | | [optional] |
12
- | **fed_income_tax_withheld** | **Float** | | [optional] |
13
- | **employee_contributions** | **Float** | | [optional] |
14
- | **net_unrealized_appreciation** | **Float** | | [optional] |
15
- | **distribution_code_required** | **String** | | [optional] |
16
- | **distribution_code_optional** | **String** | | [optional] |
17
- | **ira_sep_simple_indicator** | **Boolean** | | [optional] |
18
- | **total_ira_sep_simple_distribution** | **Float** | | [optional] |
19
- | **other** | **Float** | | [optional] |
20
- | **other_percent** | **String** | | [optional] |
21
- | **percentage_total_distribution** | **String** | | [optional] |
22
- | **total_employee_contributions** | **Float** | | [optional] |
23
- | **amount_allocable_to_irr** | **Float** | | [optional] |
24
- | **first_year_designated_roth_contrib** | **String** | | [optional] |
25
- | **date_of_payment** | **String** | | [optional] |
26
- | **id** | **String** | | [optional] |
27
- | **type** | **String** | | [optional] |
28
- | **issuer_id** | **Integer** | | [optional] |
29
- | **issuer_reference_id** | **String** | | [optional] |
30
- | **issuer_tin** | **String** | | [optional] |
31
- | **tax_year** | **Integer** | | [optional] |
32
- | **federal_efile** | **Boolean** | | [optional] |
33
- | **federal_efile_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | | [optional] |
34
- | **state_efile** | **Boolean** | | [optional] |
35
- | **state_efile_status** | [**Array<StateEfileStatusDetail>**](StateEfileStatusDetail.md) | | [optional] |
36
- | **postal_mail** | **Boolean** | | [optional] |
37
- | **postal_mail_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | | [optional] |
38
- | **tin_match** | **Boolean** | | [optional] |
39
- | **tin_match_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | | [optional] |
40
- | **address_verification** | **Boolean** | | [optional] |
41
- | **address_verification_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | | [optional] |
42
- | **e_delivery_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | | [optional] |
43
- | **reference_id** | **String** | | [optional] |
44
- | **email** | **String** | | [optional] |
45
- | **tin_type** | **String** | | [optional] |
46
- | **fatca_filing_requirement** | **Boolean** | | [optional] |
47
- | **tin** | **String** | | [optional] |
48
- | **no_tin** | **Boolean** | | [optional] |
49
- | **second_tin_notice** | **Boolean** | | [optional] |
50
- | **recipient_name** | **String** | | [optional] |
51
- | **recipient_second_name** | **String** | | [optional] |
52
- | **address** | **String** | | [optional] |
53
- | **address2** | **String** | | [optional] |
54
- | **city** | **String** | | [optional] |
55
- | **state** | **String** | | [optional] |
56
- | **zip** | **String** | | [optional] |
57
- | **non_us_province** | **String** | | [optional] |
58
- | **country_code** | **String** | | [optional] |
59
- | **account_number** | **String** | | [optional] |
60
- | **office_code** | **String** | | [optional] |
61
- | **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | | [optional] |
62
- | **created_at** | **Time** | | [optional] |
63
- | **updated_at** | **Time** | | [optional] |
64
- | **state_and_local_withholding** | [**StateAndLocalWithholding**](StateAndLocalWithholding.md) | | [optional] |
7
+ | **gross_distribution** | **Float** | Gross distribution | [optional] |
8
+ | **taxable_amount** | **Float** | Taxable amount | [optional] |
9
+ | **taxable_amount_not_determined** | **Boolean** | Taxable amount not determined | [optional] |
10
+ | **total_distribution_determined** | **Boolean** | Total distribution | [optional] |
11
+ | **capital_gain** | **Float** | Capital gain (included in Box 2a) | [optional] |
12
+ | **federal_income_tax_withheld** | **Float** | Federal income tax withheld | [optional] |
13
+ | **employee_contributions_or_designated_roth_or_insurance_premiums** | **Float** | Employee contributions/Designated Roth contributions or insurance premiums | [optional] |
14
+ | **net_unrealized_appreciation_in_employer_securities** | **Float** | Net unrealized appreciation in employer's securities | [optional] |
15
+ | **distribution_code** | **String** | Distribution code | [optional] |
16
+ | **second_distribution_code** | **String** | Second distribution code | [optional] |
17
+ | **ira_sep_simple** | **Boolean** | IRA/SEP/SIMPLE | [optional] |
18
+ | **traditional_ira_sep_simple_or_roth_conversion_amount** | **Float** | Traditional IRA/SEP/SIMPLE or Roth conversion amount | [optional] |
19
+ | **other_amount** | **Float** | Other amount | [optional] |
20
+ | **other_percentage** | **String** | Other percentage | [optional] |
21
+ | **total_distribution_percentage** | **String** | Total distribution percentage | [optional] |
22
+ | **total_employee_contributions** | **Float** | Total employee contributions | [optional] |
23
+ | **amount_allocable_to_irr_within5_years** | **Float** | Amount allocable to IRR within 5 years | [optional] |
24
+ | **first_year_of_designated_roth_contribution** | **String** | First year of designated Roth contribution | [optional] |
25
+ | **date_of_payment** | **Date** | Date of payment | [optional] |
26
+ | **fatca_filing_requirement** | **Boolean** | FATCA filing requirement | [optional] |
27
+ | **type** | **String** | Form type | |
28
+ | **id** | **String** | Form ID. Unique identifier set when the record is created. | [optional][readonly] |
29
+ | **issuer_id** | **String** | Issuer ID - only required when creating forms | [optional] |
30
+ | **issuer_reference_id** | **String** | Issuer Reference ID - only required when creating forms | [optional] |
31
+ | **issuer_tin** | **String** | Issuer TIN - readonly | [optional] |
32
+ | **tax_year** | **Integer** | Tax Year - only required when creating forms | [optional] |
33
+ | **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. | [optional] |
34
+ | **tin** | **String** | Recipient's Federal Tax Identification Number (TIN). | [optional] |
35
+ | **recipient_name** | **String** | Recipient name | |
36
+ | **tin_type** | **String** | Type of TIN (Tax ID Number) | [optional] |
37
+ | **recipient_second_name** | **String** | Recipient second name | [optional] |
38
+ | **address** | **String** | Address. | |
39
+ | **address2** | **String** | Address line 2. | [optional] |
40
+ | **city** | **String** | City. | |
41
+ | **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | [optional] |
42
+ | **zip** | **String** | ZIP/postal code. | [optional] |
43
+ | **email** | **String** | Recipient's Contact email address. | [optional] |
44
+ | **account_number** | **String** | Account number | [optional] |
45
+ | **office_code** | **String** | Office code | [optional] |
46
+ | **non_us_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
47
+ | **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. | |
48
+ | **federal_efile_date** | **Date** | Date when federal e-filing should be scheduled for this form | [optional] |
49
+ | **postal_mail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
50
+ | **state_efile_date** | **Date** | Date when state e-filing should be scheduled for this form | [optional] |
51
+ | **recipient_edelivery_date** | **Date** | Date when recipient e-delivery should be scheduled for this form | [optional] |
52
+ | **tin_match** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
53
+ | **no_tin** | **Boolean** | No TIN indicator | [optional] |
54
+ | **address_verification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
55
+ | **state_and_local_withholding** | [**StateAndLocalWithholding**](StateAndLocalWithholding.md) | State and local withholding information | [optional] |
56
+ | **second_tin_notice** | **Boolean** | Second TIN notice | [optional] |
57
+ | **federal_efile_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | Federal e-file status | [optional][readonly] |
58
+ | **state_efile_status** | [**Array<StateEfileStatusDetail>**](StateEfileStatusDetail.md) | State e-file status | [optional][readonly] |
59
+ | **postal_mail_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | Postal mail to recipient status | [optional][readonly] |
60
+ | **tin_match_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | TIN Match status | [optional][readonly] |
61
+ | **address_verification_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | Address verification status | [optional][readonly] |
62
+ | **e_delivery_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | EDelivery status | [optional][readonly] |
63
+ | **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Validation errors | [optional][readonly] |
64
+ | **created_at** | **Time** | Date time when the record was created. | [optional][readonly] |
65
+ | **updated_at** | **Time** | Date time when the record was last updated. | [optional][readonly] |
65
66
 
66
67
  ## Example
67
68
 
@@ -69,64 +70,65 @@
69
70
  require 'avalara_sdk'
70
71
 
71
72
  instance = AvalaraSdk::A1099::V2::Form1099R.new(
72
- gross_distributions: null,
73
+ gross_distribution: null,
73
74
  taxable_amount: null,
74
75
  taxable_amount_not_determined: null,
75
- total_distribution_indicator: null,
76
+ total_distribution_determined: null,
76
77
  capital_gain: null,
77
- fed_income_tax_withheld: null,
78
- employee_contributions: null,
79
- net_unrealized_appreciation: null,
80
- distribution_code_required: null,
81
- distribution_code_optional: null,
82
- ira_sep_simple_indicator: null,
83
- total_ira_sep_simple_distribution: null,
84
- other: null,
85
- other_percent: null,
86
- percentage_total_distribution: null,
78
+ federal_income_tax_withheld: null,
79
+ employee_contributions_or_designated_roth_or_insurance_premiums: null,
80
+ net_unrealized_appreciation_in_employer_securities: null,
81
+ distribution_code: null,
82
+ second_distribution_code: null,
83
+ ira_sep_simple: null,
84
+ traditional_ira_sep_simple_or_roth_conversion_amount: null,
85
+ other_amount: null,
86
+ other_percentage: null,
87
+ total_distribution_percentage: null,
87
88
  total_employee_contributions: null,
88
- amount_allocable_to_irr: null,
89
- first_year_designated_roth_contrib: null,
89
+ amount_allocable_to_irr_within5_years: null,
90
+ first_year_of_designated_roth_contribution: null,
90
91
  date_of_payment: null,
92
+ fatca_filing_requirement: null,
93
+ type: 1099-NEC,
91
94
  id: null,
92
- type: null,
93
95
  issuer_id: null,
94
96
  issuer_reference_id: null,
95
97
  issuer_tin: null,
96
98
  tax_year: null,
97
- federal_efile: null,
98
- federal_efile_status: null,
99
- state_efile: null,
100
- state_efile_status: null,
101
- postal_mail: null,
102
- postal_mail_status: null,
103
- tin_match: null,
104
- tin_match_status: null,
105
- address_verification: null,
106
- address_verification_status: null,
107
- e_delivery_status: null,
108
99
  reference_id: null,
109
- email: null,
110
- tin_type: null,
111
- fatca_filing_requirement: null,
112
100
  tin: null,
113
- no_tin: null,
114
- second_tin_notice: null,
115
101
  recipient_name: null,
102
+ tin_type: null,
116
103
  recipient_second_name: null,
117
104
  address: null,
118
105
  address2: null,
119
106
  city: null,
120
107
  state: null,
121
108
  zip: null,
122
- non_us_province: null,
123
- country_code: null,
109
+ email: null,
124
110
  account_number: null,
125
111
  office_code: null,
112
+ non_us_province: null,
113
+ country_code: null,
114
+ federal_efile_date: null,
115
+ postal_mail: null,
116
+ state_efile_date: null,
117
+ recipient_edelivery_date: null,
118
+ tin_match: null,
119
+ no_tin: null,
120
+ address_verification: null,
121
+ state_and_local_withholding: null,
122
+ second_tin_notice: null,
123
+ federal_efile_status: null,
124
+ state_efile_status: null,
125
+ postal_mail_status: null,
126
+ tin_match_status: null,
127
+ address_verification_status: null,
128
+ e_delivery_status: null,
126
129
  validation_errors: null,
127
130
  created_at: null,
128
- updated_at: null,
129
- state_and_local_withholding: null
131
+ updated_at: null
130
132
  )
131
133
  ```
132
134
 
@@ -1,6 +1,6 @@
1
1
  # AvalaraSdk::A1099::V2::Forms1099Api
2
2
 
3
- All URIs are relative to *https://api-ava1099.eta.sbx.us-east-1.aws.avalara.io/avalara1099*
3
+ All URIs are relative to *https://api.sbx.avalara.com/avalara1099*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
@@ -15,11 +15,11 @@ All URIs are relative to *https://api-ava1099.eta.sbx.us-east-1.aws.avalara.io/a
15
15
 
16
16
  ## bulk_upsert1099_forms
17
17
 
18
- > <Form1099ProccessResult> bulk_upsert1099_forms(avalara_version, opts)
18
+ > <JobResponse> bulk_upsert1099_forms(avalara_version, opts)
19
19
 
20
20
  Create or update multiple 1099/1095/W2/1042S forms
21
21
 
22
- This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"587-65-4321\", \"TinType\": \"SSN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"Email\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"NonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalAndHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"DirectSalesIndicator\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"587-65-4321\", \"tinType\": \"SSN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"nonUsProvince\": \"\", \"email\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"directSalesIndicator\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\", \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34, \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
22
+ This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. Maximum of 5000 forms can be processed in a single bulk request.
23
23
 
24
24
  ### Examples
25
25
 
@@ -41,10 +41,10 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
41
41
 
42
42
  avalara_version = '2.0.0' # String | API version
43
43
  opts = {
44
- dry_run: true, # Boolean |
45
- x_correlation_id: 'fc005c04-52f7-44d6-bf16-6551603a8324', # String | Unique correlation Id in a GUID format
44
+ dry_run: true, # Boolean | defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB
45
+ x_correlation_id: '16e56e1f-e623-4f23-9904-21c29b5b4545', # String | Unique correlation Id in a GUID format
46
46
  x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
47
- bulk_upsert1099_forms_request: AvalaraSdk::A1099::V2::Form1042SList.new # BulkUpsert1099FormsRequest |
47
+ form1099_list_request: AvalaraSdk::A1099::V2::Form1099ListRequest.new # Form1099ListRequest |
48
48
  }
49
49
 
50
50
  begin
@@ -60,7 +60,7 @@ end
60
60
 
61
61
  This returns an Array which contains the response data, status code and headers.
62
62
 
63
- > <Array(<Form1099ProccessResult>, Integer, Hash)> bulk_upsert1099_forms_with_http_info(avalara_version, opts)
63
+ > <Array(<JobResponse>, Integer, Hash)> bulk_upsert1099_forms_with_http_info(avalara_version, opts)
64
64
 
65
65
  ```ruby
66
66
  begin
@@ -68,7 +68,7 @@ begin
68
68
  data, status_code, headers = api_instance.bulk_upsert1099_forms_with_http_info(avalara_version, opts)
69
69
  p status_code # => 2xx
70
70
  p headers # => { ... }
71
- p data # => <Form1099ProccessResult>
71
+ p data # => <JobResponse>
72
72
  rescue AvalaraSdk::A1099::V2::ApiError => e
73
73
  puts "Error when calling Forms1099Api->bulk_upsert1099_forms_with_http_info: #{e}"
74
74
  end
@@ -79,14 +79,14 @@ end
79
79
  | Name | Type | Description | Notes |
80
80
  | ---- | ---- | ----------- | ----- |
81
81
  | **avalara_version** | **String** | API version | |
82
- | **dry_run** | **Boolean** | | [optional][default to false] |
82
+ | **dry_run** | **Boolean** | defaults to false. If true, it will NOT change the DB. It will just return a report of what would&#39;ve have been changed in the DB | [optional][default to false] |
83
83
  | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
84
84
  | **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
85
- | **bulk_upsert1099_forms_request** | [**BulkUpsert1099FormsRequest**](BulkUpsert1099FormsRequest.md) | | [optional] |
85
+ | **form1099_list_request** | [**Form1099ListRequest**](Form1099ListRequest.md) | | [optional] |
86
86
 
87
87
  ### Return type
88
88
 
89
- [**Form1099ProccessResult**](Form1099ProccessResult.md)
89
+ [**JobResponse**](JobResponse.md)
90
90
 
91
91
  ### Authorization
92
92
 
@@ -100,7 +100,7 @@ end
100
100
 
101
101
  ## create1099_form
102
102
 
103
- > <Create1099Form201Response> create1099_form(avalara_version, opts)
103
+ > <Get1099Form200Response> create1099_form(avalara_version, opts)
104
104
 
105
105
  Create a 1099/1095/W2/1042S form
106
106
 
@@ -126,9 +126,9 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
126
126
 
127
127
  avalara_version = '2.0.0' # String | API version
128
128
  opts = {
129
- x_correlation_id: '13eb4eb0-0e7d-41e3-adf3-61b131c1a92c', # String | Unique correlation Id in a GUID format
129
+ x_correlation_id: 'e4a7bf40-da9f-452a-b2db-c8b64721610b', # String | Unique correlation Id in a GUID format
130
130
  x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
131
- i_create_form1099_request: AvalaraSdk::A1099::V2::Form1099DivRequest.new # ICreateForm1099Request |
131
+ get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: '1099-NEC', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
132
132
  }
133
133
 
134
134
  begin
@@ -144,7 +144,7 @@ end
144
144
 
145
145
  This returns an Array which contains the response data, status code and headers.
146
146
 
147
- > <Array(<Create1099Form201Response>, Integer, Hash)> create1099_form_with_http_info(avalara_version, opts)
147
+ > <Array(<Get1099Form200Response>, Integer, Hash)> create1099_form_with_http_info(avalara_version, opts)
148
148
 
149
149
  ```ruby
150
150
  begin
@@ -152,7 +152,7 @@ begin
152
152
  data, status_code, headers = api_instance.create1099_form_with_http_info(avalara_version, opts)
153
153
  p status_code # => 2xx
154
154
  p headers # => { ... }
155
- p data # => <Create1099Form201Response>
155
+ p data # => <Get1099Form200Response>
156
156
  rescue AvalaraSdk::A1099::V2::ApiError => e
157
157
  puts "Error when calling Forms1099Api->create1099_form_with_http_info: #{e}"
158
158
  end
@@ -165,11 +165,11 @@ end
165
165
  | **avalara_version** | **String** | API version | |
166
166
  | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
167
167
  | **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
168
- | **i_create_form1099_request** | [**ICreateForm1099Request**](ICreateForm1099Request.md) | | [optional] |
168
+ | **get1099_form200_response** | [**Get1099Form200Response**](Get1099Form200Response.md) | | [optional] |
169
169
 
170
170
  ### Return type
171
171
 
172
- [**Create1099Form201Response**](Create1099Form201Response.md)
172
+ [**Get1099Form200Response**](Get1099Form200Response.md)
173
173
 
174
174
  ### Authorization
175
175
 
@@ -210,7 +210,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
210
210
  id = 'id_example' # String | The unique identifier of the desired form to delete.
211
211
  avalara_version = '2.0.0' # String | API version
212
212
  opts = {
213
- x_correlation_id: '2bcc9cf0-9638-46d5-a792-be61566e0651', # String | Unique correlation Id in a GUID format
213
+ x_correlation_id: '8e01e950-8e1c-4b1b-9120-2e2452c6d590', # String | Unique correlation Id in a GUID format
214
214
  x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
215
215
  }
216
216
 
@@ -292,7 +292,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
292
292
  id = 'id_example' # String |
293
293
  avalara_version = '2.0.0' # String | API version
294
294
  opts = {
295
- x_correlation_id: '6e842a03-8b64-4b02-8c5e-7073bf4e8a8c', # String | Unique correlation Id in a GUID format
295
+ x_correlation_id: '7b8174a3-a873-4a05-a619-f362955f4608', # String | Unique correlation Id in a GUID format
296
296
  x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
297
297
  }
298
298
 
@@ -376,7 +376,7 @@ id = 'id_example' # String | The ID of the form
376
376
  avalara_version = '2.0.0' # String | API version
377
377
  opts = {
378
378
  mark_edelivered: true, # Boolean | Optional boolean that if set indicates that the form should be marked as having been successfully edelivered
379
- x_correlation_id: '7b4aa70b-3a10-4fa0-bf19-7592170409b7', # String | Unique correlation Id in a GUID format
379
+ x_correlation_id: 'a4dd3a23-ae45-45a5-8612-75e2fe4c1f36', # String | Unique correlation Id in a GUID format
380
380
  x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
381
381
  }
382
382
 
@@ -433,11 +433,11 @@ end
433
433
 
434
434
  ## list1099_forms
435
435
 
436
- > <Form1099ListResponse> list1099_forms(avalara_version, opts)
436
+ > <PaginatedQueryResultModelForm1099Base> list1099_forms(avalara_version, opts)
437
437
 
438
438
  List 1099/1095/W2/1042S forms
439
439
 
440
- List 1099/1095/W2/1042S forms. Filterable fields are name, referenceId and taxYear.
440
+ List 1099/1095/W2/1042S forms. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: - issuerId - issuerReferenceId - taxYear - addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified - createdAt - edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted - email - federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held - recipientName - mailStatus - possible values are: sent, unscheduled, pending, delivered - referenceId - tinMatchStatus - possible values are: none, pending, matched, failed - type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC - updatedAt - validity - possible values are: true, false For more information on filtering, see <see href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</see>.
441
441
 
442
442
  ### Examples
443
443
 
@@ -459,11 +459,13 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
459
459
 
460
460
  avalara_version = '2.0.0' # String | API version
461
461
  opts = {
462
- filter: 'issuerId eq 884781823', # String | A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held recipientName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false
463
- top: 56, # Integer | If nonzero, return no more than this number of results. Used with skip to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
462
+ filter: 'issuerId eq 884781823', # String | A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>.
463
+ top: 56, # Integer | If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets.
464
464
  skip: 56, # Integer | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
465
- order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt recipientName updatedAt
466
- x_correlation_id: '7766bce5-4834-4907-81e9-dd0fd6c13079', # String | Unique correlation Id in a GUID format
465
+ order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
466
+ count: true, # Boolean | If true, return the global count of elements in the collection.
467
+ count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
468
+ x_correlation_id: 'f808e46a-fc55-4dd7-960d-13c6ba8176f2', # String | Unique correlation Id in a GUID format
467
469
  x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
468
470
  }
469
471
 
@@ -480,7 +482,7 @@ end
480
482
 
481
483
  This returns an Array which contains the response data, status code and headers.
482
484
 
483
- > <Array(<Form1099ListResponse>, Integer, Hash)> list1099_forms_with_http_info(avalara_version, opts)
485
+ > <Array(<PaginatedQueryResultModelForm1099Base>, Integer, Hash)> list1099_forms_with_http_info(avalara_version, opts)
484
486
 
485
487
  ```ruby
486
488
  begin
@@ -488,7 +490,7 @@ begin
488
490
  data, status_code, headers = api_instance.list1099_forms_with_http_info(avalara_version, opts)
489
491
  p status_code # => 2xx
490
492
  p headers # => { ... }
491
- p data # => <Form1099ListResponse>
493
+ p data # => <PaginatedQueryResultModelForm1099Base>
492
494
  rescue AvalaraSdk::A1099::V2::ApiError => e
493
495
  puts "Error when calling Forms1099Api->list1099_forms_with_http_info: #{e}"
494
496
  end
@@ -499,16 +501,18 @@ end
499
501
  | Name | Type | Description | Notes |
500
502
  | ---- | ---- | ----------- | ----- |
501
503
  | **avalara_version** | **String** | API version | |
502
- | **filter** | **String** | A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held recipientName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false | [optional] |
503
- | **top** | **Integer** | If nonzero, return no more than this number of results. Used with skip to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records. | [optional][default to 10] |
504
- | **skip** | **Integer** | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. | [optional][default to 0] |
505
- | **order_by** | **String** | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt recipientName updatedAt | [optional] |
504
+ | **filter** | **String** | A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. | [optional] |
505
+ | **top** | **Integer** | If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets. | [optional] |
506
+ | **skip** | **Integer** | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. | [optional] |
507
+ | **order_by** | **String** | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. | [optional] |
508
+ | **count** | **Boolean** | If true, return the global count of elements in the collection. | [optional] |
509
+ | **count_only** | **Boolean** | If true, return ONLY the global count of elements in the collection. It only applies when count&#x3D;true. | [optional] |
506
510
  | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
507
511
  | **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
508
512
 
509
513
  ### Return type
510
514
 
511
- [**Form1099ListResponse**](Form1099ListResponse.md)
515
+ [**PaginatedQueryResultModelForm1099Base**](PaginatedQueryResultModelForm1099Base.md)
512
516
 
513
517
  ### Authorization
514
518
 
@@ -522,7 +526,7 @@ end
522
526
 
523
527
  ## update1099_form
524
528
 
525
- > <Update1099Form200Response> update1099_form(id, avalara_version, opts)
529
+ > <Get1099Form200Response> update1099_form(id, avalara_version, opts)
526
530
 
527
531
  Update a 1099/1095/W2/1042S form
528
532
 
@@ -549,9 +553,9 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
549
553
  id = 'id_example' # String |
550
554
  avalara_version = '2.0.0' # String | API version
551
555
  opts = {
552
- x_correlation_id: '9f622e4f-7992-4e4f-8e24-e628c5339402', # String | Unique correlation Id in a GUID format
556
+ x_correlation_id: '944ee583-b810-471c-852c-d3c6f8b93a4b', # String | Unique correlation Id in a GUID format
553
557
  x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
554
- i_update_form1099_request: AvalaraSdk::A1099::V2::Form1099DivRequest.new # IUpdateForm1099Request |
558
+ get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: '1099-NEC', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
555
559
  }
556
560
 
557
561
  begin
@@ -567,7 +571,7 @@ end
567
571
 
568
572
  This returns an Array which contains the response data, status code and headers.
569
573
 
570
- > <Array(<Update1099Form200Response>, Integer, Hash)> update1099_form_with_http_info(id, avalara_version, opts)
574
+ > <Array(<Get1099Form200Response>, Integer, Hash)> update1099_form_with_http_info(id, avalara_version, opts)
571
575
 
572
576
  ```ruby
573
577
  begin
@@ -575,7 +579,7 @@ begin
575
579
  data, status_code, headers = api_instance.update1099_form_with_http_info(id, avalara_version, opts)
576
580
  p status_code # => 2xx
577
581
  p headers # => { ... }
578
- p data # => <Update1099Form200Response>
582
+ p data # => <Get1099Form200Response>
579
583
  rescue AvalaraSdk::A1099::V2::ApiError => e
580
584
  puts "Error when calling Forms1099Api->update1099_form_with_http_info: #{e}"
581
585
  end
@@ -589,11 +593,11 @@ end
589
593
  | **avalara_version** | **String** | API version | |
590
594
  | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
591
595
  | **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
592
- | **i_update_form1099_request** | [**IUpdateForm1099Request**](IUpdateForm1099Request.md) | | [optional] |
596
+ | **get1099_form200_response** | [**Get1099Form200Response**](Get1099Form200Response.md) | | [optional] |
593
597
 
594
598
  ### Return type
595
599
 
596
- [**Update1099Form200Response**](Update1099Form200Response.md)
600
+ [**Get1099Form200Response**](Get1099Form200Response.md)
597
601
 
598
602
  ### Authorization
599
603