avalara_sdk 25.6.0 → 25.7.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.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -3
  3. data/docs/A1099/V2/BulkUpsert1099FormsRequest.md +3 -1
  4. data/docs/A1099/V2/CompaniesW9Api.md +45 -31
  5. data/docs/A1099/V2/CoveredIndividualReference.md +58 -0
  6. data/docs/A1099/V2/CoveredIndividualRequest.md +54 -0
  7. data/docs/A1099/V2/Form1095B.md +86 -0
  8. data/docs/A1099/V2/Form1095BList.md +20 -0
  9. data/docs/A1099/V2/Form1095BListItem.md +74 -0
  10. data/docs/A1099/V2/Form1095BRequest.md +76 -0
  11. data/docs/A1099/V2/Form1099Base.md +8 -8
  12. data/docs/A1099/V2/Form1099DivListItem.md +11 -11
  13. data/docs/A1099/V2/Form1099DivRequest.md +11 -17
  14. data/docs/A1099/V2/Form1099DivResponse.md +88 -0
  15. data/docs/A1099/V2/Form1099K.md +8 -8
  16. data/docs/A1099/V2/Form1099KListItem.md +11 -11
  17. data/docs/A1099/V2/Form1099KRequest.md +11 -17
  18. data/docs/A1099/V2/Form1099List.md +1 -1
  19. data/docs/A1099/V2/Form1099ListDataInner.md +32 -0
  20. data/docs/A1099/V2/Form1099Misc.md +8 -8
  21. data/docs/A1099/V2/Form1099MiscListItem.md +11 -11
  22. data/docs/A1099/V2/Form1099MiscRequest.md +11 -17
  23. data/docs/A1099/V2/Form1099MiscResponse.md +120 -0
  24. data/docs/A1099/V2/Form1099Nec.md +8 -8
  25. data/docs/A1099/V2/Form1099NecListItem.md +11 -11
  26. data/docs/A1099/V2/Form1099NecRequest.md +11 -17
  27. data/docs/A1099/V2/Form1099NecResponse.md +96 -0
  28. data/docs/A1099/V2/Form1099R.md +8 -8
  29. data/docs/A1099/V2/Form1099RListItem.md +11 -11
  30. data/docs/A1099/V2/Form1099RRequest.md +11 -17
  31. data/docs/A1099/V2/FormRequestBase.md +9 -13
  32. data/docs/A1099/V2/FormRequestCsvBase.md +66 -0
  33. data/docs/A1099/V2/FormResponseBase.md +43 -9
  34. data/docs/A1099/V2/FormSingleRequestBase.md +11 -15
  35. data/docs/A1099/V2/Forms1099Api.md +75 -57
  36. data/docs/A1099/V2/FormsW9Api.md +63 -123
  37. data/docs/A1099/V2/Get1099Form200Response.md +55 -0
  38. data/docs/A1099/V2/IncludedBase.md +20 -0
  39. data/docs/A1099/V2/Issuers1099Api.md +45 -31
  40. data/docs/A1099/V2/Jobs1099Api.md +10 -6
  41. data/docs/A1099/V2/StateAndLocalWithholdingResponse.md +32 -0
  42. data/docs/A1099/V2/StateEfileStatusDetail.md +1 -1
  43. data/docs/A1099/V2/StateEfileStatusDetailApp.md +22 -0
  44. data/docs/A1099/V2/StatusDetail.md +20 -0
  45. data/docs/A1099/V2/Update1099Form200Response.md +53 -0
  46. data/docs/A1099/V2/ValidationErrorApp.md +20 -0
  47. data/docs/EInvoicing/V1/DataInputFieldsApi.md +4 -4
  48. data/docs/EInvoicing/V1/DocumentsApi.md +2 -2
  49. data/docs/EInvoicing/V1/MandatesApi.md +4 -4
  50. data/docs/EInvoicing/V1/SubscriptionsApi.md +4 -4
  51. data/docs/EInvoicing/V1/TradingPartnersApi.md +4 -4
  52. data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +103 -43
  53. data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +171 -87
  54. data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +135 -176
  55. data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +103 -43
  56. data/lib/avalara_sdk/api/A1099/V2/jobs1099_api.rb +19 -7
  57. data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +6 -6
  58. data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +4 -4
  59. data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
  60. data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +6 -6
  61. data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +6 -6
  62. data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +7 -7
  63. data/lib/avalara_sdk/models/A1099/V2/bulk_upsert1099_forms_request.rb +1 -0
  64. data/lib/avalara_sdk/models/A1099/V2/covered_individual_reference.rb +403 -0
  65. data/lib/avalara_sdk/models/A1099/V2/covered_individual_request.rb +378 -0
  66. data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +572 -0
  67. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list.rb +238 -0
  68. data/lib/avalara_sdk/models/A1099/V2/form1095_b_list_item.rb +538 -0
  69. data/lib/avalara_sdk/models/A1099/V2/form1095_b_request.rb +559 -0
  70. data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +29 -29
  71. data/lib/avalara_sdk/models/A1099/V2/form1099_div_list_item.rb +78 -36
  72. data/lib/avalara_sdk/models/A1099/V2/form1099_div_request.rb +80 -53
  73. data/lib/avalara_sdk/models/A1099/V2/form1099_div_response.rb +600 -0
  74. data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +29 -29
  75. data/lib/avalara_sdk/models/A1099/V2/form1099_k_list_item.rb +56 -37
  76. data/lib/avalara_sdk/models/A1099/V2/form1099_k_request.rb +80 -54
  77. data/lib/avalara_sdk/models/A1099/V2/form1099_list.rb +1 -1
  78. data/lib/avalara_sdk/models/A1099/V2/form1099_list_data_inner.rb +20 -68
  79. data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +29 -29
  80. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_list_item.rb +78 -36
  81. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_request.rb +80 -53
  82. data/lib/avalara_sdk/models/A1099/V2/form1099_misc_response.rb +744 -0
  83. data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +29 -29
  84. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_list_item.rb +78 -36
  85. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_request.rb +80 -53
  86. data/lib/avalara_sdk/models/A1099/V2/form1099_nec_response.rb +636 -0
  87. data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +29 -29
  88. data/lib/avalara_sdk/models/A1099/V2/form1099_r_list_item.rb +56 -36
  89. data/lib/avalara_sdk/models/A1099/V2/form1099_r_request.rb +80 -53
  90. data/lib/avalara_sdk/models/A1099/V2/form_request_base.rb +68 -44
  91. data/lib/avalara_sdk/models/A1099/V2/form_request_csv_base.rb +475 -0
  92. data/lib/avalara_sdk/models/A1099/V2/form_response_base.rb +252 -31
  93. data/lib/avalara_sdk/models/A1099/V2/form_single_request_base.rb +80 -44
  94. data/lib/avalara_sdk/models/A1099/V2/get1099_form200_response.rb +104 -0
  95. data/lib/avalara_sdk/models/A1099/V2/included_base.rb +219 -0
  96. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_request.rb +1 -0
  97. data/lib/avalara_sdk/models/A1099/V2/state_and_local_withholding_response.rb +274 -0
  98. data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail_app.rb +231 -0
  99. data/lib/avalara_sdk/models/A1099/V2/status_detail.rb +221 -0
  100. data/lib/avalara_sdk/models/A1099/V2/update1099_form200_response.rb +103 -0
  101. data/lib/avalara_sdk/models/A1099/V2/validation_error_app.rb +229 -0
  102. data/lib/avalara_sdk/version.rb +1 -1
  103. data/lib/avalara_sdk.rb +17 -0
  104. data/spec/integration/a1099_spec.rb +12 -12
  105. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-11.1.3/gem_make.out +5 -5
  106. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.4.1/gem_make.out +5 -5
  107. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debase-0.2.9/gem_make.out +5 -5
  108. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/debug-1.10.0/gem_make.out +5 -5
  109. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/erb-5.0.1/gem_make.out +5 -5
  110. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.0/gem_make.out +5 -5
  111. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/json-2.12.2/gem_make.out +5 -5
  112. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/prism-1.4.0/gem_make.out +5 -5
  113. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.2.6/gem_make.out +5 -5
  114. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  115. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.1.7/gem_make.out +5 -5
  116. metadata +36 -2
@@ -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.6.0")
20
+ api_client.set_sdk_version("25.7.0")
21
21
  @api_client = api_client
22
22
  end
23
23
 
@@ -226,8 +226,8 @@ module AvalaraSdk::A1099
226
226
  end
227
227
 
228
228
  # Creates or updates multiple 1099 forms.
229
- # This endpoint allows you to create or update multiple 1099 forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"987-65-4321\", \"TinType\": 1, \"RecipientSecondName\": \"Jane Doe\", \"StreetAddress\": \"123 Main Street\", \"StreetAddressLine2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"PayerMadeDirectSales\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"987-65-4321\", \"tinType\": 1, \"streetAddress\": \"123 Center St\", \"streetAddressLine2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"payerMadeDirectSales\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\" \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34 \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
230
- # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param dry_run [Boolean] # @param bulk_upsert1099_forms_request [BulkUpsert1099FormsRequest]
229
+ # This endpoint allows you to create or update multiple 1099 forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"987-65-4321\", \"TinType\": \"IEN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"PayerMadeDirectSales\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"987-65-4321\", \"tinType\": \"IEN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"payerMadeDirectSales\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\" \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34 \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
230
+ # @param avalara_version [String] API version # @param dry_run [Boolean] # @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 bulk_upsert1099_forms_request [BulkUpsert1099FormsRequest]
231
231
  # @return [Form1099ProccessResult]
232
232
  def bulk_upsert1099_forms(request_parameters)
233
233
  data, _status_code, _headers = bulk_upsert1099_forms_with_http_info(request_parameters)
@@ -235,11 +235,12 @@ module AvalaraSdk::A1099
235
235
  end
236
236
 
237
237
  # Creates or updates multiple 1099 forms.
238
- # This endpoint allows you to create or update multiple 1099 forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"987-65-4321\", \"TinType\": 1, \"RecipientSecondName\": \"Jane Doe\", \"StreetAddress\": \"123 Main Street\", \"StreetAddressLine2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"PayerMadeDirectSales\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"987-65-4321\", \"tinType\": 1, \"streetAddress\": \"123 Center St\", \"streetAddressLine2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"payerMadeDirectSales\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\" \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34 \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
238
+ # This endpoint allows you to create or update multiple 1099 forms. You can use one of the following payload structures: **Form 1099-MISC:** ```json { \"formType\": \"1099-MISC\", \"forms\": [ { \"IssuerId\": \"123456\", \"IssuerReferenceId\": \"REF123\", \"IssuerTin\": \"12-3456789\", \"TaxYear\": 2023, \"ReferenceId\": \"FORM123456\", \"RecipientName\": \"John Doe\", \"RecipientTin\": \"987-65-4321\", \"TinType\": \"IEN\", \"RecipientSecondName\": \"Jane Doe\", \"Address\": \"123 Main Street\", \"Address2\": \"Apt 4B\", \"City\": \"New York\", \"State\": \"NY\", \"Zip\": \"10001\", \"RecipientEmail\": \"john.doe@email.com\", \"AccountNumber\": \"ACC123456\", \"OfficeCode\": \"NYC01\", \"SecondTinNotice\": false, \"RecipientNonUsProvince\": \"\", \"CountryCode\": \"US\", \"Rents\": 12000.00, \"Royalties\": 5000.00, \"OtherIncome\": 3000.00, \"FishingBoatProceeds\": 0.00, \"MedicalHealthCarePayments\": 15000.00, \"SubstitutePayments\": 1000.00, \"CropInsuranceProceeds\": 0.00, \"GrossProceedsPaidToAttorney\": 7500.00, \"FishPurchasedForResale\": 0.00, \"FedIncomeTaxWithheld\": 5000.00, \"Section409ADeferrals\": 0.00, \"ExcessGoldenParachutePayments\": 0.00, \"NonqualifiedDeferredCompensation\": 0.00, \"PayerMadeDirectSales\": false, \"FatcaFilingRequirement\": false, \"StateAndLocalWithholding\": { \"StateTaxWithheld\": 2500.00, \"LocalTaxWithheld\": 1000.00, \"State\": \"NY\", \"StateIdNumber\": \"NY123456\", \"Locality\": \"New York City\", \"StateIncome\": 35000.00, \"LocalIncome\": 35000.00 } } ] } ``` **Form 1099-NEC:** ```json { \"formType\": \"1099-NEC\", \"forms\": [ { \"issuerID\": \"180337282\", \"issuerReferenceId\": \"ISS123\", \"issuerTin\": \"12-3000000\", \"taxYear\": 2024, \"referenceID\": \"REF-002\", \"recipientName\": \"Jane Smith\", \"recipientSecondName\": \"\", \"recipientTin\": \"987-65-4321\", \"tinType\": \"IEN\", \"address\": \"123 Center St\", \"address2\": \"\", \"city\": \"Santa Monica\", \"state\": \"CA\", \"zip\": \"90401\", \"countryCode\": \"US\", \"recipientNonUsProvince\": \"\", \"recipientEmail\": \"\", \"accountNumber\": \"\", \"officeCode\": \"\", \"secondTinNotice\": false, \"nonemployeeCompensation\": 123.45, \"payerMadeDirectSales\": false, \"federalIncomeTaxWithheld\": 12.34, \"stateAndLocalWithholding\": { \"state\": \"CA\", \"stateIdNumber\": \"123123123\" \"stateIncome\": 123.45, \"stateTaxWithheld\": 12.34, \"locality\": \"Santa Monica\", \"localityIdNumber\": \"456456\", \"localTaxWithheld\": 12.34 \"localIncome\": 50000.00 }, \"federalEFile\": true, \"postalMail\": true, \"stateEFile\": true, \"tinMatch\": true, \"addressVerification\": true } ] } ``` For the full version of the payload and its schema details, refer to the Swagger schemas section.
239
239
 
240
240
  # @param avalara_version [String] API version
241
- # @param x_correlation_id [String] Unique correlation Id in a GUID format
242
241
  # @param dry_run [Boolean]
242
+ # @param x_correlation_id [String] Unique correlation Id in a GUID format
243
+ # @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/) .
243
244
  # @param bulk_upsert1099_forms_request [BulkUpsert1099FormsRequest]
244
245
  # @return [Array<(Form1099ProccessResult, Integer, Hash)>] Form1099ProccessResult data, response status code and response headers
245
246
  def bulk_upsert1099_forms_with_http_info(request_parameters)
@@ -247,17 +248,14 @@ module AvalaraSdk::A1099
247
248
  required_scopes = ''
248
249
  # Request Parameters
249
250
  avalara_version = request_parameters.get_avalara_version()
250
- x_correlation_id = request_parameters.get_x_correlation_id()
251
251
  dry_run = request_parameters.get_dry_run()
252
+ x_correlation_id = request_parameters.get_x_correlation_id()
253
+ x_avalara_client = request_parameters.get_x_avalara_client()
252
254
  bulk_upsert1099_forms_request = request_parameters.get_bulk_upsert1099_forms_request()
253
255
  # verify the required parameter 'avalara_version' is set
254
256
  if @api_client.config.client_side_validation && avalara_version.nil?
255
257
  fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Forms1099Api.bulk_upsert1099_forms"
256
258
  end
257
- # verify the required parameter 'x_correlation_id' is set
258
- if @api_client.config.client_side_validation && x_correlation_id.nil?
259
- fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Forms1099Api.bulk_upsert1099_forms"
260
- end
261
259
  # resource path
262
260
  local_var_path = '/1099/forms/$bulk-upsert'
263
261
 
@@ -282,6 +280,9 @@ module AvalaraSdk::A1099
282
280
  if !x_correlation_id.nil?
283
281
  header_params[:'X-Correlation-Id'] = x_correlation_id
284
282
  end
283
+ if !x_avalara_client.nil?
284
+ header_params[:'X-Avalara-Client'] = x_avalara_client
285
+ end
285
286
 
286
287
  # form parameters
287
288
  form_params = {}
@@ -317,8 +318,8 @@ module AvalaraSdk::A1099
317
318
  end
318
319
 
319
320
  # Creates a 1099 form.
320
- # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param i_create_form1099_request [ICreateForm1099Request]
321
- # @return [FormResponseBase]
321
+ # @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 i_create_form1099_request [ICreateForm1099Request]
322
+ # @return [Get1099Form200Response]
322
323
  def create1099_form(request_parameters)
323
324
  data, _status_code, _headers = create1099_form_with_http_info(request_parameters)
324
325
  data
@@ -328,23 +329,21 @@ module AvalaraSdk::A1099
328
329
 
329
330
  # @param avalara_version [String] API version
330
331
  # @param x_correlation_id [String] Unique correlation Id in a GUID format
332
+ # @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/) .
331
333
  # @param i_create_form1099_request [ICreateForm1099Request]
332
- # @return [Array<(FormResponseBase, Integer, Hash)>] FormResponseBase data, response status code and response headers
334
+ # @return [Array<(Get1099Form200Response, Integer, Hash)>] Get1099Form200Response data, response status code and response headers
333
335
  def create1099_form_with_http_info(request_parameters)
334
336
  # OAuth2 Scopes
335
337
  required_scopes = ''
336
338
  # Request Parameters
337
339
  avalara_version = request_parameters.get_avalara_version()
338
340
  x_correlation_id = request_parameters.get_x_correlation_id()
341
+ x_avalara_client = request_parameters.get_x_avalara_client()
339
342
  i_create_form1099_request = request_parameters.get_i_create_form1099_request()
340
343
  # verify the required parameter 'avalara_version' is set
341
344
  if @api_client.config.client_side_validation && avalara_version.nil?
342
345
  fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Forms1099Api.create1099_form"
343
346
  end
344
- # verify the required parameter 'x_correlation_id' is set
345
- if @api_client.config.client_side_validation && x_correlation_id.nil?
346
- fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Forms1099Api.create1099_form"
347
- end
348
347
  # resource path
349
348
  local_var_path = '/1099/forms'
350
349
 
@@ -366,6 +365,9 @@ module AvalaraSdk::A1099
366
365
  if !x_correlation_id.nil?
367
366
  header_params[:'X-Correlation-Id'] = x_correlation_id
368
367
  end
368
+ if !x_avalara_client.nil?
369
+ header_params[:'X-Avalara-Client'] = x_avalara_client
370
+ end
369
371
 
370
372
  # form parameters
371
373
  form_params = {}
@@ -374,7 +376,7 @@ module AvalaraSdk::A1099
374
376
  post_body = @api_client.object_to_http_body(i_create_form1099_request) || {}
375
377
 
376
378
  # return_type
377
- return_type = 'FormResponseBase'
379
+ return_type = 'Get1099Form200Response'
378
380
 
379
381
  # auth_names
380
382
  auth_names = ['bearer']
@@ -401,7 +403,7 @@ module AvalaraSdk::A1099
401
403
  end
402
404
 
403
405
  # Deletes a 1099 form.
404
- # @param id [String] The unique identifier of the desired form to delete. # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format
406
+ # @param id [String] The unique identifier of the desired 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/) .
405
407
  # @return [nil]
406
408
  def delete1099_form(request_parameters)
407
409
  delete1099_form_with_http_info(request_parameters)
@@ -413,6 +415,7 @@ module AvalaraSdk::A1099
413
415
  # @param id [String] The unique identifier of the desired form to delete.
414
416
  # @param avalara_version [String] API version
415
417
  # @param x_correlation_id [String] Unique correlation Id in a GUID format
418
+ # @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/) .
416
419
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
417
420
  def delete1099_form_with_http_info(request_parameters)
418
421
  # OAuth2 Scopes
@@ -421,6 +424,7 @@ module AvalaraSdk::A1099
421
424
  id = request_parameters.get_id()
422
425
  avalara_version = request_parameters.get_avalara_version()
423
426
  x_correlation_id = request_parameters.get_x_correlation_id()
427
+ x_avalara_client = request_parameters.get_x_avalara_client()
424
428
  # verify the required parameter 'id' is set
425
429
  if @api_client.config.client_side_validation && id.nil?
426
430
  fail ArgumentError, "Missing the required parameter 'id' when calling Forms1099Api.delete1099_form"
@@ -429,10 +433,6 @@ module AvalaraSdk::A1099
429
433
  if @api_client.config.client_side_validation && avalara_version.nil?
430
434
  fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Forms1099Api.delete1099_form"
431
435
  end
432
- # verify the required parameter 'x_correlation_id' is set
433
- if @api_client.config.client_side_validation && x_correlation_id.nil?
434
- fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Forms1099Api.delete1099_form"
435
- end
436
436
  # resource path
437
437
  local_var_path = '/1099/forms/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
438
438
 
@@ -449,6 +449,9 @@ module AvalaraSdk::A1099
449
449
  if !x_correlation_id.nil?
450
450
  header_params[:'X-Correlation-Id'] = x_correlation_id
451
451
  end
452
+ if !x_avalara_client.nil?
453
+ header_params[:'X-Avalara-Client'] = x_avalara_client
454
+ end
452
455
 
453
456
  # form parameters
454
457
  form_params = {}
@@ -484,8 +487,8 @@ module AvalaraSdk::A1099
484
487
  end
485
488
 
486
489
  # Retrieves a 1099 form.
487
- # @param id [String] # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format
488
- # @return [FormResponseBase]
490
+ # @param id [String] # @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/) .
491
+ # @return [Get1099Form200Response]
489
492
  def get1099_form(request_parameters)
490
493
  data, _status_code, _headers = get1099_form_with_http_info(request_parameters)
491
494
  data
@@ -496,7 +499,8 @@ module AvalaraSdk::A1099
496
499
  # @param id [String]
497
500
  # @param avalara_version [String] API version
498
501
  # @param x_correlation_id [String] Unique correlation Id in a GUID format
499
- # @return [Array<(FormResponseBase, Integer, Hash)>] FormResponseBase data, response status code and response headers
502
+ # @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/) .
503
+ # @return [Array<(Get1099Form200Response, Integer, Hash)>] Get1099Form200Response data, response status code and response headers
500
504
  def get1099_form_with_http_info(request_parameters)
501
505
  # OAuth2 Scopes
502
506
  required_scopes = ''
@@ -504,6 +508,7 @@ module AvalaraSdk::A1099
504
508
  id = request_parameters.get_id()
505
509
  avalara_version = request_parameters.get_avalara_version()
506
510
  x_correlation_id = request_parameters.get_x_correlation_id()
511
+ x_avalara_client = request_parameters.get_x_avalara_client()
507
512
  # verify the required parameter 'id' is set
508
513
  if @api_client.config.client_side_validation && id.nil?
509
514
  fail ArgumentError, "Missing the required parameter 'id' when calling Forms1099Api.get1099_form"
@@ -512,10 +517,6 @@ module AvalaraSdk::A1099
512
517
  if @api_client.config.client_side_validation && avalara_version.nil?
513
518
  fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Forms1099Api.get1099_form"
514
519
  end
515
- # verify the required parameter 'x_correlation_id' is set
516
- if @api_client.config.client_side_validation && x_correlation_id.nil?
517
- fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Forms1099Api.get1099_form"
518
- end
519
520
  # resource path
520
521
  local_var_path = '/1099/forms/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
521
522
 
@@ -532,6 +533,9 @@ module AvalaraSdk::A1099
532
533
  if !x_correlation_id.nil?
533
534
  header_params[:'X-Correlation-Id'] = x_correlation_id
534
535
  end
536
+ if !x_avalara_client.nil?
537
+ header_params[:'X-Avalara-Client'] = x_avalara_client
538
+ end
535
539
 
536
540
  # form parameters
537
541
  form_params = {}
@@ -540,7 +544,7 @@ module AvalaraSdk::A1099
540
544
  post_body = {}
541
545
 
542
546
  # return_type
543
- return_type = 'FormResponseBase'
547
+ return_type = 'Get1099Form200Response'
544
548
 
545
549
  # auth_names
546
550
  auth_names = ['bearer']
@@ -567,8 +571,8 @@ module AvalaraSdk::A1099
567
571
  end
568
572
 
569
573
  # Retrieves the PDF file for a single 1099 by form id.
570
- # @param id [String] # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param mark_edelivered [Boolean] The parameter for marked e-delivered
571
- # @return [FormResponseBase]
574
+ # @param id [String] # @param avalara_version [String] API version # @param mark_edelivered [Boolean] The parameter for marked e-delivered # @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/) .
575
+ # @return [Update1099Form200Response]
572
576
  def get1099_form_pdf(request_parameters)
573
577
  data, _status_code, _headers = get1099_form_pdf_with_http_info(request_parameters)
574
578
  data
@@ -578,17 +582,19 @@ module AvalaraSdk::A1099
578
582
 
579
583
  # @param id [String]
580
584
  # @param avalara_version [String] API version
581
- # @param x_correlation_id [String] Unique correlation Id in a GUID format
582
585
  # @param mark_edelivered [Boolean] The parameter for marked e-delivered
583
- # @return [Array<(FormResponseBase, Integer, Hash)>] FormResponseBase data, response status code and response headers
586
+ # @param x_correlation_id [String] Unique correlation Id in a GUID format
587
+ # @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/) .
588
+ # @return [Array<(Update1099Form200Response, Integer, Hash)>] Update1099Form200Response data, response status code and response headers
584
589
  def get1099_form_pdf_with_http_info(request_parameters)
585
590
  # OAuth2 Scopes
586
591
  required_scopes = ''
587
592
  # Request Parameters
588
593
  id = request_parameters.get_id()
589
594
  avalara_version = request_parameters.get_avalara_version()
590
- x_correlation_id = request_parameters.get_x_correlation_id()
591
595
  mark_edelivered = request_parameters.get_mark_edelivered()
596
+ x_correlation_id = request_parameters.get_x_correlation_id()
597
+ x_avalara_client = request_parameters.get_x_avalara_client()
592
598
  # verify the required parameter 'id' is set
593
599
  if @api_client.config.client_side_validation && id.nil?
594
600
  fail ArgumentError, "Missing the required parameter 'id' when calling Forms1099Api.get1099_form_pdf"
@@ -597,10 +603,6 @@ module AvalaraSdk::A1099
597
603
  if @api_client.config.client_side_validation && avalara_version.nil?
598
604
  fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Forms1099Api.get1099_form_pdf"
599
605
  end
600
- # verify the required parameter 'x_correlation_id' is set
601
- if @api_client.config.client_side_validation && x_correlation_id.nil?
602
- fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Forms1099Api.get1099_form_pdf"
603
- end
604
606
  # resource path
605
607
  local_var_path = '/1099/forms/{id}/pdf'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
606
608
 
@@ -620,6 +622,9 @@ module AvalaraSdk::A1099
620
622
  if !x_correlation_id.nil?
621
623
  header_params[:'X-Correlation-Id'] = x_correlation_id
622
624
  end
625
+ if !x_avalara_client.nil?
626
+ header_params[:'X-Avalara-Client'] = x_avalara_client
627
+ end
623
628
 
624
629
  # form parameters
625
630
  form_params = {}
@@ -628,7 +633,7 @@ module AvalaraSdk::A1099
628
633
  post_body = {}
629
634
 
630
635
  # return_type
631
- return_type = 'FormResponseBase'
636
+ return_type = 'Update1099Form200Response'
632
637
 
633
638
  # auth_names
634
639
  auth_names = ['bearer']
@@ -655,7 +660,7 @@ module AvalaraSdk::A1099
655
660
  end
656
661
 
657
662
  # Retrieves a list of 1099 forms based on query parameters.
658
- # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held firstPayeeName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false # @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 issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt firstPayeeName updatedAt
663
+ # @param avalara_version [String] API version # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held recipientName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false # @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 issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt recipientName updatedAt # @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/) .
659
664
  # @return [Form1099List]
660
665
  def list1099_forms(request_parameters)
661
666
  data, _status_code, _headers = list1099_forms_with_http_info(request_parameters)
@@ -665,30 +670,28 @@ module AvalaraSdk::A1099
665
670
  # Retrieves a list of 1099 forms based on query parameters.
666
671
 
667
672
  # @param avalara_version [String] API version
668
- # @param x_correlation_id [String] Unique correlation Id in a GUID format
669
- # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held firstPayeeName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false
673
+ # @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held recipientName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false
670
674
  # @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.
671
675
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
672
- # @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt firstPayeeName updatedAt
676
+ # @param order_by [String] A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt recipientName updatedAt
677
+ # @param x_correlation_id [String] Unique correlation Id in a GUID format
678
+ # @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/) .
673
679
  # @return [Array<(Form1099List, Integer, Hash)>] Form1099List data, response status code and response headers
674
680
  def list1099_forms_with_http_info(request_parameters)
675
681
  # OAuth2 Scopes
676
682
  required_scopes = ''
677
683
  # Request Parameters
678
684
  avalara_version = request_parameters.get_avalara_version()
679
- x_correlation_id = request_parameters.get_x_correlation_id()
680
685
  filter = request_parameters.get_filter()
681
686
  top = request_parameters.get_top()
682
687
  skip = request_parameters.get_skip()
683
688
  order_by = request_parameters.get_order_by()
689
+ x_correlation_id = request_parameters.get_x_correlation_id()
690
+ x_avalara_client = request_parameters.get_x_avalara_client()
684
691
  # verify the required parameter 'avalara_version' is set
685
692
  if @api_client.config.client_side_validation && avalara_version.nil?
686
693
  fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Forms1099Api.list1099_forms"
687
694
  end
688
- # verify the required parameter 'x_correlation_id' is set
689
- if @api_client.config.client_side_validation && x_correlation_id.nil?
690
- fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Forms1099Api.list1099_forms"
691
- end
692
695
  # resource path
693
696
  local_var_path = '/1099/forms'
694
697
 
@@ -717,6 +720,9 @@ module AvalaraSdk::A1099
717
720
  if !x_correlation_id.nil?
718
721
  header_params[:'X-Correlation-Id'] = x_correlation_id
719
722
  end
723
+ if !x_avalara_client.nil?
724
+ header_params[:'X-Avalara-Client'] = x_avalara_client
725
+ end
720
726
 
721
727
  # form parameters
722
728
  form_params = {}
@@ -752,8 +758,8 @@ module AvalaraSdk::A1099
752
758
  end
753
759
 
754
760
  # Updates a 1099 form.
755
- # @param id [String] # @param avalara_version [String] API version # @param x_correlation_id [String] Unique correlation Id in a GUID format # @param i_update_form1099_request [IUpdateForm1099Request]
756
- # @return [FormResponseBase]
761
+ # @param id [String] # @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 i_update_form1099_request [IUpdateForm1099Request]
762
+ # @return [Update1099Form200Response]
757
763
  def update1099_form(request_parameters)
758
764
  data, _status_code, _headers = update1099_form_with_http_info(request_parameters)
759
765
  data
@@ -764,8 +770,9 @@ module AvalaraSdk::A1099
764
770
  # @param id [String]
765
771
  # @param avalara_version [String] API version
766
772
  # @param x_correlation_id [String] Unique correlation Id in a GUID format
773
+ # @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/) .
767
774
  # @param i_update_form1099_request [IUpdateForm1099Request]
768
- # @return [Array<(FormResponseBase, Integer, Hash)>] FormResponseBase data, response status code and response headers
775
+ # @return [Array<(Update1099Form200Response, Integer, Hash)>] Update1099Form200Response data, response status code and response headers
769
776
  def update1099_form_with_http_info(request_parameters)
770
777
  # OAuth2 Scopes
771
778
  required_scopes = ''
@@ -773,6 +780,7 @@ module AvalaraSdk::A1099
773
780
  id = request_parameters.get_id()
774
781
  avalara_version = request_parameters.get_avalara_version()
775
782
  x_correlation_id = request_parameters.get_x_correlation_id()
783
+ x_avalara_client = request_parameters.get_x_avalara_client()
776
784
  i_update_form1099_request = request_parameters.get_i_update_form1099_request()
777
785
  # verify the required parameter 'id' is set
778
786
  if @api_client.config.client_side_validation && id.nil?
@@ -782,10 +790,6 @@ module AvalaraSdk::A1099
782
790
  if @api_client.config.client_side_validation && avalara_version.nil?
783
791
  fail ArgumentError, "Missing the required parameter 'avalara_version' when calling Forms1099Api.update1099_form"
784
792
  end
785
- # verify the required parameter 'x_correlation_id' is set
786
- if @api_client.config.client_side_validation && x_correlation_id.nil?
787
- fail ArgumentError, "Missing the required parameter 'x_correlation_id' when calling Forms1099Api.update1099_form"
788
- end
789
793
  # resource path
790
794
  local_var_path = '/1099/forms/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
791
795
 
@@ -807,6 +811,9 @@ module AvalaraSdk::A1099
807
811
  if !x_correlation_id.nil?
808
812
  header_params[:'X-Correlation-Id'] = x_correlation_id
809
813
  end
814
+ if !x_avalara_client.nil?
815
+ header_params[:'X-Avalara-Client'] = x_avalara_client
816
+ end
810
817
 
811
818
  # form parameters
812
819
  form_params = {}
@@ -815,7 +822,7 @@ module AvalaraSdk::A1099
815
822
  post_body = @api_client.object_to_http_body(i_update_form1099_request) || {}
816
823
 
817
824
  # return_type
818
- return_type = 'FormResponseBase'
825
+ return_type = 'Update1099Form200Response'
819
826
 
820
827
  # auth_names
821
828
  auth_names = ['bearer']
@@ -844,16 +851,19 @@ module AvalaraSdk::A1099
844
851
  # Represents the Request object for the BulkUpsert1099Forms API
845
852
  #
846
853
  # @param String $avalara_version API version (required)
847
- # @param String $x_correlation_id Unique correlation Id in a GUID format (required)
848
854
  # @param Boolean $dry_run (optional, default to false)
855
+ # @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
856
+ # @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)
849
857
  # @param BulkUpsert1099FormsRequest $bulk_upsert1099_forms_request (optional)
850
858
  #
851
859
  class BulkUpsert1099FormsRequestSdk
852
860
  attr_accessor :avalara_version
853
861
 
862
+ attr_accessor :dry_run
863
+
854
864
  attr_accessor :x_correlation_id
855
865
 
856
- attr_accessor :dry_run
866
+ attr_accessor :x_avalara_client
857
867
 
858
868
  attr_accessor :bulk_upsert1099_forms_request
859
869
 
@@ -868,6 +878,14 @@ module AvalaraSdk::A1099
868
878
  @avalara_version = avalara_version
869
879
  end
870
880
 
881
+ def get_dry_run()
882
+ return @dry_run
883
+ end
884
+
885
+ def set_dry_run(dry_run)
886
+ @dry_run = dry_run
887
+ end
888
+
871
889
  def get_x_correlation_id()
872
890
  return @x_correlation_id
873
891
  end
@@ -876,12 +894,12 @@ module AvalaraSdk::A1099
876
894
  @x_correlation_id = x_correlation_id
877
895
  end
878
896
 
879
- def get_dry_run()
880
- return @dry_run
897
+ def get_x_avalara_client()
898
+ return @x_avalara_client
881
899
  end
882
900
 
883
- def set_dry_run(dry_run)
884
- @dry_run = dry_run
901
+ def set_x_avalara_client(x_avalara_client)
902
+ @x_avalara_client = x_avalara_client
885
903
  end
886
904
 
887
905
  def get_bulk_upsert1099_forms_request()
@@ -895,7 +913,8 @@ module AvalaraSdk::A1099
895
913
  # Represents the Request object for the Create1099Form API
896
914
  #
897
915
  # @param String $avalara_version API version (required)
898
- # @param String $x_correlation_id Unique correlation Id in a GUID format (required)
916
+ # @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
917
+ # @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)
899
918
  # @param ICreateForm1099Request $i_create_form1099_request i_create_form1099_request (optional)
900
919
  #
901
920
  class Create1099FormRequestSdk
@@ -903,6 +922,8 @@ module AvalaraSdk::A1099
903
922
 
904
923
  attr_accessor :x_correlation_id
905
924
 
925
+ attr_accessor :x_avalara_client
926
+
906
927
  attr_accessor :i_create_form1099_request
907
928
 
908
929
  def initialize()
@@ -924,6 +945,14 @@ module AvalaraSdk::A1099
924
945
  @x_correlation_id = x_correlation_id
925
946
  end
926
947
 
948
+ def get_x_avalara_client()
949
+ return @x_avalara_client
950
+ end
951
+
952
+ def set_x_avalara_client(x_avalara_client)
953
+ @x_avalara_client = x_avalara_client
954
+ end
955
+
927
956
  def get_i_create_form1099_request()
928
957
  return @i_create_form1099_request
929
958
  end
@@ -936,7 +965,8 @@ module AvalaraSdk::A1099
936
965
  #
937
966
  # @param String $id The unique identifier of the desired form to delete. (required)
938
967
  # @param String $avalara_version API version (required)
939
- # @param String $x_correlation_id Unique correlation Id in a GUID format (required)
968
+ # @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
969
+ # @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)
940
970
  #
941
971
  class Delete1099FormRequestSdk
942
972
  attr_accessor :id
@@ -945,6 +975,8 @@ module AvalaraSdk::A1099
945
975
 
946
976
  attr_accessor :x_correlation_id
947
977
 
978
+ attr_accessor :x_avalara_client
979
+
948
980
  def initialize()
949
981
  end
950
982
 
@@ -971,12 +1003,21 @@ module AvalaraSdk::A1099
971
1003
  def set_x_correlation_id(x_correlation_id)
972
1004
  @x_correlation_id = x_correlation_id
973
1005
  end
1006
+
1007
+ def get_x_avalara_client()
1008
+ return @x_avalara_client
1009
+ end
1010
+
1011
+ def set_x_avalara_client(x_avalara_client)
1012
+ @x_avalara_client = x_avalara_client
1013
+ end
974
1014
  end
975
1015
  # Represents the Request object for the Get1099Form API
976
1016
  #
977
1017
  # @param String $id id (required)
978
1018
  # @param String $avalara_version API version (required)
979
- # @param String $x_correlation_id Unique correlation Id in a GUID format (required)
1019
+ # @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
1020
+ # @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)
980
1021
  #
981
1022
  class Get1099FormRequestSdk
982
1023
  attr_accessor :id
@@ -985,6 +1026,8 @@ module AvalaraSdk::A1099
985
1026
 
986
1027
  attr_accessor :x_correlation_id
987
1028
 
1029
+ attr_accessor :x_avalara_client
1030
+
988
1031
  def initialize()
989
1032
  end
990
1033
 
@@ -1011,22 +1054,33 @@ module AvalaraSdk::A1099
1011
1054
  def set_x_correlation_id(x_correlation_id)
1012
1055
  @x_correlation_id = x_correlation_id
1013
1056
  end
1057
+
1058
+ def get_x_avalara_client()
1059
+ return @x_avalara_client
1060
+ end
1061
+
1062
+ def set_x_avalara_client(x_avalara_client)
1063
+ @x_avalara_client = x_avalara_client
1064
+ end
1014
1065
  end
1015
1066
  # Represents the Request object for the Get1099FormPdf API
1016
1067
  #
1017
1068
  # @param String $id (required)
1018
1069
  # @param String $avalara_version API version (required)
1019
- # @param String $x_correlation_id Unique correlation Id in a GUID format (required)
1020
1070
  # @param Boolean $mark_edelivered The parameter for marked e-delivered (optional)
1071
+ # @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
1072
+ # @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)
1021
1073
  #
1022
1074
  class Get1099FormPdfRequestSdk
1023
1075
  attr_accessor :id
1024
1076
 
1025
1077
  attr_accessor :avalara_version
1026
1078
 
1079
+ attr_accessor :mark_edelivered
1080
+
1027
1081
  attr_accessor :x_correlation_id
1028
1082
 
1029
- attr_accessor :mark_edelivered
1083
+ attr_accessor :x_avalara_client
1030
1084
 
1031
1085
  def initialize()
1032
1086
  end
@@ -1047,6 +1101,14 @@ module AvalaraSdk::A1099
1047
1101
  @avalara_version = avalara_version
1048
1102
  end
1049
1103
 
1104
+ def get_mark_edelivered()
1105
+ return @mark_edelivered
1106
+ end
1107
+
1108
+ def set_mark_edelivered(mark_edelivered)
1109
+ @mark_edelivered = mark_edelivered
1110
+ end
1111
+
1050
1112
  def get_x_correlation_id()
1051
1113
  return @x_correlation_id
1052
1114
  end
@@ -1055,28 +1117,27 @@ module AvalaraSdk::A1099
1055
1117
  @x_correlation_id = x_correlation_id
1056
1118
  end
1057
1119
 
1058
- def get_mark_edelivered()
1059
- return @mark_edelivered
1120
+ def get_x_avalara_client()
1121
+ return @x_avalara_client
1060
1122
  end
1061
1123
 
1062
- def set_mark_edelivered(mark_edelivered)
1063
- @mark_edelivered = mark_edelivered
1124
+ def set_x_avalara_client(x_avalara_client)
1125
+ @x_avalara_client = x_avalara_client
1064
1126
  end
1065
1127
  end
1066
1128
  # Represents the Request object for the List1099Forms API
1067
1129
  #
1068
1130
  # @param String $avalara_version API version (required)
1069
- # @param String $x_correlation_id Unique correlation Id in a GUID format (required)
1070
- # @param String $filter A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held firstPayeeName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false (optional)
1131
+ # @param String $filter A filter statement to identify specific records to retrieve. For more information on filtering, see &lt;a href&#x3D;\&quot;https://developer.avalara.com/avatax/filtering-in-rest/\&quot;&gt;Filtering in REST&lt;/a&gt;. Collections support filtering only on certain fields. An attempt to filter on an unsupported field will receive a 400 Bad Request response. Supported filtering fields are as follows: issuerId issuerReferenceId taxYear addressVerificationStatus - possible values are: unknown, pending, failed, incomplete, unchanged, verified createdAt edeliveryStatus - possible values are: sent, unscheduled, bad_verify, bad_verify_limit, scheduled, bounced, accepted email federalEfileStatus - possible values are: unscheduled, scheduled, sent, corrected_scheduled, accepted, corrected, corrected_accepted, held recipientName mailStatus - possible values are: sent, unscheduled, pending, delivered referenceId tinMatchStatus - possible values are: none, pending, matched, failed type - possible values are: 940, 941, 943, 944, 945, 1042, 1042-S, 1095-B, 1095-C, 1097-BTC, 1098, 1098-C, 1098-E, 1098-Q, 1098-T, 3921, 3922, 5498, 5498-ESA, 5498-SA, 1099-MISC, 1099-A, 1099-B, 1099-C, 1099-CAP, 1099-DIV, 1099-G, 1099-INT, 1099-K, 1099-LS, 1099-LTC, 1099-NEC, 1099-OID, 1099-PATR, 1099-Q, 1099-R, 1099-S, 1099-SA, T4A, W-2, W-2G, 1099-HC updatedAt validity - possible values are: true, false (optional)
1071
1132
  # @param Integer $top 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. (optional, default to 10)
1072
1133
  # @param Integer $skip If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets. (optional, default to 0)
1073
- # @param String $order_by A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt firstPayeeName updatedAt (optional)
1134
+ # @param String $order_by A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example issuerReferenceId ASC. Supported sorting fields are: issuerReferenceId taxYear createdAt recipientName updatedAt (optional)
1135
+ # @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
1136
+ # @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)
1074
1137
  #
1075
1138
  class List1099FormsRequestSdk
1076
1139
  attr_accessor :avalara_version
1077
1140
 
1078
- attr_accessor :x_correlation_id
1079
-
1080
1141
  attr_accessor :filter
1081
1142
 
1082
1143
  attr_accessor :top
@@ -1085,6 +1146,10 @@ module AvalaraSdk::A1099
1085
1146
 
1086
1147
  attr_accessor :order_by
1087
1148
 
1149
+ attr_accessor :x_correlation_id
1150
+
1151
+ attr_accessor :x_avalara_client
1152
+
1088
1153
  def initialize()
1089
1154
  end
1090
1155
 
@@ -1096,14 +1161,6 @@ module AvalaraSdk::A1099
1096
1161
  @avalara_version = avalara_version
1097
1162
  end
1098
1163
 
1099
- def get_x_correlation_id()
1100
- return @x_correlation_id
1101
- end
1102
-
1103
- def set_x_correlation_id(x_correlation_id)
1104
- @x_correlation_id = x_correlation_id
1105
- end
1106
-
1107
1164
  def get_filter()
1108
1165
  return @filter
1109
1166
  end
@@ -1135,12 +1192,29 @@ module AvalaraSdk::A1099
1135
1192
  def set_order_by(order_by)
1136
1193
  @order_by = order_by
1137
1194
  end
1195
+
1196
+ def get_x_correlation_id()
1197
+ return @x_correlation_id
1198
+ end
1199
+
1200
+ def set_x_correlation_id(x_correlation_id)
1201
+ @x_correlation_id = x_correlation_id
1202
+ end
1203
+
1204
+ def get_x_avalara_client()
1205
+ return @x_avalara_client
1206
+ end
1207
+
1208
+ def set_x_avalara_client(x_avalara_client)
1209
+ @x_avalara_client = x_avalara_client
1210
+ end
1138
1211
  end
1139
1212
  # Represents the Request object for the Update1099Form API
1140
1213
  #
1141
1214
  # @param String $id id (required)
1142
1215
  # @param String $avalara_version API version (required)
1143
- # @param String $x_correlation_id Unique correlation Id in a GUID format (required)
1216
+ # @param String $x_correlation_id Unique correlation Id in a GUID format (optional)
1217
+ # @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)
1144
1218
  # @param IUpdateForm1099Request $i_update_form1099_request i_update_form1099_request (optional)
1145
1219
  #
1146
1220
  class Update1099FormRequestSdk
@@ -1150,6 +1224,8 @@ module AvalaraSdk::A1099
1150
1224
 
1151
1225
  attr_accessor :x_correlation_id
1152
1226
 
1227
+ attr_accessor :x_avalara_client
1228
+
1153
1229
  attr_accessor :i_update_form1099_request
1154
1230
 
1155
1231
  def initialize()
@@ -1179,6 +1255,14 @@ module AvalaraSdk::A1099
1179
1255
  @x_correlation_id = x_correlation_id
1180
1256
  end
1181
1257
 
1258
+ def get_x_avalara_client()
1259
+ return @x_avalara_client
1260
+ end
1261
+
1262
+ def set_x_avalara_client(x_avalara_client)
1263
+ @x_avalara_client = x_avalara_client
1264
+ end
1265
+
1182
1266
  def get_i_update_form1099_request()
1183
1267
  return @i_update_form1099_request
1184
1268
  end