avalara_sdk 25.6.0 → 25.7.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 (116) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -3
  3. data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +3 -1
  4. data/docs/A1099/V2/CompaniesW9Api.md +45 -31
  5. data/docs/A1099/V2/CoveredIndividualReference.md +58 -0
  6. data/docs/A1099/V2/CoveredIndividualRequest.md +54 -0
  7. data/docs/A1099/V2/Form1095B.md +86 -0
  8. data/docs/A1099/V2/Form1095BList.md +20 -0
  9. data/docs/A1099/V2/Form1095BListItem.md +74 -0
  10. data/docs/A1099/V2/Form1095BRequest.md +76 -0
  11. data/docs/A1099/V2/Form1099Base.md +8 -8
  12. data/docs/A1099/V2/Form1099DivListItem.md +11 -11
  13. data/docs/A1099/V2/Form1099DivRequest.md +11 -17
  14. data/docs/A1099/V2/Form1099DivResponse.md +88 -0
  15. data/docs/A1099/V2/Form1099K.md +8 -8
  16. data/docs/A1099/V2/Form1099KListItem.md +11 -11
  17. data/docs/A1099/V2/Form1099KRequest.md +11 -17
  18. data/docs/A1099/V2/Form1099List.md +1 -1
  19. data/docs/A1099/V2/Form1099ListDataInner.md +32 -0
  20. data/docs/A1099/V2/Form1099Misc.md +8 -8
  21. data/docs/A1099/V2/Form1099MiscListItem.md +11 -11
  22. data/docs/A1099/V2/Form1099MiscRequest.md +11 -17
  23. data/docs/A1099/V2/Form1099MiscResponse.md +120 -0
  24. data/docs/A1099/V2/Form1099Nec.md +8 -8
  25. data/docs/A1099/V2/Form1099NecListItem.md +11 -11
  26. data/docs/A1099/V2/Form1099NecRequest.md +11 -17
  27. data/docs/A1099/V2/Form1099NecResponse.md +96 -0
  28. data/docs/A1099/V2/Form1099R.md +8 -8
  29. data/docs/A1099/V2/Form1099RListItem.md +11 -11
  30. data/docs/A1099/V2/Form1099RRequest.md +11 -17
  31. data/docs/A1099/V2/FormRequestBase.md +9 -13
  32. data/docs/A1099/V2/FormRequestCsvBase.md +66 -0
  33. data/docs/A1099/V2/FormResponseBase.md +43 -9
  34. data/docs/A1099/V2/FormSingleRequestBase.md +11 -15
  35. data/docs/A1099/V2/Forms1099Api.md +75 -57
  36. data/docs/A1099/V2/FormsW9Api.md +63 -123
  37. data/docs/A1099/V2/Get1099Form200Response.md +55 -0
  38. data/docs/A1099/V2/IncludedBase.md +20 -0
  39. data/docs/A1099/V2/Issuers1099Api.md +45 -31
  40. data/docs/A1099/V2/Jobs1099Api.md +10 -6
  41. data/docs/A1099/V2/StateAndLocalWithholdingResponse.md +32 -0
  42. data/docs/A1099/V2/StateEfileStatusDetail.md +1 -1
  43. data/docs/A1099/V2/StateEfileStatusDetailApp.md +22 -0
  44. data/docs/A1099/V2/StatusDetail.md +20 -0
  45. data/docs/A1099/V2/Update1099Form200Response.md +53 -0
  46. data/docs/A1099/V2/ValidationErrorApp.md +20 -0
  47. data/docs/EInvoicing/V1/DataInputFieldsApi.md +4 -4
  48. data/docs/EInvoicing/V1/DocumentsApi.md +2 -2
  49. data/docs/EInvoicing/V1/MandatesApi.md +4 -4
  50. data/docs/EInvoicing/V1/SubscriptionsApi.md +4 -4
  51. data/docs/EInvoicing/V1/TradingPartnersApi.md +4 -4
  52. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +103 -43
  53. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +171 -87
  54. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +135 -176
  55. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +103 -43
  56. data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +19 -7
  57. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +6 -6
  58. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +4 -4
  59. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
  60. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +6 -6
  61. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +6 -6
  62. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +7 -7
  63. data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +1 -0
  64. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +403 -0
  65. data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +378 -0
  66. data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +572 -0
  67. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +238 -0
  68. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +538 -0
  69. data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +559 -0
  70. data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +29 -29
  71. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +78 -36
  72. data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +80 -53
  73. data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +600 -0
  74. data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +29 -29
  75. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +56 -37
  76. data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +80 -54
  77. data/lib/avalara_sdk/models/A1099/V2/form1099_list.rb +1 -1
  78. data/lib/avalara_sdk/models/A1099/V2/form1099_list_data_inner.rb +20 -68
  79. data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +29 -29
  80. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +78 -36
  81. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +80 -53
  82. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +744 -0
  83. data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +29 -29
  84. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +78 -36
  85. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +80 -53
  86. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +636 -0
  87. data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +29 -29
  88. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +56 -36
  89. data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +80 -53
  90. data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +68 -44
  91. data/lib/avalara_sdk/models/A1099/V2/form_request_csv_base.rb +475 -0
  92. data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +252 -31
  93. data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +80 -44
  94. data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +104 -0
  95. data/lib/avalara_sdk/models/A1099/V2/included_base.rb +219 -0
  96. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +1 -0
  97. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +274 -0
  98. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_app.rb +231 -0
  99. data/lib/avalara_sdk/models/A1099/V2/status_detail.rb +221 -0
  100. data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +103 -0
  101. data/lib/avalara_sdk/models/A1099/V2/validation_error_app.rb +229 -0
  102. data/lib/avalara_sdk/version.rb +1 -1
  103. data/lib/avalara_sdk.rb +17 -0
  104. data/spec/integration/a1099_spec.rb +12 -12
  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 +36 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d203d9b3591aa0acbe38f57312c6af23a5e0f2fa9d110babe3adad1aef67c54d
4
- data.tar.gz: 9cf15d494841e52204121b02d0944e66ebf479661e9ac1db11057383a591b9d3
3
+ metadata.gz: d178aa0e9a2e2e3fbbb483ef628e64844fa1f2adfa7b8ffccca8b93e7fac5ac4
4
+ data.tar.gz: e14e67d1a7f2f879aec1865e4000465f79aca154763265b3837416842cf4478b
5
5
  SHA512:
6
- metadata.gz: e0684d61bbef1804d5fc059daa292290bb57a84f4e3ced881c5f518ec85e2ea5f586c8feeb43fca61b2d9df917bda8b88338ddac99709b6c0f24e34b9cb5a7a5
7
- data.tar.gz: 2e2aea9529bccc53f83160f37629e1a5da26a59fe254c458fecefbae8192c6772ec7e4f43f524a3416766d9259c604a2b2fa2c0701c5fdb21e00e16ad3cae560
6
+ metadata.gz: 0b8d8d77a4d6217fbf92abc9be9c775d799e897818e67073fc50d46706584d92c9c2cc176220a2a1346d9e0adf4434a902a505f2a5eb4e889144fe79b1732b61
7
+ data.tar.gz: ae0aa8287b7d590b4aa10dc8cc1b2f815c693ca3d313c8f660dfa2741fde87e11c31e0aede6d2142859c276b8ea4414f30438bbc158e3f6bfbf370358c291d4c
data/README.md CHANGED
@@ -87,7 +87,6 @@ Class | Method | HTTP request | Description
87
87
  *FormsW9Api* | [**create_w9_form**](docs/A1099/V2/FormsW9Api.md#create_w9_form) | **POST** /w9/forms | Create a W9/W4/W8 form
88
88
  *FormsW9Api* | [**delete_w9_form**](docs/A1099/V2/FormsW9Api.md#delete_w9_form) | **DELETE** /w9/forms/{id} | Delete a form
89
89
  *FormsW9Api* | [**get_w9_form**](docs/A1099/V2/FormsW9Api.md#get_w9_form) | **GET** /w9/forms/{id} | Retrieve a W9/W4/W8 form
90
- *FormsW9Api* | [**get_w9_form_request**](docs/A1099/V2/FormsW9Api.md#get_w9_form_request) | **GET** /w9/forms/requests/{formRequestId} | Retrieve a form request
91
90
  *FormsW9Api* | [**list_w9_forms**](docs/A1099/V2/FormsW9Api.md#list_w9_forms) | **GET** /w9/forms | List W9/W4/W8 forms.
92
91
  *FormsW9Api* | [**send_w9_form_email**](docs/A1099/V2/FormsW9Api.md#send_w9_form_email) | **POST** /w9/forms/{id}/$send-email | Sends a W9 email request to a vendor/payee
93
92
  *FormsW9Api* | [**update_w9_form**](docs/A1099/V2/FormsW9Api.md#update_w9_form) | **PUT** /w9/forms/{id} | Update a W9/W4/W8 form
@@ -181,28 +180,36 @@ Class | Method | HTTP request | Description
181
180
  - [models.CompanyModel](docs/A1099/V2/CompanyModel.md)
182
181
  - [models.CompanyResponse](docs/A1099/V2/CompanyResponse.md)
183
182
  - [models.CompanyResponseModel](docs/A1099/V2/CompanyResponseModel.md)
183
+ - [models.CoveredIndividualReference](docs/A1099/V2/CoveredIndividualReference.md)
184
+ - [models.CoveredIndividualRequest](docs/A1099/V2/CoveredIndividualRequest.md)
184
185
  - [models.Data](docs/A1099/V2/Data.md)
185
186
  - [models.ErrorModel](docs/A1099/V2/ErrorModel.md)
186
187
  - [models.ErrorResponse](docs/A1099/V2/ErrorResponse.md)
187
188
  - [models.ErrorResponseErrorsInner](docs/A1099/V2/ErrorResponseErrorsInner.md)
189
+ - [models.Form1095B](docs/A1099/V2/Form1095B.md)
190
+ - [models.Form1095BList](docs/A1099/V2/Form1095BList.md)
191
+ - [models.Form1095BListItem](docs/A1099/V2/Form1095BListItem.md)
192
+ - [models.Form1095BRequest](docs/A1099/V2/Form1095BRequest.md)
188
193
  - [models.Form1099Base](docs/A1099/V2/Form1099Base.md)
189
194
  - [models.Form1099DivList](docs/A1099/V2/Form1099DivList.md)
190
195
  - [models.Form1099DivListItem](docs/A1099/V2/Form1099DivListItem.md)
191
196
  - [models.Form1099DivRequest](docs/A1099/V2/Form1099DivRequest.md)
197
+ - [models.Form1099DivResponse](docs/A1099/V2/Form1099DivResponse.md)
192
198
  - [models.Form1099K](docs/A1099/V2/Form1099K.md)
193
199
  - [models.Form1099KList](docs/A1099/V2/Form1099KList.md)
194
200
  - [models.Form1099KListItem](docs/A1099/V2/Form1099KListItem.md)
195
201
  - [models.Form1099KRequest](docs/A1099/V2/Form1099KRequest.md)
196
202
  - [models.Form1099List](docs/A1099/V2/Form1099List.md)
197
- - [models.Form1099ListDataInner](docs/A1099/V2/Form1099ListDataInner.md)
198
203
  - [models.Form1099Misc](docs/A1099/V2/Form1099Misc.md)
199
204
  - [models.Form1099MiscList](docs/A1099/V2/Form1099MiscList.md)
200
205
  - [models.Form1099MiscListItem](docs/A1099/V2/Form1099MiscListItem.md)
201
206
  - [models.Form1099MiscRequest](docs/A1099/V2/Form1099MiscRequest.md)
207
+ - [models.Form1099MiscResponse](docs/A1099/V2/Form1099MiscResponse.md)
202
208
  - [models.Form1099Nec](docs/A1099/V2/Form1099Nec.md)
203
209
  - [models.Form1099NecList](docs/A1099/V2/Form1099NecList.md)
204
210
  - [models.Form1099NecListItem](docs/A1099/V2/Form1099NecListItem.md)
205
211
  - [models.Form1099NecRequest](docs/A1099/V2/Form1099NecRequest.md)
212
+ - [models.Form1099NecResponse](docs/A1099/V2/Form1099NecResponse.md)
206
213
  - [models.Form1099ProccessResult](docs/A1099/V2/Form1099ProccessResult.md)
207
214
  - [models.Form1099R](docs/A1099/V2/Form1099R.md)
208
215
  - [models.Form1099RList](docs/A1099/V2/Form1099RList.md)
@@ -210,13 +217,15 @@ Class | Method | HTTP request | Description
210
217
  - [models.Form1099RRequest](docs/A1099/V2/Form1099RRequest.md)
211
218
  - [models.Form1099StatusDetail](docs/A1099/V2/Form1099StatusDetail.md)
212
219
  - [models.FormRequestBase](docs/A1099/V2/FormRequestBase.md)
213
- - [models.FormRequestModel](docs/A1099/V2/FormRequestModel.md)
220
+ - [models.FormRequestCsvBase](docs/A1099/V2/FormRequestCsvBase.md)
214
221
  - [models.FormResponseBase](docs/A1099/V2/FormResponseBase.md)
215
222
  - [models.FormSingleRequestBase](docs/A1099/V2/FormSingleRequestBase.md)
223
+ - [models.Get1099Form200Response](docs/A1099/V2/Get1099Form200Response.md)
216
224
  - [models.HttpValidationProblemDetails](docs/A1099/V2/HttpValidationProblemDetails.md)
217
225
  - [models.ICreateForm1099Request](docs/A1099/V2/ICreateForm1099Request.md)
218
226
  - [models.IUpdateForm1099Request](docs/A1099/V2/IUpdateForm1099Request.md)
219
227
  - [models.IW9FormDataModelsOneOf](docs/A1099/V2/IW9FormDataModelsOneOf.md)
228
+ - [models.IncludedBase](docs/A1099/V2/IncludedBase.md)
220
229
  - [models.IssuerCommand](docs/A1099/V2/IssuerCommand.md)
221
230
  - [models.IssuerResponse](docs/A1099/V2/IssuerResponse.md)
222
231
  - [models.JobResult](docs/A1099/V2/JobResult.md)
@@ -228,9 +237,14 @@ Class | Method | HTTP request | Description
228
237
  - [models.ProblemDetails](docs/A1099/V2/ProblemDetails.md)
229
238
  - [models.StateAndLocalWithholding](docs/A1099/V2/StateAndLocalWithholding.md)
230
239
  - [models.StateAndLocalWithholdingRequest](docs/A1099/V2/StateAndLocalWithholdingRequest.md)
240
+ - [models.StateAndLocalWithholdingResponse](docs/A1099/V2/StateAndLocalWithholdingResponse.md)
231
241
  - [models.StateEfileStatusDetail](docs/A1099/V2/StateEfileStatusDetail.md)
242
+ - [models.StateEfileStatusDetailApp](docs/A1099/V2/StateEfileStatusDetailApp.md)
243
+ - [models.StatusDetail](docs/A1099/V2/StatusDetail.md)
232
244
  - [models.SubstantialUsOwnerResponse](docs/A1099/V2/SubstantialUsOwnerResponse.md)
245
+ - [models.Update1099Form200Response](docs/A1099/V2/Update1099Form200Response.md)
233
246
  - [models.ValidationError](docs/A1099/V2/ValidationError.md)
247
+ - [models.ValidationErrorApp](docs/A1099/V2/ValidationErrorApp.md)
234
248
  - [models.W4FormDataModel](docs/A1099/V2/W4FormDataModel.md)
235
249
  - [models.W4FormResponse](docs/A1099/V2/W4FormResponse.md)
236
250
  - [models.W8BenEFormResponse](docs/A1099/V2/W8BenEFormResponse.md)
@@ -14,6 +14,7 @@ require 'avalara_sdk'
14
14
  AvalaraSdk::A1099::V2::BulkUpsert1099FormsRequest.openapi_one_of
15
15
  # =>
16
16
  # [
17
+ # :'Form1095BList',
17
18
  # :'Form1099DivList',
18
19
  # :'Form1099KList',
19
20
  # :'Form1099MiscList',
@@ -32,7 +33,7 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
32
33
  require 'avalara_sdk'
33
34
 
34
35
  AvalaraSdk::A1099::V2::BulkUpsert1099FormsRequest.build(data)
35
- # => #<Form1099DivList:0x00007fdd4aab02a0>
36
+ # => #<Form1095BList:0x00007fdd4aab02a0>
36
37
 
37
38
  AvalaraSdk::A1099::V2::BulkUpsert1099FormsRequest.build(data_that_doesnt_match)
38
39
  # => nil
@@ -46,6 +47,7 @@ AvalaraSdk::A1099::V2::BulkUpsert1099FormsRequest.build(data_that_doesnt_match)
46
47
 
47
48
  #### Return type
48
49
 
50
+ - `Form1095BList`
49
51
  - `Form1099DivList`
50
52
  - `Form1099KList`
51
53
  - `Form1099MiscList`
@@ -13,7 +13,7 @@ All URIs are relative to *https://api-ava1099.eta.sbx.us-east-1.aws.avalara.io/a
13
13
 
14
14
  ## create_company
15
15
 
16
- > <CompanyResponseModel> create_company(avalara_version, x_correlation_id, opts)
16
+ > <CompanyResponseModel> create_company(avalara_version, opts)
17
17
 
18
18
  Creates a new company
19
19
 
@@ -38,14 +38,15 @@ api_client = AvalaraSdk::ApiClient.new config
38
38
  api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
39
39
 
40
40
  avalara_version = '2.0' # String | API version
41
- x_correlation_id = 'c66e3323-aa87-424c-9c89-8dfee7bfe206' # String | Unique correlation Id in a GUID format
42
41
  opts = {
42
+ x_correlation_id: '20b449b9-4547-47ae-b29c-5dc900cc1a04', # String | Unique correlation Id in a GUID format
43
+ 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/) .
43
44
  company_create_update_request_model: AvalaraSdk::A1099::V2::CompanyCreateUpdateRequestModel.new # CompanyCreateUpdateRequestModel | The company to create
44
45
  }
45
46
 
46
47
  begin
47
48
  # Creates a new company
48
- result = api_instance.create_company(avalara_version, x_correlation_id, opts)
49
+ result = api_instance.create_company(avalara_version, opts)
49
50
  p result
50
51
  rescue AvalaraSdk::ApiError => e
51
52
  puts "Error when calling CompaniesW9Api->create_company: #{e}"
@@ -56,12 +57,12 @@ end
56
57
 
57
58
  This returns an Array which contains the response data, status code and headers.
58
59
 
59
- > <Array(<CompanyResponseModel>, Integer, Hash)> create_company_with_http_info(avalara_version, x_correlation_id, opts)
60
+ > <Array(<CompanyResponseModel>, Integer, Hash)> create_company_with_http_info(avalara_version, opts)
60
61
 
61
62
  ```ruby
62
63
  begin
63
64
  # Creates a new company
64
- data, status_code, headers = api_instance.create_company_with_http_info(avalara_version, x_correlation_id, opts)
65
+ data, status_code, headers = api_instance.create_company_with_http_info(avalara_version, opts)
65
66
  p status_code # => 2xx
66
67
  p headers # => { ... }
67
68
  p data # => <CompanyResponseModel>
@@ -75,7 +76,8 @@ end
75
76
  | Name | Type | Description | Notes |
76
77
  | ---- | ---- | ----------- | ----- |
77
78
  | **avalara_version** | **String** | API version | |
78
- | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | |
79
+ | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
80
+ | **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] |
79
81
  | **company_create_update_request_model** | [**CompanyCreateUpdateRequestModel**](CompanyCreateUpdateRequestModel.md) | The company to create | [optional] |
80
82
 
81
83
  ### Return type
@@ -94,7 +96,7 @@ end
94
96
 
95
97
  ## delete_company
96
98
 
97
- > delete_company(id, avalara_version, x_correlation_id)
99
+ > delete_company(id, avalara_version, opts)
98
100
 
99
101
  Deletes a company
100
102
 
@@ -120,11 +122,14 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
120
122
 
121
123
  id = 'id_example' # String | The company to delete
122
124
  avalara_version = '2.0' # String | API version
123
- x_correlation_id = '59295e97-31e8-49fc-93e1-e012007ebdde' # String | Unique correlation Id in a GUID format
125
+ opts = {
126
+ x_correlation_id: '0033e99f-0b04-4895-b1ea-7d44f67d5b3f', # String | Unique correlation Id in a GUID format
127
+ 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/) .
128
+ }
124
129
 
125
130
  begin
126
131
  # Deletes a company
127
- api_instance.delete_company(id, avalara_version, x_correlation_id)
132
+ api_instance.delete_company(id, avalara_version, opts)
128
133
  rescue AvalaraSdk::ApiError => e
129
134
  puts "Error when calling CompaniesW9Api->delete_company: #{e}"
130
135
  end
@@ -134,12 +139,12 @@ end
134
139
 
135
140
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
136
141
 
137
- > <Array(nil, Integer, Hash)> delete_company_with_http_info(id, avalara_version, x_correlation_id)
142
+ > <Array(nil, Integer, Hash)> delete_company_with_http_info(id, avalara_version, opts)
138
143
 
139
144
  ```ruby
140
145
  begin
141
146
  # Deletes a company
142
- data, status_code, headers = api_instance.delete_company_with_http_info(id, avalara_version, x_correlation_id)
147
+ data, status_code, headers = api_instance.delete_company_with_http_info(id, avalara_version, opts)
143
148
  p status_code # => 2xx
144
149
  p headers # => { ... }
145
150
  p data # => nil
@@ -154,7 +159,8 @@ end
154
159
  | ---- | ---- | ----------- | ----- |
155
160
  | **id** | **String** | The company to delete | |
156
161
  | **avalara_version** | **String** | API version | |
157
- | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | |
162
+ | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
163
+ | **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] |
158
164
 
159
165
  ### Return type
160
166
 
@@ -172,7 +178,7 @@ nil (empty response body)
172
178
 
173
179
  ## get_companies
174
180
 
175
- > <PaginatedQueryResultModelCompanyResponse> get_companies(avalara_version, x_correlation_id, opts)
181
+ > <PaginatedQueryResultModelCompanyResponse> get_companies(avalara_version, opts)
176
182
 
177
183
  List companies
178
184
 
@@ -197,19 +203,20 @@ api_client = AvalaraSdk::ApiClient.new config
197
203
  api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
198
204
 
199
205
  avalara_version = '2.0' # String | API version
200
- x_correlation_id = '18ba9c2b-136f-4365-a847-92af92dfe7ba' # String | Unique correlation Id in a GUID format
201
206
  opts = {
202
207
  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>.
203
208
  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.
204
209
  skip: 56, # Integer | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
205
210
  order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
206
211
  count: true, # Boolean | If true, return the global count of elements in the collection.
207
- count_only: true # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
212
+ count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
213
+ x_correlation_id: '9a48ab84-6513-46e6-8f6d-a7ca5802d553', # String | Unique correlation Id in a GUID format
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/) .
208
215
  }
209
216
 
210
217
  begin
211
218
  # List companies
212
- result = api_instance.get_companies(avalara_version, x_correlation_id, opts)
219
+ result = api_instance.get_companies(avalara_version, opts)
213
220
  p result
214
221
  rescue AvalaraSdk::ApiError => e
215
222
  puts "Error when calling CompaniesW9Api->get_companies: #{e}"
@@ -220,12 +227,12 @@ end
220
227
 
221
228
  This returns an Array which contains the response data, status code and headers.
222
229
 
223
- > <Array(<PaginatedQueryResultModelCompanyResponse>, Integer, Hash)> get_companies_with_http_info(avalara_version, x_correlation_id, opts)
230
+ > <Array(<PaginatedQueryResultModelCompanyResponse>, Integer, Hash)> get_companies_with_http_info(avalara_version, opts)
224
231
 
225
232
  ```ruby
226
233
  begin
227
234
  # List companies
228
- data, status_code, headers = api_instance.get_companies_with_http_info(avalara_version, x_correlation_id, opts)
235
+ data, status_code, headers = api_instance.get_companies_with_http_info(avalara_version, opts)
229
236
  p status_code # => 2xx
230
237
  p headers # => { ... }
231
238
  p data # => <PaginatedQueryResultModelCompanyResponse>
@@ -239,13 +246,14 @@ end
239
246
  | Name | Type | Description | Notes |
240
247
  | ---- | ---- | ----------- | ----- |
241
248
  | **avalara_version** | **String** | API version | |
242
- | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | |
243
249
  | **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] |
244
250
  | **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] |
245
251
  | **skip** | **Integer** | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. | [optional] |
246
252
  | **order_by** | **String** | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. | [optional] |
247
253
  | **count** | **Boolean** | If true, return the global count of elements in the collection. | [optional] |
248
254
  | **count_only** | **Boolean** | If true, return ONLY the global count of elements in the collection. It only applies when count&#x3D;true. | [optional] |
255
+ | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
256
+ | **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] |
249
257
 
250
258
  ### Return type
251
259
 
@@ -263,7 +271,7 @@ end
263
271
 
264
272
  ## get_company
265
273
 
266
- > <CompanyResponse> get_company(id, avalara_version, x_correlation_id)
274
+ > <CompanyResponse> get_company(id, avalara_version, opts)
267
275
 
268
276
  Retrieve a company
269
277
 
@@ -289,11 +297,14 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
289
297
 
290
298
  id = 'id_example' # String | Id of the company
291
299
  avalara_version = '2.0' # String | API version
292
- x_correlation_id = 'b378b193-3da6-4dce-87ee-e2ad780e1ed3' # String | Unique correlation Id in a GUID format
300
+ opts = {
301
+ x_correlation_id: 'c56a9f11-0427-4003-b97d-cbea98975756', # String | Unique correlation Id in a GUID format
302
+ 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/) .
303
+ }
293
304
 
294
305
  begin
295
306
  # Retrieve a company
296
- result = api_instance.get_company(id, avalara_version, x_correlation_id)
307
+ result = api_instance.get_company(id, avalara_version, opts)
297
308
  p result
298
309
  rescue AvalaraSdk::ApiError => e
299
310
  puts "Error when calling CompaniesW9Api->get_company: #{e}"
@@ -304,12 +315,12 @@ end
304
315
 
305
316
  This returns an Array which contains the response data, status code and headers.
306
317
 
307
- > <Array(<CompanyResponse>, Integer, Hash)> get_company_with_http_info(id, avalara_version, x_correlation_id)
318
+ > <Array(<CompanyResponse>, Integer, Hash)> get_company_with_http_info(id, avalara_version, opts)
308
319
 
309
320
  ```ruby
310
321
  begin
311
322
  # Retrieve a company
312
- data, status_code, headers = api_instance.get_company_with_http_info(id, avalara_version, x_correlation_id)
323
+ data, status_code, headers = api_instance.get_company_with_http_info(id, avalara_version, opts)
313
324
  p status_code # => 2xx
314
325
  p headers # => { ... }
315
326
  p data # => <CompanyResponse>
@@ -324,7 +335,8 @@ end
324
335
  | ---- | ---- | ----------- | ----- |
325
336
  | **id** | **String** | Id of the company | |
326
337
  | **avalara_version** | **String** | API version | |
327
- | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | |
338
+ | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
339
+ | **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] |
328
340
 
329
341
  ### Return type
330
342
 
@@ -342,7 +354,7 @@ end
342
354
 
343
355
  ## update_company
344
356
 
345
- > <CompanyResponseModel> update_company(id, avalara_version, x_correlation_id, opts)
357
+ > <CompanyResponseModel> update_company(id, avalara_version, opts)
346
358
 
347
359
  Update a company
348
360
 
@@ -368,14 +380,15 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
368
380
 
369
381
  id = 'id_example' # String | The ID of the company to update
370
382
  avalara_version = '2.0' # String | API version
371
- x_correlation_id = 'ef982351-7c46-4d85-a211-672e1a62f221' # String | Unique correlation Id in a GUID format
372
383
  opts = {
384
+ x_correlation_id: '62d958ee-bab7-41a0-83db-5fba877b8c88', # String | Unique correlation Id in a GUID format
385
+ 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
386
  company_create_update_request_model: AvalaraSdk::A1099::V2::CompanyCreateUpdateRequestModel.new # CompanyCreateUpdateRequestModel | The updated company data
374
387
  }
375
388
 
376
389
  begin
377
390
  # Update a company
378
- result = api_instance.update_company(id, avalara_version, x_correlation_id, opts)
391
+ result = api_instance.update_company(id, avalara_version, opts)
379
392
  p result
380
393
  rescue AvalaraSdk::ApiError => e
381
394
  puts "Error when calling CompaniesW9Api->update_company: #{e}"
@@ -386,12 +399,12 @@ end
386
399
 
387
400
  This returns an Array which contains the response data, status code and headers.
388
401
 
389
- > <Array(<CompanyResponseModel>, Integer, Hash)> update_company_with_http_info(id, avalara_version, x_correlation_id, opts)
402
+ > <Array(<CompanyResponseModel>, Integer, Hash)> update_company_with_http_info(id, avalara_version, opts)
390
403
 
391
404
  ```ruby
392
405
  begin
393
406
  # Update a company
394
- data, status_code, headers = api_instance.update_company_with_http_info(id, avalara_version, x_correlation_id, opts)
407
+ data, status_code, headers = api_instance.update_company_with_http_info(id, avalara_version, opts)
395
408
  p status_code # => 2xx
396
409
  p headers # => { ... }
397
410
  p data # => <CompanyResponseModel>
@@ -406,7 +419,8 @@ end
406
419
  | ---- | ---- | ----------- | ----- |
407
420
  | **id** | **String** | The ID of the company to update | |
408
421
  | **avalara_version** | **String** | API version | |
409
- | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | |
422
+ | **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
423
+ | **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] |
410
424
  | **company_create_update_request_model** | [**CompanyCreateUpdateRequestModel**](CompanyCreateUpdateRequestModel.md) | The updated company data | [optional] |
411
425
 
412
426
  ### Return type
@@ -0,0 +1,58 @@
1
+ # AvalaraSdk::A1099::V2::CoveredIndividualReference
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **first_name** | **String** | | [optional] |
8
+ | **middle_name** | **String** | | [optional] |
9
+ | **last_name** | **String** | | [optional] |
10
+ | **name_suffix** | **String** | | [optional] |
11
+ | **tin** | **String** | | [optional] |
12
+ | **birth_date** | **Time** | | [optional] |
13
+ | **covered_month0** | **Boolean** | | [optional] |
14
+ | **covered_month1** | **Boolean** | | [optional] |
15
+ | **covered_month2** | **Boolean** | | [optional] |
16
+ | **covered_month3** | **Boolean** | | [optional] |
17
+ | **covered_month4** | **Boolean** | | [optional] |
18
+ | **covered_month5** | **Boolean** | | [optional] |
19
+ | **covered_month6** | **Boolean** | | [optional] |
20
+ | **covered_month7** | **Boolean** | | [optional] |
21
+ | **covered_month8** | **Boolean** | | [optional] |
22
+ | **covered_month9** | **Boolean** | | [optional] |
23
+ | **covered_month10** | **Boolean** | | [optional] |
24
+ | **covered_month11** | **Boolean** | | [optional] |
25
+ | **covered_month12** | **Boolean** | | [optional] |
26
+ | **id** | **String** | | [optional] |
27
+ | **type** | **String** | | [optional] |
28
+
29
+ ## Example
30
+
31
+ ```ruby
32
+ require 'avalara_sdk'
33
+
34
+ instance = AvalaraSdk::A1099::V2::CoveredIndividualReference.new(
35
+ first_name: null,
36
+ middle_name: null,
37
+ last_name: null,
38
+ name_suffix: null,
39
+ tin: null,
40
+ birth_date: null,
41
+ covered_month0: null,
42
+ covered_month1: null,
43
+ covered_month2: null,
44
+ covered_month3: null,
45
+ covered_month4: null,
46
+ covered_month5: null,
47
+ covered_month6: null,
48
+ covered_month7: null,
49
+ covered_month8: null,
50
+ covered_month9: null,
51
+ covered_month10: null,
52
+ covered_month11: null,
53
+ covered_month12: null,
54
+ id: null,
55
+ type: null
56
+ )
57
+ ```
58
+
@@ -0,0 +1,54 @@
1
+ # AvalaraSdk::A1099::V2::CoveredIndividualRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **first_name** | **String** | | [optional] |
8
+ | **middle_name** | **String** | | [optional] |
9
+ | **last_name** | **String** | | [optional] |
10
+ | **name_suffix** | **String** | | [optional] |
11
+ | **tin** | **String** | | [optional] |
12
+ | **birth_date** | **Time** | | [optional] |
13
+ | **covered_month_indicator0** | **Boolean** | | [optional] |
14
+ | **covered_month_indicator1** | **Boolean** | | [optional] |
15
+ | **covered_month_indicator2** | **Boolean** | | [optional] |
16
+ | **covered_month_indicator3** | **Boolean** | | [optional] |
17
+ | **covered_month_indicator4** | **Boolean** | | [optional] |
18
+ | **covered_month_indicator5** | **Boolean** | | [optional] |
19
+ | **covered_month_indicator6** | **Boolean** | | [optional] |
20
+ | **covered_month_indicator7** | **Boolean** | | [optional] |
21
+ | **covered_month_indicator8** | **Boolean** | | [optional] |
22
+ | **covered_month_indicator9** | **Boolean** | | [optional] |
23
+ | **covered_month_indicator10** | **Boolean** | | [optional] |
24
+ | **covered_month_indicator11** | **Boolean** | | [optional] |
25
+ | **covered_month_indicator12** | **Boolean** | | [optional] |
26
+
27
+ ## Example
28
+
29
+ ```ruby
30
+ require 'avalara_sdk'
31
+
32
+ instance = AvalaraSdk::A1099::V2::CoveredIndividualRequest.new(
33
+ first_name: null,
34
+ middle_name: null,
35
+ last_name: null,
36
+ name_suffix: null,
37
+ tin: null,
38
+ birth_date: null,
39
+ covered_month_indicator0: null,
40
+ covered_month_indicator1: null,
41
+ covered_month_indicator2: null,
42
+ covered_month_indicator3: null,
43
+ covered_month_indicator4: null,
44
+ covered_month_indicator5: null,
45
+ covered_month_indicator6: null,
46
+ covered_month_indicator7: null,
47
+ covered_month_indicator8: null,
48
+ covered_month_indicator9: null,
49
+ covered_month_indicator10: null,
50
+ covered_month_indicator11: null,
51
+ covered_month_indicator12: null
52
+ )
53
+ ```
54
+
@@ -0,0 +1,86 @@
1
+ # AvalaraSdk::A1099::V2::Form1095B
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **origin_of_health_coverage_code** | **String** | | [optional] |
8
+ | **covered_individuals** | [**Array&lt;CoveredIndividualReference&gt;**](CoveredIndividualReference.md) | | [optional] |
9
+ | **id** | **String** | | [optional] |
10
+ | **type** | **String** | | [optional] |
11
+ | **issuer_id** | **Integer** | | [optional] |
12
+ | **issuer_reference_id** | **String** | | [optional] |
13
+ | **issuer_tin** | **String** | | [optional] |
14
+ | **tax_year** | **Integer** | | [optional] |
15
+ | **federal_efile** | **Boolean** | | [optional] |
16
+ | **federal_efile_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | | [optional] |
17
+ | **state_efile** | **Boolean** | | [optional] |
18
+ | **state_efile_status** | [**Array&lt;StateEfileStatusDetail&gt;**](StateEfileStatusDetail.md) | | [optional] |
19
+ | **postal_mail** | **Boolean** | | [optional] |
20
+ | **postal_mail_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | | [optional] |
21
+ | **tin_match** | **Boolean** | | [optional] |
22
+ | **tin_match_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | | [optional] |
23
+ | **address_verification** | **Boolean** | | [optional] |
24
+ | **address_verification_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | | [optional] |
25
+ | **reference_id** | **String** | | [optional] |
26
+ | **email** | **String** | | [optional] |
27
+ | **tin_type** | **String** | | [optional] |
28
+ | **tin** | **String** | | [optional] |
29
+ | **recipient_name** | **String** | | [optional] |
30
+ | **recipient_second_name** | **String** | | [optional] |
31
+ | **address** | **String** | | [optional] |
32
+ | **address2** | **String** | | [optional] |
33
+ | **city** | **String** | | [optional] |
34
+ | **state** | **String** | | [optional] |
35
+ | **zip** | **String** | | [optional] |
36
+ | **foreign_province** | **String** | | [optional] |
37
+ | **country_code** | **String** | | [optional] |
38
+ | **validation_errors** | [**Array&lt;ValidationError&gt;**](ValidationError.md) | | [optional] |
39
+ | **created_at** | **Time** | | [optional] |
40
+ | **updated_at** | **Time** | | [optional] |
41
+ | **state_and_local_withholding** | [**StateAndLocalWithholding**](StateAndLocalWithholding.md) | | [optional] |
42
+
43
+ ## Example
44
+
45
+ ```ruby
46
+ require 'avalara_sdk'
47
+
48
+ instance = AvalaraSdk::A1099::V2::Form1095B.new(
49
+ origin_of_health_coverage_code: null,
50
+ covered_individuals: null,
51
+ id: null,
52
+ type: null,
53
+ issuer_id: null,
54
+ issuer_reference_id: null,
55
+ issuer_tin: null,
56
+ tax_year: null,
57
+ federal_efile: null,
58
+ federal_efile_status: null,
59
+ state_efile: null,
60
+ state_efile_status: null,
61
+ postal_mail: null,
62
+ postal_mail_status: null,
63
+ tin_match: null,
64
+ tin_match_status: null,
65
+ address_verification: null,
66
+ address_verification_status: null,
67
+ reference_id: null,
68
+ email: null,
69
+ tin_type: null,
70
+ tin: null,
71
+ recipient_name: null,
72
+ recipient_second_name: null,
73
+ address: null,
74
+ address2: null,
75
+ city: null,
76
+ state: null,
77
+ zip: null,
78
+ foreign_province: null,
79
+ country_code: null,
80
+ validation_errors: null,
81
+ created_at: null,
82
+ updated_at: null,
83
+ state_and_local_withholding: null
84
+ )
85
+ ```
86
+
@@ -0,0 +1,20 @@
1
+ # AvalaraSdk::A1099::V2::Form1095BList
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **forms** | [**Array&lt;Form1095BListItem&gt;**](Form1095BListItem.md) | | [optional] |
8
+ | **form_type** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'avalara_sdk'
14
+
15
+ instance = AvalaraSdk::A1099::V2::Form1095BList.new(
16
+ forms: null,
17
+ form_type: null
18
+ )
19
+ ```
20
+