avalara_sdk 25.8.2 → 25.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +18 -79
- data/docs/A1099/V2/CompaniesW9Api.md +18 -18
- data/docs/A1099/V2/CompanyCreateUpdateRequestModel.md +18 -18
- data/docs/A1099/V2/CompanyResponse.md +37 -37
- data/docs/A1099/V2/CoveredIndividual.md +56 -0
- data/docs/A1099/V2/CreateAndSendW9FormEmailRequest.md +55 -0
- data/docs/A1099/V2/CreateCompanyRequest.md +49 -0
- data/docs/A1099/V2/CreateIssuerRequest.md +49 -0
- data/docs/A1099/V2/EntryStatusResponse.md +20 -0
- data/docs/A1099/V2/Form1042S.md +83 -83
- data/docs/A1099/V2/Form1095B.md +72 -62
- data/docs/A1099/V2/Form1095C.md +112 -0
- data/docs/A1099/V2/Form1099Base.md +60 -60
- data/docs/A1099/V2/Form1099Div.md +79 -77
- data/docs/A1099/V2/Form1099Int.md +76 -74
- data/docs/A1099/V2/Form1099K.md +83 -83
- data/docs/A1099/V2/Form1099ListRequest.md +20 -0
- data/docs/A1099/V2/Form1099Misc.md +79 -77
- data/docs/A1099/V2/Form1099Nec.md +64 -64
- data/docs/A1099/V2/Form1099R.md +95 -93
- data/docs/A1099/V2/Forms1099Api.md +45 -41
- data/docs/A1099/V2/FormsW9Api.md +98 -14
- data/docs/A1099/V2/Get1099Form200Response.md +19 -19
- data/docs/A1099/V2/IntermediaryOrFlowThrough.md +11 -11
- data/docs/A1099/V2/IssuerCommand.md +16 -16
- data/docs/A1099/V2/IssuerResponse.md +35 -35
- data/docs/A1099/V2/Issuers1099Api.md +10 -10
- data/docs/A1099/V2/JobResponse.md +56 -0
- data/docs/A1099/V2/JobsApi.md +91 -0
- data/docs/A1099/V2/OfferAndCoverage.md +28 -0
- data/docs/A1099/V2/PaginatedQueryResultModelForm1099Base.md +22 -0
- data/docs/A1099/V2/PrimaryWithholdingAgent.md +4 -4
- data/docs/A1099/V2/StateAndLocalWithholding.md +8 -8
- data/docs/A1099/V2/ValidationError.md +2 -2
- data/docs/A1099/V2/W4FormMinimalRequest.md +30 -0
- data/docs/A1099/V2/W4FormRequest.md +6 -6
- data/docs/A1099/V2/W8BenEFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8BenEFormRequest.md +6 -6
- data/docs/A1099/V2/W8BenFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8BenFormRequest.md +6 -6
- data/docs/A1099/V2/W8ImyFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8ImyFormRequest.md +6 -6
- data/docs/A1099/V2/W9FormBaseMinimalRequest.md +24 -0
- data/docs/A1099/V2/W9FormBaseRequest.md +6 -6
- data/docs/A1099/V2/W9FormBaseResponse.md +3 -3
- data/docs/A1099/V2/W9FormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W9FormRequest.md +6 -6
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +27 -27
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +89 -57
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +144 -6
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +21 -21
- data/lib/avalara_sdk/api/A1099/V2/{jobs1099_api.rb → jobs_api.rb} +9 -9
- 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/company_create_update_request_model.rb +58 -17
- data/lib/avalara_sdk/models/A1099/V2/company_response.rb +110 -69
- data/lib/avalara_sdk/models/A1099/V2/{covered_individual_request.rb → covered_individual.rb} +36 -7
- data/lib/avalara_sdk/models/A1099/V2/{i_create_form1099_request.rb → create_and_send_w9_form_email_request.rb} +6 -5
- data/lib/avalara_sdk/models/A1099/V2/{error_response_errors_inner.rb → create_company_request.rb} +3 -3
- data/lib/avalara_sdk/models/A1099/V2/{i_update_form1099_request.rb → create_issuer_request.rb} +3 -5
- data/lib/avalara_sdk/models/A1099/V2/{status_detail.rb → entry_status_response.rb} +20 -18
- data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +424 -179
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +365 -179
- data/lib/avalara_sdk/models/A1099/V2/{form1095_b_response.rb → form1095_c.rb} +259 -111
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +286 -177
- data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +310 -171
- data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +308 -174
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +298 -186
- data/lib/avalara_sdk/models/A1099/V2/{form1099_div_list.rb → form1099_list_request.rb} +49 -22
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +337 -201
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +298 -183
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +414 -274
- data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +9 -9
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +13 -1
- data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +42 -23
- data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +77 -46
- data/lib/avalara_sdk/models/A1099/V2/{job_result.rb → job_response.rb} +108 -42
- data/lib/avalara_sdk/models/A1099/V2/{offer_and_coverage_request.rb → offer_and_coverage.rb} +79 -9
- data/lib/avalara_sdk/models/A1099/V2/{paginated_query_result_model.rb → paginated_query_result_model_form1099_base.rb} +4 -4
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +23 -16
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +8 -0
- data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +2 -0
- data/lib/avalara_sdk/models/A1099/V2/w4_form_minimal_request.rb +418 -0
- data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +53 -27
- data/lib/avalara_sdk/models/A1099/V2/{company_model.rb → w8_ben_e_form_minimal_request.rb} +139 -170
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +53 -27
- data/lib/avalara_sdk/models/A1099/V2/{base_company_model.rb → w8_ben_form_minimal_request.rb} +148 -122
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +53 -27
- data/lib/avalara_sdk/models/A1099/V2/{attribute.rb → w8_imy_form_minimal_request.rb} +135 -132
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +53 -27
- data/lib/avalara_sdk/models/A1099/V2/{http_validation_problem_details.rb → w9_form_base_minimal_request.rb} +87 -53
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +60 -27
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +14 -14
- data/lib/avalara_sdk/models/A1099/V2/{company_response_model.rb → w9_form_minimal_request.rb} +140 -148
- data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +53 -27
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +22 -105
- 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 +37 -103
- data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +0 -210
- data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +0 -403
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +0 -407
- data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/data.rb +0 -237
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +0 -816
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +0 -980
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +0 -778
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +0 -619
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +0 -606
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +0 -765
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +0 -627
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1095_c_list_item.rb +0 -662
- data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +0 -726
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +0 -747
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item_response.rb +0 -931
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +0 -729
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +0 -790
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item.rb +0 -702
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_list_item_response.rb +0 -887
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_request.rb +0 -684
- data/lib/avalara_sdk/models/A1099/V2/form1099_int_response.rb +0 -773
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +0 -788
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +0 -995
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +0 -770
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_response.rb +0 -839
- data/lib/avalara_sdk/models/A1099/V2/form1099_list.rb +0 -219
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_data_inner.rb +0 -55
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +0 -220
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +0 -688
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +0 -886
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +0 -670
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +0 -754
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +0 -586
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +0 -765
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +0 -567
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +0 -646
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +0 -228
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result_processed_forms_inner.rb +0 -107
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +0 -238
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +0 -763
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +0 -942
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +0 -720
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_response.rb +0 -839
- data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +0 -223
- data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +0 -502
- data/lib/avalara_sdk/models/A1099/V2/form_request_csv_base.rb +0 -475
- data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +0 -548
- data/lib/avalara_sdk/models/A1099/V2/form_request_model.rb +0 -345
- data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +0 -612
- data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +0 -530
- data/lib/avalara_sdk/models/A1099/V2/included_base.rb +0 -219
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_request.rb +0 -311
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +0 -311
- data/lib/avalara_sdk/models/A1099/V2/link.rb +0 -210
- data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +0 -231
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +0 -221
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +0 -221
- data/lib/avalara_sdk/models/A1099/V2/problem_details.rb +0 -251
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +0 -278
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +0 -282
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_app.rb +0 -231
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +0 -231
- data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +0 -108
- data/lib/avalara_sdk/models/A1099/V2/validation_error_app.rb +0 -229
- data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +0 -231
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response.rb +0 -233
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner.rb +0 -274
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_addresses_inner.rb +0 -251
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_identifiers_inner.rb +0 -221
- data/lib/avalara_sdk/models/EInvoicing/V1/directory_search_response_value_inner_supported_document_types_inner.rb +0 -241
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request.rb +0 -224
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_data_inner.rb +0 -237
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch_request_metadata.rb +0 -288
- data/lib/avalara_sdk/models/EInvoicing/V1/submit_document_data.rb +0 -216
data/docs/A1099/V2/Form1099R.md
CHANGED
@@ -4,64 +4,65 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **taxable_amount** | **Float** |
|
9
|
-
| **taxable_amount_not_determined** | **Boolean** |
|
10
|
-
| **
|
11
|
-
| **capital_gain** | **Float** |
|
12
|
-
| **
|
13
|
-
| **
|
14
|
-
| **
|
15
|
-
| **
|
16
|
-
| **
|
17
|
-
| **
|
18
|
-
| **
|
19
|
-
| **
|
20
|
-
| **
|
21
|
-
| **
|
22
|
-
| **total_employee_contributions** | **Float** |
|
23
|
-
| **
|
24
|
-
| **
|
25
|
-
| **date_of_payment** | **
|
26
|
-
| **
|
27
|
-
| **type** | **String** |
|
28
|
-
| **
|
29
|
-
| **
|
30
|
-
| **
|
31
|
-
| **
|
32
|
-
| **
|
33
|
-
| **
|
34
|
-
| **
|
35
|
-
| **
|
36
|
-
| **
|
37
|
-
| **
|
38
|
-
| **
|
39
|
-
| **
|
40
|
-
| **
|
41
|
-
| **
|
42
|
-
| **
|
43
|
-
| **
|
44
|
-
| **
|
45
|
-
| **
|
46
|
-
| **
|
47
|
-
| **
|
48
|
-
| **
|
49
|
-
| **
|
50
|
-
| **
|
51
|
-
| **
|
52
|
-
| **
|
53
|
-
| **
|
54
|
-
| **
|
55
|
-
| **
|
56
|
-
| **
|
57
|
-
| **
|
58
|
-
| **
|
59
|
-
| **
|
60
|
-
| **
|
61
|
-
| **
|
62
|
-
| **
|
63
|
-
| **
|
64
|
-
| **
|
7
|
+
| **gross_distribution** | **Float** | Gross distribution | [optional] |
|
8
|
+
| **taxable_amount** | **Float** | Taxable amount | [optional] |
|
9
|
+
| **taxable_amount_not_determined** | **Boolean** | Taxable amount not determined | [optional] |
|
10
|
+
| **total_distribution_determined** | **Boolean** | Total distribution | [optional] |
|
11
|
+
| **capital_gain** | **Float** | Capital gain (included in Box 2a) | [optional] |
|
12
|
+
| **federal_income_tax_withheld** | **Float** | Federal income tax withheld | [optional] |
|
13
|
+
| **employee_contributions_or_designated_roth_or_insurance_premiums** | **Float** | Employee contributions/Designated Roth contributions or insurance premiums | [optional] |
|
14
|
+
| **net_unrealized_appreciation_in_employer_securities** | **Float** | Net unrealized appreciation in employer's securities | [optional] |
|
15
|
+
| **distribution_code** | **String** | Distribution code | [optional] |
|
16
|
+
| **second_distribution_code** | **String** | Second distribution code | [optional] |
|
17
|
+
| **ira_sep_simple** | **Boolean** | IRA/SEP/SIMPLE | [optional] |
|
18
|
+
| **traditional_ira_sep_simple_or_roth_conversion_amount** | **Float** | Traditional IRA/SEP/SIMPLE or Roth conversion amount | [optional] |
|
19
|
+
| **other_amount** | **Float** | Other amount | [optional] |
|
20
|
+
| **other_percentage** | **String** | Other percentage | [optional] |
|
21
|
+
| **total_distribution_percentage** | **String** | Total distribution percentage | [optional] |
|
22
|
+
| **total_employee_contributions** | **Float** | Total employee contributions | [optional] |
|
23
|
+
| **amount_allocable_to_irr_within5_years** | **Float** | Amount allocable to IRR within 5 years | [optional] |
|
24
|
+
| **first_year_of_designated_roth_contribution** | **String** | First year of designated Roth contribution | [optional] |
|
25
|
+
| **date_of_payment** | **Date** | Date of payment | [optional] |
|
26
|
+
| **fatca_filing_requirement** | **Boolean** | FATCA filing requirement | [optional] |
|
27
|
+
| **type** | **String** | Form type | |
|
28
|
+
| **id** | **String** | Form ID. Unique identifier set when the record is created. | [optional][readonly] |
|
29
|
+
| **issuer_id** | **String** | Issuer ID - only required when creating forms | [optional] |
|
30
|
+
| **issuer_reference_id** | **String** | Issuer Reference ID - only required when creating forms | [optional] |
|
31
|
+
| **issuer_tin** | **String** | Issuer TIN - readonly | [optional] |
|
32
|
+
| **tax_year** | **Integer** | Tax Year - only required when creating forms | [optional] |
|
33
|
+
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. | [optional] |
|
34
|
+
| **tin** | **String** | Recipient's Federal Tax Identification Number (TIN). | [optional] |
|
35
|
+
| **recipient_name** | **String** | Recipient name | |
|
36
|
+
| **tin_type** | **String** | Type of TIN (Tax ID Number) | [optional] |
|
37
|
+
| **recipient_second_name** | **String** | Recipient second name | [optional] |
|
38
|
+
| **address** | **String** | Address. | |
|
39
|
+
| **address2** | **String** | Address line 2. | [optional] |
|
40
|
+
| **city** | **String** | City. | |
|
41
|
+
| **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | [optional] |
|
42
|
+
| **zip** | **String** | ZIP/postal code. | [optional] |
|
43
|
+
| **email** | **String** | Recipient's Contact email address. | [optional] |
|
44
|
+
| **account_number** | **String** | Account number | [optional] |
|
45
|
+
| **office_code** | **String** | Office code | [optional] |
|
46
|
+
| **non_us_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
|
47
|
+
| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. | |
|
48
|
+
| **federal_efile_date** | **Date** | Date when federal e-filing should be scheduled for this form | [optional] |
|
49
|
+
| **postal_mail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|
50
|
+
| **state_efile_date** | **Date** | Date when state e-filing should be scheduled for this form | [optional] |
|
51
|
+
| **recipient_edelivery_date** | **Date** | Date when recipient e-delivery should be scheduled for this form | [optional] |
|
52
|
+
| **tin_match** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
|
53
|
+
| **no_tin** | **Boolean** | No TIN indicator | [optional] |
|
54
|
+
| **address_verification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|
55
|
+
| **state_and_local_withholding** | [**StateAndLocalWithholding**](StateAndLocalWithholding.md) | State and local withholding information | [optional] |
|
56
|
+
| **second_tin_notice** | **Boolean** | Second TIN notice | [optional] |
|
57
|
+
| **federal_efile_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | Federal e-file status | [optional][readonly] |
|
58
|
+
| **state_efile_status** | [**Array<StateEfileStatusDetail>**](StateEfileStatusDetail.md) | State e-file status | [optional][readonly] |
|
59
|
+
| **postal_mail_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | Postal mail to recipient status | [optional][readonly] |
|
60
|
+
| **tin_match_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | TIN Match status | [optional][readonly] |
|
61
|
+
| **address_verification_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | Address verification status | [optional][readonly] |
|
62
|
+
| **e_delivery_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | EDelivery status | [optional][readonly] |
|
63
|
+
| **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Validation errors | [optional][readonly] |
|
64
|
+
| **created_at** | **Time** | Date time when the record was created. | [optional][readonly] |
|
65
|
+
| **updated_at** | **Time** | Date time when the record was last updated. | [optional][readonly] |
|
65
66
|
|
66
67
|
## Example
|
67
68
|
|
@@ -69,64 +70,65 @@
|
|
69
70
|
require 'avalara_sdk'
|
70
71
|
|
71
72
|
instance = AvalaraSdk::A1099::V2::Form1099R.new(
|
72
|
-
|
73
|
+
gross_distribution: null,
|
73
74
|
taxable_amount: null,
|
74
75
|
taxable_amount_not_determined: null,
|
75
|
-
|
76
|
+
total_distribution_determined: null,
|
76
77
|
capital_gain: null,
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
78
|
+
federal_income_tax_withheld: null,
|
79
|
+
employee_contributions_or_designated_roth_or_insurance_premiums: null,
|
80
|
+
net_unrealized_appreciation_in_employer_securities: null,
|
81
|
+
distribution_code: null,
|
82
|
+
second_distribution_code: null,
|
83
|
+
ira_sep_simple: null,
|
84
|
+
traditional_ira_sep_simple_or_roth_conversion_amount: null,
|
85
|
+
other_amount: null,
|
86
|
+
other_percentage: null,
|
87
|
+
total_distribution_percentage: null,
|
87
88
|
total_employee_contributions: null,
|
88
|
-
|
89
|
-
|
89
|
+
amount_allocable_to_irr_within5_years: null,
|
90
|
+
first_year_of_designated_roth_contribution: null,
|
90
91
|
date_of_payment: null,
|
92
|
+
fatca_filing_requirement: null,
|
93
|
+
type: 1099-NEC,
|
91
94
|
id: null,
|
92
|
-
type: null,
|
93
95
|
issuer_id: null,
|
94
96
|
issuer_reference_id: null,
|
95
97
|
issuer_tin: null,
|
96
98
|
tax_year: null,
|
97
|
-
federal_efile: null,
|
98
|
-
federal_efile_status: null,
|
99
|
-
state_efile: null,
|
100
|
-
state_efile_status: null,
|
101
|
-
postal_mail: null,
|
102
|
-
postal_mail_status: null,
|
103
|
-
tin_match: null,
|
104
|
-
tin_match_status: null,
|
105
|
-
address_verification: null,
|
106
|
-
address_verification_status: null,
|
107
|
-
e_delivery_status: null,
|
108
99
|
reference_id: null,
|
109
|
-
email: null,
|
110
|
-
tin_type: null,
|
111
|
-
fatca_filing_requirement: null,
|
112
100
|
tin: null,
|
113
|
-
no_tin: null,
|
114
|
-
second_tin_notice: null,
|
115
101
|
recipient_name: null,
|
102
|
+
tin_type: null,
|
116
103
|
recipient_second_name: null,
|
117
104
|
address: null,
|
118
105
|
address2: null,
|
119
106
|
city: null,
|
120
107
|
state: null,
|
121
108
|
zip: null,
|
122
|
-
|
123
|
-
country_code: null,
|
109
|
+
email: null,
|
124
110
|
account_number: null,
|
125
111
|
office_code: null,
|
112
|
+
non_us_province: null,
|
113
|
+
country_code: null,
|
114
|
+
federal_efile_date: null,
|
115
|
+
postal_mail: null,
|
116
|
+
state_efile_date: null,
|
117
|
+
recipient_edelivery_date: null,
|
118
|
+
tin_match: null,
|
119
|
+
no_tin: null,
|
120
|
+
address_verification: null,
|
121
|
+
state_and_local_withholding: null,
|
122
|
+
second_tin_notice: null,
|
123
|
+
federal_efile_status: null,
|
124
|
+
state_efile_status: null,
|
125
|
+
postal_mail_status: null,
|
126
|
+
tin_match_status: null,
|
127
|
+
address_verification_status: null,
|
128
|
+
e_delivery_status: null,
|
126
129
|
validation_errors: null,
|
127
130
|
created_at: null,
|
128
|
-
updated_at: null
|
129
|
-
state_and_local_withholding: null
|
131
|
+
updated_at: null
|
130
132
|
)
|
131
133
|
```
|
132
134
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# AvalaraSdk::A1099::V2::Forms1099Api
|
2
2
|
|
3
|
-
All URIs are relative to *https://api
|
3
|
+
All URIs are relative to *https://api.sbx.avalara.com/avalara1099*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
@@ -15,11 +15,11 @@ All URIs are relative to *https://api-ava1099.eta.sbx.us-east-1.aws.avalara.io/a
|
|
15
15
|
|
16
16
|
## bulk_upsert1099_forms
|
17
17
|
|
18
|
-
> <
|
18
|
+
> <JobResponse> bulk_upsert1099_forms(avalara_version, opts)
|
19
19
|
|
20
20
|
Create or update multiple 1099/1095/W2/1042S forms
|
21
21
|
|
22
|
-
This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms.
|
22
|
+
This endpoint allows you to create or update multiple 1099/1095/W2/1042S forms. Maximum of 5000 forms can be processed in a single bulk request.
|
23
23
|
|
24
24
|
### Examples
|
25
25
|
|
@@ -41,10 +41,10 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
41
41
|
|
42
42
|
avalara_version = '2.0.0' # String | API version
|
43
43
|
opts = {
|
44
|
-
dry_run: true, # Boolean |
|
45
|
-
x_correlation_id: '
|
44
|
+
dry_run: true, # Boolean | defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB
|
45
|
+
x_correlation_id: '16e56e1f-e623-4f23-9904-21c29b5b4545', # String | Unique correlation Id in a GUID format
|
46
46
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
47
|
-
|
47
|
+
form1099_list_request: AvalaraSdk::A1099::V2::Form1099ListRequest.new # Form1099ListRequest |
|
48
48
|
}
|
49
49
|
|
50
50
|
begin
|
@@ -60,7 +60,7 @@ end
|
|
60
60
|
|
61
61
|
This returns an Array which contains the response data, status code and headers.
|
62
62
|
|
63
|
-
> <Array(<
|
63
|
+
> <Array(<JobResponse>, Integer, Hash)> bulk_upsert1099_forms_with_http_info(avalara_version, opts)
|
64
64
|
|
65
65
|
```ruby
|
66
66
|
begin
|
@@ -68,7 +68,7 @@ begin
|
|
68
68
|
data, status_code, headers = api_instance.bulk_upsert1099_forms_with_http_info(avalara_version, opts)
|
69
69
|
p status_code # => 2xx
|
70
70
|
p headers # => { ... }
|
71
|
-
p data # => <
|
71
|
+
p data # => <JobResponse>
|
72
72
|
rescue AvalaraSdk::A1099::V2::ApiError => e
|
73
73
|
puts "Error when calling Forms1099Api->bulk_upsert1099_forms_with_http_info: #{e}"
|
74
74
|
end
|
@@ -79,14 +79,14 @@ end
|
|
79
79
|
| Name | Type | Description | Notes |
|
80
80
|
| ---- | ---- | ----------- | ----- |
|
81
81
|
| **avalara_version** | **String** | API version | |
|
82
|
-
| **dry_run** | **Boolean** |
|
82
|
+
| **dry_run** | **Boolean** | defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB | [optional][default to false] |
|
83
83
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
84
84
|
| **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
|
85
|
-
| **
|
85
|
+
| **form1099_list_request** | [**Form1099ListRequest**](Form1099ListRequest.md) | | [optional] |
|
86
86
|
|
87
87
|
### Return type
|
88
88
|
|
89
|
-
[**
|
89
|
+
[**JobResponse**](JobResponse.md)
|
90
90
|
|
91
91
|
### Authorization
|
92
92
|
|
@@ -100,7 +100,7 @@ end
|
|
100
100
|
|
101
101
|
## create1099_form
|
102
102
|
|
103
|
-
> <
|
103
|
+
> <Get1099Form200Response> create1099_form(avalara_version, opts)
|
104
104
|
|
105
105
|
Create a 1099/1095/W2/1042S form
|
106
106
|
|
@@ -126,9 +126,9 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
126
126
|
|
127
127
|
avalara_version = '2.0.0' # String | API version
|
128
128
|
opts = {
|
129
|
-
x_correlation_id: '
|
129
|
+
x_correlation_id: 'e4a7bf40-da9f-452a-b2db-c8b64721610b', # String | Unique correlation Id in a GUID format
|
130
130
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
131
|
-
|
131
|
+
get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: '1099-NEC', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
|
132
132
|
}
|
133
133
|
|
134
134
|
begin
|
@@ -144,7 +144,7 @@ end
|
|
144
144
|
|
145
145
|
This returns an Array which contains the response data, status code and headers.
|
146
146
|
|
147
|
-
> <Array(<
|
147
|
+
> <Array(<Get1099Form200Response>, Integer, Hash)> create1099_form_with_http_info(avalara_version, opts)
|
148
148
|
|
149
149
|
```ruby
|
150
150
|
begin
|
@@ -152,7 +152,7 @@ begin
|
|
152
152
|
data, status_code, headers = api_instance.create1099_form_with_http_info(avalara_version, opts)
|
153
153
|
p status_code # => 2xx
|
154
154
|
p headers # => { ... }
|
155
|
-
p data # => <
|
155
|
+
p data # => <Get1099Form200Response>
|
156
156
|
rescue AvalaraSdk::A1099::V2::ApiError => e
|
157
157
|
puts "Error when calling Forms1099Api->create1099_form_with_http_info: #{e}"
|
158
158
|
end
|
@@ -165,11 +165,11 @@ end
|
|
165
165
|
| **avalara_version** | **String** | API version | |
|
166
166
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
167
167
|
| **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
|
168
|
-
| **
|
168
|
+
| **get1099_form200_response** | [**Get1099Form200Response**](Get1099Form200Response.md) | | [optional] |
|
169
169
|
|
170
170
|
### Return type
|
171
171
|
|
172
|
-
[**
|
172
|
+
[**Get1099Form200Response**](Get1099Form200Response.md)
|
173
173
|
|
174
174
|
### Authorization
|
175
175
|
|
@@ -210,7 +210,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
210
210
|
id = 'id_example' # String | The unique identifier of the desired form to delete.
|
211
211
|
avalara_version = '2.0.0' # String | API version
|
212
212
|
opts = {
|
213
|
-
x_correlation_id: '
|
213
|
+
x_correlation_id: '8e01e950-8e1c-4b1b-9120-2e2452c6d590', # String | Unique correlation Id in a GUID format
|
214
214
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
215
215
|
}
|
216
216
|
|
@@ -292,7 +292,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
292
292
|
id = 'id_example' # String |
|
293
293
|
avalara_version = '2.0.0' # String | API version
|
294
294
|
opts = {
|
295
|
-
x_correlation_id: '
|
295
|
+
x_correlation_id: '7b8174a3-a873-4a05-a619-f362955f4608', # String | Unique correlation Id in a GUID format
|
296
296
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
297
297
|
}
|
298
298
|
|
@@ -376,7 +376,7 @@ id = 'id_example' # String | The ID of the form
|
|
376
376
|
avalara_version = '2.0.0' # String | API version
|
377
377
|
opts = {
|
378
378
|
mark_edelivered: true, # Boolean | Optional boolean that if set indicates that the form should be marked as having been successfully edelivered
|
379
|
-
x_correlation_id: '
|
379
|
+
x_correlation_id: 'a4dd3a23-ae45-45a5-8612-75e2fe4c1f36', # String | Unique correlation Id in a GUID format
|
380
380
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
381
381
|
}
|
382
382
|
|
@@ -433,11 +433,11 @@ end
|
|
433
433
|
|
434
434
|
## list1099_forms
|
435
435
|
|
436
|
-
> <
|
436
|
+
> <PaginatedQueryResultModelForm1099Base> list1099_forms(avalara_version, opts)
|
437
437
|
|
438
438
|
List 1099/1095/W2/1042S forms
|
439
439
|
|
440
|
-
List 1099/1095/W2/1042S forms.
|
440
|
+
List 1099/1095/W2/1042S forms. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: - issuerId - issuerReferenceId - taxYear - addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified - createdAt - edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted - email - federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held - recipientName - mailStatus - possible values are: sent, unscheduled, pending, delivered - referenceId - tinMatchStatus - possible values are: none, pending, matched, failed - type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC - updatedAt - validity - possible values are: true, false For more information on filtering, see <see href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</see>.
|
441
441
|
|
442
442
|
### Examples
|
443
443
|
|
@@ -459,11 +459,13 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
459
459
|
|
460
460
|
avalara_version = '2.0.0' # String | API version
|
461
461
|
opts = {
|
462
|
-
filter: 'issuerId eq 884781823', # String | A filter statement to identify specific records to retrieve.
|
463
|
-
top: 56, # Integer | If
|
462
|
+
filter: 'issuerId eq 884781823', # String | A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>.
|
463
|
+
top: 56, # Integer | If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets.
|
464
464
|
skip: 56, # Integer | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
|
465
|
-
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example
|
466
|
-
|
465
|
+
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
466
|
+
count: true, # Boolean | If true, return the global count of elements in the collection.
|
467
|
+
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
468
|
+
x_correlation_id: 'f808e46a-fc55-4dd7-960d-13c6ba8176f2', # String | Unique correlation Id in a GUID format
|
467
469
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
468
470
|
}
|
469
471
|
|
@@ -480,7 +482,7 @@ end
|
|
480
482
|
|
481
483
|
This returns an Array which contains the response data, status code and headers.
|
482
484
|
|
483
|
-
> <Array(<
|
485
|
+
> <Array(<PaginatedQueryResultModelForm1099Base>, Integer, Hash)> list1099_forms_with_http_info(avalara_version, opts)
|
484
486
|
|
485
487
|
```ruby
|
486
488
|
begin
|
@@ -488,7 +490,7 @@ begin
|
|
488
490
|
data, status_code, headers = api_instance.list1099_forms_with_http_info(avalara_version, opts)
|
489
491
|
p status_code # => 2xx
|
490
492
|
p headers # => { ... }
|
491
|
-
p data # => <
|
493
|
+
p data # => <PaginatedQueryResultModelForm1099Base>
|
492
494
|
rescue AvalaraSdk::A1099::V2::ApiError => e
|
493
495
|
puts "Error when calling Forms1099Api->list1099_forms_with_http_info: #{e}"
|
494
496
|
end
|
@@ -499,16 +501,18 @@ end
|
|
499
501
|
| Name | Type | Description | Notes |
|
500
502
|
| ---- | ---- | ----------- | ----- |
|
501
503
|
| **avalara_version** | **String** | API version | |
|
502
|
-
| **filter** | **String** | A filter statement to identify specific records to retrieve.
|
503
|
-
| **top** | **Integer** | If
|
504
|
-
| **skip** | **Integer** | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. | [optional]
|
505
|
-
| **order_by** | **String** | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example
|
504
|
+
| **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>. | [optional] |
|
505
|
+
| **top** | **Integer** | If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets. | [optional] |
|
506
|
+
| **skip** | **Integer** | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. | [optional] |
|
507
|
+
| **order_by** | **String** | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. | [optional] |
|
508
|
+
| **count** | **Boolean** | If true, return the global count of elements in the collection. | [optional] |
|
509
|
+
| **count_only** | **Boolean** | If true, return ONLY the global count of elements in the collection. It only applies when count=true. | [optional] |
|
506
510
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
507
511
|
| **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
|
508
512
|
|
509
513
|
### Return type
|
510
514
|
|
511
|
-
[**
|
515
|
+
[**PaginatedQueryResultModelForm1099Base**](PaginatedQueryResultModelForm1099Base.md)
|
512
516
|
|
513
517
|
### Authorization
|
514
518
|
|
@@ -522,7 +526,7 @@ end
|
|
522
526
|
|
523
527
|
## update1099_form
|
524
528
|
|
525
|
-
> <
|
529
|
+
> <Get1099Form200Response> update1099_form(id, avalara_version, opts)
|
526
530
|
|
527
531
|
Update a 1099/1095/W2/1042S form
|
528
532
|
|
@@ -549,9 +553,9 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
549
553
|
id = 'id_example' # String |
|
550
554
|
avalara_version = '2.0.0' # String | API version
|
551
555
|
opts = {
|
552
|
-
x_correlation_id: '
|
556
|
+
x_correlation_id: '944ee583-b810-471c-852c-d3c6f8b93a4b', # String | Unique correlation Id in a GUID format
|
553
557
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
554
|
-
|
558
|
+
get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: '1099-NEC', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
|
555
559
|
}
|
556
560
|
|
557
561
|
begin
|
@@ -567,7 +571,7 @@ end
|
|
567
571
|
|
568
572
|
This returns an Array which contains the response data, status code and headers.
|
569
573
|
|
570
|
-
> <Array(<
|
574
|
+
> <Array(<Get1099Form200Response>, Integer, Hash)> update1099_form_with_http_info(id, avalara_version, opts)
|
571
575
|
|
572
576
|
```ruby
|
573
577
|
begin
|
@@ -575,7 +579,7 @@ begin
|
|
575
579
|
data, status_code, headers = api_instance.update1099_form_with_http_info(id, avalara_version, opts)
|
576
580
|
p status_code # => 2xx
|
577
581
|
p headers # => { ... }
|
578
|
-
p data # => <
|
582
|
+
p data # => <Get1099Form200Response>
|
579
583
|
rescue AvalaraSdk::A1099::V2::ApiError => e
|
580
584
|
puts "Error when calling Forms1099Api->update1099_form_with_http_info: #{e}"
|
581
585
|
end
|
@@ -589,11 +593,11 @@ end
|
|
589
593
|
| **avalara_version** | **String** | API version | |
|
590
594
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
591
595
|
| **x_avalara_client** | **String** | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . | [optional] |
|
592
|
-
| **
|
596
|
+
| **get1099_form200_response** | [**Get1099Form200Response**](Get1099Form200Response.md) | | [optional] |
|
593
597
|
|
594
598
|
### Return type
|
595
599
|
|
596
|
-
[**
|
600
|
+
[**Get1099Form200Response**](Get1099Form200Response.md)
|
597
601
|
|
598
602
|
### Authorization
|
599
603
|
|