avalara_sdk 26.4.0 → 26.5.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 +3 -3
- data/README.md +1 -0
- data/docs/A1099/V2/CompaniesW9Api.md +5 -5
- data/docs/A1099/V2/Form1042S.md +4 -2
- data/docs/A1099/V2/Form1099ListRequest.md +1 -1
- data/docs/A1099/V2/Form1099W2.md +156 -0
- data/docs/A1099/V2/Forms1099Api.md +7 -7
- data/docs/A1099/V2/FormsW9Api.md +9 -9
- data/docs/A1099/V2/Get1099Form200Response.md +41 -1
- data/docs/A1099/V2/IntermediaryOrFlowThrough.md +1 -1
- data/docs/A1099/V2/Issuers1099Api.md +5 -5
- data/docs/A1099/V2/JobsApi.md +1 -1
- data/docs/A1099/V2/W8BenEFormRequest.md +3 -3
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +2 -2
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +2 -2
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +2 -2
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +2 -2
- data/lib/avalara_sdk/api/A1099/V2/jobs_api.rb +2 -2
- data/lib/avalara_sdk/api/EInvoicing/V1/code_lists_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/reports_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_base.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/company_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/company_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/covered_individual.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/create_and_send_w9_form_email_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/create_w9_form201_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/create_w9_form_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/entry_status_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_response_item.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +21 -10
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1095_c.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_request.rb +4 -4
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_w2.rb +1041 -0
- data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +29 -70
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +4 -4
- data/lib/avalara_sdk/models/A1099/V2/irs_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/issuer_base.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/issuer_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/job_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/offer_and_coverage.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_company_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_form1099_base.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_issuer_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model_w9_form_base_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/tin_match_status_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/validation_error.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w4_form_minimal_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +1 -13
- data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_minimal_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +10 -10
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_minimal_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_minimal_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_minimal_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w9_form_minimal_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +1 -13
- data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +1 -1
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +1 -0
- data/vendor/bundle/ruby/3.3.0/cache/faraday-1.10.5.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/faraday-retry-1.0.4.gem +0 -0
- 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
- data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/connection.rb +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/version.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/connection_spec.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/{faraday-retry-1.0.3 → faraday-retry-1.0.4}/CHANGELOG.md +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/{faraday-retry-1.0.3 → faraday-retry-1.0.4}/README.md +3 -2
- data/vendor/bundle/ruby/3.3.0/gems/{faraday-retry-1.0.3 → faraday-retry-1.0.4}/lib/faraday/retry/version.rb +1 -1
- data/vendor/bundle/ruby/3.3.0/specifications/{faraday-1.10.4.gemspec → faraday-1.10.5.gemspec} +0 -0
- data/vendor/bundle/ruby/3.3.0/specifications/{faraday-retry-1.0.3.gemspec → faraday-retry-1.0.4.gemspec} +6 -6
- metadata +107 -105
- data/vendor/bundle/ruby/3.3.0/cache/faraday-1.10.4.gem +0 -0
- data/vendor/bundle/ruby/3.3.0/cache/faraday-retry-1.0.3.gem +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/CHANGELOG.md +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/README.md +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/Rakefile +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/examples/client_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/examples/client_test.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/adapter/test.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/adapter/typhoeus.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/adapter.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/adapter_registry.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/autoload.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/dependency_loader.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/deprecate.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/encoders/flat_params_encoder.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/encoders/nested_params_encoder.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/error.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/logging/formatter.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/methods.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/middleware.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/middleware_registry.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/options/connection_options.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/options/env.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/options/proxy_options.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/options/request_options.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/options/ssl_options.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/options.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/parameters.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/rack_builder.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/request/authorization.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/request/basic_authentication.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/request/instrumentation.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/request/json.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/request/token_authentication.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/request/url_encoded.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/request.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/response/json.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/response/logger.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/response/raise_error.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/response.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/utils/headers.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/utils/params_hash.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday/utils.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/lib/faraday.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/external_adapters/faraday_specs_setup.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter/em_http_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter/em_synchrony_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter/excon_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter/httpclient_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter/net_http_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter/patron_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter/rack_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter/test_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter/typhoeus_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter_registry_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/adapter_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/composite_read_io_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/deprecate_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/error_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/middleware_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/options/env_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/options/options_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/options/proxy_options_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/options/request_options_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/params_encoders/flat_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/params_encoders/nested_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/rack_builder_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/request/authorization_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/request/instrumentation_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/request/json_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/request/url_encoded_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/request_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/response/json_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/response/logger_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/response/middleware_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/response/raise_error_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/response_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/utils/headers_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday/utils_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/faraday_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/spec_helper.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/support/disabling_stub.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/support/fake_safe_buffer.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/support/helper_methods.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/support/shared_examples/adapter.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/support/shared_examples/params_encoder.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/support/shared_examples/request_method.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/support/streaming_response_checker.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-1.10.4 → faraday-1.10.5}/spec/support/webmock_rack_app.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-retry-1.0.3 → faraday-retry-1.0.4}/LICENSE.md +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-retry-1.0.3 → faraday-retry-1.0.4}/lib/faraday/retriable_response.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-retry-1.0.3 → faraday-retry-1.0.4}/lib/faraday/retry/middleware.rb +0 -0
- /data/vendor/bundle/ruby/3.3.0/gems/{faraday-retry-1.0.3 → faraday-retry-1.0.4}/lib/faraday/retry.rb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61f55b006366e4377d9c04d19e3a44ef97ff21bf19200f00178e43f3b4414c64
|
|
4
|
+
data.tar.gz: b948bdc3ab364f2ad61d31fbbe7bd804a76f27e67918d2d35149d7ec7b9361ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30c414abdc443529950cc56ba1ea0bce76e7800366ba25d7ac1aa2a5e2bc80cdb52664ab641fe7f1544f4cee3c8fd970c1789a96fb66c50aeacaaaefefb4e21a
|
|
7
|
+
data.tar.gz: 0c51571ecae1cbdf618d1d3bb9e65a61ac295b6d3f62472224c5fed46c6f129aaf896e2d6c82a03c07546af006cd54b0a98f222dbbefe4d85e3c56b218fcd931
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
avalara_sdk (
|
|
4
|
+
avalara_sdk (26.4.0)
|
|
5
5
|
faraday (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -17,7 +17,7 @@ GEM
|
|
|
17
17
|
diff-lcs (1.6.2)
|
|
18
18
|
dotenv (2.7.6)
|
|
19
19
|
erb (5.0.1)
|
|
20
|
-
faraday (1.10.
|
|
20
|
+
faraday (1.10.5)
|
|
21
21
|
faraday-em_http (~> 1.0)
|
|
22
22
|
faraday-em_synchrony (~> 1.0)
|
|
23
23
|
faraday-excon (~> 1.1)
|
|
@@ -39,7 +39,7 @@ GEM
|
|
|
39
39
|
faraday-net_http_persistent (1.2.0)
|
|
40
40
|
faraday-patron (1.0.0)
|
|
41
41
|
faraday-rack (1.0.0)
|
|
42
|
-
faraday-retry (1.0.
|
|
42
|
+
faraday-retry (1.0.4)
|
|
43
43
|
io-console (0.8.0)
|
|
44
44
|
irb (1.15.2)
|
|
45
45
|
pp (>= 0.6.0)
|
data/README.md
CHANGED
|
@@ -227,6 +227,7 @@ Class | Method | HTTP request | Description
|
|
|
227
227
|
- [models.Form1099Nec](docs/A1099/V2/Form1099Nec.md)
|
|
228
228
|
- [models.Form1099R](docs/A1099/V2/Form1099R.md)
|
|
229
229
|
- [models.Form1099StatusDetail](docs/A1099/V2/Form1099StatusDetail.md)
|
|
230
|
+
- [models.Form1099W2](docs/A1099/V2/Form1099W2.md)
|
|
230
231
|
- [models.Get1099Form200Response](docs/A1099/V2/Get1099Form200Response.md)
|
|
231
232
|
- [models.IntermediaryOrFlowThrough](docs/A1099/V2/IntermediaryOrFlowThrough.md)
|
|
232
233
|
- [models.IrsResponse](docs/A1099/V2/IrsResponse.md)
|
|
@@ -39,7 +39,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.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: 'd8a91153-a928-4bb1-9bdf-3108ec7a303d', # 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
|
company_request: AvalaraSdk::A1099::V2::CompanyRequest.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CompanyRequest | The company to create
|
|
45
45
|
}
|
|
@@ -123,7 +123,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
|
|
|
123
123
|
id = 'id_example' # String | The company to delete
|
|
124
124
|
avalara_version = '2.0.0' # String | API version
|
|
125
125
|
opts = {
|
|
126
|
-
x_correlation_id: '
|
|
126
|
+
x_correlation_id: '0f8143df-fd6a-47a4-9612-f0b1def1d6b0', # 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
|
|
|
@@ -210,7 +210,7 @@ opts = {
|
|
|
210
210
|
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
|
211
211
|
count: true, # Boolean | If true, return the global count of elements in the collection.
|
|
212
212
|
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
|
213
|
-
x_correlation_id: '
|
|
213
|
+
x_correlation_id: '0f6ead76-1245-4eb9-9f7c-925733e9d4a7', # 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
|
|
|
@@ -298,7 +298,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
|
|
|
298
298
|
id = 'id_example' # String | Id of the company
|
|
299
299
|
avalara_version = '2.0.0' # String | API version
|
|
300
300
|
opts = {
|
|
301
|
-
x_correlation_id: '
|
|
301
|
+
x_correlation_id: '5d11a039-7f81-4ec9-b32f-b665ffe488e5', # String | Unique correlation Id in a GUID format
|
|
302
302
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
303
303
|
}
|
|
304
304
|
|
|
@@ -381,7 +381,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
|
|
|
381
381
|
id = 'id_example' # String | The ID of the company to update
|
|
382
382
|
avalara_version = '2.0.0' # String | API version
|
|
383
383
|
opts = {
|
|
384
|
-
x_correlation_id: '
|
|
384
|
+
x_correlation_id: '8e190a86-7ec8-4984-9126-c2d48e2ccdfc', # 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
|
company_request: AvalaraSdk::A1099::V2::CompanyRequest.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CompanyRequest | The updated company data
|
|
387
387
|
}
|
data/docs/A1099/V2/Form1042S.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
| **recipient_giin** | **String** | Recipient's Global Intermediary Identification Number (GIIN). A valid GIIN looks like 'XXXXXX.XXXXX.XX.XXX'. | [optional] |
|
|
11
11
|
| **recipient_foreign_tin** | **String** | Recipient's foreign TIN. Required if email is specified, must fill either this or Chap3StatusCode. | [optional] |
|
|
12
12
|
| **lob_code** | **String** | Limitation on Benefits (LOB) code for tax treaty purposes. Available values: - 01: Individual (Deprecated - valid only for tax years prior to 2019) - 02: Government - contracting state/political subdivision/local authority - 03: Tax exempt pension trust/Pension fund - 04: Tax exempt/Charitable organization - 05: Publicly-traded corporation - 06: Subsidiary of publicly-traded corporation - 07: Company that meets the ownership and base erosion test - 08: Company that meets the derivative benefits test - 09: Company with an item of income that meets the active trade or business test - 10: Discretionary determination - 11: Other - 12: No LOB article in treaty | [optional] |
|
|
13
|
-
| **income_code** | **String** | Income code. Available values: Interest: - 01: Interest paid by US obligors - general - 02: Interest paid on real property mortgages - 03: Interest paid to controlling foreign corporations - 04: Interest paid by foreign corporations - 05: Interest on tax-free covenant bonds - 22: Interest paid on deposit with a foreign branch of a domestic corporation or partnership - 29: Deposit interest - 30: Original issue discount (OID) - 31: Short-term OID - 33: Substitute payment - interest - 51: Interest paid on certain actively traded or publicly offered securities(1) - 54: Substitute payments - interest from certain actively traded or publicly offered securities(1) Dividend: - 06: Dividends paid by U.S. corporations - general - 07: Dividends qualifying for direct dividend rate - 08: Dividends paid by foreign corporations - 34: Substitute payment - dividends - 40: Other dividend equivalents under IRC section 871(m) (formerly 871(l)) - 52: Dividends paid on certain actively traded or publicly offered securities(1) - 53: Substitute payments - dividends from certain actively traded or publicly offered securities(1) - 56: Dividend equivalents under IRC section 871(m) as a result of applying the combined transaction rules Other: - 09: Capital gains - 10: Industrial royalties - 11: Motion picture or television copyright royalties - 12: Other royalties (for example, copyright, software, broadcasting, endorsement payments) - 13: Royalties paid on certain publicly offered securities(1) - 14: Real property income and natural resources royalties - 15: Pensions, annuities, alimony, and/or insurance premiums - 16: Scholarship or fellowship grants - 17: Compensation for independent personal services(2) - 18: Compensation for dependent personal services(2) - 19: Compensation for teaching(2) - 20: Compensation during studying and training(2) - 23: Other income - 24: Qualified investment entity (QIE) distributions of capital gains - 25: Trust distributions subject to IRC section 1445 - 26: Unsevered growing crops and timber distributions by a trust subject to IRC section 1445 - 27: Publicly traded partnership distributions subject to IRC section 1446 - 28: Gambling winnings(3) - 32: Notional principal contract income(4) - 35: Substitute payment - other - 36: Capital gains distributions - 37: Return of capital - 38: Eligible deferred compensation items subject to IRC section 877A(d)(1) - 39: Distributions from a nongrantor trust subject to IRC section 877A(f)(1) - 41: Guarantee of indebtedness - 42: Earnings as an artist or athlete - no central withholding agreement(5) - 43: Earnings as an artist or athlete - central withholding agreement(5) - 44: Specified Federal procurement payments - 50: Income previously reported under escrow procedure(6) - 55: Taxable death benefits on life insurance contracts - 57: Amount realized under IRC section 1446(f) - 58: Publicly traded partnership distributions-undetermined | |
|
|
13
|
+
| **income_code** | **String** | Income code. Available values: Interest: - 01: Interest paid by US obligors - general - 02: Interest paid on real property mortgages - 03: Interest paid to controlling foreign corporations - 04: Interest paid by foreign corporations - 05: Interest on tax-free covenant bonds - 22: Interest paid on deposit with a foreign branch of a domestic corporation or partnership - 29: Deposit interest - 30: Original issue discount (OID) - 31: Short-term OID - 33: Substitute payment - interest - 51: Interest paid on certain actively traded or publicly offered securities(1) - 54: Substitute payments - interest from certain actively traded or publicly offered securities(1) Dividend: - 06: Dividends paid by U.S. corporations - general - 07: Dividends qualifying for direct dividend rate - 08: Dividends paid by foreign corporations - 34: Substitute payment - dividends - 40: Other dividend equivalents under IRC section 871(m) (formerly 871(l)) - 52: Dividends paid on certain actively traded or publicly offered securities(1) - 53: Substitute payments - dividends from certain actively traded or publicly offered securities(1) - 56: Dividend equivalents under IRC section 871(m) as a result of applying the combined transaction rules Other: - 09: Capital gains - 10: Industrial royalties - 11: Motion picture or television copyright royalties - 12: Other royalties (for example, copyright, software, broadcasting, endorsement payments) - 13: Royalties paid on certain publicly offered securities(1) - 14: Real property income and natural resources royalties - 15: Pensions, annuities, alimony, and/or insurance premiums - 16: Scholarship or fellowship grants - 17: Compensation for independent personal services(2) - 18: Compensation for dependent personal services(2) - 19: Compensation for teaching(2) - 20: Compensation during studying and training(2) - 23: Other income - 24: Qualified investment entity (QIE) distributions of capital gains - 25: Trust distributions subject to IRC section 1445 - 26: Unsevered growing crops and timber distributions by a trust subject to IRC section 1445 - 27: Publicly traded partnership distributions subject to IRC section 1446 - 28: Gambling winnings(3) - 32: Notional principal contract income(4) - 35: Substitute payment - other - 36: Capital gains distributions - 37: Return of capital - 38: Eligible deferred compensation items subject to IRC section 877A(d)(1) - 39: Distributions from a nongrantor trust subject to IRC section 877A(f)(1) - 41: Guarantee of indebtedness - 42: Earnings as an artist or athlete - no central withholding agreement(5) - 43: Earnings as an artist or athlete - central withholding agreement(5) - 44: Specified Federal procurement payments - 50: Income previously reported under escrow procedure(6) - 55: Taxable death benefits on life insurance contracts - 57: Amount realized under IRC section 1446(f) - 58: Publicly traded partnership distributions-undetermined - 59: Consent fees - 60: Loan syndication fees - 61: Settlement payments | |
|
|
14
14
|
| **gross_income** | **Float** | Gross income | |
|
|
15
15
|
| **withholding_indicator** | **String** | Withholding indicator Available values: - 3: Chapter 3 - 4: Chapter 4 | |
|
|
16
16
|
| **tax_country_code** | **String** | Country code | |
|
|
@@ -21,10 +21,11 @@
|
|
|
21
21
|
| **federal_tax_withheld** | **Float** | Federal tax withheld | [optional] |
|
|
22
22
|
| **tax_not_deposited_indicator** | **Boolean** | Tax not deposited indicator | [optional] |
|
|
23
23
|
| **academic_indicator** | **Boolean** | Academic indicator | [optional] |
|
|
24
|
+
| **withholding_rate_pool_indicator** | **Boolean** | Box 7d withholding rate pool indicator | [optional] |
|
|
24
25
|
| **tax_withheld_other_agents** | **Float** | Tax withheld by other agents | [optional] |
|
|
25
26
|
| **amount_repaid** | **Float** | Amount repaid to recipient | [optional] |
|
|
26
27
|
| **tax_paid_agent** | **Float** | Tax paid by withholding agent | [optional] |
|
|
27
|
-
| **chap3_status_code** | **String** | Chapter 3 status code - Required if WithholdingIndicator is 3 (Chapter 3). 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] |
|
|
28
|
+
| **chap3_status_code** | **String** | Chapter 3 status code - Required if WithholdingIndicator is 3 (Chapter 3). 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 - 40: Partnership QDD - 41: U.S. government entity or tax exempt entity (other than section 501(c) entities) | [optional] |
|
|
28
29
|
| **chap4_status_code** | **String** | Chapter 4 status code. Required if WithholdingIndicator is 4 (Chapter 4). Required if email is specified, must fill either this or RecipientForeignTin. 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] |
|
|
29
30
|
| **primary_withholding_agent** | [**PrimaryWithholdingAgent**](PrimaryWithholdingAgent.md) | Primary withholding agent information | [optional] |
|
|
30
31
|
| **intermediary_or_flow_through** | [**IntermediaryOrFlowThrough**](IntermediaryOrFlowThrough.md) | Intermediary or flow-through entity information | [optional] |
|
|
@@ -90,6 +91,7 @@ instance = AvalaraSdk::A1099::V2::Form1042S.new(
|
|
|
90
91
|
federal_tax_withheld: null,
|
|
91
92
|
tax_not_deposited_indicator: null,
|
|
92
93
|
academic_indicator: null,
|
|
94
|
+
withholding_rate_pool_indicator: null,
|
|
93
95
|
tax_withheld_other_agents: null,
|
|
94
96
|
amount_repaid: null,
|
|
95
97
|
tax_paid_agent: null,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **type** | **String** | Available form types: * `1042-S` * `1095-B` * `1095-C` * `1099-DIV` * `1099-INT` * `1099-K` * `1099-MISC` * `1099-NEC` * `1099-R` | [optional] |
|
|
7
|
+
| **type** | **String** | Available form types: * `1042-S` * `1095-B` * `1095-C` * `1099-DIV` * `1099-INT` * `1099-K` * `1099-MISC` * `1099-NEC` * `1099-R` * `W-2` | [optional] |
|
|
8
8
|
| **forms** | [**Array<Get1099Form200Response>**](Get1099Form200Response.md) | | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# AvalaraSdk::A1099::V2::Form1099W2
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **employee_first_name** | **String** | Employee first name (max 15 chars). | [optional] |
|
|
8
|
+
| **employee_middle_name** | **String** | Employee middle name (max 15 chars, optional). | [optional] |
|
|
9
|
+
| **employee_last_name** | **String** | Employee last name (max 20 chars). | [optional] |
|
|
10
|
+
| **employee_name_suffix** | **String** | Employee name suffix (Jr, Sr, III, etc — max 4 chars, optional). | [optional] |
|
|
11
|
+
| **wages** | **Float** | Wages, tips, other compensation. | [optional] |
|
|
12
|
+
| **federal_income_tax_withheld** | **Float** | Federal income tax withheld. | [optional] |
|
|
13
|
+
| **social_security_wages** | **Float** | Social security wages. | [optional] |
|
|
14
|
+
| **social_security_tax_withheld** | **Float** | Social security tax withheld. | [optional] |
|
|
15
|
+
| **medicare_wages** | **Float** | Medicare wages and tips. | [optional] |
|
|
16
|
+
| **medicare_tax_withheld** | **Float** | Medicare tax withheld. | [optional] |
|
|
17
|
+
| **social_security_tips** | **Float** | Social security tips. | [optional] |
|
|
18
|
+
| **allocated_tips** | **Float** | Allocated tips. | [optional] |
|
|
19
|
+
| **dependent_care_benefits** | **Float** | Dependent care benefits. | [optional] |
|
|
20
|
+
| **nonqualified_plans_section457** | **Float** | Non-qualified plan Section 457 distributions or contributions. | [optional] |
|
|
21
|
+
| **nonqualified_plans_not_section457** | **Float** | Non-qualified plan NOT Section 457 distributions or contributions. | [optional] |
|
|
22
|
+
| **code12a** | **String** | Letter code (A-Z, AA, BB, etc) for slot a. | [optional] |
|
|
23
|
+
| **amount12a** | **Float** | Amount for slot a. | [optional] |
|
|
24
|
+
| **code12b** | **String** | Letter code for slot b. | [optional] |
|
|
25
|
+
| **amount12b** | **Float** | Amount for slot b. | [optional] |
|
|
26
|
+
| **code12c** | **String** | Letter code for slot c. | [optional] |
|
|
27
|
+
| **amount12c** | **Float** | Amount for slot c. | [optional] |
|
|
28
|
+
| **code12d** | **String** | Letter code for slot d. | [optional] |
|
|
29
|
+
| **amount12d** | **Float** | Amount for slot d. | [optional] |
|
|
30
|
+
| **statutory_employee_indicator** | **Boolean** | Statutory employee indicator. | [optional] |
|
|
31
|
+
| **retirement_plan_indicator** | **Boolean** | Retirement plan indicator. | [optional] |
|
|
32
|
+
| **third_party_sick_pay_indicator** | **Boolean** | Third-party sick pay indicator. | [optional] |
|
|
33
|
+
| **third_party_sick_pay_withholding** | **Float** | Third-party sick pay federal income tax withheld (only effective when Avalara1099.Application.Forms1099.Models.Form1099W2.ThirdPartySickPayIndicator is true). | [optional] |
|
|
34
|
+
| **other14a** | **String** | Other (max 30 chars) for slot a. | [optional] |
|
|
35
|
+
| **other14b** | **String** | Other (max 30 chars) for slot b. | [optional] |
|
|
36
|
+
| **other14c** | **String** | Other (max 30 chars) for slot c. | [optional] |
|
|
37
|
+
| **state_and_local_withholding_secondary** | [**StateAndLocalWithholding**](StateAndLocalWithholding.md) | Secondary state and local withholding slot. | [optional] |
|
|
38
|
+
| **type** | **String** | Form type. | |
|
|
39
|
+
| **id** | **String** | Form ID. Unique identifier set when the record is created. | [optional][readonly] |
|
|
40
|
+
| **issuer_id** | **String** | Issuer ID - only required when creating forms | [optional] |
|
|
41
|
+
| **issuer_reference_id** | **String** | Issuer Reference ID - only required when creating forms via $bulk-upsert | [optional] |
|
|
42
|
+
| **issuer_tin** | **String** | Issuer TIN - readonly | [optional] |
|
|
43
|
+
| **tax_year** | **Integer** | Tax Year - only required when creating forms via $bulk-upsert | [optional] |
|
|
44
|
+
| **reference_id** | **String** | Internal reference ID. Never shown to any agency or recipient. | [optional] |
|
|
45
|
+
| **tin** | **String** | Recipient's Federal Tax Identification Number (TIN). | [optional] |
|
|
46
|
+
| **recipient_name** | **String** | Recipient name | |
|
|
47
|
+
| **tin_type** | **String** | Tax Identification Number (TIN) type. Available values: - EIN: Employer Identification Number - SSN: Social Security Number - ITIN: Individual Taxpayer Identification Number - ATIN: Adoption Taxpayer Identification Number | [optional] |
|
|
48
|
+
| **recipient_second_name** | **String** | Recipient second name | [optional] |
|
|
49
|
+
| **address** | **String** | Address. | |
|
|
50
|
+
| **address2** | **String** | Address line 2. | [optional] |
|
|
51
|
+
| **city** | **String** | City. | |
|
|
52
|
+
| **state** | **String** | Two-letter US state or Canadian province code (required for US/CA addresses). | [optional] |
|
|
53
|
+
| **zip** | **String** | ZIP/postal code. | [optional] |
|
|
54
|
+
| **email** | **String** | Recipient's Contact email address. | [optional] |
|
|
55
|
+
| **account_number** | **String** | Account number | [optional] |
|
|
56
|
+
| **office_code** | **String** | Office code | [optional] |
|
|
57
|
+
| **non_us_province** | **String** | Province or region for non-US/CA addresses. | [optional] |
|
|
58
|
+
| **country_code** | **String** | Two-letter IRS country code (e.g., 'US', 'CA'), as defined at https://www.irs.gov/e-file-providers/country-codes. | |
|
|
59
|
+
| **federal_efile_date** | **Date** | Date when federal e-filing should be scheduled. If set between current date and beginning of blackout period, scheduled to that date. If in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. Set to null to leave unscheduled. | [optional] |
|
|
60
|
+
| **postal_mail** | **Boolean** | Boolean indicating that postal mailing to the recipient should be scheduled for this form | [optional] |
|
|
61
|
+
| **state_efile_date** | **Date** | Date when state e-filing should be scheduled. Must be on or after federalEfileDate. If set between current date and beginning of blackout period, scheduled to that date. If in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. Set to null to leave unscheduled. | [optional] |
|
|
62
|
+
| **recipient_edelivery_date** | **Date** | Date when recipient e-delivery should be scheduled. If set between current date and beginning of blackout period, scheduled to that date. If in the past or blackout period, scheduled to next available date. For blackout period information, see https://www.track1099.com/info/IRS_info. Set to null to leave unscheduled. | [optional] |
|
|
63
|
+
| **tin_match** | **Boolean** | Boolean indicating that TIN Matching should be scheduled for this form | [optional] |
|
|
64
|
+
| **no_tin** | **Boolean** | No TIN indicator | [optional] |
|
|
65
|
+
| **address_verification** | **Boolean** | Boolean indicating that address verification should be scheduled for this form | [optional] |
|
|
66
|
+
| **state_and_local_withholding** | [**StateAndLocalWithholding**](StateAndLocalWithholding.md) | State and local withholding information | [optional] |
|
|
67
|
+
| **second_tin_notice** | **Boolean** | Second TIN notice | [optional] |
|
|
68
|
+
| **federal_efile_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | Federal e-file status. Available values: - unscheduled: Form has not been scheduled for federal e-filing - scheduled: Form is scheduled for federal e-filing - airlock: Form is in process of being uploaded to the IRS (forms exist in this state for a very short period and cannot be updated while in this state) - sent: Form has been sent to the IRS - accepted: Form was accepted by the IRS - corrected_scheduled: Correction is scheduled to be sent - corrected_airlock: Correction is in process of being uploaded to the IRS (forms exist in this state for a very short period and cannot be updated while in this state) - corrected: A correction has been sent to the IRS - corrected_accepted: Correction was accepted by the IRS - rejected: Form was rejected by the IRS - corrected_rejected: Correction was rejected by the IRS - held: Form is held and will not be submitted to IRS (used for certain forms submitted only to states) | [optional][readonly] |
|
|
69
|
+
| **state_efile_status** | [**Array<StateEfileStatusDetail>**](StateEfileStatusDetail.md) | State e-file status. Available values: - unscheduled: Form has not been scheduled for state e-filing - scheduled: Form is scheduled for state e-filing - airlocked: Form is in process of being uploaded to the state - sent: Form has been sent to the state - rejected: Form was rejected by the state - accepted: Form was accepted by the state - corrected_scheduled: Correction is scheduled to be sent - corrected_airlocked: Correction is in process of being uploaded to the state - corrected_sent: Correction has been sent to the state - corrected_rejected: Correction was rejected by the state - corrected_accepted: Correction was accepted by the state | [optional][readonly] |
|
|
70
|
+
| **postal_mail_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | Postal mail to recipient status. Available values: - unscheduled: Postal mail has not been scheduled - pending: Postal mail is pending to be sent - sent: Postal mail has been sent - delivered: Postal mail has been delivered | [optional][readonly] |
|
|
71
|
+
| **tin_match_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | TIN Match status. Available values: - none: TIN matching has not been performed - pending: TIN matching request is pending - matched: Name/TIN combination matches IRS records - unknown: TIN is missing, invalid, or request contains errors - rejected: Name/TIN combination does not match IRS records or TIN not currently issued | [optional][readonly] |
|
|
72
|
+
| **address_verification_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | Address verification status. Available values: - unknown: Address verification has not been checked - pending: Address verification is in progress - failed: Address verification failed - incomplete: Address verification is incomplete - unchanged: User declined address changes - verified: Address has been verified and accepted | [optional][readonly] |
|
|
73
|
+
| **e_delivery_status** | [**Form1099StatusDetail**](Form1099StatusDetail.md) | EDelivery status. Available values: - unscheduled: E-delivery has not been scheduled - scheduled: E-delivery is scheduled to be sent - sent: E-delivery has been sent to recipient - bounced: E-delivery bounced back (invalid email) - refused: E-delivery was refused by recipient - bad_verify: E-delivery failed verification - accepted: E-delivery was accepted by recipient - bad_verify_limit: E-delivery failed verification limit reached - second_delivery: Second e-delivery attempt - undelivered: E-delivery is undelivered (temporary state allowing resend) | [optional][readonly] |
|
|
74
|
+
| **validation_errors** | [**Array<ValidationError>**](ValidationError.md) | Validation errors | [optional][readonly] |
|
|
75
|
+
| **created_at** | **Time** | Date time when the record was created. | [optional][readonly] |
|
|
76
|
+
| **updated_at** | **Time** | Date time when the record was last updated. | [optional][readonly] |
|
|
77
|
+
|
|
78
|
+
## Example
|
|
79
|
+
|
|
80
|
+
```ruby
|
|
81
|
+
require 'avalara_sdk'
|
|
82
|
+
|
|
83
|
+
instance = AvalaraSdk::A1099::V2::Form1099W2.new(
|
|
84
|
+
employee_first_name: null,
|
|
85
|
+
employee_middle_name: null,
|
|
86
|
+
employee_last_name: null,
|
|
87
|
+
employee_name_suffix: null,
|
|
88
|
+
wages: null,
|
|
89
|
+
federal_income_tax_withheld: null,
|
|
90
|
+
social_security_wages: null,
|
|
91
|
+
social_security_tax_withheld: null,
|
|
92
|
+
medicare_wages: null,
|
|
93
|
+
medicare_tax_withheld: null,
|
|
94
|
+
social_security_tips: null,
|
|
95
|
+
allocated_tips: null,
|
|
96
|
+
dependent_care_benefits: null,
|
|
97
|
+
nonqualified_plans_section457: null,
|
|
98
|
+
nonqualified_plans_not_section457: null,
|
|
99
|
+
code12a: null,
|
|
100
|
+
amount12a: null,
|
|
101
|
+
code12b: null,
|
|
102
|
+
amount12b: null,
|
|
103
|
+
code12c: null,
|
|
104
|
+
amount12c: null,
|
|
105
|
+
code12d: null,
|
|
106
|
+
amount12d: null,
|
|
107
|
+
statutory_employee_indicator: null,
|
|
108
|
+
retirement_plan_indicator: null,
|
|
109
|
+
third_party_sick_pay_indicator: null,
|
|
110
|
+
third_party_sick_pay_withholding: null,
|
|
111
|
+
other14a: null,
|
|
112
|
+
other14b: null,
|
|
113
|
+
other14c: null,
|
|
114
|
+
state_and_local_withholding_secondary: null,
|
|
115
|
+
type: null,
|
|
116
|
+
id: null,
|
|
117
|
+
issuer_id: null,
|
|
118
|
+
issuer_reference_id: null,
|
|
119
|
+
issuer_tin: null,
|
|
120
|
+
tax_year: null,
|
|
121
|
+
reference_id: null,
|
|
122
|
+
tin: null,
|
|
123
|
+
recipient_name: null,
|
|
124
|
+
tin_type: null,
|
|
125
|
+
recipient_second_name: null,
|
|
126
|
+
address: null,
|
|
127
|
+
address2: null,
|
|
128
|
+
city: null,
|
|
129
|
+
state: null,
|
|
130
|
+
zip: null,
|
|
131
|
+
email: null,
|
|
132
|
+
account_number: null,
|
|
133
|
+
office_code: null,
|
|
134
|
+
non_us_province: null,
|
|
135
|
+
country_code: null,
|
|
136
|
+
federal_efile_date: null,
|
|
137
|
+
postal_mail: null,
|
|
138
|
+
state_efile_date: null,
|
|
139
|
+
recipient_edelivery_date: null,
|
|
140
|
+
tin_match: null,
|
|
141
|
+
no_tin: null,
|
|
142
|
+
address_verification: null,
|
|
143
|
+
state_and_local_withholding: null,
|
|
144
|
+
second_tin_notice: null,
|
|
145
|
+
federal_efile_status: null,
|
|
146
|
+
state_efile_status: null,
|
|
147
|
+
postal_mail_status: null,
|
|
148
|
+
tin_match_status: null,
|
|
149
|
+
address_verification_status: null,
|
|
150
|
+
e_delivery_status: null,
|
|
151
|
+
validation_errors: null,
|
|
152
|
+
created_at: null,
|
|
153
|
+
updated_at: null
|
|
154
|
+
)
|
|
155
|
+
```
|
|
156
|
+
|
|
@@ -42,7 +42,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
|
42
42
|
avalara_version = '2.0.0' # String | API version
|
|
43
43
|
opts = {
|
|
44
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: '
|
|
45
|
+
x_correlation_id: 'fd02f159-f2af-48e4-92b1-8185bcf20f90', # 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
|
}
|
|
@@ -126,7 +126,7 @@ 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: 'b5153c6c-b731-4d1d-a3fb-d618e239d65c', # 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: '1042-S', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
|
|
132
132
|
}
|
|
@@ -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: 'e9de0484-cb5a-4d77-aeb0-06ed67420a2d', # 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: 'f9e45fdc-29d9-456e-b5b6-ce3218225878', # 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: '8c295caf-1568-4d0d-8e0c-7152a9204c11', # 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
|
|
|
@@ -465,7 +465,7 @@ opts = {
|
|
|
465
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
466
|
count: true, # Boolean | If true, return the global count of elements in the collection.
|
|
467
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: '
|
|
468
|
+
x_correlation_id: '857d60b8-f4d6-4f00-bc39-3bcf1d8d72f6', # String | Unique correlation Id in a GUID format
|
|
469
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/) .
|
|
470
470
|
}
|
|
471
471
|
|
|
@@ -553,7 +553,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
|
553
553
|
id = 'id_example' # String |
|
|
554
554
|
avalara_version = '2.0.0' # String | API version
|
|
555
555
|
opts = {
|
|
556
|
-
x_correlation_id: '
|
|
556
|
+
x_correlation_id: '0d0b68af-3130-4571-a05e-a21427cbf280', # String | Unique correlation Id in a GUID format
|
|
557
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/) .
|
|
558
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: '1042-S', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
|
|
559
559
|
}
|
data/docs/A1099/V2/FormsW9Api.md
CHANGED
|
@@ -43,7 +43,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
43
43
|
|
|
44
44
|
avalara_version = '2.0.0' # String | API version
|
|
45
45
|
opts = {
|
|
46
|
-
x_correlation_id: '
|
|
46
|
+
x_correlation_id: '0b0e88b5-6443-4c90-a5c9-28bde5a4d4a0', # String | Unique correlation Id in a GUID format
|
|
47
47
|
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/) .
|
|
48
48
|
create_and_send_w9_form_email_request: AvalaraSdk::A1099::V2::W4FormMinimalRequest.new({email: 'email_example', employee_first_name: 'employee_first_name_example', employee_last_name: 'employee_last_name_example'}) # CreateAndSendW9FormEmailRequest | Form to be created
|
|
49
49
|
}
|
|
@@ -126,7 +126,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.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: '3439cc97-e4ae-482a-8d89-ed3bee63a053', # 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
|
create_w9_form_request: AvalaraSdk::A1099::V2::W4FormRequest.new({employee_first_name: 'employee_first_name_example', employee_last_name: 'employee_last_name_example', tin_type: 'tin_type_example', tin: 'tin_example'}) # CreateW9FormRequest | Form to be created
|
|
132
132
|
}
|
|
@@ -210,7 +210,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
210
210
|
id = 'id_example' # String | ID of the form to delete
|
|
211
211
|
avalara_version = '2.0.0' # String | API version
|
|
212
212
|
opts = {
|
|
213
|
-
x_correlation_id: '
|
|
213
|
+
x_correlation_id: 'f712b02e-1b2f-482f-89ac-c809e42238f4', # 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::FormsW9Api.new api_client
|
|
|
292
292
|
id = 'id_example' # String | ID of the form
|
|
293
293
|
avalara_version = '2.0.0' # String | API version
|
|
294
294
|
opts = {
|
|
295
|
-
x_correlation_id: '
|
|
295
|
+
x_correlation_id: '636fe950-3af0-42df-95ed-0868ba340628', # 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
|
|
|
@@ -375,7 +375,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
375
375
|
id = 'id_example' # String | Id of the form
|
|
376
376
|
avalara_version = '2.0.0' # String | API version
|
|
377
377
|
opts = {
|
|
378
|
-
x_correlation_id: '
|
|
378
|
+
x_correlation_id: '378b0ba7-8d33-499d-a7d4-8bdc3a3648f8', # String | Unique correlation Id in a GUID format
|
|
379
379
|
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/) .
|
|
380
380
|
}
|
|
381
381
|
|
|
@@ -463,7 +463,7 @@ opts = {
|
|
|
463
463
|
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
|
464
464
|
count: true, # Boolean | If true, return the global count of elements in the collection.
|
|
465
465
|
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
|
466
|
-
x_correlation_id: '
|
|
466
|
+
x_correlation_id: '6a525897-0868-4606-bad3-04892c61a573', # String | Unique correlation Id in a GUID format
|
|
467
467
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
468
468
|
}
|
|
469
469
|
|
|
@@ -551,7 +551,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
551
551
|
id = 'id_example' # String | The ID of the W9/W4/W8 form.
|
|
552
552
|
avalara_version = '2.0.0' # String | API version
|
|
553
553
|
opts = {
|
|
554
|
-
x_correlation_id: '
|
|
554
|
+
x_correlation_id: '1f36d8fe-d804-4194-b4be-31a5b02ae9f9', # String | Unique correlation Id in a GUID format
|
|
555
555
|
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/) .
|
|
556
556
|
}
|
|
557
557
|
|
|
@@ -634,7 +634,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
634
634
|
id = 'id_example' # String | ID of the form to update
|
|
635
635
|
avalara_version = '2.0.0' # String | API version
|
|
636
636
|
opts = {
|
|
637
|
-
x_correlation_id: '
|
|
637
|
+
x_correlation_id: 'ffdf8c9a-cf07-4fe0-b737-38d1c044a0dc', # String | Unique correlation Id in a GUID format
|
|
638
638
|
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/) .
|
|
639
639
|
create_w9_form_request: AvalaraSdk::A1099::V2::W4FormRequest.new({employee_first_name: 'employee_first_name_example', employee_last_name: 'employee_last_name_example', tin_type: 'tin_type_example', tin: 'tin_example'}) # CreateW9FormRequest | Form to be updated
|
|
640
640
|
}
|
|
@@ -719,7 +719,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
719
719
|
id = 'id_example' # String | Id of the form
|
|
720
720
|
avalara_version = '2.0.0' # String | API version
|
|
721
721
|
opts = {
|
|
722
|
-
x_correlation_id: '
|
|
722
|
+
x_correlation_id: 'd669f88f-c57a-4a17-9f05-cabe7ebe0b5b', # String | Unique correlation Id in a GUID format
|
|
723
723
|
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/) .
|
|
724
724
|
file: File.new('/path/to/some/file') # File |
|
|
725
725
|
}
|
|
@@ -22,10 +22,49 @@ AvalaraSdk::A1099::V2::Get1099Form200Response.openapi_one_of
|
|
|
22
22
|
# :'Form1099K',
|
|
23
23
|
# :'Form1099Misc',
|
|
24
24
|
# :'Form1099Nec',
|
|
25
|
-
# :'Form1099R'
|
|
25
|
+
# :'Form1099R',
|
|
26
|
+
# :'Form1099W2'
|
|
26
27
|
# ]
|
|
27
28
|
```
|
|
28
29
|
|
|
30
|
+
### `openapi_discriminator_name`
|
|
31
|
+
|
|
32
|
+
Returns the discriminator's property name.
|
|
33
|
+
|
|
34
|
+
#### Example
|
|
35
|
+
|
|
36
|
+
```ruby
|
|
37
|
+
require 'avalara_sdk'
|
|
38
|
+
|
|
39
|
+
AvalaraSdk::A1099::V2::Get1099Form200Response.openapi_discriminator_name
|
|
40
|
+
# => :'type'
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### `openapi_discriminator_name`
|
|
44
|
+
|
|
45
|
+
Returns the discriminator's mapping.
|
|
46
|
+
|
|
47
|
+
#### Example
|
|
48
|
+
|
|
49
|
+
```ruby
|
|
50
|
+
require 'avalara_sdk'
|
|
51
|
+
|
|
52
|
+
AvalaraSdk::A1099::V2::Get1099Form200Response.openapi_discriminator_mapping
|
|
53
|
+
# =>
|
|
54
|
+
# {
|
|
55
|
+
# :'1042-S' => :'Form1042S',
|
|
56
|
+
# :'1095-B' => :'Form1095B',
|
|
57
|
+
# :'1095-C' => :'Form1095C',
|
|
58
|
+
# :'1099-DIV' => :'Form1099Div',
|
|
59
|
+
# :'1099-INT' => :'Form1099Int',
|
|
60
|
+
# :'1099-K' => :'Form1099K',
|
|
61
|
+
# :'1099-MISC' => :'Form1099Misc',
|
|
62
|
+
# :'1099-NEC' => :'Form1099Nec',
|
|
63
|
+
# :'1099-R' => :'Form1099R',
|
|
64
|
+
# :'W-2' => :'Form1099W2'
|
|
65
|
+
# }
|
|
66
|
+
```
|
|
67
|
+
|
|
29
68
|
### build
|
|
30
69
|
|
|
31
70
|
Find the appropriate object from the `openapi_one_of` list and casts the data into it.
|
|
@@ -59,5 +98,6 @@ AvalaraSdk::A1099::V2::Get1099Form200Response.build(data_that_doesnt_match)
|
|
|
59
98
|
- `Form1099Misc`
|
|
60
99
|
- `Form1099Nec`
|
|
61
100
|
- `Form1099R`
|
|
101
|
+
- `Form1099W2`
|
|
62
102
|
- `nil` (if no type matches)
|
|
63
103
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
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] |
|
|
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 - 40: Partnership QDD - 41: U.S. government entity or tax exempt entity (other than section 501(c) entities) | [optional] |
|
|
9
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
10
|
| **name** | **String** | Name of the intermediary or flow-through entity | [optional] |
|
|
11
11
|
| **giin** | **String** | GIIN (Global Intermediary Identification Number) of the intermediary or flow-through entity | [optional] |
|
|
@@ -39,7 +39,7 @@ 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: 'deb4448e-a364-4e99-b30c-9e876743be1f', # 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, country_code: 'country_code_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to create
|
|
45
45
|
}
|
|
@@ -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: 'fbe6b0c6-506b-4d42-951d-dfbd382b2223', # 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: '9b9f0e80-4a47-4390-ae04-cedb799f6f0c', # 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: '81488870-629b-4a05-8d4c-673e5db15454', # 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,7 +381,7 @@ 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: '0c9b920f-cb85-4332-a9f6-bc06014dab8e', # 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, country_code: 'country_code_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to update
|
|
387
387
|
}
|
data/docs/A1099/V2/JobsApi.md
CHANGED
|
@@ -36,7 +36,7 @@ api_instance = AvalaraSdk::A1099::V2::JobsApi.new api_client
|
|
|
36
36
|
id = 'id_example' # String | Job id obtained from other API responses, like `/1099/bulk-upsert`.
|
|
37
37
|
avalara_version = '2.0.0' # String | API version
|
|
38
38
|
opts = {
|
|
39
|
-
x_correlation_id: '
|
|
39
|
+
x_correlation_id: '2703d90c-9006-449d-b10d-2cf416cd6a4c', # String | Unique correlation Id in a GUID format
|
|
40
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
41
|
}
|
|
42
42
|
|