avalara_sdk 25.7.2 → 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/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 +108 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Avalara 1099 & W-9 API Definition
|
3
3
|
|
4
|
-
### 🔐 Authentication
|
4
|
+
### 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
|
5
5
|
|
6
6
|
|
7
7
|
=end
|
@@ -17,7 +17,7 @@ module AvalaraSdk::A1099
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.8.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -226,20 +226,22 @@ module AvalaraSdk::A1099
|
|
226
226
|
end
|
227
227
|
|
228
228
|
# Create a W9/W4/W8 form
|
229
|
-
#
|
230
|
-
# @
|
229
|
+
# Create a W9/W4/W8 form.
|
230
|
+
# @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . # @param create_w9_form_request [CreateW9FormRequest] Form to be created
|
231
|
+
# @return [CreateW9Form201Response]
|
231
232
|
def create_w9_form(request_parameters)
|
232
233
|
data, _status_code, _headers = create_w9_form_with_http_info(request_parameters)
|
233
234
|
data
|
234
235
|
end
|
235
236
|
|
236
237
|
# Create a W9/W4/W8 form
|
237
|
-
|
238
|
+
# Create a W9/W4/W8 form.
|
239
|
+
|
238
240
|
# @param avalara_version [String] API version
|
239
241
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
240
242
|
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
241
|
-
# @param
|
242
|
-
# @return [Array<(
|
243
|
+
# @param create_w9_form_request [CreateW9FormRequest] Form to be created
|
244
|
+
# @return [Array<(CreateW9Form201Response, Integer, Hash)>] CreateW9Form201Response data, response status code and response headers
|
243
245
|
def create_w9_form_with_http_info(request_parameters)
|
244
246
|
# OAuth2 Scopes
|
245
247
|
required_scopes = ''
|
@@ -247,7 +249,7 @@ module AvalaraSdk::A1099
|
|
247
249
|
avalara_version = request_parameters.get_avalara_version()
|
248
250
|
x_correlation_id = request_parameters.get_x_correlation_id()
|
249
251
|
x_avalara_client = request_parameters.get_x_avalara_client()
|
250
|
-
|
252
|
+
create_w9_form_request = request_parameters.get_create_w9_form_request()
|
251
253
|
# verify the required parameter 'avalara_version' is set
|
252
254
|
if @api_client.config.client_side_validation && avalara_version.nil?
|
253
255
|
fail ArgumentError, "Missing the required parameter 'avalara_version' when calling FormsW9Api.create_w9_form"
|
@@ -281,10 +283,10 @@ module AvalaraSdk::A1099
|
|
281
283
|
form_params = {}
|
282
284
|
|
283
285
|
# http body (model)
|
284
|
-
post_body = @api_client.object_to_http_body(
|
286
|
+
post_body = @api_client.object_to_http_body(create_w9_form_request) || {}
|
285
287
|
|
286
288
|
# return_type
|
287
|
-
return_type = '
|
289
|
+
return_type = 'CreateW9Form201Response'
|
288
290
|
|
289
291
|
# auth_names
|
290
292
|
auth_names = ['bearer']
|
@@ -310,19 +312,19 @@ module AvalaraSdk::A1099
|
|
310
312
|
return data, response.code, response.headers
|
311
313
|
end
|
312
314
|
|
313
|
-
# Delete a form
|
314
|
-
# Delete a form
|
315
|
-
# @param id [String]
|
315
|
+
# Delete a W9/W4/W8 form
|
316
|
+
# Delete a W9/W4/W8 form.
|
317
|
+
# @param id [String] ID of the form to delete # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
316
318
|
# @return [nil]
|
317
319
|
def delete_w9_form(request_parameters)
|
318
320
|
delete_w9_form_with_http_info(request_parameters)
|
319
321
|
nil
|
320
322
|
end
|
321
323
|
|
322
|
-
# Delete a form
|
323
|
-
# Delete a form
|
324
|
+
# Delete a W9/W4/W8 form
|
325
|
+
# Delete a W9/W4/W8 form.
|
324
326
|
|
325
|
-
# @param id [String]
|
327
|
+
# @param id [String] ID of the form to delete
|
326
328
|
# @param avalara_version [String] API version
|
327
329
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
328
330
|
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
@@ -397,22 +399,22 @@ module AvalaraSdk::A1099
|
|
397
399
|
end
|
398
400
|
|
399
401
|
# Retrieve a W9/W4/W8 form
|
400
|
-
# Retrieve a W9/W4/W8 form
|
401
|
-
# @param id [String]
|
402
|
-
# @return [
|
402
|
+
# Retrieve a W9/W4/W8 form.
|
403
|
+
# @param id [String] ID of the form # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
404
|
+
# @return [CreateW9Form201Response]
|
403
405
|
def get_w9_form(request_parameters)
|
404
406
|
data, _status_code, _headers = get_w9_form_with_http_info(request_parameters)
|
405
407
|
data
|
406
408
|
end
|
407
409
|
|
408
410
|
# Retrieve a W9/W4/W8 form
|
409
|
-
# Retrieve a W9/W4/W8 form
|
411
|
+
# Retrieve a W9/W4/W8 form.
|
410
412
|
|
411
|
-
# @param id [String]
|
413
|
+
# @param id [String] ID of the form
|
412
414
|
# @param avalara_version [String] API version
|
413
415
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
414
416
|
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
415
|
-
# @return [Array<(
|
417
|
+
# @return [Array<(CreateW9Form201Response, Integer, Hash)>] CreateW9Form201Response data, response status code and response headers
|
416
418
|
def get_w9_form_with_http_info(request_parameters)
|
417
419
|
# OAuth2 Scopes
|
418
420
|
required_scopes = ''
|
@@ -456,7 +458,7 @@ module AvalaraSdk::A1099
|
|
456
458
|
post_body = {}
|
457
459
|
|
458
460
|
# return_type
|
459
|
-
return_type = '
|
461
|
+
return_type = 'CreateW9Form201Response'
|
460
462
|
|
461
463
|
# auth_names
|
462
464
|
auth_names = ['bearer']
|
@@ -482,7 +484,7 @@ module AvalaraSdk::A1099
|
|
482
484
|
return data, response.code, response.headers
|
483
485
|
end
|
484
486
|
|
485
|
-
# List W9/W4/W8 forms
|
487
|
+
# List W9/W4/W8 forms
|
486
488
|
# List W9/W4/W8 forms.
|
487
489
|
# @param avalara_version [String] API version # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>. # @param top [Integer] If 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. # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. # @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. # @param count [Boolean] When true, returns a @recordSetCount in the result set # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
488
490
|
# @return [PaginatedW9FormsModel]
|
@@ -491,7 +493,7 @@ module AvalaraSdk::A1099
|
|
491
493
|
data
|
492
494
|
end
|
493
495
|
|
494
|
-
# List W9/W4/W8 forms
|
496
|
+
# List W9/W4/W8 forms
|
495
497
|
# List W9/W4/W8 forms.
|
496
498
|
|
497
499
|
# @param avalara_version [String] API version
|
@@ -587,7 +589,8 @@ module AvalaraSdk::A1099
|
|
587
589
|
return data, response.code, response.headers
|
588
590
|
end
|
589
591
|
|
590
|
-
#
|
592
|
+
# Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form
|
593
|
+
# Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form.
|
591
594
|
# @param id [String] The ID of the W9/W4/W8 form. # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
592
595
|
# @return [IW9FormDataModelsOneOf]
|
593
596
|
def send_w9_form_email(request_parameters)
|
@@ -595,8 +598,9 @@ module AvalaraSdk::A1099
|
|
595
598
|
data
|
596
599
|
end
|
597
600
|
|
598
|
-
#
|
599
|
-
|
601
|
+
# Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form
|
602
|
+
# Send an email to the vendor/payee requesting they fill out a W9/W4/W8 form.
|
603
|
+
|
600
604
|
# @param id [String] The ID of the W9/W4/W8 form.
|
601
605
|
# @param avalara_version [String] API version
|
602
606
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
@@ -672,7 +676,8 @@ module AvalaraSdk::A1099
|
|
672
676
|
end
|
673
677
|
|
674
678
|
# Update a W9/W4/W8 form
|
675
|
-
#
|
679
|
+
# Update a W9/W4/W8 form.
|
680
|
+
# @param id [String] ID of the form to update # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . # @param iw9_form_data_models_one_of [IW9FormDataModelsOneOf] Form to be updated
|
676
681
|
# @return [IW9FormDataModelsOneOf]
|
677
682
|
def update_w9_form(request_parameters)
|
678
683
|
data, _status_code, _headers = update_w9_form_with_http_info(request_parameters)
|
@@ -680,8 +685,9 @@ module AvalaraSdk::A1099
|
|
680
685
|
end
|
681
686
|
|
682
687
|
# Update a W9/W4/W8 form
|
683
|
-
|
684
|
-
|
688
|
+
# Update a W9/W4/W8 form.
|
689
|
+
|
690
|
+
# @param id [String] ID of the form to update
|
685
691
|
# @param avalara_version [String] API version
|
686
692
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
687
693
|
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
@@ -762,24 +768,24 @@ module AvalaraSdk::A1099
|
|
762
768
|
return data, response.code, response.headers
|
763
769
|
end
|
764
770
|
|
765
|
-
#
|
766
|
-
#
|
771
|
+
# Replace the PDF file for a W9/W4/W8 form
|
772
|
+
# Replaces the PDF file for a W9/W4/W8 form.
|
767
773
|
# @param id [String] Id of the form # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . # @param file [File]
|
768
|
-
# @return [
|
774
|
+
# @return [nil]
|
769
775
|
def upload_w9_files(request_parameters)
|
770
|
-
|
771
|
-
|
776
|
+
upload_w9_files_with_http_info(request_parameters)
|
777
|
+
nil
|
772
778
|
end
|
773
779
|
|
774
|
-
#
|
775
|
-
#
|
780
|
+
# Replace the PDF file for a W9/W4/W8 form
|
781
|
+
# Replaces the PDF file for a W9/W4/W8 form.
|
776
782
|
|
777
783
|
# @param id [String] Id of the form
|
778
784
|
# @param avalara_version [String] API version
|
779
785
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
780
786
|
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
781
787
|
# @param file [File]
|
782
|
-
# @return [Array<(
|
788
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
783
789
|
def upload_w9_files_with_http_info(request_parameters)
|
784
790
|
# OAuth2 Scopes
|
785
791
|
required_scopes = ''
|
@@ -832,7 +838,7 @@ module AvalaraSdk::A1099
|
|
832
838
|
post_body = {}
|
833
839
|
|
834
840
|
# return_type
|
835
|
-
return_type = '
|
841
|
+
return_type = ''
|
836
842
|
|
837
843
|
# auth_names
|
838
844
|
auth_names = ['bearer']
|
@@ -849,7 +855,7 @@ module AvalaraSdk::A1099
|
|
849
855
|
:return_type => return_type
|
850
856
|
}
|
851
857
|
|
852
|
-
response = @api_client.call_api(:
|
858
|
+
response = @api_client.call_api(:POST, local_var_path, new_options, required_scopes, false, :A1099)
|
853
859
|
if new_options[:return_type]
|
854
860
|
data = deserialize(response, new_options[:return_type])
|
855
861
|
else
|
@@ -863,7 +869,7 @@ module AvalaraSdk::A1099
|
|
863
869
|
# @param String $avalara_version API version (required)
|
864
870
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
865
871
|
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
866
|
-
# @param
|
872
|
+
# @param CreateW9FormRequest $create_w9_form_request Form to be created (optional)
|
867
873
|
#
|
868
874
|
class CreateW9FormRequestSdk
|
869
875
|
attr_accessor :avalara_version
|
@@ -872,7 +878,7 @@ module AvalaraSdk::A1099
|
|
872
878
|
|
873
879
|
attr_accessor :x_avalara_client
|
874
880
|
|
875
|
-
attr_accessor :
|
881
|
+
attr_accessor :create_w9_form_request
|
876
882
|
|
877
883
|
def initialize()
|
878
884
|
end
|
@@ -901,17 +907,17 @@ module AvalaraSdk::A1099
|
|
901
907
|
@x_avalara_client = x_avalara_client
|
902
908
|
end
|
903
909
|
|
904
|
-
def
|
905
|
-
return @
|
910
|
+
def get_create_w9_form_request()
|
911
|
+
return @create_w9_form_request
|
906
912
|
end
|
907
913
|
|
908
|
-
def
|
909
|
-
@
|
914
|
+
def set_create_w9_form_request(create_w9_form_request)
|
915
|
+
@create_w9_form_request = create_w9_form_request
|
910
916
|
end
|
911
917
|
end
|
912
918
|
# Represents the Request object for the DeleteW9Form API
|
913
919
|
#
|
914
|
-
# @param String $id
|
920
|
+
# @param String $id ID of the form to delete (required)
|
915
921
|
# @param String $avalara_version API version (required)
|
916
922
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
917
923
|
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
@@ -962,7 +968,7 @@ module AvalaraSdk::A1099
|
|
962
968
|
end
|
963
969
|
# Represents the Request object for the GetW9Form API
|
964
970
|
#
|
965
|
-
# @param String $id
|
971
|
+
# @param String $id ID of the form (required)
|
966
972
|
# @param String $avalara_version API version (required)
|
967
973
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
968
974
|
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
@@ -1159,7 +1165,7 @@ module AvalaraSdk::A1099
|
|
1159
1165
|
end
|
1160
1166
|
# Represents the Request object for the UpdateW9Form API
|
1161
1167
|
#
|
1162
|
-
# @param String $id
|
1168
|
+
# @param String $id ID of the form to update (required)
|
1163
1169
|
# @param String $avalara_version API version (required)
|
1164
1170
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
1165
1171
|
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Avalara 1099 & W-9 API Definition
|
3
3
|
|
4
|
-
### 🔐 Authentication
|
4
|
+
### 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
|
5
5
|
|
6
6
|
|
7
7
|
=end
|
@@ -17,7 +17,7 @@ module AvalaraSdk::A1099
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.8.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -226,7 +226,7 @@ module AvalaraSdk::A1099
|
|
226
226
|
end
|
227
227
|
|
228
228
|
# Create an issuer
|
229
|
-
# Create a
|
229
|
+
# Create an issuer (also known as a Payer).
|
230
230
|
# @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . # @param issuer_command [IssuerCommand] The issuer to create
|
231
231
|
# @return [IssuerResponse]
|
232
232
|
def create_issuer(request_parameters)
|
@@ -235,7 +235,7 @@ module AvalaraSdk::A1099
|
|
235
235
|
end
|
236
236
|
|
237
237
|
# Create an issuer
|
238
|
-
# Create a
|
238
|
+
# Create an issuer (also known as a Payer).
|
239
239
|
|
240
240
|
# @param avalara_version [String] API version
|
241
241
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
@@ -313,7 +313,7 @@ module AvalaraSdk::A1099
|
|
313
313
|
end
|
314
314
|
|
315
315
|
# Delete an issuer
|
316
|
-
# Delete an issuer
|
316
|
+
# Delete an issuer (also known as a Payer).
|
317
317
|
# @param id [String] Id of the issuer to delete # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
318
318
|
# @return [nil]
|
319
319
|
def delete_issuer(request_parameters)
|
@@ -322,7 +322,7 @@ module AvalaraSdk::A1099
|
|
322
322
|
end
|
323
323
|
|
324
324
|
# Delete an issuer
|
325
|
-
# Delete an issuer
|
325
|
+
# Delete an issuer (also known as a Payer).
|
326
326
|
|
327
327
|
# @param id [String] Id of the issuer to delete
|
328
328
|
# @param avalara_version [String] API version
|
@@ -398,19 +398,19 @@ module AvalaraSdk::A1099
|
|
398
398
|
return data, response.code, response.headers
|
399
399
|
end
|
400
400
|
|
401
|
-
#
|
402
|
-
#
|
403
|
-
# @param id [String]
|
401
|
+
# Retrieve an issuer
|
402
|
+
# Retrieve an issuer (also known as a Payer).
|
403
|
+
# @param id [String] Id of the issuer to retrieve # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
404
404
|
# @return [IssuerResponse]
|
405
405
|
def get_issuer(request_parameters)
|
406
406
|
data, _status_code, _headers = get_issuer_with_http_info(request_parameters)
|
407
407
|
data
|
408
408
|
end
|
409
409
|
|
410
|
-
#
|
411
|
-
#
|
410
|
+
# Retrieve an issuer
|
411
|
+
# Retrieve an issuer (also known as a Payer).
|
412
412
|
|
413
|
-
# @param id [String]
|
413
|
+
# @param id [String] Id of the issuer to retrieve
|
414
414
|
# @param avalara_version [String] API version
|
415
415
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
416
416
|
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
@@ -485,7 +485,7 @@ module AvalaraSdk::A1099
|
|
485
485
|
end
|
486
486
|
|
487
487
|
# List issuers
|
488
|
-
# List issuers
|
488
|
+
# List issuers (also known as Payers). Filterable fields are name, referenceId and taxYear.
|
489
489
|
# @param avalara_version [String] API version # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>. # @param top [Integer] If zero or greater than 1000, return at most 1000 results. Otherwise, return this number of results. Used with skip to provide pagination for large datasets. # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. # @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC. # @param count [Boolean] If true, return the global count of elements in the collection. # @param count_only [Boolean] If true, return ONLY the global count of elements in the collection. It only applies when count=true. # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
490
490
|
# @return [PaginatedQueryResultModelIssuerResponse]
|
491
491
|
def get_issuers(request_parameters)
|
@@ -494,7 +494,7 @@ module AvalaraSdk::A1099
|
|
494
494
|
end
|
495
495
|
|
496
496
|
# List issuers
|
497
|
-
# List issuers
|
497
|
+
# List issuers (also known as Payers). Filterable fields are name, referenceId and taxYear.
|
498
498
|
|
499
499
|
# @param avalara_version [String] API version
|
500
500
|
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>.
|
@@ -595,8 +595,8 @@ module AvalaraSdk::A1099
|
|
595
595
|
end
|
596
596
|
|
597
597
|
# Update an issuer
|
598
|
-
# Update an
|
599
|
-
# @param id [String] Id of the issuer to
|
598
|
+
# Update an issuer (also known as a Payer).
|
599
|
+
# @param id [String] Id of the issuer to update # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . # @param issuer_command [IssuerCommand] The issuer to update
|
600
600
|
# @return [nil]
|
601
601
|
def update_issuer(request_parameters)
|
602
602
|
update_issuer_with_http_info(request_parameters)
|
@@ -604,9 +604,9 @@ module AvalaraSdk::A1099
|
|
604
604
|
end
|
605
605
|
|
606
606
|
# Update an issuer
|
607
|
-
# Update an
|
607
|
+
# Update an issuer (also known as a Payer).
|
608
608
|
|
609
|
-
# @param id [String] Id of the issuer to
|
609
|
+
# @param id [String] Id of the issuer to update
|
610
610
|
# @param avalara_version [String] API version
|
611
611
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
612
612
|
# @param x_avalara_client [String] Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
@@ -791,7 +791,7 @@ module AvalaraSdk::A1099
|
|
791
791
|
end
|
792
792
|
# Represents the Request object for the GetIssuer API
|
793
793
|
#
|
794
|
-
# @param String $id
|
794
|
+
# @param String $id Id of the issuer to retrieve (required)
|
795
795
|
# @param String $avalara_version API version (required)
|
796
796
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
797
797
|
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
@@ -948,7 +948,7 @@ module AvalaraSdk::A1099
|
|
948
948
|
end
|
949
949
|
# Represents the Request object for the UpdateIssuer API
|
950
950
|
#
|
951
|
-
# @param String $id Id of the issuer to
|
951
|
+
# @param String $id Id of the issuer to update (required)
|
952
952
|
# @param String $avalara_version API version (required)
|
953
953
|
# @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
|
954
954
|
# @param String $x_avalara_client Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) . (optional)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Avalara 1099 & W-9 API Definition
|
3
3
|
|
4
|
-
### 🔐 Authentication
|
4
|
+
### 🔐 Authentication Generate a **license key** from: *[Avalara Portal](https://www.avalara.com/us/en/signin.html) → Settings → License and API Keys*. [More on authentication methods](https://developer.avalara.com/avatax-dm-combined-erp/common-setup/authentication/authentication-methods/) [Test your credentials](https://developer.avalara.com/avatax/test-credentials/) ## 📘 API & SDK Documentation [Avalara SDK (.NET) on GitHub](https://github.com/avadev/Avalara-SDK-DotNet#avalarasdk--the-unified-c-library-for-next-gen-avalara-services) [Code Examples – 1099 API](https://github.com/avadev/Avalara-SDK-DotNet/blob/main/docs/A1099/V2/Class1099IssuersApi.md#call1099issuersget)
|
5
5
|
|
6
6
|
|
7
7
|
=end
|
@@ -17,7 +17,7 @@ module AvalaraSdk::A1099
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.8.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -17,7 +17,7 @@ module AvalaraSdk::EInvoicing
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.8.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -227,7 +227,7 @@ module AvalaraSdk::EInvoicing
|
|
227
227
|
|
228
228
|
# Returns the optionality of document fields for different country mandates
|
229
229
|
# This endpoint provides a list of required, conditional, and optional fields for each country mandate. You can use the <code>mandates</code> endpoint to retrieve all available country mandates. You can use the $filter query parameter to retrieve fields for a particular mandate
|
230
|
-
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. # @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. # @param top [
|
230
|
+
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. # @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. # @param top [Integer] The number of items to include in the result. # @param skip [Integer] The number of items to skip in the result. # @param count [Boolean] When set to true, the count of the collection is also returned in the response body # @param count_only [Boolean] When set to true, only the count of the collection is returned
|
231
231
|
# @return [DataInputFieldsResponse]
|
232
232
|
def get_data_input_fields(request_parameters)
|
233
233
|
data, _status_code, _headers = get_data_input_fields_with_http_info(request_parameters)
|
@@ -240,8 +240,8 @@ module AvalaraSdk::EInvoicing
|
|
240
240
|
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used
|
241
241
|
# @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint.
|
242
242
|
# @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering.
|
243
|
-
# @param top [
|
244
|
-
# @param skip [
|
243
|
+
# @param top [Integer] The number of items to include in the result.
|
244
|
+
# @param skip [Integer] The number of items to skip in the result.
|
245
245
|
# @param count [Boolean] When set to true, the count of the collection is also returned in the response body
|
246
246
|
# @param count_only [Boolean] When set to true, only the count of the collection is returned
|
247
247
|
# @return [Array<(DataInputFieldsResponse, Integer, Hash)>] DataInputFieldsResponse data, response status code and response headers
|
@@ -330,8 +330,8 @@ module AvalaraSdk::EInvoicing
|
|
330
330
|
# @param String $avalara_version The HTTP Header meant to specify the version of the API intended to be used (required)
|
331
331
|
# @param String $x_avalara_client You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. (optional)
|
332
332
|
# @param String $filter Filter by field name and value. This filter only supports <code>eq</code> and <code>contains</code>. Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. (optional)
|
333
|
-
# @param
|
334
|
-
# @param
|
333
|
+
# @param Integer $top The number of items to include in the result. (optional)
|
334
|
+
# @param Integer $skip The number of items to skip in the result. (optional)
|
335
335
|
# @param Boolean $count When set to true, the count of the collection is also returned in the response body (optional)
|
336
336
|
# @param Boolean $count_only When set to true, only the count of the collection is returned (optional)
|
337
337
|
#
|
@@ -354,7 +354,7 @@ module AvalaraSdk::EInvoicing
|
|
354
354
|
end
|
355
355
|
|
356
356
|
def get_avalara_version()
|
357
|
-
return @avalara_version || '1.
|
357
|
+
return @avalara_version || '1.4'
|
358
358
|
end
|
359
359
|
|
360
360
|
def set_avalara_version(avalara_version)
|
@@ -17,7 +17,7 @@ module AvalaraSdk::EInvoicing
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.8.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -403,7 +403,7 @@ module AvalaraSdk::EInvoicing
|
|
403
403
|
|
404
404
|
# Returns a summary of documents for a date range
|
405
405
|
# Get a list of documents on the Avalara E-Invoicing platform that have a processing date within the specified date range.
|
406
|
-
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. # @param start_date [Time] Start date of documents to return. This defaults to the previous month. # @param end_date [Time] End date of documents to return. This defaults to the current date. # @param flow [String] Optionally filter by document direction, where issued = `out` and received = `in` # @param count [String] When set to true, the count of the collection is also returned in the response body # @param count_only [String] When set to true, only the count of the collection is returned # @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> . Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided startDate and endDate. If no startDate or endDate is provided, defaults will be assumed. # @param top [
|
406
|
+
# @param avalara_version [String] The HTTP Header meant to specify the version of the API intended to be used # @param x_avalara_client [String] You can freely use any text you wish for this value. This feature can help you diagnose and solve problems with your software. The header can be treated like a fingerprint. # @param start_date [Time] Start date of documents to return. This defaults to the previous month. # @param end_date [Time] End date of documents to return. This defaults to the current date. # @param flow [String] Optionally filter by document direction, where issued = `out` and received = `in` # @param count [String] When set to true, the count of the collection is also returned in the response body # @param count_only [String] When set to true, only the count of the collection is returned # @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> . Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided startDate and endDate. If no startDate or endDate is provided, defaults will be assumed. # @param top [Integer] The number of items to include in the result. # @param skip [Integer] The number of items to skip in the result.
|
407
407
|
# @return [DocumentListResponse]
|
408
408
|
def get_document_list(request_parameters)
|
409
409
|
data, _status_code, _headers = get_document_list_with_http_info(request_parameters)
|
@@ -421,8 +421,8 @@ module AvalaraSdk::EInvoicing
|
|
421
421
|
# @param count [String] When set to true, the count of the collection is also returned in the response body
|
422
422
|
# @param count_only [String] When set to true, only the count of the collection is returned
|
423
423
|
# @param filter [String] Filter by field name and value. This filter only supports <code>eq</code> . Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided startDate and endDate. If no startDate or endDate is provided, defaults will be assumed.
|
424
|
-
# @param top [
|
425
|
-
# @param skip [
|
424
|
+
# @param top [Integer] The number of items to include in the result.
|
425
|
+
# @param skip [Integer] The number of items to skip in the result.
|
426
426
|
# @return [Array<(DocumentListResponse, Integer, Hash)>] DocumentListResponse data, response status code and response headers
|
427
427
|
def get_document_list_with_http_info(request_parameters)
|
428
428
|
# OAuth2 Scopes
|
@@ -715,7 +715,7 @@ module AvalaraSdk::EInvoicing
|
|
715
715
|
end
|
716
716
|
|
717
717
|
def get_avalara_version()
|
718
|
-
return @avalara_version || '1.
|
718
|
+
return @avalara_version || '1.4'
|
719
719
|
end
|
720
720
|
|
721
721
|
def set_avalara_version(avalara_version)
|
@@ -763,7 +763,7 @@ module AvalaraSdk::EInvoicing
|
|
763
763
|
end
|
764
764
|
|
765
765
|
def get_avalara_version()
|
766
|
-
return @avalara_version || '1.
|
766
|
+
return @avalara_version || '1.4'
|
767
767
|
end
|
768
768
|
|
769
769
|
def set_avalara_version(avalara_version)
|
@@ -796,8 +796,8 @@ module AvalaraSdk::EInvoicing
|
|
796
796
|
# @param String $count When set to true, the count of the collection is also returned in the response body (optional)
|
797
797
|
# @param String $count_only When set to true, only the count of the collection is returned (optional)
|
798
798
|
# @param String $filter Filter by field name and value. This filter only supports <code>eq</code> . Refer to [https://developer.avalara.com/avatax/filtering-in-rest/](https://developer.avalara.com/avatax/filtering-in-rest/) for more information on filtering. Filtering will be done over the provided startDate and endDate. If no startDate or endDate is provided, defaults will be assumed. (optional)
|
799
|
-
# @param
|
800
|
-
# @param
|
799
|
+
# @param Integer $top The number of items to include in the result. (optional)
|
800
|
+
# @param Integer $skip The number of items to skip in the result. (optional)
|
801
801
|
#
|
802
802
|
class GetDocumentListRequestSdk
|
803
803
|
attr_accessor :avalara_version
|
@@ -824,7 +824,7 @@ module AvalaraSdk::EInvoicing
|
|
824
824
|
end
|
825
825
|
|
826
826
|
def get_avalara_version()
|
827
|
-
return @avalara_version || '1.
|
827
|
+
return @avalara_version || '1.4'
|
828
828
|
end
|
829
829
|
|
830
830
|
def set_avalara_version(avalara_version)
|
@@ -920,7 +920,7 @@ module AvalaraSdk::EInvoicing
|
|
920
920
|
end
|
921
921
|
|
922
922
|
def get_avalara_version()
|
923
|
-
return @avalara_version || '1.
|
923
|
+
return @avalara_version || '1.4'
|
924
924
|
end
|
925
925
|
|
926
926
|
def set_avalara_version(avalara_version)
|
@@ -963,7 +963,7 @@ module AvalaraSdk::EInvoicing
|
|
963
963
|
end
|
964
964
|
|
965
965
|
def get_avalara_version()
|
966
|
-
return @avalara_version || '1.
|
966
|
+
return @avalara_version || '1.4'
|
967
967
|
end
|
968
968
|
|
969
969
|
def set_avalara_version(avalara_version)
|
@@ -17,7 +17,7 @@ module AvalaraSdk::EInvoicing
|
|
17
17
|
if (api_client.nil?)
|
18
18
|
fail ArgumentError,'api_client is nil'
|
19
19
|
end
|
20
|
-
api_client.set_sdk_version("25.
|
20
|
+
api_client.set_sdk_version("25.8.0")
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
23
|
|
@@ -385,7 +385,7 @@ module AvalaraSdk::EInvoicing
|
|
385
385
|
end
|
386
386
|
|
387
387
|
def get_avalara_version()
|
388
|
-
return @avalara_version || '1.
|
388
|
+
return @avalara_version || '1.4'
|
389
389
|
end
|
390
390
|
|
391
391
|
def set_avalara_version(avalara_version)
|