avalara_sdk 25.7.0 → 25.8.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 +76 -39
- data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +3 -1
- data/docs/A1099/V2/CompaniesW9Api.md +22 -22
- data/docs/A1099/V2/CoveredIndividualReferenceResponse.md +56 -0
- data/docs/A1099/V2/CoveredIndividualRequest.md +19 -19
- data/docs/A1099/V2/Create1099Form201Response.md +59 -0
- data/docs/A1099/V2/CreateW9Form201Response.md +55 -0
- data/docs/A1099/V2/CreateW9FormRequest.md +55 -0
- data/docs/A1099/V2/Form1042SList.md +20 -0
- data/docs/A1099/V2/Form1042SListItem.md +108 -0
- data/docs/A1099/V2/Form1042SListItemResponse.md +130 -0
- data/docs/A1099/V2/Form1042SRequest.md +110 -0
- data/docs/A1099/V2/Form1042SResponse.md +88 -0
- data/docs/A1099/V2/Form1095BListItem.md +31 -31
- data/docs/A1099/V2/Form1095BListItemResponse.md +86 -0
- data/docs/A1099/V2/Form1095BRequest.md +33 -33
- data/docs/A1099/V2/Form1099BaseResponse.md +82 -0
- data/docs/A1099/V2/Form1099DivListItem.md +45 -45
- data/docs/A1099/V2/Form1099DivRequest.md +44 -44
- data/docs/A1099/V2/Form1099DivResponse.md +3 -3
- data/docs/A1099/V2/Form1099KListItem.md +46 -46
- data/docs/A1099/V2/Form1099KListItemResponse.md +122 -0
- data/docs/A1099/V2/Form1099KRequest.md +45 -45
- data/docs/A1099/V2/Form1099ListResponse.md +18 -0
- data/docs/A1099/V2/Form1099ListResponseValueInner.md +59 -0
- data/docs/A1099/V2/Form1099MiscListItem.md +43 -43
- data/docs/A1099/V2/Form1099MiscListItemResponse.md +108 -0
- data/docs/A1099/V2/Form1099MiscRequest.md +42 -42
- data/docs/A1099/V2/Form1099MiscResponse.md +5 -5
- data/docs/A1099/V2/Form1099NecListItem.md +31 -31
- data/docs/A1099/V2/Form1099NecListItemResponse.md +88 -0
- data/docs/A1099/V2/Form1099NecRequest.md +30 -30
- data/docs/A1099/V2/Form1099NecResponse.md +5 -5
- data/docs/A1099/V2/Form1099RListItem.md +47 -47
- data/docs/A1099/V2/Form1099RListItemResponse.md +122 -0
- data/docs/A1099/V2/Form1099RRequest.md +45 -45
- data/docs/A1099/V2/Form1099StatusDetailResponse.md +20 -0
- data/docs/A1099/V2/FormRequestBase.md +23 -23
- data/docs/A1099/V2/FormRequestListItemBase.md +66 -0
- data/docs/A1099/V2/FormResponseBase.md +3 -3
- data/docs/A1099/V2/FormSingleRequestBase.md +25 -25
- data/docs/A1099/V2/Forms1099Api.md +75 -63
- data/docs/A1099/V2/FormsW9Api.md +61 -56
- data/docs/A1099/V2/Get1099Form200Response.md +15 -11
- data/docs/A1099/V2/IntermediaryOrFlowThrough.md +38 -0
- data/docs/A1099/V2/IntermediaryOrFlowThroughRequest.md +38 -0
- data/docs/A1099/V2/IntermediaryOrFlowThroughResponse.md +38 -0
- data/docs/A1099/V2/Issuers1099Api.md +23 -23
- data/docs/A1099/V2/JobResult.md +15 -15
- data/docs/A1099/V2/Jobs1099Api.md +2 -2
- data/docs/A1099/V2/PrimaryWithholdingAgent.md +20 -0
- data/docs/A1099/V2/PrimaryWithholdingAgentRequest.md +20 -0
- data/docs/A1099/V2/PrimaryWithholdingAgentResponse.md +20 -0
- data/docs/A1099/V2/StateAndLocalWithholdingResponse.md +8 -8
- data/docs/A1099/V2/StateEfileStatusDetailResponse.md +22 -0
- data/docs/A1099/V2/SubstantialUsOwnerRequest.md +22 -0
- data/docs/A1099/V2/Update1099Form200Response.md +3 -1
- data/docs/A1099/V2/ValidationErrorResponse.md +20 -0
- data/docs/A1099/V2/W4FormDataModel.md +5 -5
- data/docs/A1099/V2/W4FormRequest.md +66 -0
- data/docs/A1099/V2/W8BenEFormRequest.md +218 -0
- data/docs/A1099/V2/W8BenEFormResponse.md +3 -3
- data/docs/A1099/V2/W8BenFormDataModel.md +5 -5
- data/docs/A1099/V2/W8BenFormRequest.md +76 -0
- data/docs/A1099/V2/W8BeneFormDataModel.md +5 -5
- data/docs/A1099/V2/W8ImyFormDataModel.md +5 -5
- data/docs/A1099/V2/W8ImyFormRequest.md +250 -0
- data/docs/A1099/V2/W8ImyFormResponse.md +2 -2
- data/docs/A1099/V2/W9FormBaseRequest.md +28 -0
- data/docs/A1099/V2/W9FormDataModel.md +5 -5
- data/docs/A1099/V2/W9FormRequest.md +64 -0
- data/docs/EInvoicing/V1/Address.md +28 -0
- data/docs/EInvoicing/V1/BatchErrorDetail.md +20 -0
- data/docs/EInvoicing/V1/BatchSearchListResponse.md +2 -2
- data/docs/EInvoicing/V1/Consents.md +18 -0
- data/docs/EInvoicing/V1/CreateTradingPartner201Response.md +22 -0
- data/docs/EInvoicing/V1/CreateTradingPartnersBatch200Response.md +22 -0
- data/docs/EInvoicing/V1/CreateTradingPartnersBatch200ResponseValueInner.md +22 -0
- data/docs/EInvoicing/V1/CreateTradingPartnersBatchRequest.md +18 -0
- data/docs/EInvoicing/V1/DataInputFieldsApi.md +5 -5
- data/docs/EInvoicing/V1/DocumentsApi.md +9 -9
- data/docs/EInvoicing/V1/Extension.md +20 -0
- data/docs/EInvoicing/V1/Identifier.md +22 -0
- data/docs/EInvoicing/V1/InteropApi.md +1 -1
- data/docs/EInvoicing/V1/MandatesApi.md +6 -6
- data/docs/EInvoicing/V1/SearchParticipants200Response.md +22 -0
- data/docs/EInvoicing/V1/SubscriptionsApi.md +12 -12
- data/docs/EInvoicing/V1/SupportedDocumentTypes.md +26 -0
- data/docs/EInvoicing/V1/TaxIdentifierRequest.md +24 -0
- data/docs/EInvoicing/V1/TaxIdentifierResponse.md +20 -0
- data/docs/EInvoicing/V1/TaxIdentifierResponseValue.md +22 -0
- data/docs/EInvoicing/V1/TaxIdentifierSchemaByCountry200Response.md +20 -0
- data/docs/EInvoicing/V1/TaxIdentifiersApi.md +177 -0
- data/docs/EInvoicing/V1/TradingPartner.md +34 -0
- data/docs/EInvoicing/V1/TradingPartnersApi.md +412 -75
- data/docs/EInvoicing/V1/UpdateTradingPartner200Response.md +22 -0
- data/docs/EInvoicing/V1/ValidationError.md +20 -0
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +14 -14
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +51 -39
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +56 -50
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +20 -20
- data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +2 -2
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +7 -7
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +11 -11
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +2 -2
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +8 -8
- data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +21 -21
- data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +531 -0
- data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +660 -80
- data/lib/avalara_sdk/models/A1099/V2/attribute.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/authorized_api_request_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/authorized_api_request_v2_data_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/base_company_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/base_form_list_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +2 -1
- data/lib/avalara_sdk/models/A1099/V2/company_create_update_request_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/company_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/company_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/company_response_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference_response.rb +407 -0
- data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +20 -1
- data/lib/avalara_sdk/models/A1099/V2/create1099_form201_response.rb +106 -0
- data/lib/avalara_sdk/models/A1099/V2/create_w9_form201_response.rb +104 -0
- data/lib/avalara_sdk/models/A1099/V2/create_w9_form_request.rb +104 -0
- data/lib/avalara_sdk/models/A1099/V2/data.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/error_response_errors_inner.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list.rb +238 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item.rb +891 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_list_item_response.rb +925 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_request.rb +855 -0
- data/lib/avalara_sdk/models/A1099/V2/form1042_s_response.rb +600 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +147 -14
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item_response.rb +700 -0
- data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +149 -16
- data/lib/avalara_sdk/models/A1099/V2/form1099_base_response.rb +661 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +168 -13
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +159 -14
- data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +5 -5
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +169 -13
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item_response.rb +930 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +160 -14
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response.rb +220 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_response_value_inner.rb +106 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +171 -19
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item_response.rb +810 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +162 -20
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +12 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +168 -20
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item_response.rb +700 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +157 -20
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +12 -12
- data/lib/avalara_sdk/models/A1099/V2/form1099_proccess_result.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +171 -15
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item_response.rb +888 -0
- data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +160 -14
- data/lib/avalara_sdk/models/A1099/V2/form1099_status_detail_response.rb +223 -0
- data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +138 -12
- data/lib/avalara_sdk/models/A1099/V2/form_request_list_item_base.rb +611 -0
- data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +5 -5
- data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +140 -14
- data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +8 -6
- data/lib/avalara_sdk/models/A1099/V2/http_validation_problem_details.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/i_create_form1099_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/i_update_form1099_request.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through.rb +311 -0
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_request.rb +311 -0
- data/lib/avalara_sdk/models/A1099/V2/intermediary_or_flow_through_response.rb +311 -0
- data/lib/avalara_sdk/models/A1099/V2/issuer_command.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/issuer_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/iw9_form_data_models_one_of.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/job_result.rb +16 -1
- data/lib/avalara_sdk/models/A1099/V2/link.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_query_result_model.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_issuer_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/paginated_w9_forms_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_request.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/primary_withholding_agent_response.rb +221 -0
- data/lib/avalara_sdk/models/A1099/V2/problem_details.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +5 -1
- data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +9 -1
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_response.rb +231 -0
- data/lib/avalara_sdk/models/A1099/V2/status_detail.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_request.rb +233 -0
- data/lib/avalara_sdk/models/A1099/V2/substantial_us_owner_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +2 -1
- data/lib/avalara_sdk/models/A1099/V2/validation_error_response.rb +231 -0
- data/lib/avalara_sdk/models/A1099/V2/w4_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w4_form_request.rb +509 -0
- data/lib/avalara_sdk/models/A1099/V2/w4_form_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_request.rb +1343 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_form_response.rb +4 -4
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_e_substantial_us_owner_data_model.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_request.rb +561 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_ben_form_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w8_bene_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_request.rb +1518 -0
- data/lib/avalara_sdk/models/A1099/V2/w8_imy_form_response.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_request.rb +299 -0
- data/lib/avalara_sdk/models/A1099/V2/w9_form_base_response.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/w9_form_data_model.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/w9_form_request.rb +495 -0
- data/lib/avalara_sdk/models/A1099/V2/w9_form_response.rb +4 -3
- data/lib/avalara_sdk/models/EInvoicing/V1/address.rb +382 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/batch_error_detail.rb +223 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/batch_search.rb +1 -1
- data/lib/avalara_sdk/models/EInvoicing/V1/batch_search_list_response.rb +3 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/consents.rb +213 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partner201_response.rb +231 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch200_response.rb +232 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch200_response_value_inner.rb +231 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/create_trading_partners_batch_request.rb +212 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/data_input_fields_response.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/document_fetch.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/error_response.rb +1 -1
- data/lib/avalara_sdk/models/EInvoicing/V1/extension.rb +256 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/hmac_signature_value.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/identifier.rb +302 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/mandate.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/pagination.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/required_when_field.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/search_participants200_response.rb +232 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/signature.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/signature_value.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/subscription_common.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/success_response.rb +1 -2
- data/lib/avalara_sdk/models/EInvoicing/V1/supported_document_types.rb +305 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_request.rb +329 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_response.rb +228 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_response_value.rb +231 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/tax_identifier_schema_by_country200_response.rb +235 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/trading_partner.rb +411 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/update_trading_partner200_response.rb +231 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/validation_error.rb +222 -0
- data/lib/avalara_sdk/models/EInvoicing/V1/webhooks_error_response.rb +1 -2
- data/lib/avalara_sdk/version.rb +1 -1
- data/lib/avalara_sdk.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/date_core.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/mkmf.log +4 -4
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/attach.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/debase_internals.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +7 -7
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/mkmf.log +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/debug/debug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/erb/escape.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/mkmf.log +21 -21
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/mkmf.log +7 -7
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/mkmf.log +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/prism/prism.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/mkmf.log +10 -10
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/ruby-debug-ide-0.7.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +6 -6
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/mkmf.log +2 -2
- data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/stringio.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/ext/byebug/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/ext/date/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/date-3.4.1/lib/date_core.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/ext/attach/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/lib/attach.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/debase-0.2.9/lib/debase_internals.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/ext/debug/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/debug-1.10.0/lib/debug/debug.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/erb-5.0.1/ext/erb/escape/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/erb-5.0.1/lib/erb/escape.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.8.0/ext/io/console/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/io-console-0.8.0/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/ext/json/ext/generator/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/ext/json/ext/parser/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/json-2.12.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/prism-1.4.0/ext/prism/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/prism-1.4.0/lib/prism/prism.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.2.6/ext/psych/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/psych-5.2.6/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.7/ext/stringio/Makefile +3 -3
- data/vendor/bundle/ruby/3.3.0/gems/stringio-3.1.7/lib/stringio.so +0 -0
- metadata +109 -3
data/docs/A1099/V2/FormsW9Api.md
CHANGED
@@ -5,20 +5,22 @@ All URIs are relative to *https://api-ava1099.eta.sbx.us-east-1.aws.avalara.io/a
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**create_w9_form**](FormsW9Api.md#create_w9_form) | **POST** /w9/forms | Create a W9/W4/W8 form |
|
8
|
-
| [**delete_w9_form**](FormsW9Api.md#delete_w9_form) | **DELETE** /w9/forms/{id} | Delete a form |
|
8
|
+
| [**delete_w9_form**](FormsW9Api.md#delete_w9_form) | **DELETE** /w9/forms/{id} | Delete a W9/W4/W8 form |
|
9
9
|
| [**get_w9_form**](FormsW9Api.md#get_w9_form) | **GET** /w9/forms/{id} | Retrieve a W9/W4/W8 form |
|
10
|
-
| [**list_w9_forms**](FormsW9Api.md#list_w9_forms) | **GET** /w9/forms | List W9/W4/W8 forms
|
11
|
-
| [**send_w9_form_email**](FormsW9Api.md#send_w9_form_email) | **POST** /w9/forms/{id}/$send-email |
|
10
|
+
| [**list_w9_forms**](FormsW9Api.md#list_w9_forms) | **GET** /w9/forms | List W9/W4/W8 forms |
|
11
|
+
| [**send_w9_form_email**](FormsW9Api.md#send_w9_form_email) | **POST** /w9/forms/{id}/$send-email | Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form |
|
12
12
|
| [**update_w9_form**](FormsW9Api.md#update_w9_form) | **PUT** /w9/forms/{id} | Update a W9/W4/W8 form |
|
13
|
-
| [**upload_w9_files**](FormsW9Api.md#upload_w9_files) | **
|
13
|
+
| [**upload_w9_files**](FormsW9Api.md#upload_w9_files) | **POST** /w9/forms/{id}/attachment | Replace the PDF file for a W9/W4/W8 form |
|
14
14
|
|
15
15
|
|
16
16
|
## create_w9_form
|
17
17
|
|
18
|
-
> <
|
18
|
+
> <CreateW9Form201Response> create_w9_form(avalara_version, opts)
|
19
19
|
|
20
20
|
Create a W9/W4/W8 form
|
21
21
|
|
22
|
+
Create a W9/W4/W8 form.
|
23
|
+
|
22
24
|
### Examples
|
23
25
|
|
24
26
|
```ruby
|
@@ -37,11 +39,11 @@ end
|
|
37
39
|
api_client = AvalaraSdk::ApiClient.new config
|
38
40
|
api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
39
41
|
|
40
|
-
avalara_version = '2.0' # String | API version
|
42
|
+
avalara_version = '2.0.0' # String | API version
|
41
43
|
opts = {
|
42
|
-
x_correlation_id: '
|
44
|
+
x_correlation_id: '968b9850-b859-4a5a-8165-bd1e444fbf47', # String | Unique correlation Id in a GUID format
|
43
45
|
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
|
-
|
46
|
+
create_w9_form_request: AvalaraSdk::A1099::V2::W4FormRequest.new # CreateW9FormRequest | Form to be created
|
45
47
|
}
|
46
48
|
|
47
49
|
begin
|
@@ -57,7 +59,7 @@ end
|
|
57
59
|
|
58
60
|
This returns an Array which contains the response data, status code and headers.
|
59
61
|
|
60
|
-
> <Array(<
|
62
|
+
> <Array(<CreateW9Form201Response>, Integer, Hash)> create_w9_form_with_http_info(avalara_version, opts)
|
61
63
|
|
62
64
|
```ruby
|
63
65
|
begin
|
@@ -65,7 +67,7 @@ begin
|
|
65
67
|
data, status_code, headers = api_instance.create_w9_form_with_http_info(avalara_version, opts)
|
66
68
|
p status_code # => 2xx
|
67
69
|
p headers # => { ... }
|
68
|
-
p data # => <
|
70
|
+
p data # => <CreateW9Form201Response>
|
69
71
|
rescue AvalaraSdk::A1099::V2::ApiError => e
|
70
72
|
puts "Error when calling FormsW9Api->create_w9_form_with_http_info: #{e}"
|
71
73
|
end
|
@@ -78,11 +80,11 @@ end
|
|
78
80
|
| **avalara_version** | **String** | API version | |
|
79
81
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
80
82
|
| **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
|
-
| **
|
83
|
+
| **create_w9_form_request** | [**CreateW9FormRequest**](CreateW9FormRequest.md) | Form to be created | [optional] |
|
82
84
|
|
83
85
|
### Return type
|
84
86
|
|
85
|
-
[**
|
87
|
+
[**CreateW9Form201Response**](CreateW9Form201Response.md)
|
86
88
|
|
87
89
|
### Authorization
|
88
90
|
|
@@ -98,9 +100,9 @@ end
|
|
98
100
|
|
99
101
|
> delete_w9_form(id, avalara_version, opts)
|
100
102
|
|
101
|
-
Delete a form
|
103
|
+
Delete a W9/W4/W8 form
|
102
104
|
|
103
|
-
Delete a form
|
105
|
+
Delete a W9/W4/W8 form.
|
104
106
|
|
105
107
|
### Examples
|
106
108
|
|
@@ -120,15 +122,15 @@ end
|
|
120
122
|
api_client = AvalaraSdk::ApiClient.new config
|
121
123
|
api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
122
124
|
|
123
|
-
id = 'id_example' # String |
|
124
|
-
avalara_version = '2.0' # String | API version
|
125
|
+
id = 'id_example' # String | ID of the form to delete
|
126
|
+
avalara_version = '2.0.0' # String | API version
|
125
127
|
opts = {
|
126
|
-
x_correlation_id: '
|
128
|
+
x_correlation_id: '69926298-ed5b-4d78-8099-b5488589912d', # String | Unique correlation Id in a GUID format
|
127
129
|
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
130
|
}
|
129
131
|
|
130
132
|
begin
|
131
|
-
# Delete a form
|
133
|
+
# Delete a W9/W4/W8 form
|
132
134
|
api_instance.delete_w9_form(id, avalara_version, opts)
|
133
135
|
rescue AvalaraSdk::ApiError => e
|
134
136
|
puts "Error when calling FormsW9Api->delete_w9_form: #{e}"
|
@@ -143,7 +145,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
|
|
143
145
|
|
144
146
|
```ruby
|
145
147
|
begin
|
146
|
-
# Delete a form
|
148
|
+
# Delete a W9/W4/W8 form
|
147
149
|
data, status_code, headers = api_instance.delete_w9_form_with_http_info(id, avalara_version, opts)
|
148
150
|
p status_code # => 2xx
|
149
151
|
p headers # => { ... }
|
@@ -157,7 +159,7 @@ end
|
|
157
159
|
|
158
160
|
| Name | Type | Description | Notes |
|
159
161
|
| ---- | ---- | ----------- | ----- |
|
160
|
-
| **id** | **String** |
|
162
|
+
| **id** | **String** | ID of the form to delete | |
|
161
163
|
| **avalara_version** | **String** | API version | |
|
162
164
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
163
165
|
| **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] |
|
@@ -178,11 +180,11 @@ nil (empty response body)
|
|
178
180
|
|
179
181
|
## get_w9_form
|
180
182
|
|
181
|
-
> <
|
183
|
+
> <CreateW9Form201Response> get_w9_form(id, avalara_version, opts)
|
182
184
|
|
183
185
|
Retrieve a W9/W4/W8 form
|
184
186
|
|
185
|
-
Retrieve a W9/W4/W8 form
|
187
|
+
Retrieve a W9/W4/W8 form.
|
186
188
|
|
187
189
|
### Examples
|
188
190
|
|
@@ -202,10 +204,10 @@ end
|
|
202
204
|
api_client = AvalaraSdk::ApiClient.new config
|
203
205
|
api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
204
206
|
|
205
|
-
id = 'id_example' # String |
|
206
|
-
avalara_version = '2.0' # String | API version
|
207
|
+
id = 'id_example' # String | ID of the form
|
208
|
+
avalara_version = '2.0.0' # String | API version
|
207
209
|
opts = {
|
208
|
-
x_correlation_id: '
|
210
|
+
x_correlation_id: 'e138390c-5561-49df-a969-49427e2c5ffa', # String | Unique correlation Id in a GUID format
|
209
211
|
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
212
|
}
|
211
213
|
|
@@ -222,7 +224,7 @@ end
|
|
222
224
|
|
223
225
|
This returns an Array which contains the response data, status code and headers.
|
224
226
|
|
225
|
-
> <Array(<
|
227
|
+
> <Array(<CreateW9Form201Response>, Integer, Hash)> get_w9_form_with_http_info(id, avalara_version, opts)
|
226
228
|
|
227
229
|
```ruby
|
228
230
|
begin
|
@@ -230,7 +232,7 @@ begin
|
|
230
232
|
data, status_code, headers = api_instance.get_w9_form_with_http_info(id, avalara_version, opts)
|
231
233
|
p status_code # => 2xx
|
232
234
|
p headers # => { ... }
|
233
|
-
p data # => <
|
235
|
+
p data # => <CreateW9Form201Response>
|
234
236
|
rescue AvalaraSdk::A1099::V2::ApiError => e
|
235
237
|
puts "Error when calling FormsW9Api->get_w9_form_with_http_info: #{e}"
|
236
238
|
end
|
@@ -240,14 +242,14 @@ end
|
|
240
242
|
|
241
243
|
| Name | Type | Description | Notes |
|
242
244
|
| ---- | ---- | ----------- | ----- |
|
243
|
-
| **id** | **String** |
|
245
|
+
| **id** | **String** | ID of the form | |
|
244
246
|
| **avalara_version** | **String** | API version | |
|
245
247
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
246
248
|
| **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] |
|
247
249
|
|
248
250
|
### Return type
|
249
251
|
|
250
|
-
[**
|
252
|
+
[**CreateW9Form201Response**](CreateW9Form201Response.md)
|
251
253
|
|
252
254
|
### Authorization
|
253
255
|
|
@@ -263,7 +265,7 @@ end
|
|
263
265
|
|
264
266
|
> <PaginatedW9FormsModel> list_w9_forms(avalara_version, opts)
|
265
267
|
|
266
|
-
List W9/W4/W8 forms
|
268
|
+
List W9/W4/W8 forms
|
267
269
|
|
268
270
|
List W9/W4/W8 forms.
|
269
271
|
|
@@ -285,19 +287,19 @@ end
|
|
285
287
|
api_client = AvalaraSdk::ApiClient.new config
|
286
288
|
api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
287
289
|
|
288
|
-
avalara_version = '2.0' # String | API version
|
290
|
+
avalara_version = '2.0.0' # String | API version
|
289
291
|
opts = {
|
290
292
|
filter: 'filter_example', # String | A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>.
|
291
293
|
top: 56, # Integer | If nonzero, return no more than this number of results. Used with skip to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
|
292
294
|
skip: 56, # Integer | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
|
293
295
|
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
294
296
|
count: true, # Boolean | When true, returns a @recordSetCount in the result set
|
295
|
-
x_correlation_id: '
|
297
|
+
x_correlation_id: 'f80bd20b-84ec-47de-913f-304dd9951b58', # String | Unique correlation Id in a GUID format
|
296
298
|
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
299
|
}
|
298
300
|
|
299
301
|
begin
|
300
|
-
# List W9/W4/W8 forms
|
302
|
+
# List W9/W4/W8 forms
|
301
303
|
result = api_instance.list_w9_forms(avalara_version, opts)
|
302
304
|
p result
|
303
305
|
rescue AvalaraSdk::ApiError => e
|
@@ -313,7 +315,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
313
315
|
|
314
316
|
```ruby
|
315
317
|
begin
|
316
|
-
# List W9/W4/W8 forms
|
318
|
+
# List W9/W4/W8 forms
|
317
319
|
data, status_code, headers = api_instance.list_w9_forms_with_http_info(avalara_version, opts)
|
318
320
|
p status_code # => 2xx
|
319
321
|
p headers # => { ... }
|
@@ -354,7 +356,9 @@ end
|
|
354
356
|
|
355
357
|
> <IW9FormDataModelsOneOf> send_w9_form_email(id, avalara_version, opts)
|
356
358
|
|
357
|
-
|
359
|
+
Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form
|
360
|
+
|
361
|
+
Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form.
|
358
362
|
|
359
363
|
### Examples
|
360
364
|
|
@@ -375,14 +379,14 @@ api_client = AvalaraSdk::ApiClient.new config
|
|
375
379
|
api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
376
380
|
|
377
381
|
id = 'id_example' # String | The ID of the W9/W4/W8 form.
|
378
|
-
avalara_version = '2.0' # String | API version
|
382
|
+
avalara_version = '2.0.0' # String | API version
|
379
383
|
opts = {
|
380
|
-
x_correlation_id: '
|
384
|
+
x_correlation_id: '75735dc9-2909-4f11-bc6c-6e1ec0d77264', # String | Unique correlation Id in a GUID format
|
381
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/) .
|
382
386
|
}
|
383
387
|
|
384
388
|
begin
|
385
|
-
#
|
389
|
+
# Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form
|
386
390
|
result = api_instance.send_w9_form_email(id, avalara_version, opts)
|
387
391
|
p result
|
388
392
|
rescue AvalaraSdk::ApiError => e
|
@@ -398,7 +402,7 @@ This returns an Array which contains the response data, status code and headers.
|
|
398
402
|
|
399
403
|
```ruby
|
400
404
|
begin
|
401
|
-
#
|
405
|
+
# Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form
|
402
406
|
data, status_code, headers = api_instance.send_w9_form_email_with_http_info(id, avalara_version, opts)
|
403
407
|
p status_code # => 2xx
|
404
408
|
p headers # => { ... }
|
@@ -437,6 +441,8 @@ end
|
|
437
441
|
|
438
442
|
Update a W9/W4/W8 form
|
439
443
|
|
444
|
+
Update a W9/W4/W8 form.
|
445
|
+
|
440
446
|
### Examples
|
441
447
|
|
442
448
|
```ruby
|
@@ -455,10 +461,10 @@ end
|
|
455
461
|
api_client = AvalaraSdk::ApiClient.new config
|
456
462
|
api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
457
463
|
|
458
|
-
id = 'id_example' # String |
|
459
|
-
avalara_version = '2.0' # String | API version
|
464
|
+
id = 'id_example' # String | ID of the form to update
|
465
|
+
avalara_version = '2.0.0' # String | API version
|
460
466
|
opts = {
|
461
|
-
x_correlation_id: '
|
467
|
+
x_correlation_id: 'd24784a4-9522-46c7-b6e0-8f44cb176f17', # String | Unique correlation Id in a GUID format
|
462
468
|
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/) .
|
463
469
|
iw9_form_data_models_one_of: AvalaraSdk::A1099::V2::W4FormDataModel.new # IW9FormDataModelsOneOf | Form to be updated
|
464
470
|
}
|
@@ -494,7 +500,7 @@ end
|
|
494
500
|
|
495
501
|
| Name | Type | Description | Notes |
|
496
502
|
| ---- | ---- | ----------- | ----- |
|
497
|
-
| **id** | **String** |
|
503
|
+
| **id** | **String** | ID of the form to update | |
|
498
504
|
| **avalara_version** | **String** | API version | |
|
499
505
|
| **x_correlation_id** | **String** | Unique correlation Id in a GUID format | [optional] |
|
500
506
|
| **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] |
|
@@ -516,11 +522,11 @@ end
|
|
516
522
|
|
517
523
|
## upload_w9_files
|
518
524
|
|
519
|
-
>
|
525
|
+
> upload_w9_files(id, avalara_version, opts)
|
520
526
|
|
521
|
-
|
527
|
+
Replace the PDF file for a W9/W4/W8 form
|
522
528
|
|
523
|
-
|
529
|
+
Replaces the PDF file for a W9/W4/W8 form.
|
524
530
|
|
525
531
|
### Examples
|
526
532
|
|
@@ -541,17 +547,16 @@ api_client = AvalaraSdk::ApiClient.new config
|
|
541
547
|
api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
542
548
|
|
543
549
|
id = 'id_example' # String | Id of the form
|
544
|
-
avalara_version = '2.0' # String | API version
|
550
|
+
avalara_version = '2.0.0' # String | API version
|
545
551
|
opts = {
|
546
|
-
x_correlation_id: '
|
552
|
+
x_correlation_id: 'ee2e9278-6cdb-47ad-82a0-9d5a726f7412', # String | Unique correlation Id in a GUID format
|
547
553
|
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/) .
|
548
554
|
file: File.new('/path/to/some/file') # File |
|
549
555
|
}
|
550
556
|
|
551
557
|
begin
|
552
|
-
#
|
553
|
-
|
554
|
-
p result
|
558
|
+
# Replace the PDF file for a W9/W4/W8 form
|
559
|
+
api_instance.upload_w9_files(id, avalara_version, opts)
|
555
560
|
rescue AvalaraSdk::ApiError => e
|
556
561
|
puts "Error when calling FormsW9Api->upload_w9_files: #{e}"
|
557
562
|
end
|
@@ -559,17 +564,17 @@ end
|
|
559
564
|
|
560
565
|
#### Using the upload_w9_files_with_http_info variant
|
561
566
|
|
562
|
-
This returns an Array which contains the response data, status code and headers.
|
567
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
563
568
|
|
564
|
-
> <Array(
|
569
|
+
> <Array(nil, Integer, Hash)> upload_w9_files_with_http_info(id, avalara_version, opts)
|
565
570
|
|
566
571
|
```ruby
|
567
572
|
begin
|
568
|
-
#
|
573
|
+
# Replace the PDF file for a W9/W4/W8 form
|
569
574
|
data, status_code, headers = api_instance.upload_w9_files_with_http_info(id, avalara_version, opts)
|
570
575
|
p status_code # => 2xx
|
571
576
|
p headers # => { ... }
|
572
|
-
p data # =>
|
577
|
+
p data # => nil
|
573
578
|
rescue AvalaraSdk::A1099::V2::ApiError => e
|
574
579
|
puts "Error when calling FormsW9Api->upload_w9_files_with_http_info: #{e}"
|
575
580
|
end
|
@@ -587,7 +592,7 @@ end
|
|
587
592
|
|
588
593
|
### Return type
|
589
594
|
|
590
|
-
|
595
|
+
nil (empty response body)
|
591
596
|
|
592
597
|
### Authorization
|
593
598
|
|
@@ -14,11 +14,13 @@ require 'avalara_sdk'
|
|
14
14
|
AvalaraSdk::A1099::V2::Get1099Form200Response.openapi_one_of
|
15
15
|
# =>
|
16
16
|
# [
|
17
|
-
# :'
|
18
|
-
# :'
|
19
|
-
# :'
|
20
|
-
# :'
|
21
|
-
# :'
|
17
|
+
# :'Form1042SListItemResponse',
|
18
|
+
# :'Form1095BListItemResponse',
|
19
|
+
# :'Form1099BaseResponse',
|
20
|
+
# :'Form1099KListItemResponse',
|
21
|
+
# :'Form1099MiscListItemResponse',
|
22
|
+
# :'Form1099NecListItemResponse',
|
23
|
+
# :'Form1099RListItemResponse'
|
22
24
|
# ]
|
23
25
|
```
|
24
26
|
|
@@ -32,7 +34,7 @@ Find the appropriate object from the `openapi_one_of` list and casts the data in
|
|
32
34
|
require 'avalara_sdk'
|
33
35
|
|
34
36
|
AvalaraSdk::A1099::V2::Get1099Form200Response.build(data)
|
35
|
-
# => #<
|
37
|
+
# => #<Form1042SListItemResponse:0x00007fdd4aab02a0>
|
36
38
|
|
37
39
|
AvalaraSdk::A1099::V2::Get1099Form200Response.build(data_that_doesnt_match)
|
38
40
|
# => nil
|
@@ -46,10 +48,12 @@ AvalaraSdk::A1099::V2::Get1099Form200Response.build(data_that_doesnt_match)
|
|
46
48
|
|
47
49
|
#### Return type
|
48
50
|
|
49
|
-
- `
|
50
|
-
- `
|
51
|
-
- `
|
52
|
-
- `
|
53
|
-
- `
|
51
|
+
- `Form1042SListItemResponse`
|
52
|
+
- `Form1095BListItemResponse`
|
53
|
+
- `Form1099BaseResponse`
|
54
|
+
- `Form1099KListItemResponse`
|
55
|
+
- `Form1099MiscListItemResponse`
|
56
|
+
- `Form1099NecListItemResponse`
|
57
|
+
- `Form1099RListItemResponse`
|
54
58
|
- `nil` (if no type matches)
|
55
59
|
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# AvalaraSdk::A1099::V2::IntermediaryOrFlowThrough
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **ein** | **String** | | [optional] |
|
8
|
+
| **chap3_status_code** | **String** | | [optional] |
|
9
|
+
| **chap4_status_code** | **String** | | [optional] |
|
10
|
+
| **name** | **String** | | [optional] |
|
11
|
+
| **giin** | **String** | | [optional] |
|
12
|
+
| **country_code** | **String** | | [optional] |
|
13
|
+
| **foreign_tin** | **String** | | [optional] |
|
14
|
+
| **address** | **String** | | [optional] |
|
15
|
+
| **city** | **String** | | [optional] |
|
16
|
+
| **state** | **String** | | [optional] |
|
17
|
+
| **zip** | **String** | | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'avalara_sdk'
|
23
|
+
|
24
|
+
instance = AvalaraSdk::A1099::V2::IntermediaryOrFlowThrough.new(
|
25
|
+
ein: null,
|
26
|
+
chap3_status_code: null,
|
27
|
+
chap4_status_code: null,
|
28
|
+
name: null,
|
29
|
+
giin: null,
|
30
|
+
country_code: null,
|
31
|
+
foreign_tin: null,
|
32
|
+
address: null,
|
33
|
+
city: null,
|
34
|
+
state: null,
|
35
|
+
zip: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# AvalaraSdk::A1099::V2::IntermediaryOrFlowThroughRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **ein** | **String** | | [optional] |
|
8
|
+
| **chap3_status_code** | **String** | | [optional] |
|
9
|
+
| **chap4_status_code** | **String** | | [optional] |
|
10
|
+
| **name** | **String** | | [optional] |
|
11
|
+
| **giin** | **String** | | [optional] |
|
12
|
+
| **country_code** | **String** | | [optional] |
|
13
|
+
| **foreign_tin** | **String** | | [optional] |
|
14
|
+
| **address** | **String** | | [optional] |
|
15
|
+
| **city** | **String** | | [optional] |
|
16
|
+
| **state** | **String** | | [optional] |
|
17
|
+
| **zip** | **String** | | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'avalara_sdk'
|
23
|
+
|
24
|
+
instance = AvalaraSdk::A1099::V2::IntermediaryOrFlowThroughRequest.new(
|
25
|
+
ein: null,
|
26
|
+
chap3_status_code: null,
|
27
|
+
chap4_status_code: null,
|
28
|
+
name: null,
|
29
|
+
giin: null,
|
30
|
+
country_code: null,
|
31
|
+
foreign_tin: null,
|
32
|
+
address: null,
|
33
|
+
city: null,
|
34
|
+
state: null,
|
35
|
+
zip: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# AvalaraSdk::A1099::V2::IntermediaryOrFlowThroughResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **ein** | **String** | | [optional] |
|
8
|
+
| **chap3_status_code** | **String** | | [optional] |
|
9
|
+
| **chap4_status_code** | **String** | | [optional] |
|
10
|
+
| **name** | **String** | | [optional] |
|
11
|
+
| **giin** | **String** | | [optional] |
|
12
|
+
| **country_code** | **String** | | [optional] |
|
13
|
+
| **foreign_tin** | **String** | | [optional] |
|
14
|
+
| **address** | **String** | | [optional] |
|
15
|
+
| **city** | **String** | | [optional] |
|
16
|
+
| **state** | **String** | | [optional] |
|
17
|
+
| **zip** | **String** | | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'avalara_sdk'
|
23
|
+
|
24
|
+
instance = AvalaraSdk::A1099::V2::IntermediaryOrFlowThroughResponse.new(
|
25
|
+
ein: null,
|
26
|
+
chap3_status_code: null,
|
27
|
+
chap4_status_code: null,
|
28
|
+
name: null,
|
29
|
+
giin: null,
|
30
|
+
country_code: null,
|
31
|
+
foreign_tin: null,
|
32
|
+
address: null,
|
33
|
+
city: null,
|
34
|
+
state: null,
|
35
|
+
zip: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|