avalara_sdk 25.7.2 → 25.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +76 -39
  3. data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +3 -1
  4. data/docs/A1099/V2/CompaniesW9Api.md +22 -22
  5. data/docs/A1099/V2/CoveredIndividualReferenceResponse.md +56 -0
  6. data/docs/A1099/V2/CoveredIndividualRequest.md +19 -19
  7. data/docs/A1099/V2/Create1099Form201Response.md +59 -0
  8. data/docs/A1099/V2/CreateW9Form201Response.md +55 -0
  9. data/docs/A1099/V2/CreateW9FormRequest.md +55 -0
  10. data/docs/A1099/V2/Form1042SList.md +20 -0
  11. data/docs/A1099/V2/Form1042SListItem.md +108 -0
  12. data/docs/A1099/V2/Form1042SListItemResponse.md +130 -0
  13. data/docs/A1099/V2/Form1042SRequest.md +110 -0
  14. data/docs/A1099/V2/Form1042SResponse.md +88 -0
  15. data/docs/A1099/V2/Form1095BListItem.md +31 -31
  16. data/docs/A1099/V2/Form1095BListItemResponse.md +86 -0
  17. data/docs/A1099/V2/Form1095BRequest.md +33 -33
  18. data/docs/A1099/V2/Form1099BaseResponse.md +82 -0
  19. data/docs/A1099/V2/Form1099DivListItem.md +45 -45
  20. data/docs/A1099/V2/Form1099DivRequest.md +44 -44
  21. data/docs/A1099/V2/Form1099DivResponse.md +3 -3
  22. data/docs/A1099/V2/Form1099KListItem.md +46 -46
  23. data/docs/A1099/V2/Form1099KListItemResponse.md +122 -0
  24. data/docs/A1099/V2/Form1099KRequest.md +45 -45
  25. data/docs/A1099/V2/Form1099ListResponse.md +18 -0
  26. data/docs/A1099/V2/Form1099ListResponseValueInner.md +59 -0
  27. data/docs/A1099/V2/Form1099MiscListItem.md +43 -43
  28. data/docs/A1099/V2/Form1099MiscListItemResponse.md +108 -0
  29. data/docs/A1099/V2/Form1099MiscRequest.md +42 -42
  30. data/docs/A1099/V2/Form1099MiscResponse.md +5 -5
  31. data/docs/A1099/V2/Form1099NecListItem.md +31 -31
  32. data/docs/A1099/V2/Form1099NecListItemResponse.md +88 -0
  33. data/docs/A1099/V2/Form1099NecRequest.md +30 -30
  34. data/docs/A1099/V2/Form1099NecResponse.md +5 -5
  35. data/docs/A1099/V2/Form1099RListItem.md +47 -47
  36. data/docs/A1099/V2/Form1099RListItemResponse.md +122 -0
  37. data/docs/A1099/V2/Form1099RRequest.md +45 -45
  38. data/docs/A1099/V2/Form1099StatusDetailResponse.md +20 -0
  39. data/docs/A1099/V2/FormRequestBase.md +23 -23
  40. data/docs/A1099/V2/FormRequestListItemBase.md +66 -0
  41. data/docs/A1099/V2/FormResponseBase.md +3 -3
  42. data/docs/A1099/V2/FormSingleRequestBase.md +25 -25
  43. data/docs/A1099/V2/Forms1099Api.md +75 -63
  44. data/docs/A1099/V2/FormsW9Api.md +61 -56
  45. data/docs/A1099/V2/Get1099Form200Response.md +15 -11
  46. data/docs/A1099/V2/IntermediaryOrFlowThrough.md +38 -0
  47. data/docs/A1099/V2/IntermediaryOrFlowThroughRequest.md +38 -0
  48. data/docs/A1099/V2/IntermediaryOrFlowThroughResponse.md +38 -0
  49. data/docs/A1099/V2/Issuers1099Api.md +23 -23
  50. data/docs/A1099/V2/JobResult.md +15 -15
  51. data/docs/A1099/V2/Jobs1099Api.md +2 -2
  52. data/docs/A1099/V2/PrimaryWithholdingAgent.md +20 -0
  53. data/docs/A1099/V2/PrimaryWithholdingAgentRequest.md +20 -0
  54. data/docs/A1099/V2/PrimaryWithholdingAgentResponse.md +20 -0
  55. data/docs/A1099/V2/StateAndLocalWithholdingResponse.md +8 -8
  56. data/docs/A1099/V2/StateEfileStatusDetailResponse.md +22 -0
  57. data/docs/A1099/V2/SubstantialUsOwnerRequest.md +22 -0
  58. data/docs/A1099/V2/Update1099Form200Response.md +3 -1
  59. data/docs/A1099/V2/ValidationErrorResponse.md +20 -0
  60. data/docs/A1099/V2/W4FormDataModel.md +5 -5
  61. data/docs/A1099/V2/W4FormRequest.md +66 -0
  62. data/docs/A1099/V2/W8BenEFormRequest.md +218 -0
  63. data/docs/A1099/V2/W8BenEFormResponse.md +3 -3
  64. data/docs/A1099/V2/W8BenFormDataModel.md +5 -5
  65. data/docs/A1099/V2/W8BenFormRequest.md +76 -0
  66. data/docs/A1099/V2/W8BeneFormDataModel.md +5 -5
  67. data/docs/A1099/V2/W8ImyFormDataModel.md +5 -5
  68. data/docs/A1099/V2/W8ImyFormRequest.md +250 -0
  69. data/docs/A1099/V2/W8ImyFormResponse.md +2 -2
  70. data/docs/A1099/V2/W9FormBaseRequest.md +28 -0
  71. data/docs/A1099/V2/W9FormDataModel.md +5 -5
  72. data/docs/A1099/V2/W9FormRequest.md +64 -0
  73. data/docs/EInvoicing/V1/Address.md +28 -0
  74. data/docs/EInvoicing/V1/BatchErrorDetail.md +20 -0
  75. data/docs/EInvoicing/V1/BatchSearchListResponse.md +2 -2
  76. data/docs/EInvoicing/V1/Consents.md +18 -0
  77. data/docs/EInvoicing/V1/CreateTradingPartner201Response.md +22 -0
  78. data/docs/EInvoicing/V1/CreateTradingPartnersBatch200Response.md +22 -0
  79. data/docs/EInvoicing/V1/CreateTradingPartnersBatch200ResponseValueInner.md +22 -0
  80. data/docs/EInvoicing/V1/CreateTradingPartnersBatchRequest.md +18 -0
  81. data/docs/EInvoicing/V1/DataInputFieldsApi.md +5 -5
  82. data/docs/EInvoicing/V1/DocumentsApi.md +9 -9
  83. data/docs/EInvoicing/V1/Extension.md +20 -0
  84. data/docs/EInvoicing/V1/Identifier.md +22 -0
  85. data/docs/EInvoicing/V1/InteropApi.md +1 -1
  86. data/docs/EInvoicing/V1/MandatesApi.md +6 -6
  87. data/docs/EInvoicing/V1/SearchParticipants200Response.md +22 -0
  88. data/docs/EInvoicing/V1/SubscriptionsApi.md +12 -12
  89. data/docs/EInvoicing/V1/SupportedDocumentTypes.md +26 -0
  90. data/docs/EInvoicing/V1/TaxIdentifierRequest.md +24 -0
  91. data/docs/EInvoicing/V1/TaxIdentifierResponse.md +20 -0
  92. data/docs/EInvoicing/V1/TaxIdentifierResponseValue.md +22 -0
  93. data/docs/EInvoicing/V1/TaxIdentifierSchemaByCountry200Response.md +20 -0
  94. data/docs/EInvoicing/V1/TaxIdentifiersApi.md +177 -0
  95. data/docs/EInvoicing/V1/TradingPartner.md +34 -0
  96. data/docs/EInvoicing/V1/TradingPartnersApi.md +412 -75
  97. data/docs/EInvoicing/V1/UpdateTradingPartner200Response.md +22 -0
  98. data/docs/EInvoicing/V1/ValidationError.md +20 -0
  99. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +14 -14
  100. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +51 -39
  101. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +56 -50
  102. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +20 -20
  103. data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +2 -2
  104. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +7 -7
  105. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +11 -11
  106. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +2 -2
  107. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +8 -8
  108. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +21 -21
  109. data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +531 -0
  110. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +660 -80
  111. data/lib/avalara_sdk/models/A1099/V2/attribute.rb +1 -1
  112. data/lib/avalara_sdk/models/A1099/V2/authorized_api_request_model.rb +1 -1
  113. data/lib/avalara_sdk/models/A1099/V2/authorized_api_request_v2_data_model.rb +1 -1
  114. data/lib/avalara_sdk/models/A1099/V2/base_company_model.rb +1 -1
  115. data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +1 -1
  116. data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +2 -1
  117. data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +1 -1
  118. data/lib/avalara_sdk/models/A1099/V2/company_model.rb +1 -1
  119. data/lib/avalara_sdk/models/A1099/V2/company_response.rb +1 -1
  120. data/lib/avalara_sdk/models/A1099/V2/company_response_model.rb +1 -1
  121. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +407 -0
  122. data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +20 -1
  123. data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +106 -0
  124. data/lib/avalara_sdk/models/A1099/V2/create_w9_form201_response.rb +104 -0
  125. data/lib/avalara_sdk/models/A1099/V2/create_w9_form_request.rb +104 -0
  126. data/lib/avalara_sdk/models/A1099/V2/data.rb +1 -1
  127. data/lib/avalara_sdk/models/A1099/V2/error_model.rb +1 -1
  128. data/lib/avalara_sdk/models/A1099/V2/error_response.rb +1 -1
  129. data/lib/avalara_sdk/models/A1099/V2/error_response_errors_inner.rb +1 -1
  130. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +238 -0
  131. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +891 -0
  132. data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +925 -0
  133. data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +855 -0
  134. data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +600 -0
  135. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +1 -1
  136. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +147 -14
  137. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +700 -0
  138. data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +149 -16
  139. data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +661 -0
  140. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list.rb +1 -1
  141. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +168 -13
  142. data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +159 -14
  143. data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +5 -5
  144. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +1 -1
  145. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +169 -13
  146. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +930 -0
  147. data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +160 -14
  148. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +220 -0
  149. data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +106 -0
  150. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +1 -1
  151. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +171 -19
  152. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +810 -0
  153. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +162 -20
  154. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +12 -12
  155. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +1 -1
  156. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +168 -20
  157. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +700 -0
  158. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +157 -20
  159. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +12 -12
  160. data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +1 -1
  161. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +1 -1
  162. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +171 -15
  163. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +888 -0
  164. data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +160 -14
  165. data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +223 -0
  166. data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +138 -12
  167. data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +611 -0
  168. data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +5 -5
  169. data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +140 -14
  170. data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +8 -6
  171. data/lib/avalara_sdk/models/A1099/V2/http_validation_problem_details.rb +1 -1
  172. data/lib/avalara_sdk/models/A1099/V2/i_create_form1099_request.rb +1 -1
  173. data/lib/avalara_sdk/models/A1099/V2/i_update_form1099_request.rb +1 -1
  174. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +311 -0
  175. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_request.rb +311 -0
  176. data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +311 -0
  177. data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +1 -1
  178. data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +1 -1
  179. data/lib/avalara_sdk/models/A1099/V2/iw9_form_data_models_one_of.rb +1 -1
  180. data/lib/avalara_sdk/models/A1099/V2/job_result.rb +16 -1
  181. data/lib/avalara_sdk/models/A1099/V2/link.rb +1 -1
  182. data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model.rb +1 -1
  183. data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_company_response.rb +1 -1
  184. data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_issuer_response.rb +1 -1
  185. data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +1 -1
  186. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +221 -0
  187. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +221 -0
  188. data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +221 -0
  189. data/lib/avalara_sdk/models/A1099/V2/problem_details.rb +1 -1
  190. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +5 -1
  191. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +9 -1
  192. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +231 -0
  193. data/lib/avalara_sdk/models/A1099/V2/status_detail.rb +1 -1
  194. data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_request.rb +233 -0
  195. data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_response.rb +1 -1
  196. data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +2 -1
  197. data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +231 -0
  198. data/lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb +6 -6
  199. data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +509 -0
  200. data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +1 -1
  201. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +1343 -0
  202. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +4 -4
  203. data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_substantial_us_owner_data_model.rb +1 -1
  204. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb +6 -6
  205. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +561 -0
  206. data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +1 -1
  207. data/lib/avalara_sdk/models/A1099/V2/w8_bene_form_data_model.rb +6 -6
  208. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_data_model.rb +6 -6
  209. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +1518 -0
  210. data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +3 -3
  211. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +299 -0
  212. data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +1 -1
  213. data/lib/avalara_sdk/models/A1099/V2/w9_form_data_model.rb +6 -6
  214. data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +495 -0
  215. data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +4 -3
  216. data/lib/avalara_sdk/models/EInvoicing/V1/address.rb +382 -0
  217. data/lib/avalara_sdk/models/EInvoicing/V1/batch_error_detail.rb +223 -0
  218. data/lib/avalara_sdk/models/EInvoicing/V1/batch_search.rb +1 -1
  219. data/lib/avalara_sdk/models/EInvoicing/V1/batch_search_list_response.rb +3 -2
  220. data/lib/avalara_sdk/models/EInvoicing/V1/consents.rb +213 -0
  221. data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partner201_response.rb +231 -0
  222. data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch200_response.rb +232 -0
  223. data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch200_response_value_inner.rb +231 -0
  224. data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch_request.rb +212 -0
  225. data/lib/avalara_sdk/models/EInvoicing/V1/data_input_fields_response.rb +1 -2
  226. data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch.rb +1 -2
  227. data/lib/avalara_sdk/models/EInvoicing/V1/error_response.rb +1 -1
  228. data/lib/avalara_sdk/models/EInvoicing/V1/extension.rb +256 -0
  229. data/lib/avalara_sdk/models/EInvoicing/V1/hmac_signature_value.rb +1 -2
  230. data/lib/avalara_sdk/models/EInvoicing/V1/identifier.rb +302 -0
  231. data/lib/avalara_sdk/models/EInvoicing/V1/mandate.rb +1 -2
  232. data/lib/avalara_sdk/models/EInvoicing/V1/pagination.rb +1 -2
  233. data/lib/avalara_sdk/models/EInvoicing/V1/required_when_field.rb +1 -2
  234. data/lib/avalara_sdk/models/EInvoicing/V1/search_participants200_response.rb +232 -0
  235. data/lib/avalara_sdk/models/EInvoicing/V1/signature.rb +1 -2
  236. data/lib/avalara_sdk/models/EInvoicing/V1/signature_value.rb +1 -2
  237. data/lib/avalara_sdk/models/EInvoicing/V1/subscription_common.rb +1 -2
  238. data/lib/avalara_sdk/models/EInvoicing/V1/success_response.rb +1 -2
  239. data/lib/avalara_sdk/models/EInvoicing/V1/supported_document_types.rb +305 -0
  240. data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_request.rb +329 -0
  241. data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_response.rb +228 -0
  242. data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_response_value.rb +231 -0
  243. data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_schema_by_country200_response.rb +235 -0
  244. data/lib/avalara_sdk/models/EInvoicing/V1/trading_partner.rb +411 -0
  245. data/lib/avalara_sdk/models/EInvoicing/V1/update_trading_partner200_response.rb +231 -0
  246. data/lib/avalara_sdk/models/EInvoicing/V1/validation_error.rb +222 -0
  247. data/lib/avalara_sdk/models/EInvoicing/V1/webhooks_error_response.rb +1 -2
  248. data/lib/avalara_sdk/version.rb +1 -1
  249. data/lib/avalara_sdk.rb +53 -0
  250. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/byebug/byebug.so +0 -0
  251. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +6 -6
  252. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/date_core.so +0 -0
  253. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +6 -6
  254. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/mkmf.log +4 -4
  255. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/attach.so +0 -0
  256. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/debase_internals.so +0 -0
  257. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +7 -7
  258. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/mkmf.log +6 -6
  259. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/debug/debug.so +0 -0
  260. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +6 -6
  261. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/erb/escape.so +0 -0
  262. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +6 -6
  263. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +6 -6
  264. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/io/console.so +0 -0
  265. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/mkmf.log +21 -21
  266. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +6 -6
  267. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/json/ext/generator.so +0 -0
  268. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/json/ext/parser.so +0 -0
  269. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/mkmf.log +7 -7
  270. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +6 -6
  271. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/mkmf.log +6 -6
  272. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/prism/prism.so +0 -0
  273. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +6 -6
  274. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/mkmf.log +10 -10
  275. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/psych.so +0 -0
  276. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +6 -6
  277. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/racc/cparse.so +0 -0
  278. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/ruby-debug-ide-0.7.3/gem_make.out +2 -2
  279. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +6 -6
  280. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/mkmf.log +2 -2
  281. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/stringio.so +0 -0
  282. data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/Makefile +3 -3
  283. data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
  284. data/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date/Makefile +3 -3
  285. data/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so +0 -0
  286. data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/Makefile +3 -3
  287. data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/attach/Makefile +3 -3
  288. data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/lib/attach.so +0 -0
  289. data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/lib/debase_internals.so +0 -0
  290. data/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/ext/debug/Makefile +3 -3
  291. data/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/lib/debug/debug.so +0 -0
  292. data/vendor/bundle/ruby/3.3.0/gems/erb-5.0.1/ext/erb/escape/Makefile +3 -3
  293. data/vendor/bundle/ruby/3.3.0/gems/erb-5.0.1/lib/erb/escape.so +0 -0
  294. data/vendor/bundle/ruby/3.3.0/gems/io-console-0.8.0/ext/io/console/Makefile +3 -3
  295. data/vendor/bundle/ruby/3.3.0/gems/io-console-0.8.0/lib/io/console.so +0 -0
  296. data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/ext/json/ext/generator/Makefile +3 -3
  297. data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/ext/json/ext/parser/Makefile +3 -3
  298. data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/lib/json/ext/generator.so +0 -0
  299. data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/lib/json/ext/parser.so +0 -0
  300. data/vendor/bundle/ruby/3.3.0/gems/prism-1.4.0/ext/prism/Makefile +3 -3
  301. data/vendor/bundle/ruby/3.3.0/gems/prism-1.4.0/lib/prism/prism.so +0 -0
  302. data/vendor/bundle/ruby/3.3.0/gems/psych-5.2.6/ext/psych/Makefile +3 -3
  303. data/vendor/bundle/ruby/3.3.0/gems/psych-5.2.6/lib/psych.so +0 -0
  304. data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +3 -3
  305. data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
  306. data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.7/ext/stringio/Makefile +3 -3
  307. data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.7/lib/stringio.so +0 -0
  308. metadata +108 -2
@@ -4,22 +4,22 @@ All URIs are relative to *https://api-ava1099.eta.sbx.us-east-1.aws.avalara.io/a
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**bulk_upsert1099_forms**](Forms1099Api.md#bulk_upsert1099_forms) | **POST** /1099/forms/$bulk-upsert | Creates or updates multiple 1099 forms. |
8
- | [**create1099_form**](Forms1099Api.md#create1099_form) | **POST** /1099/forms | Creates a 1099 form. |
9
- | [**delete1099_form**](Forms1099Api.md#delete1099_form) | **DELETE** /1099/forms/{id} | Deletes a 1099 form. |
10
- | [**get1099_form**](Forms1099Api.md#get1099_form) | **GET** /1099/forms/{id} | Retrieves a 1099 form. |
11
- | [**get1099_form_pdf**](Forms1099Api.md#get1099_form_pdf) | **GET** /1099/forms/{id}/pdf | Retrieves the PDF file for a single 1099 by form id. |
12
- | [**list1099_forms**](Forms1099Api.md#list1099_forms) | **GET** /1099/forms | Retrieves a list of 1099 forms based on query parameters. |
13
- | [**update1099_form**](Forms1099Api.md#update1099_form) | **PUT** /1099/forms/{id} | Updates a 1099 form. |
7
+ | [**bulk_upsert1099_forms**](Forms1099Api.md#bulk_upsert1099_forms) | **POST** /1099/forms/$bulk-upsert | Create or update multiple 1099/1095/W2/1042S forms |
8
+ | [**create1099_form**](Forms1099Api.md#create1099_form) | **POST** /1099/forms | Create a 1099/1095/W2/1042S form |
9
+ | [**delete1099_form**](Forms1099Api.md#delete1099_form) | **DELETE** /1099/forms/{id} | Delete a 1099/1095/W2/1042S form |
10
+ | [**get1099_form**](Forms1099Api.md#get1099_form) | **GET** /1099/forms/{id} | Retrieve a 1099/1095/W2/1042S form |
11
+ | [**get1099_form_pdf**](Forms1099Api.md#get1099_form_pdf) | **GET** /1099/forms/{id}/pdf | Retrieve the PDF file for a 1099/1095/W2/1042S form |
12
+ | [**list1099_forms**](Forms1099Api.md#list1099_forms) | **GET** /1099/forms | List 1099/1095/W2/1042S forms |
13
+ | [**update1099_form**](Forms1099Api.md#update1099_form) | **PUT** /1099/forms/{id} | Update a 1099/1095/W2/1042S form |
14
14
 
15
15
 
16
16
  ## bulk_upsert1099_forms
17
17
 
18
18
  > <Form1099ProccessResult> bulk_upsert1099_forms(avalara_version, opts)
19
19
 
20
- Creates or updates multiple 1099 forms.
20
+ Create or update multiple 1099/1095/W2/1042S forms
21
21
 
22
- This endpoint allows you to create or update multiple 1099 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\": \"987-65-4321\", \"TinType\": \"IEN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 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, \"PayerMadeDirectSales\": 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\": \"987-65-4321\", \"tinType\": \"IEN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"payerMadeDirectSales\": 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. 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\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 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\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"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.
23
23
 
24
24
  ### Examples
25
25
 
@@ -39,16 +39,16 @@ end
39
39
  api_client = AvalaraSdk::ApiClient.new config
40
40
  api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
41
41
 
42
- avalara_version = '2.0' # String | API version
42
+ avalara_version = '2.0.0' # String | API version
43
43
  opts = {
44
44
  dry_run: true, # Boolean |
45
- x_correlation_id: 'e5719e20-8805-4ccc-b626-013045304315', # String | Unique correlation Id in a GUID format
45
+ x_correlation_id: '032e11a9-1930-48bc-9cd5-865dfeb5f8bb', # 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::Form1095BList.new # BulkUpsert1099FormsRequest |
47
+ bulk_upsert1099_forms_request: AvalaraSdk::A1099::V2::Form1042SList.new # BulkUpsert1099FormsRequest |
48
48
  }
49
49
 
50
50
  begin
51
- # Creates or updates multiple 1099 forms.
51
+ # Create or update multiple 1099/1095/W2/1042S forms
52
52
  result = api_instance.bulk_upsert1099_forms(avalara_version, opts)
53
53
  p result
54
54
  rescue AvalaraSdk::ApiError => e
@@ -64,7 +64,7 @@ This returns an Array which contains the response data, status code and headers.
64
64
 
65
65
  ```ruby
66
66
  begin
67
- # Creates or updates multiple 1099 forms.
67
+ # Create or update multiple 1099/1095/W2/1042S forms
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 # => { ... }
@@ -100,9 +100,11 @@ end
100
100
 
101
101
  ## create1099_form
102
102
 
103
- > <Get1099Form200Response> create1099_form(avalara_version, opts)
103
+ > <Create1099Form201Response> create1099_form(avalara_version, opts)
104
104
 
105
- Creates a 1099 form.
105
+ Create a 1099/1095/W2/1042S form
106
+
107
+ Create a 1099/1095/W2/1042S form.
106
108
 
107
109
  ### Examples
108
110
 
@@ -122,15 +124,15 @@ end
122
124
  api_client = AvalaraSdk::ApiClient.new config
123
125
  api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
124
126
 
125
- avalara_version = '2.0' # String | API version
127
+ avalara_version = '2.0.0' # String | API version
126
128
  opts = {
127
- x_correlation_id: '6095f693-4fb2-48c8-b6e5-c7ab4611f673', # String | Unique correlation Id in a GUID format
129
+ x_correlation_id: '2a525a1d-2ac8-4894-87a5-1bd347d76b1c', # String | Unique correlation Id in a GUID format
128
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/) .
129
- i_create_form1099_request: AvalaraSdk::A1099::V2::Form1099DivRequest.new # ICreateForm1099Request |
131
+ i_create_form1099_request: AvalaraSdk::A1099::V2::Form1099DivRequest.new({recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # ICreateForm1099Request |
130
132
  }
131
133
 
132
134
  begin
133
- # Creates a 1099 form.
135
+ # Create a 1099/1095/W2/1042S form
134
136
  result = api_instance.create1099_form(avalara_version, opts)
135
137
  p result
136
138
  rescue AvalaraSdk::ApiError => e
@@ -142,15 +144,15 @@ end
142
144
 
143
145
  This returns an Array which contains the response data, status code and headers.
144
146
 
145
- > <Array(<Get1099Form200Response>, Integer, Hash)> create1099_form_with_http_info(avalara_version, opts)
147
+ > <Array(<Create1099Form201Response>, Integer, Hash)> create1099_form_with_http_info(avalara_version, opts)
146
148
 
147
149
  ```ruby
148
150
  begin
149
- # Creates a 1099 form.
151
+ # Create a 1099/1095/W2/1042S form
150
152
  data, status_code, headers = api_instance.create1099_form_with_http_info(avalara_version, opts)
151
153
  p status_code # => 2xx
152
154
  p headers # => { ... }
153
- p data # => <Get1099Form200Response>
155
+ p data # => <Create1099Form201Response>
154
156
  rescue AvalaraSdk::A1099::V2::ApiError => e
155
157
  puts "Error when calling Forms1099Api->create1099_form_with_http_info: #{e}"
156
158
  end
@@ -167,7 +169,7 @@ end
167
169
 
168
170
  ### Return type
169
171
 
170
- [**Get1099Form200Response**](Get1099Form200Response.md)
172
+ [**Create1099Form201Response**](Create1099Form201Response.md)
171
173
 
172
174
  ### Authorization
173
175
 
@@ -183,7 +185,9 @@ end
183
185
 
184
186
  > delete1099_form(id, avalara_version, opts)
185
187
 
186
- Deletes a 1099 form.
188
+ Delete a 1099/1095/W2/1042S form
189
+
190
+ Delete a 1099/1095/W2/1042S form.
187
191
 
188
192
  ### Examples
189
193
 
@@ -204,14 +208,14 @@ api_client = AvalaraSdk::ApiClient.new config
204
208
  api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
205
209
 
206
210
  id = 'id_example' # String | The unique identifier of the desired form to delete.
207
- avalara_version = '2.0' # String | API version
211
+ avalara_version = '2.0.0' # String | API version
208
212
  opts = {
209
- x_correlation_id: '15d84d4b-81ef-4d59-af08-94e94dc49322', # String | Unique correlation Id in a GUID format
213
+ x_correlation_id: 'ba633be6-e650-424e-a01c-28c6693b9e3a', # String | Unique correlation Id in a GUID format
210
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/) .
211
215
  }
212
216
 
213
217
  begin
214
- # Deletes a 1099 form.
218
+ # Delete a 1099/1095/W2/1042S form
215
219
  api_instance.delete1099_form(id, avalara_version, opts)
216
220
  rescue AvalaraSdk::ApiError => e
217
221
  puts "Error when calling Forms1099Api->delete1099_form: #{e}"
@@ -226,7 +230,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
226
230
 
227
231
  ```ruby
228
232
  begin
229
- # Deletes a 1099 form.
233
+ # Delete a 1099/1095/W2/1042S form
230
234
  data, status_code, headers = api_instance.delete1099_form_with_http_info(id, avalara_version, opts)
231
235
  p status_code # => 2xx
232
236
  p headers # => { ... }
@@ -263,7 +267,9 @@ nil (empty response body)
263
267
 
264
268
  > <Get1099Form200Response> get1099_form(id, avalara_version, opts)
265
269
 
266
- Retrieves a 1099 form.
270
+ Retrieve a 1099/1095/W2/1042S form
271
+
272
+ Retrieve a 1099/1095/W2/1042S form.
267
273
 
268
274
  ### Examples
269
275
 
@@ -284,14 +290,14 @@ api_client = AvalaraSdk::ApiClient.new config
284
290
  api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
285
291
 
286
292
  id = 'id_example' # String |
287
- avalara_version = '2.0' # String | API version
293
+ avalara_version = '2.0.0' # String | API version
288
294
  opts = {
289
- x_correlation_id: '72e6716a-27d0-4cd0-8a93-a9aaef422691', # String | Unique correlation Id in a GUID format
295
+ x_correlation_id: 'f311cf9a-de50-4d53-9663-bdf93020dd26', # String | Unique correlation Id in a GUID format
290
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/) .
291
297
  }
292
298
 
293
299
  begin
294
- # Retrieves a 1099 form.
300
+ # Retrieve a 1099/1095/W2/1042S form
295
301
  result = api_instance.get1099_form(id, avalara_version, opts)
296
302
  p result
297
303
  rescue AvalaraSdk::ApiError => e
@@ -307,7 +313,7 @@ This returns an Array which contains the response data, status code and headers.
307
313
 
308
314
  ```ruby
309
315
  begin
310
- # Retrieves a 1099 form.
316
+ # Retrieve a 1099/1095/W2/1042S form
311
317
  data, status_code, headers = api_instance.get1099_form_with_http_info(id, avalara_version, opts)
312
318
  p status_code # => 2xx
313
319
  p headers # => { ... }
@@ -342,9 +348,11 @@ end
342
348
 
343
349
  ## get1099_form_pdf
344
350
 
345
- > <Update1099Form200Response> get1099_form_pdf(id, avalara_version, opts)
351
+ > File get1099_form_pdf(id, avalara_version, opts)
352
+
353
+ Retrieve the PDF file for a 1099/1095/W2/1042S form
346
354
 
347
- Retrieves the PDF file for a single 1099 by form id.
355
+ Retrieve the PDF file for a 1099/1095/W2/1042S form.
348
356
 
349
357
  ### Examples
350
358
 
@@ -364,16 +372,16 @@ end
364
372
  api_client = AvalaraSdk::ApiClient.new config
365
373
  api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
366
374
 
367
- id = 'id_example' # String |
368
- avalara_version = '2.0' # String | API version
375
+ id = 'id_example' # String | The ID of the form
376
+ avalara_version = '2.0.0' # String | API version
369
377
  opts = {
370
- mark_edelivered: true, # Boolean | The parameter for marked e-delivered
371
- x_correlation_id: '782ecb31-ec05-4880-a431-bd7a890e63e6', # String | Unique correlation Id in a GUID format
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: 'a1c63b5e-c575-4315-90ad-0ac98e71a981', # String | Unique correlation Id in a GUID format
372
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/) .
373
381
  }
374
382
 
375
383
  begin
376
- # Retrieves the PDF file for a single 1099 by form id.
384
+ # Retrieve the PDF file for a 1099/1095/W2/1042S form
377
385
  result = api_instance.get1099_form_pdf(id, avalara_version, opts)
378
386
  p result
379
387
  rescue AvalaraSdk::ApiError => e
@@ -385,15 +393,15 @@ end
385
393
 
386
394
  This returns an Array which contains the response data, status code and headers.
387
395
 
388
- > <Array(<Update1099Form200Response>, Integer, Hash)> get1099_form_pdf_with_http_info(id, avalara_version, opts)
396
+ > <Array(File, Integer, Hash)> get1099_form_pdf_with_http_info(id, avalara_version, opts)
389
397
 
390
398
  ```ruby
391
399
  begin
392
- # Retrieves the PDF file for a single 1099 by form id.
400
+ # Retrieve the PDF file for a 1099/1095/W2/1042S form
393
401
  data, status_code, headers = api_instance.get1099_form_pdf_with_http_info(id, avalara_version, opts)
394
402
  p status_code # => 2xx
395
403
  p headers # => { ... }
396
- p data # => <Update1099Form200Response>
404
+ p data # => File
397
405
  rescue AvalaraSdk::A1099::V2::ApiError => e
398
406
  puts "Error when calling Forms1099Api->get1099_form_pdf_with_http_info: #{e}"
399
407
  end
@@ -403,15 +411,15 @@ end
403
411
 
404
412
  | Name | Type | Description | Notes |
405
413
  | ---- | ---- | ----------- | ----- |
406
- | **id** | **String** | | |
414
+ | **id** | **String** | The ID of the form | |
407
415
  | **avalara_version** | **String** | API version | |
408
- | **mark_edelivered** | **Boolean** | The parameter for marked e-delivered | [optional] |
416
+ | **mark_edelivered** | **Boolean** | Optional boolean that if set indicates that the form should be marked as having been successfully edelivered | [optional] |
409
417
  | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
410
418
  | **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] |
411
419
 
412
420
  ### Return type
413
421
 
414
- [**Update1099Form200Response**](Update1099Form200Response.md)
422
+ **File**
415
423
 
416
424
  ### Authorization
417
425
 
@@ -420,14 +428,16 @@ end
420
428
  ### HTTP request headers
421
429
 
422
430
  - **Content-Type**: Not defined
423
- - **Accept**: application/json
431
+ - **Accept**: application/pdf, application/json
424
432
 
425
433
 
426
434
  ## list1099_forms
427
435
 
428
- > <Form1099List> list1099_forms(avalara_version, opts)
436
+ > <Form1099ListResponse> list1099_forms(avalara_version, opts)
437
+
438
+ List 1099/1095/W2/1042S forms
429
439
 
430
- Retrieves a list of 1099 forms based on query parameters.
440
+ List 1099/1095/W2/1042S forms. Filterable fields are name, referenceId and taxYear.
431
441
 
432
442
  ### Examples
433
443
 
@@ -447,18 +457,18 @@ end
447
457
  api_client = AvalaraSdk::ApiClient.new config
448
458
  api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
449
459
 
450
- avalara_version = '2.0' # String | API version
460
+ avalara_version = '2.0.0' # String | API version
451
461
  opts = {
452
462
  filter: 'filter_example', # 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
453
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.
454
464
  skip: 56, # Integer | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
455
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
456
- x_correlation_id: '3023fd6b-afc3-488f-ad85-1dd9f72d9f64', # String | Unique correlation Id in a GUID format
466
+ x_correlation_id: '443e5440-659c-4f7d-865e-fd185b0ed923', # String | Unique correlation Id in a GUID format
457
467
  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/) .
458
468
  }
459
469
 
460
470
  begin
461
- # Retrieves a list of 1099 forms based on query parameters.
471
+ # List 1099/1095/W2/1042S forms
462
472
  result = api_instance.list1099_forms(avalara_version, opts)
463
473
  p result
464
474
  rescue AvalaraSdk::ApiError => e
@@ -470,15 +480,15 @@ end
470
480
 
471
481
  This returns an Array which contains the response data, status code and headers.
472
482
 
473
- > <Array(<Form1099List>, Integer, Hash)> list1099_forms_with_http_info(avalara_version, opts)
483
+ > <Array(<Form1099ListResponse>, Integer, Hash)> list1099_forms_with_http_info(avalara_version, opts)
474
484
 
475
485
  ```ruby
476
486
  begin
477
- # Retrieves a list of 1099 forms based on query parameters.
487
+ # List 1099/1095/W2/1042S forms
478
488
  data, status_code, headers = api_instance.list1099_forms_with_http_info(avalara_version, opts)
479
489
  p status_code # => 2xx
480
490
  p headers # => { ... }
481
- p data # => <Form1099List>
491
+ p data # => <Form1099ListResponse>
482
492
  rescue AvalaraSdk::A1099::V2::ApiError => e
483
493
  puts "Error when calling Forms1099Api->list1099_forms_with_http_info: #{e}"
484
494
  end
@@ -498,7 +508,7 @@ end
498
508
 
499
509
  ### Return type
500
510
 
501
- [**Form1099List**](Form1099List.md)
511
+ [**Form1099ListResponse**](Form1099ListResponse.md)
502
512
 
503
513
  ### Authorization
504
514
 
@@ -514,7 +524,9 @@ end
514
524
 
515
525
  > <Update1099Form200Response> update1099_form(id, avalara_version, opts)
516
526
 
517
- Updates a 1099 form.
527
+ Update a 1099/1095/W2/1042S form
528
+
529
+ Update a 1099/1095/W2/1042S form.
518
530
 
519
531
  ### Examples
520
532
 
@@ -535,15 +547,15 @@ api_client = AvalaraSdk::ApiClient.new config
535
547
  api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
536
548
 
537
549
  id = 'id_example' # String |
538
- avalara_version = '2.0' # String | API version
550
+ avalara_version = '2.0.0' # String | API version
539
551
  opts = {
540
- x_correlation_id: '6a610d02-ab2b-4ef8-9554-5149445333f1', # String | Unique correlation Id in a GUID format
552
+ x_correlation_id: 'd65ebcaf-e252-421c-a543-3d1ba4e4175b', # String | Unique correlation Id in a GUID format
541
553
  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/) .
542
- i_update_form1099_request: AvalaraSdk::A1099::V2::Form1099DivRequest.new # IUpdateForm1099Request |
554
+ i_update_form1099_request: AvalaraSdk::A1099::V2::Form1099DivRequest.new({recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # IUpdateForm1099Request |
543
555
  }
544
556
 
545
557
  begin
546
- # Updates a 1099 form.
558
+ # Update a 1099/1095/W2/1042S form
547
559
  result = api_instance.update1099_form(id, avalara_version, opts)
548
560
  p result
549
561
  rescue AvalaraSdk::ApiError => e
@@ -559,7 +571,7 @@ This returns an Array which contains the response data, status code and headers.
559
571
 
560
572
  ```ruby
561
573
  begin
562
- # Updates a 1099 form.
574
+ # Update a 1099/1095/W2/1042S form
563
575
  data, status_code, headers = api_instance.update1099_form_with_http_info(id, avalara_version, opts)
564
576
  p status_code # => 2xx
565
577
  p headers # => { ... }