avalara_sdk 25.8.2 → 25.9.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +20 -91
- data/docs/A1099/V2/CompaniesW9Api.md +18 -18
- data/docs/A1099/V2/CompanyBase.md +50 -0
- data/docs/A1099/V2/CompanyCreateUpdateRequestModel.md +18 -18
- data/docs/A1099/V2/CompanyRequest.md +50 -0
- 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 +47 -43
- data/docs/A1099/V2/FormsW9Api.md +104 -20
- data/docs/A1099/V2/Get1099Form200Response.md +19 -19
- data/docs/A1099/V2/IntermediaryOrFlowThrough.md +11 -11
- data/docs/A1099/V2/IssuerBase.md +46 -0
- data/docs/A1099/V2/IssuerCommand.md +16 -16
- data/docs/A1099/V2/IssuerRequest.md +46 -0
- 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/TinMatchStatusResponse.md +1 -1
- data/docs/A1099/V2/ValidationError.md +2 -2
- data/docs/A1099/V2/W4FormMinimalRequest.md +30 -0
- data/docs/A1099/V2/W4FormRequest.md +16 -16
- data/docs/A1099/V2/W4FormResponse.md +48 -20
- data/docs/A1099/V2/W8BenEFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8BenEFormRequest.md +15 -15
- data/docs/A1099/V2/W8BenEFormResponse.md +96 -68
- data/docs/A1099/V2/W8BenFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8BenFormRequest.md +11 -11
- data/docs/A1099/V2/W8BenFormResponse.md +55 -27
- data/docs/A1099/V2/W8ImyFormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W8ImyFormRequest.md +15 -15
- data/docs/A1099/V2/W8ImyFormResponse.md +118 -90
- data/docs/A1099/V2/W9FormBaseMinimalRequest.md +24 -0
- data/docs/A1099/V2/W9FormBaseRequest.md +7 -7
- data/docs/A1099/V2/W9FormBaseResponse.md +6 -6
- data/docs/A1099/V2/W9FormMinimalRequest.md +28 -0
- data/docs/A1099/V2/W9FormRequest.md +15 -15
- data/docs/A1099/V2/W9FormResponse.md +44 -16
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +27 -27
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +93 -61
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +157 -19
- 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/api_client.rb +10 -2
- data/lib/avalara_sdk/models/A1099/V2/{base_company_model.rb → company_base.rb} +61 -13
- data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +58 -17
- data/lib/avalara_sdk/models/A1099/V2/{company_model.rb → company_request.rb} +62 -64
- 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/error_response.rb +0 -6
- data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +422 -187
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +359 -194
- data/lib/avalara_sdk/models/A1099/V2/{form1095_b_response.rb → form1095_c.rb} +250 -133
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +283 -185
- data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +307 -179
- data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +307 -183
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +307 -198
- data/lib/avalara_sdk/models/A1099/V2/{http_validation_problem_details.rb → form1099_list_request.rb} +45 -59
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +334 -209
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +297 -192
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +437 -282
- 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 +59 -1
- data/lib/avalara_sdk/models/A1099/V2/{intermediary_or_flow_through_request.rb → issuer_base.rb} +119 -46
- data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +42 -23
- data/lib/avalara_sdk/models/A1099/V2/{company_response_model.rb → issuer_request.rb} +113 -112
- 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} +102 -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 -6
- data/lib/avalara_sdk/models/A1099/V2/{attribute.rb → w4_form_minimal_request.rb} +142 -129
- data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +62 -34
- data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +191 -15
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_minimal_request.rb +356 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +68 -33
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +190 -14
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_minimal_request.rb +356 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +51 -28
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +191 -15
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_minimal_request.rb +356 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +61 -33
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +191 -15
- data/lib/avalara_sdk/models/A1099/V2/{problem_details.rb → w9_form_base_minimal_request.rb} +61 -35
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +35 -28
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +60 -31
- data/lib/avalara_sdk/models/A1099/V2/w9_form_minimal_request.rb +356 -0
- data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +71 -30
- data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +190 -14
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +22 -101
- 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 +45 -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.rb +0 -238
- 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_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/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
@@ -4,17 +4,17 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **ein** | **String** |
|
8
|
-
| **chap3_status_code** | **String** |
|
9
|
-
| **chap4_status_code** | **String** |
|
10
|
-
| **name** | **String** |
|
11
|
-
| **giin** | **String** |
|
12
|
-
| **country_code** | **String** |
|
13
|
-
| **foreign_tin** | **String** |
|
14
|
-
| **address** | **String** |
|
15
|
-
| **city** | **String** |
|
16
|
-
| **state** | **String** |
|
17
|
-
| **zip** | **String** |
|
7
|
+
| **ein** | **String** | EIN (Employer Identification Number) of the intermediary or flow-through entity | [optional] |
|
8
|
+
| **chap3_status_code** | **String** | Chapter 3 status code for the intermediary or flow-through entity. Available values: - 01: U.S. Withholding Agent - FI (Deprecated - valid only for tax years prior to 2020) - 02: U.S. Withholding Agent - Other (Deprecated - valid only for tax years prior to 2020) - 03: Territory FI - treated as U.S. Person - 04: Territory FI - not treated as U.S. Person - 05: U.S. branch - treated as U.S. Person - 06: U.S. branch - not treated as U.S. Person - 07: U.S. branch - ECI presumption applied - 08: Partnership other than Withholding Foreign Partnership - 09: Withholding Foreign Partnership - 10: Trust other than Withholding Foreign Trust - 11: Withholding Foreign Trust - 12: Qualified Intermediary - 13: Qualified Securities Lender - Qualified Intermediary - 14: Qualified Securities Lender - Other - 15: Corporation - 16: Individual - 17: Estate - 18: Private Foundation - 19: Government or International Organization - 20: Tax Exempt Organization (Section 501(c) entities) - 21: Unknown Recipient - 22: Artist or Athlete - 23: Pension - 24: Foreign Central Bank of Issue - 25: Nonqualified Intermediary - 26: Hybrid entity making Treaty Claim - 27: Withholding Rate Pool - General - 28: Withholding Rate Pool - Exempt Organization - 29: PAI Withholding Rate Pool - General - 30: PAI Withholding Rate Pool - Exempt Organization - 31: Agency Withholding Rate Pool - General - 32: Agency Withholding Rate Pool - Exempt Organization - 34: U.S. Withholding Agent-Foreign branch of FI (Deprecated - valid only for tax years prior to 2020) - 35: Qualified Derivatives Dealer - 36: Foreign Government - Integral Part - 37: Foreign Government - Controlled Entity - 38: Publicly Traded Partnership - 39: Disclosing Qualified Intermediary | [optional] |
|
9
|
+
| **chap4_status_code** | **String** | Chapter 4 status code for the intermediary or flow-through entity. Available values: - 01: U.S. Withholding Agent - FI - 02: U.S. Withholding Agent - Other - 03: Territory FI - not treated as U.S. Person - 04: Territory FI - treated as U.S. Person - 05: Participating FFI - Other - 06: Participating FFI - Reporting Model 2 FFI - 07: Registered Deemed - Compliant FFI-Reporting Model 1 FFI - 08: Registered Deemed - Compliant FFI-Sponsored Entity - 09: Registered Deemed - Compliant FFI-Other - 10: Certified Deemed - Compliant FFI-Other - 11: Certified Deemed - Compliant FFI-FFI with Low Value Accounts - 12: Certified Deemed - Compliant FFI-Non-Registering Local Bank - 13: Certified Deemed - Compliant FFI-Sponsored Entity - 14: Certified Deemed - Compliant FFI-Investment Advisor or Investment Manager - 15: Nonparticipating FFI - 16: Owner-Documented FFI - 17: U.S. Branch - treated as U.S. person - 18: U.S. Branch - not treated as U.S. person (reporting under section 1471) - 19: Passive NFFE identifying Substantial U.S. Owners - 20: Passive NFFE with no Substantial U.S. Owners - 21: Publicly Traded NFFE or Affiliate of Publicly Traded NFFE - 22: Active NFFE - 23: Individual - 24: Section 501(c) Entities - 25: Excepted Territory NFFE - 26: Excepted NFFE - Other - 27: Exempt Beneficial Owner - 28: Entity Wholly Owned by Exempt Beneficial Owners - 29: Unknown Recipient - 30: Recalcitrant Account Holder - 31: Nonreporting IGA FFI - 32: Direct reporting NFFE - 33: U.S. reportable account - 34: Non-consenting U.S. account - 35: Sponsored direct reporting NFFE - 36: Excepted Inter-affiliate FFI - 37: Undocumented Preexisting Obligation - 38: U.S. Branch - ECI presumption applied - 39: Account Holder of Excluded Financial Account - 40: Passive NFFE reported by FFI - 41: NFFE subject to 1472 withholding - 42: Recalcitrant Pool - No U.S. Indicia - 43: Recalcitrant Pool - U.S. Indicia - 44: Recalcitrant Pool - Dormant Account - 45: Recalcitrant Pool - U.S. Persons - 46: Recalcitrant Pool - Passive NFFEs - 47: Nonparticipating FFI Pool - 48: U.S. Payees Pool - 49: QI - Recalcitrant Pool-General - 50: U.S. Withholding Agent-Foreign branch of FI | [optional] |
|
10
|
+
| **name** | **String** | Name of the intermediary or flow-through entity | [optional] |
|
11
|
+
| **giin** | **String** | GIIN (Global Intermediary Identification Number) of the intermediary or flow-through entity | [optional] |
|
12
|
+
| **country_code** | **String** | Country code for the intermediary or flow-through entity | [optional] |
|
13
|
+
| **foreign_tin** | **String** | Foreign TIN of the intermediary or flow-through entity | [optional] |
|
14
|
+
| **address** | **String** | Address of the intermediary or flow-through entity | [optional] |
|
15
|
+
| **city** | **String** | City of the intermediary or flow-through entity | [optional] |
|
16
|
+
| **state** | **String** | State of the intermediary or flow-through entity | [optional] |
|
17
|
+
| **zip** | **String** | Zip code of the intermediary or flow-through entity | [optional] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# AvalaraSdk::A1099::V2::IssuerBase
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | Legal name. Not the DBA name. | |
|
8
|
+
| **dba_name** | **String** | Doing Business As (DBA) name or continuation of a long legal name. Use either this or 'transferAgentName'. | [optional] |
|
9
|
+
| **tin** | **String** | Federal Tax Identification Number (TIN). | [optional] |
|
10
|
+
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. If present, it will prefix download filenames. Allowed characters: letters, numbers, dashes, underscores, and spaces. | [optional] |
|
11
|
+
| **telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. | |
|
12
|
+
| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. | |
|
13
|
+
| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | [optional] |
|
14
|
+
| **email** | **String** | Contact email address. For recipient inquiries. | |
|
15
|
+
| **address** | **String** | Address. | |
|
16
|
+
| **city** | **String** | City. | |
|
17
|
+
| **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | |
|
18
|
+
| **zip** | **String** | ZIP/postal code. | |
|
19
|
+
| **foreign_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
|
20
|
+
| **transfer_agent_name** | **String** | Name of the transfer agent, if applicable — optional; use either this or 'dbaName'. | [optional] |
|
21
|
+
| **last_filing** | **Boolean** | Indicates if this is the issuer's final year filing. | |
|
22
|
+
|
23
|
+
## Example
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'avalara_sdk'
|
27
|
+
|
28
|
+
instance = AvalaraSdk::A1099::V2::IssuerBase.new(
|
29
|
+
name: null,
|
30
|
+
dba_name: null,
|
31
|
+
tin: null,
|
32
|
+
reference_id: null,
|
33
|
+
telephone: null,
|
34
|
+
tax_year: null,
|
35
|
+
country_code: null,
|
36
|
+
email: null,
|
37
|
+
address: null,
|
38
|
+
city: null,
|
39
|
+
state: null,
|
40
|
+
zip: null,
|
41
|
+
foreign_province: null,
|
42
|
+
transfer_agent_name: null,
|
43
|
+
last_filing: null
|
44
|
+
)
|
45
|
+
```
|
46
|
+
|
@@ -4,21 +4,21 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **name** | **String** | Legal name
|
8
|
-
| **
|
9
|
-
| **tin** | **String** | Tax
|
10
|
-
| **reference_id** | **String** |
|
11
|
-
| **telephone** | **String** |
|
12
|
-
| **tax_year** | **Integer** | Tax year
|
13
|
-
| **country_code** | **String** | If there is a transfer agent, use the shipping address
|
14
|
-
| **email** | **String** |
|
15
|
-
| **address** | **String** | Address |
|
16
|
-
| **city** | **String** | City |
|
17
|
-
| **state** | **String** |
|
18
|
-
| **zip** | **String** |
|
19
|
-
| **foreign_province** | **String** |
|
20
|
-
| **transfer_agent_name** | **String** |
|
21
|
-
| **last_filing** | **Boolean** |
|
7
|
+
| **name** | **String** | Legal name. Not the DBA name. | |
|
8
|
+
| **dba_name** | **String** | Doing Business As (DBA) name or continuation of a long legal name. Use either this or 'transferAgentName'. | [optional] |
|
9
|
+
| **tin** | **String** | Federal Tax Identification Number (TIN). | [optional] |
|
10
|
+
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. If present, it will prefix download filenames. Allowed characters: letters, numbers, dashes, underscores, and spaces. | [optional] |
|
11
|
+
| **telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. | |
|
12
|
+
| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. | |
|
13
|
+
| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | [optional] |
|
14
|
+
| **email** | **String** | Contact email address. For recipient inquiries. | |
|
15
|
+
| **address** | **String** | Address. | |
|
16
|
+
| **city** | **String** | City. | |
|
17
|
+
| **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | |
|
18
|
+
| **zip** | **String** | ZIP/postal code. | |
|
19
|
+
| **foreign_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
|
20
|
+
| **transfer_agent_name** | **String** | Name of the transfer agent, if applicable — optional; use either this or 'dbaName'. | [optional] |
|
21
|
+
| **last_filing** | **Boolean** | Indicates if this is the issuer's final year filing. | |
|
22
22
|
|
23
23
|
## Example
|
24
24
|
|
@@ -27,7 +27,7 @@ require 'avalara_sdk'
|
|
27
27
|
|
28
28
|
instance = AvalaraSdk::A1099::V2::IssuerCommand.new(
|
29
29
|
name: null,
|
30
|
-
|
30
|
+
dba_name: null,
|
31
31
|
tin: null,
|
32
32
|
reference_id: null,
|
33
33
|
telephone: null,
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# AvalaraSdk::A1099::V2::IssuerRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | Legal name. Not the DBA name. | |
|
8
|
+
| **dba_name** | **String** | Doing Business As (DBA) name or continuation of a long legal name. Use either this or 'transferAgentName'. | [optional] |
|
9
|
+
| **tin** | **String** | Federal Tax Identification Number (TIN). | [optional] |
|
10
|
+
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. If present, it will prefix download filenames. Allowed characters: letters, numbers, dashes, underscores, and spaces. | [optional] |
|
11
|
+
| **telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. | |
|
12
|
+
| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. | |
|
13
|
+
| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | [optional] |
|
14
|
+
| **email** | **String** | Contact email address. For recipient inquiries. | |
|
15
|
+
| **address** | **String** | Address. | |
|
16
|
+
| **city** | **String** | City. | |
|
17
|
+
| **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | |
|
18
|
+
| **zip** | **String** | ZIP/postal code. | |
|
19
|
+
| **foreign_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
|
20
|
+
| **transfer_agent_name** | **String** | Name of the transfer agent, if applicable — optional; use either this or 'dbaName'. | [optional] |
|
21
|
+
| **last_filing** | **Boolean** | Indicates if this is the issuer's final year filing. | |
|
22
|
+
|
23
|
+
## Example
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'avalara_sdk'
|
27
|
+
|
28
|
+
instance = AvalaraSdk::A1099::V2::IssuerRequest.new(
|
29
|
+
name: null,
|
30
|
+
dba_name: null,
|
31
|
+
tin: null,
|
32
|
+
reference_id: null,
|
33
|
+
telephone: null,
|
34
|
+
tax_year: null,
|
35
|
+
country_code: null,
|
36
|
+
email: null,
|
37
|
+
address: null,
|
38
|
+
city: null,
|
39
|
+
state: null,
|
40
|
+
zip: null,
|
41
|
+
foreign_province: null,
|
42
|
+
transfer_agent_name: null,
|
43
|
+
last_filing: null
|
44
|
+
)
|
45
|
+
```
|
46
|
+
|
@@ -4,24 +4,24 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **id** | **String** | Unique identifier set when the record is created | [optional]
|
8
|
-
| **
|
9
|
-
| **
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **
|
13
|
-
| **
|
14
|
-
| **
|
15
|
-
| **
|
16
|
-
| **
|
17
|
-
| **
|
18
|
-
| **
|
19
|
-
| **
|
20
|
-
| **
|
21
|
-
| **
|
22
|
-
| **
|
23
|
-
| **
|
24
|
-
| **
|
7
|
+
| **id** | **String** | Unique identifier set when the record is created. | [optional] |
|
8
|
+
| **created_at** | **Time** | Date time when the record was created. | [optional] |
|
9
|
+
| **updated_at** | **Time** | Date time when the record was last updated. | [optional] |
|
10
|
+
| **name** | **String** | Legal name. Not the DBA name. | |
|
11
|
+
| **dba_name** | **String** | Doing Business As (DBA) name or continuation of a long legal name. Use either this or 'transferAgentName'. | [optional] |
|
12
|
+
| **tin** | **String** | Federal Tax Identification Number (TIN). | [optional] |
|
13
|
+
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. If present, it will prefix download filenames. Allowed characters: letters, numbers, dashes, underscores, and spaces. | [optional] |
|
14
|
+
| **telephone** | **String** | Contact phone number (must contain at least 10 digits, max 15 characters). For recipient inquiries. | |
|
15
|
+
| **tax_year** | **Integer** | Tax year for which the forms are being filed (e.g., 2024). Must be within current tax year and current tax year - 4. | |
|
16
|
+
| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. If there is a transfer agent, use the transfer agent's shipping address. | [optional] |
|
17
|
+
| **email** | **String** | Contact email address. For recipient inquiries. | |
|
18
|
+
| **address** | **String** | Address. | |
|
19
|
+
| **city** | **String** | City. | |
|
20
|
+
| **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | |
|
21
|
+
| **zip** | **String** | ZIP/postal code. | |
|
22
|
+
| **foreign_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
|
23
|
+
| **transfer_agent_name** | **String** | Name of the transfer agent, if applicable — optional; use either this or 'dbaName'. | [optional] |
|
24
|
+
| **last_filing** | **Boolean** | Indicates if this is the issuer's final year filing. | |
|
25
25
|
|
26
26
|
## Example
|
27
27
|
|
@@ -29,24 +29,24 @@
|
|
29
29
|
require 'avalara_sdk'
|
30
30
|
|
31
31
|
instance = AvalaraSdk::A1099::V2::IssuerResponse.new(
|
32
|
-
id:
|
33
|
-
name: Acme Corp,
|
34
|
-
name_dba: Second Name Corp,
|
35
|
-
tin: 23-8234555,
|
36
|
-
reference_id: 1891810-9819891,
|
37
|
-
telephone: 520-555-1234,
|
38
|
-
tax_year: 2024,
|
39
|
-
country_code: US,
|
40
|
-
email: roadrunner@acmecorp.com,
|
41
|
-
address: 1234 Meep Meep Blvd,
|
42
|
-
city: Tucson,
|
43
|
-
state: AZ,
|
44
|
-
zip: 35004,
|
45
|
-
foreign_province: 1981981,
|
46
|
-
transfer_agent_name: test,
|
47
|
-
last_filing: false,
|
32
|
+
id: null,
|
48
33
|
created_at: null,
|
49
|
-
updated_at: null
|
34
|
+
updated_at: null,
|
35
|
+
name: null,
|
36
|
+
dba_name: null,
|
37
|
+
tin: null,
|
38
|
+
reference_id: null,
|
39
|
+
telephone: null,
|
40
|
+
tax_year: null,
|
41
|
+
country_code: null,
|
42
|
+
email: null,
|
43
|
+
address: null,
|
44
|
+
city: null,
|
45
|
+
state: null,
|
46
|
+
zip: null,
|
47
|
+
foreign_province: null,
|
48
|
+
transfer_agent_name: null,
|
49
|
+
last_filing: null
|
50
50
|
)
|
51
51
|
```
|
52
52
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# AvalaraSdk::A1099::V2::Issuers1099Api
|
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
|
| ------ | ------------ | ----------- |
|
@@ -39,9 +39,9 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client
|
|
39
39
|
|
40
40
|
avalara_version = '2.0.0' # String | API version
|
41
41
|
opts = {
|
42
|
-
x_correlation_id: '
|
42
|
+
x_correlation_id: '5c70e4f3-3885-4757-84f3-86323c1af033', # String | Unique correlation Id in a GUID format
|
43
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/) .
|
44
|
-
|
44
|
+
issuer_request: AvalaraSdk::A1099::V2::IssuerRequest.new({name: 'name_example', telephone: 'telephone_example', tax_year: 37, email: 'email_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to create
|
45
45
|
}
|
46
46
|
|
47
47
|
begin
|
@@ -78,7 +78,7 @@ end
|
|
78
78
|
| **avalara_version** | **String** | API version | |
|
79
79
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
80
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] |
|
81
|
-
| **
|
81
|
+
| **issuer_request** | [**IssuerRequest**](IssuerRequest.md) | The issuer to create | [optional] |
|
82
82
|
|
83
83
|
### Return type
|
84
84
|
|
@@ -123,7 +123,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client
|
|
123
123
|
id = 'id_example' # String | Id of the issuer to delete
|
124
124
|
avalara_version = '2.0.0' # String | API version
|
125
125
|
opts = {
|
126
|
-
x_correlation_id: '
|
126
|
+
x_correlation_id: 'ebe59aa0-745c-44da-b86b-67ad7994619c', # String | Unique correlation Id in a GUID format
|
127
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
128
|
}
|
129
129
|
|
@@ -205,7 +205,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client
|
|
205
205
|
id = 'id_example' # String | Id of the issuer to retrieve
|
206
206
|
avalara_version = '2.0.0' # String | API version
|
207
207
|
opts = {
|
208
|
-
x_correlation_id: '
|
208
|
+
x_correlation_id: 'cfc604e9-15ae-4c65-a59f-123475fad2ef', # String | Unique correlation Id in a GUID format
|
209
209
|
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/) .
|
210
210
|
}
|
211
211
|
|
@@ -293,7 +293,7 @@ opts = {
|
|
293
293
|
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
294
294
|
count: true, # Boolean | If true, return the global count of elements in the collection.
|
295
295
|
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
296
|
-
x_correlation_id: '
|
296
|
+
x_correlation_id: '3302a30f-61fc-4b94-af04-c683c6064eed', # String | Unique correlation Id in a GUID format
|
297
297
|
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/) .
|
298
298
|
}
|
299
299
|
|
@@ -381,9 +381,9 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client
|
|
381
381
|
id = 'id_example' # String | Id of the issuer to update
|
382
382
|
avalara_version = '2.0.0' # String | API version
|
383
383
|
opts = {
|
384
|
-
x_correlation_id: '
|
384
|
+
x_correlation_id: '4f30c58e-f8fd-4635-99d4-ea710f1d0182', # String | Unique correlation Id in a GUID format
|
385
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/) .
|
386
|
-
|
386
|
+
issuer_request: AvalaraSdk::A1099::V2::IssuerRequest.new({name: 'name_example', telephone: 'telephone_example', tax_year: 37, email: 'email_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to update
|
387
387
|
}
|
388
388
|
|
389
389
|
begin
|
@@ -420,7 +420,7 @@ end
|
|
420
420
|
| **avalara_version** | **String** | API version | |
|
421
421
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
422
422
|
| **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] |
|
423
|
-
| **
|
423
|
+
| **issuer_request** | [**IssuerRequest**](IssuerRequest.md) | The issuer to update | [optional] |
|
424
424
|
|
425
425
|
### Return type
|
426
426
|
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# AvalaraSdk::A1099::V2::JobResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | Unique identifier for the job | [optional] |
|
8
|
+
| **type** | **String** | Job type identifier. Will always be \"update_job\" for bulk upsert operations | [optional] |
|
9
|
+
| **status** | **String** | Current status of the job (e.g., Success, Failed, InProgress) | [optional] |
|
10
|
+
| **error_message** | **String** | Error message if the job failed, null otherwise | [optional] |
|
11
|
+
| **total_processed** | **Integer** | Total number of forms processed. Value can be 0 or another value based on what the job has available | [optional] |
|
12
|
+
| **total_rows** | **Integer** | Total number of forms in the request. Value can be 0 or another value based on what the job has available | [optional] |
|
13
|
+
| **updated_valid** | **Integer** | Number of forms updated and valid for e-filing and e-delivery. Value can be 0 or another value based on what the job has available | [optional] |
|
14
|
+
| **updated_no_email** | **Integer** | Number of forms updated and valid for e-filing but missing email or email is undeliverable. Value can be 0 or another value based on what the job has available | [optional] |
|
15
|
+
| **updated_invalid** | **Integer** | Number of forms updated but invalid for e-filing. Value can be 0 or another value based on what the job has available | [optional] |
|
16
|
+
| **skipped_duplicate** | **Integer** | Number of forms skipped because they would have updated a record already updated once in the request. Value can be 0 or another value based on what the job has available | [optional] |
|
17
|
+
| **skipped_invalid** | **Integer** | Number of forms skipped because they would have made a form invalid and the form is already e-filed or scheduled for e-filing. Value can be 0 or another value based on what the job has available | [optional] |
|
18
|
+
| **skipped_multiple_matches** | **Integer** | Number of forms skipped because they matched multiple forms. Value can be 0 or another value based on what the job has available | [optional] |
|
19
|
+
| **not_found** | **Integer** | Number of forms skipped because no matching form or issuer could be found. Value can be 0 or another value based on what the job has available | [optional] |
|
20
|
+
| **created_invalid** | **Integer** | Number of new forms created because no matching form could be found (and `upsert` was true) - with errors. Value can be 0 or another value based on what the job has available | [optional] |
|
21
|
+
| **created_no_email** | **Integer** | Number of new forms created because no matching form could be found (and `upsert` was true) - valid for e-filing but missing email or email is undeliverable. Value can be 0 or another value based on what the job has available | [optional] |
|
22
|
+
| **created_valid** | **Integer** | Number of new forms created because no matching form could be found (and `upsert` was true) - valid for e-filing and e-delivery. Value can be 0 or another value based on what the job has available | [optional] |
|
23
|
+
| **dry_run** | **Boolean** | Dry run. If `true`, this job only simulates the changes but doesn't actually persist them. | [optional] |
|
24
|
+
| **upsert** | **Boolean** | Upsert. If `true`, this job will first attempt to update existing records if matches can be found. Matches are done in the following order: Form ID, Form Reference ID and tax year, Form TIN and tax year. | [optional] |
|
25
|
+
| **link** | **String** | Link to access the job details | [optional] |
|
26
|
+
| **processed_forms** | [**Array<Get1099Form200Response>**](Get1099Form200Response.md) | List of processed forms returned when bulk-upsert processes ≤1000 records. Same format as GET /1099/forms response. Only available in bulk-upsert endpoint responses. | [optional] |
|
27
|
+
|
28
|
+
## Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'avalara_sdk'
|
32
|
+
|
33
|
+
instance = AvalaraSdk::A1099::V2::JobResponse.new(
|
34
|
+
id: null,
|
35
|
+
type: null,
|
36
|
+
status: null,
|
37
|
+
error_message: null,
|
38
|
+
total_processed: null,
|
39
|
+
total_rows: null,
|
40
|
+
updated_valid: null,
|
41
|
+
updated_no_email: null,
|
42
|
+
updated_invalid: null,
|
43
|
+
skipped_duplicate: null,
|
44
|
+
skipped_invalid: null,
|
45
|
+
skipped_multiple_matches: null,
|
46
|
+
not_found: null,
|
47
|
+
created_invalid: null,
|
48
|
+
created_no_email: null,
|
49
|
+
created_valid: null,
|
50
|
+
dry_run: null,
|
51
|
+
upsert: null,
|
52
|
+
link: null,
|
53
|
+
processed_forms: null
|
54
|
+
)
|
55
|
+
```
|
56
|
+
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# AvalaraSdk::A1099::V2::JobsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.sbx.avalara.com/avalara1099*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**get_job**](JobsApi.md#get_job) | **GET** /jobs/{id} | Retrieves information about the job |
|
8
|
+
|
9
|
+
|
10
|
+
## get_job
|
11
|
+
|
12
|
+
> <JobResponse> get_job(id, avalara_version, opts)
|
13
|
+
|
14
|
+
Retrieves information about the job
|
15
|
+
|
16
|
+
Retrieves information about the job
|
17
|
+
|
18
|
+
### Examples
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'time'
|
22
|
+
require 'avalara_sdk'
|
23
|
+
# setup authorization
|
24
|
+
AvalaraSdk::A1099::V2.configure do |config|
|
25
|
+
# See Documentation for Authorization section in main README.md for more auth examples.
|
26
|
+
config.bearer_token='<Your Avalara Identity Access Token>'
|
27
|
+
config.environment='sandbox'
|
28
|
+
config.app_name='testApp'
|
29
|
+
config.app_version='1.2.3'
|
30
|
+
config.machine_name='testMachine'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_client = AvalaraSdk::ApiClient.new config
|
34
|
+
api_instance = AvalaraSdk::A1099::V2::JobsApi.new api_client
|
35
|
+
|
36
|
+
id = 'id_example' # String | Job id obtained from other API responses, like `/1099/bulk-upsert`.
|
37
|
+
avalara_version = '2.0.0' # String | API version
|
38
|
+
opts = {
|
39
|
+
x_correlation_id: 'af6414fe-0bd6-4ddb-91bb-43108aa78fa5', # String | Unique correlation Id in a GUID format
|
40
|
+
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/) .
|
41
|
+
}
|
42
|
+
|
43
|
+
begin
|
44
|
+
# Retrieves information about the job
|
45
|
+
result = api_instance.get_job(id, avalara_version, opts)
|
46
|
+
p result
|
47
|
+
rescue AvalaraSdk::ApiError => e
|
48
|
+
puts "Error when calling JobsApi->get_job: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
#### Using the get_job_with_http_info variant
|
53
|
+
|
54
|
+
This returns an Array which contains the response data, status code and headers.
|
55
|
+
|
56
|
+
> <Array(<JobResponse>, Integer, Hash)> get_job_with_http_info(id, avalara_version, opts)
|
57
|
+
|
58
|
+
```ruby
|
59
|
+
begin
|
60
|
+
# Retrieves information about the job
|
61
|
+
data, status_code, headers = api_instance.get_job_with_http_info(id, avalara_version, opts)
|
62
|
+
p status_code # => 2xx
|
63
|
+
p headers # => { ... }
|
64
|
+
p data # => <JobResponse>
|
65
|
+
rescue AvalaraSdk::A1099::V2::ApiError => e
|
66
|
+
puts "Error when calling JobsApi->get_job_with_http_info: #{e}"
|
67
|
+
end
|
68
|
+
```
|
69
|
+
|
70
|
+
### Parameters
|
71
|
+
|
72
|
+
| Name | Type | Description | Notes |
|
73
|
+
| ---- | ---- | ----------- | ----- |
|
74
|
+
| **id** | **String** | Job id obtained from other API responses, like `/1099/bulk-upsert`. | |
|
75
|
+
| **avalara_version** | **String** | API version | |
|
76
|
+
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
77
|
+
| **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] |
|
78
|
+
|
79
|
+
### Return type
|
80
|
+
|
81
|
+
[**JobResponse**](JobResponse.md)
|
82
|
+
|
83
|
+
### Authorization
|
84
|
+
|
85
|
+
[bearer](../../../README.md#documentation-for-authorization)
|
86
|
+
|
87
|
+
### HTTP request headers
|
88
|
+
|
89
|
+
- **Content-Type**: Not defined
|
90
|
+
- **Accept**: application/json
|
91
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# AvalaraSdk::A1099::V2::OfferAndCoverage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **Integer** | Id | [optional][readonly] |
|
8
|
+
| **month** | **String** | Month of coverage. Available values: - All: All months - January: January - February: February - March: March - April: April - May: May - June: June - July: July - August: August - September: September - October: October - November: November - December: December | [optional] |
|
9
|
+
| **offer_code** | **String** | Offer of Coverage Code. Required if Share has a value, including zero. Available values: Pre-ICHRA Codes (available before 2020): - 1A: Qualifying offer: minimum essential coverage providing minimum value offered to full-time employee with employee required contribution ≤ 9.5% (as adjusted) of mainland single federal poverty line and at least minimum essential coverage offered to spouse and dependent(s) - 1B: Minimum essential coverage providing minimum value offered to employee only - 1C: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage offered to dependent(s) (not spouse) - 1D: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage offered to spouse (not dependent(s)) - 1E: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage offered to dependent(s) and spouse - 1F: Minimum essential coverage NOT providing minimum value offered to employee; employee and spouse or dependent(s); or employee, spouse, and dependents - 1G: Offer of coverage to an individual who was not an employee or not a full-time employee and who enrolled in self-insured coverage - 1H: No offer of coverage (employee not offered any health coverage or employee offered coverage that is not minimum essential coverage) - 1J: Minimum essential coverage providing minimum value offered to employee and at least minimum essential coverage conditionally offered to spouse; minimum essential coverage not offered to dependent(s) - 1K: Minimum essential coverage providing minimum value offered to employee; at least minimum essential coverage offered to dependents; and at least minimum essential coverage conditionally offered to spouse ICHRA Codes (introduced 2020, require ZIP code): - 1L: Individual coverage HRA offered to employee only - 1M: Individual coverage HRA offered to employee and dependent(s) (not spouse) - 1N: Individual coverage HRA offered to employee, spouse, and dependent(s) - 1O: Individual coverage HRA offered to employee only using employment site ZIP code affordability safe harbor - 1P: Individual coverage HRA offered to employee and dependent(s) (not spouse) using employment site ZIP code affordability safe harbor - 1Q: Individual coverage HRA offered to employee, spouse, and dependent(s) using employment site ZIP code affordability safe harbor - 1R: Individual coverage HRA that is NOT affordable - 1S: Individual coverage HRA offered to an individual who was not a full-time employee - 1T: Individual coverage HRA offered to employee and spouse (not dependents) - 1U: Individual coverage HRA offered to employee and spouse (not dependents) using employment site ZIP code affordability safe harbor Note: Codes 1B, 1C, 1D, 1E, 1J, 1K, 1L, 1M, 1N, 1O, 1P, 1Q, 1T, 1U require employee share amount (0.00 is a valid value). | [optional] |
|
10
|
+
| **share** | **Float** | Employee required contribution share - Employee Share of Lowest Cost Monthly Premium, for Self-Only Minimum Value Coverage - May not exceed 3499.99 | [optional] |
|
11
|
+
| **safe_harbor_code** | **String** | Safe harbor code - Applicable Section 4980H Safe Harbor Code. Available values: - 2A: Form W-2 safe harbor - 2B: Federal poverty line safe harbor - 2C: Rate of pay safe harbor - 2D: Part-time employee safe harbor for employees who were not full-time for any month of the year - 2E: Multiemployer interim rule relief - 2F: Qualifying offer method - 2G: Qualifying offer transition relief - 2H: Other affordability safe harbor | [optional] |
|
12
|
+
| **zip_code** | **String** | ZIP/postal code. For coverage area (optional, unless codes 1L to 1U are used). | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'avalara_sdk'
|
18
|
+
|
19
|
+
instance = AvalaraSdk::A1099::V2::OfferAndCoverage.new(
|
20
|
+
id: null,
|
21
|
+
month: null,
|
22
|
+
offer_code: null,
|
23
|
+
share: null,
|
24
|
+
safe_harbor_code: null,
|
25
|
+
zip_code: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# AvalaraSdk::A1099::V2::PaginatedQueryResultModelForm1099Base
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **recordset_count** | **Integer** | | [optional] |
|
8
|
+
| **value** | [**Array<Get1099Form200Response>**](Get1099Form200Response.md) | | [optional] |
|
9
|
+
| **next_link** | **String** | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'avalara_sdk'
|
15
|
+
|
16
|
+
instance = AvalaraSdk::A1099::V2::PaginatedQueryResultModelForm1099Base.new(
|
17
|
+
recordset_count: null,
|
18
|
+
value: null,
|
19
|
+
next_link: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
7
|
+
| **name** | **String** | Name of the primary withholding agent | |
|
8
|
+
| **ein** | **String** | EIN (Employer Identification Number) of the primary withholding agent. | |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -13,8 +13,8 @@
|
|
13
13
|
require 'avalara_sdk'
|
14
14
|
|
15
15
|
instance = AvalaraSdk::A1099::V2::PrimaryWithholdingAgent.new(
|
16
|
-
|
17
|
-
|
16
|
+
name: null,
|
17
|
+
ein: null
|
18
18
|
)
|
19
19
|
```
|
20
20
|
|
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **state_tax_withheld** | **Float** |
|
8
|
-
| **state** | **String** |
|
9
|
-
| **state_id_number** | **String** |
|
10
|
-
| **state_income** | **Float** |
|
11
|
-
| **local_tax_withheld** | **Float** |
|
12
|
-
| **locality** | **String** |
|
13
|
-
| **locality_id_number** | **String** |
|
14
|
-
| **local_income** | **Float** |
|
7
|
+
| **state_tax_withheld** | **Float** | Amount of state tax that was withheld | [optional] |
|
8
|
+
| **state** | **String** | US state | [optional] |
|
9
|
+
| **state_id_number** | **String** | State ID number of the entity issuing the form | [optional] |
|
10
|
+
| **state_income** | **Float** | Amount of state income | [optional] |
|
11
|
+
| **local_tax_withheld** | **Float** | Amount of local tax that was withheld | [optional] |
|
12
|
+
| **locality** | **String** | Locality name | [optional] |
|
13
|
+
| **locality_id_number** | **String** | Locality ID number of the entity issuing the form | [optional] |
|
14
|
+
| **local_income** | **Float** | Amount of local income | [optional] |
|
15
15
|
|
16
16
|
## Example
|
17
17
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **field** | **String** |
|
8
|
-
| **errors** | **Array<String>** |
|
7
|
+
| **field** | **String** | The field containing the error | [optional] |
|
8
|
+
| **errors** | **Array<String>** | The list of error messages | [optional] |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|