avalara_sdk 25.8.0 → 25.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +32 -6
- data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +4 -0
- data/docs/A1099/V2/CompaniesW9Api.md +6 -6
- data/docs/A1099/V2/CoveredIndividualRequest.md +26 -26
- data/docs/A1099/V2/Create1099Form201Response.md +4 -0
- data/docs/A1099/V2/ErrorResponse.md +1 -1
- data/docs/A1099/V2/ErrorResponseItem.md +20 -0
- data/docs/A1099/V2/Form1042S.md +140 -0
- data/docs/A1099/V2/Form1042SListItem.md +12 -8
- data/docs/A1099/V2/Form1042SListItemResponse.md +19 -9
- data/docs/A1099/V2/Form1042SRequest.md +14 -10
- data/docs/A1099/V2/Form1042SResponse.md +10 -6
- data/docs/A1099/V2/Form1095B.md +14 -2
- data/docs/A1099/V2/Form1095BListItem.md +14 -8
- data/docs/A1099/V2/Form1095BListItemResponse.md +20 -8
- data/docs/A1099/V2/Form1095BRequest.md +14 -8
- data/docs/A1099/V2/Form1095BResponse.md +106 -0
- data/docs/A1099/V2/Form1095CList.md +20 -0
- data/docs/A1099/V2/Form1095CListItem.md +90 -0
- data/docs/A1099/V2/Form1099Base.md +14 -2
- data/docs/A1099/V2/Form1099BaseResponse.md +20 -8
- data/docs/A1099/V2/Form1099Div.md +130 -0
- data/docs/A1099/V2/Form1099DivListItem.md +32 -28
- data/docs/A1099/V2/Form1099DivListItemResponse.md +130 -0
- data/docs/A1099/V2/Form1099DivRequest.md +32 -28
- data/docs/A1099/V2/Form1099DivResponse.md +48 -6
- data/docs/A1099/V2/Form1099Int.md +122 -0
- data/docs/A1099/V2/Form1099IntList.md +20 -0
- data/docs/A1099/V2/Form1099IntListItem.md +100 -0
- data/docs/A1099/V2/Form1099IntListItemResponse.md +122 -0
- data/docs/A1099/V2/Form1099IntRequest.md +96 -0
- data/docs/A1099/V2/Form1099IntResponse.md +120 -0
- data/docs/A1099/V2/Form1099K.md +14 -2
- data/docs/A1099/V2/Form1099KListItem.md +14 -8
- data/docs/A1099/V2/Form1099KListItemResponse.md +20 -8
- data/docs/A1099/V2/Form1099KRequest.md +18 -12
- data/docs/A1099/V2/Form1099KResponse.md +132 -0
- data/docs/A1099/V2/Form1099ListResponseValueInner.md +4 -0
- data/docs/A1099/V2/Form1099Misc.md +24 -12
- data/docs/A1099/V2/Form1099MiscListItem.md +14 -12
- data/docs/A1099/V2/Form1099MiscListItemResponse.md +30 -16
- data/docs/A1099/V2/Form1099MiscRequest.md +14 -12
- data/docs/A1099/V2/Form1099MiscResponse.md +12 -10
- data/docs/A1099/V2/Form1099Nec.md +14 -2
- data/docs/A1099/V2/Form1099NecListItem.md +14 -10
- data/docs/A1099/V2/Form1099NecListItemResponse.md +20 -8
- data/docs/A1099/V2/Form1099NecRequest.md +14 -10
- data/docs/A1099/V2/Form1099NecResponse.md +10 -8
- data/docs/A1099/V2/Form1099ProccessResult.md +3 -1
- data/docs/A1099/V2/Form1099ProccessResultProcessedFormsInner.md +61 -0
- data/docs/A1099/V2/Form1099R.md +14 -4
- data/docs/A1099/V2/Form1099RListItem.md +12 -8
- data/docs/A1099/V2/Form1099RListItemResponse.md +20 -10
- data/docs/A1099/V2/Form1099RRequest.md +12 -8
- data/docs/A1099/V2/Form1099RResponse.md +132 -0
- data/docs/A1099/V2/FormRequestBase.md +14 -8
- data/docs/A1099/V2/FormRequestListItemBase.md +14 -8
- data/docs/A1099/V2/FormResponseBase.md +10 -6
- data/docs/A1099/V2/FormSingleRequestBase.md +14 -8
- data/docs/A1099/V2/Forms1099Api.md +11 -11
- data/docs/A1099/V2/FormsW9Api.md +21 -19
- data/docs/A1099/V2/Get1099Form200Response.md +4 -0
- data/docs/A1099/V2/ICreateForm1099Request.md +2 -0
- data/docs/A1099/V2/IUpdateForm1099Request.md +2 -0
- data/docs/A1099/V2/IrsResponse.md +20 -0
- data/docs/A1099/V2/Issuers1099Api.md +6 -6
- data/docs/A1099/V2/Jobs1099Api.md +1 -1
- data/docs/A1099/V2/OfferAndCoverageRequest.md +26 -0
- data/docs/A1099/V2/PaginatedQueryResultModelCompanyResponse.md +1 -1
- data/docs/A1099/V2/PaginatedQueryResultModelIssuerResponse.md +1 -1
- data/docs/A1099/V2/PaginatedQueryResultModelW9FormBaseResponse.md +22 -0
- data/docs/A1099/V2/TinMatchStatusResponse.md +22 -0
- data/docs/A1099/V2/Update1099Form200Response.md +8 -0
- data/docs/A1099/V2/W4FormResponse.md +1 -29
- data/docs/A1099/V2/W8BenEFormResponse.md +1 -29
- data/docs/A1099/V2/W8BenFormResponse.md +1 -29
- data/docs/A1099/V2/W8ImyFormResponse.md +1 -29
- data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
- data/docs/A1099/V2/W9FormResponse.md +2 -28
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +3 -3
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +30 -14
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +79 -79
- data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/error_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_response_item.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +824 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +44 -119
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +67 -12
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +55 -132
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +43 -24
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +68 -9
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +54 -119
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +77 -12
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +56 -121
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_response.rb +709 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +238 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +662 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +68 -9
- data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +77 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +781 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +93 -147
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +931 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +93 -149
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +214 -24
- data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +741 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +238 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +702 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +887 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +684 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +773 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +68 -9
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +56 -119
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +77 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +82 -123
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +839 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +106 -47
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +52 -135
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +116 -40
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +52 -137
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +49 -39
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +68 -9
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +56 -129
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +77 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +56 -131
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +43 -33
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +22 -4
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +107 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +68 -19
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +46 -119
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +77 -23
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +46 -121
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +839 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +54 -119
- data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +56 -119
- data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +43 -24
- data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +56 -121
- data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/i_create_form1099_request.rb +1 -0
- data/lib/avalara_sdk/models/A1099/V2/i_update_form1099_request.rb +1 -0
- data/lib/avalara_sdk/models/A1099/V2/included_base.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/irs_response.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +1 -0
- data/lib/avalara_sdk/models/A1099/V2/offer_and_coverage_request.rb +256 -0
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_w9_form_base_response.rb +234 -0
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/tin_match_status_response.rb +267 -0
- data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +4 -0
- data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +15 -157
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +14 -156
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +15 -157
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +15 -157
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +19 -14
- data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +18 -150
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +21 -1
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
- metadata +42 -2
@@ -115,20 +115,6 @@
|
|
115
115
|
| **sponsored_direct_reporting_nffe_certification** | **Boolean** | Certifies that the entity is a sponsored direct reporting NFFE. | [optional] |
|
116
116
|
| **direct_reporting_nffe_sponsoring_entity** | **String** | The name of the entity that sponsors the direct reporting NFFE. | [optional] |
|
117
117
|
| **signer_name** | **String** | The name of the signer. | [optional] |
|
118
|
-
| **id** | **String** | The unique identifier for the form. | [optional] |
|
119
|
-
| **type** | **String** | The form type. | [optional] |
|
120
|
-
| **entry_status** | **String** | The form status. | [optional] |
|
121
|
-
| **entry_status_date** | **Time** | The timestamp for the latest status update. | [optional] |
|
122
|
-
| **reference_id** | **String** | A reference identifier for the form. | [optional] |
|
123
|
-
| **company_id** | **String** | The ID of the associated company. | [optional] |
|
124
|
-
| **display_name** | **String** | The display name associated with the form. | [optional] |
|
125
|
-
| **email** | **String** | The email address of the individual associated with the form. | [optional] |
|
126
|
-
| **archived** | **Boolean** | Indicates whether the form is archived. | [optional] |
|
127
|
-
| **signature** | **String** | The signature of the form. | [optional] |
|
128
|
-
| **signed_date** | **Time** | The date the form was signed. | [optional] |
|
129
|
-
| **e_delivery_consented_at** | **Time** | The date when e-delivery was consented. | [optional] |
|
130
|
-
| **created_at** | **Time** | The creation date of the form. | [optional] |
|
131
|
-
| **updated_at** | **Time** | The last updated date of the form. | [optional] |
|
132
118
|
|
133
119
|
## Example
|
134
120
|
|
@@ -246,21 +232,7 @@ instance = AvalaraSdk::A1099::V2::W8ImyFormResponse.new(
|
|
246
232
|
passive_nffe_certification: false,
|
247
233
|
sponsored_direct_reporting_nffe_certification: false,
|
248
234
|
direct_reporting_nffe_sponsoring_entity: null,
|
249
|
-
signer_name: null
|
250
|
-
id: null,
|
251
|
-
type: null,
|
252
|
-
entry_status: null,
|
253
|
-
entry_status_date: null,
|
254
|
-
reference_id: null,
|
255
|
-
company_id: null,
|
256
|
-
display_name: null,
|
257
|
-
email: null,
|
258
|
-
archived: null,
|
259
|
-
signature: null,
|
260
|
-
signed_date: null,
|
261
|
-
e_delivery_consented_at: null,
|
262
|
-
created_at: null,
|
263
|
-
updated_at: null
|
235
|
+
signer_name: null
|
264
236
|
)
|
265
237
|
```
|
266
238
|
|
@@ -5,7 +5,6 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **id** | **String** | The unique identifier for the form. | [optional] |
|
8
|
-
| **type** | **String** | The form type. | [optional] |
|
9
8
|
| **entry_status** | **String** | The form status. | [optional] |
|
10
9
|
| **entry_status_date** | **Time** | The timestamp for the latest status update. | [optional] |
|
11
10
|
| **reference_id** | **String** | A reference identifier for the form. | [optional] |
|
@@ -18,6 +17,7 @@
|
|
18
17
|
| **e_delivery_consented_at** | **Time** | The date when e-delivery was consented. | [optional] |
|
19
18
|
| **created_at** | **Time** | The creation date of the form. | [optional] |
|
20
19
|
| **updated_at** | **Time** | The last updated date of the form. | [optional] |
|
20
|
+
| **type** | **String** | The type of the response object. | [optional] |
|
21
21
|
|
22
22
|
## Example
|
23
23
|
|
@@ -26,7 +26,6 @@ require 'avalara_sdk'
|
|
26
26
|
|
27
27
|
instance = AvalaraSdk::A1099::V2::W9FormBaseResponse.new(
|
28
28
|
id: null,
|
29
|
-
type: null,
|
30
29
|
entry_status: null,
|
31
30
|
entry_status_date: null,
|
32
31
|
reference_id: null,
|
@@ -38,7 +37,8 @@ instance = AvalaraSdk::A1099::V2::W9FormBaseResponse.new(
|
|
38
37
|
signed_date: null,
|
39
38
|
e_delivery_consented_at: null,
|
40
39
|
created_at: null,
|
41
|
-
updated_at: null
|
40
|
+
updated_at: null,
|
41
|
+
type: null
|
42
42
|
)
|
43
43
|
```
|
44
44
|
|
@@ -22,20 +22,7 @@
|
|
22
22
|
| **tin** | **String** | The taxpayer identification number (TIN). | [optional] |
|
23
23
|
| **backup_withholding** | **Boolean** | Indicates whether backup withholding applies. | [optional] |
|
24
24
|
| **is1099able** | **Boolean** | Indicates whether the individual or entity should be issued a 1099 form. | [optional] |
|
25
|
-
| **
|
26
|
-
| **type** | **String** | The form type. | [optional] |
|
27
|
-
| **entry_status** | **String** | The form status. | [optional] |
|
28
|
-
| **entry_status_date** | **Time** | The timestamp for the latest status update. | [optional] |
|
29
|
-
| **reference_id** | **String** | A reference identifier for the form. | [optional] |
|
30
|
-
| **company_id** | **String** | The ID of the associated company. | [optional] |
|
31
|
-
| **display_name** | **String** | The display name associated with the form. | [optional] |
|
32
|
-
| **email** | **String** | The email address of the individual associated with the form. | [optional] |
|
33
|
-
| **archived** | **Boolean** | Indicates whether the form is archived. | [optional] |
|
34
|
-
| **signature** | **String** | The signature of the form. | [optional] |
|
35
|
-
| **signed_date** | **Time** | The date the form was signed. | [optional] |
|
36
|
-
| **e_delivery_consented_at** | **Time** | The date when e-delivery was consented. | [optional] |
|
37
|
-
| **created_at** | **Time** | The creation date of the form. | [optional] |
|
38
|
-
| **updated_at** | **Time** | The last updated date of the form. | [optional] |
|
25
|
+
| **tin_match_status** | [**TinMatchStatusResponse**](TinMatchStatusResponse.md) | The TIN Match status from IRS. | [optional] |
|
39
26
|
|
40
27
|
## Example
|
41
28
|
|
@@ -61,20 +48,7 @@ instance = AvalaraSdk::A1099::V2::W9FormResponse.new(
|
|
61
48
|
tin: 12-3456789,
|
62
49
|
backup_withholding: false,
|
63
50
|
is1099able: true,
|
64
|
-
|
65
|
-
type: null,
|
66
|
-
entry_status: null,
|
67
|
-
entry_status_date: null,
|
68
|
-
reference_id: null,
|
69
|
-
company_id: null,
|
70
|
-
display_name: null,
|
71
|
-
email: null,
|
72
|
-
archived: null,
|
73
|
-
signature: null,
|
74
|
-
signed_date: null,
|
75
|
-
e_delivery_consented_at: null,
|
76
|
-
created_at: null,
|
77
|
-
updated_at: null
|
51
|
+
tin_match_status: null
|
78
52
|
)
|
79
53
|
```
|
80
54
|
|
@@ -17,7 +17,7 @@ module AvalaraSdk::A1099
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.8.
|
20
|
+
api_client.set_sdk_version("25.8.2")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -226,7 +226,7 @@ module AvalaraSdk::A1099
|
|
226
226
|
end
|
227
227
|
|
228
228
|
# Create or update multiple 1099/1095/W2/1042S forms
|
229
|
-
# 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\", \"
|
229
|
+
# 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.
|
230
230
|
# @param avalara_version [String] API version # @param dry_run [Boolean] # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param 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/) . # @param bulk_upsert1099_forms_request [BulkUpsert1099FormsRequest]
|
231
231
|
# @return [Form1099ProccessResult]
|
232
232
|
def bulk_upsert1099_forms(request_parameters)
|
@@ -235,7 +235,7 @@ module AvalaraSdk::A1099
|
|
235
235
|
end
|
236
236
|
|
237
237
|
# Create or update multiple 1099/1095/W2/1042S forms
|
238
|
-
# 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\", \"
|
238
|
+
# 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.
|
239
239
|
|
240
240
|
# @param avalara_version [String] API version
|
241
241
|
# @param dry_run [Boolean]
|
@@ -17,7 +17,7 @@ module AvalaraSdk::A1099
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.8.
|
20
|
+
api_client.set_sdk_version("25.8.2")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -485,26 +485,27 @@ module AvalaraSdk::A1099
|
|
485
485
|
end
|
486
486
|
|
487
487
|
# List W9/W4/W8 forms
|
488
|
-
# List W9/W4/W8 forms.
|
489
|
-
# @param avalara_version [String] API version # @param filter [String] A filter statement to identify specific records to retrieve.
|
490
|
-
# @return [
|
488
|
+
# List W9/W4/W8 forms. Filterable/Sortable fields are: \"companyId\", \"type\", \"displayName\", \"entryStatus\", \"email\", \"archived\" and \"referenceId\".
|
489
|
+
# @param avalara_version [String] API version # @param filter [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>. # @param 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. # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. # @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. # @param count [Boolean] If true, return the global count of elements in the collection. # @param count_only [Boolean] If true, return ONLY the global count of elements in the collection. It only applies when count=true. # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param 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/) .
|
490
|
+
# @return [PaginatedQueryResultModelW9FormBaseResponse]
|
491
491
|
def list_w9_forms(request_parameters)
|
492
492
|
data, _status_code, _headers = list_w9_forms_with_http_info(request_parameters)
|
493
493
|
data
|
494
494
|
end
|
495
495
|
|
496
496
|
# List W9/W4/W8 forms
|
497
|
-
# List W9/W4/W8 forms.
|
497
|
+
# List W9/W4/W8 forms. Filterable/Sortable fields are: \"companyId\", \"type\", \"displayName\", \"entryStatus\", \"email\", \"archived\" and \"referenceId\".
|
498
498
|
|
499
499
|
# @param avalara_version [String] API version
|
500
|
-
# @param filter [String] A filter statement to identify specific records to retrieve.
|
501
|
-
# @param top [Integer] If
|
500
|
+
# @param filter [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>.
|
501
|
+
# @param 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.
|
502
502
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
|
503
503
|
# @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
504
|
-
# @param count [Boolean]
|
504
|
+
# @param count [Boolean] If true, return the global count of elements in the collection.
|
505
|
+
# @param count_only [Boolean] If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
505
506
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
506
507
|
# @param 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/) .
|
507
|
-
# @return [Array<(
|
508
|
+
# @return [Array<(PaginatedQueryResultModelW9FormBaseResponse, Integer, Hash)>] PaginatedQueryResultModelW9FormBaseResponse data, response status code and response headers
|
508
509
|
def list_w9_forms_with_http_info(request_parameters)
|
509
510
|
# OAuth2 Scopes
|
510
511
|
required_scopes = ''
|
@@ -515,6 +516,7 @@ module AvalaraSdk::A1099
|
|
515
516
|
skip = request_parameters.get_skip()
|
516
517
|
order_by = request_parameters.get_order_by()
|
517
518
|
count = request_parameters.get_count()
|
519
|
+
count_only = request_parameters.get_count_only()
|
518
520
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
519
521
|
x_avalara_client = request_parameters.get_x_avalara_client()
|
520
522
|
# verify the required parameter 'avalara_version' is set
|
@@ -541,6 +543,9 @@ module AvalaraSdk::A1099
|
|
541
543
|
if !count.nil?
|
542
544
|
query_params[:'count'] = count
|
543
545
|
end
|
546
|
+
if !count_only.nil?
|
547
|
+
query_params[:'countOnly'] = count_only
|
548
|
+
end
|
544
549
|
|
545
550
|
# header parameters
|
546
551
|
header_params = {}
|
@@ -563,7 +568,7 @@ module AvalaraSdk::A1099
|
|
563
568
|
post_body = {}
|
564
569
|
|
565
570
|
# return_type
|
566
|
-
return_type = '
|
571
|
+
return_type = 'PaginatedQueryResultModelW9FormBaseResponse'
|
567
572
|
|
568
573
|
# auth_names
|
569
574
|
auth_names = ['bearer']
|
@@ -1020,11 +1025,12 @@ module AvalaraSdk::A1099
|
|
1020
1025
|
# Represents the Request object for the ListW9Forms API
|
1021
1026
|
#
|
1022
1027
|
# @param String $avalara_version API version (required)
|
1023
|
-
# @param String $filter A filter statement to identify specific records to retrieve.
|
1024
|
-
# @param Integer $top If
|
1025
|
-
# @param Integer $skip If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. (optional
|
1028
|
+
# @param String $filter 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>. (optional)
|
1029
|
+
# @param Integer $top 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)
|
1030
|
+
# @param Integer $skip If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. (optional)
|
1026
1031
|
# @param String $order_by A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. (optional)
|
1027
|
-
# @param Boolean $count
|
1032
|
+
# @param Boolean $count If true, return the global count of elements in the collection. (optional)
|
1033
|
+
# @param Boolean $count_only If true, return ONLY the global count of elements in the collection. It only applies when count=true. (optional)
|
1028
1034
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
1029
1035
|
# @param String $x_avalara_client 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)
|
1030
1036
|
#
|
@@ -1041,6 +1047,8 @@ module AvalaraSdk::A1099
|
|
1041
1047
|
|
1042
1048
|
attr_accessor :count
|
1043
1049
|
|
1050
|
+
attr_accessor :count_only
|
1051
|
+
|
1044
1052
|
attr_accessor :x_correlation_id
|
1045
1053
|
|
1046
1054
|
attr_accessor :x_avalara_client
|
@@ -1096,6 +1104,14 @@ module AvalaraSdk::A1099
|
|
1096
1104
|
@count = count
|
1097
1105
|
end
|
1098
1106
|
|
1107
|
+
def get_count_only()
|
1108
|
+
return @count_only
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
def set_count_only(count_only)
|
1112
|
+
@count_only = count_only
|
1113
|
+
end
|
1114
|
+
|
1099
1115
|
def get_x_correlation_id()
|
1100
1116
|
return @x_correlation_id
|
1101
1117
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Avalara 1099 & W-9 API Definition
|
3
3
|
|
4
|
-
### 🔐 Authentication
|
4
|
+
### 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
|
5
5
|
|
6
6
|
|
7
7
|
=end
|