avalara_sdk 25.10.1 → 25.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/docs/A1099/V2/CompaniesW9Api.md +5 -5
- data/docs/A1099/V2/CoveredIndividual.md +0 -2
- data/docs/A1099/V2/Form1099ListRequest.md +1 -1
- data/docs/A1099/V2/Form1099Misc.md +1 -1
- data/docs/A1099/V2/Form1099Nec.md +2 -0
- data/docs/A1099/V2/Form1099R.md +2 -2
- data/docs/A1099/V2/Forms1099Api.md +9 -9
- data/docs/A1099/V2/FormsW9Api.md +16 -15
- data/docs/A1099/V2/Issuers1099Api.md +6 -6
- data/docs/A1099/V2/JobsApi.md +1 -1
- data/docs/A1099/V2/StateEfileStatusDetail.md +3 -1
- data/lib/avalara_sdk/api/A1099/V2/companies_w9_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/forms1099_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/forms_w9_api.rb +6 -6
- data/lib/avalara_sdk/api/A1099/V2/issuers1099_api.rb +1 -1
- data/lib/avalara_sdk/api/A1099/V2/jobs_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/data_input_fields_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/documents_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/interop_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/mandates_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/subscriptions_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/tax_identifiers_api.rb +1 -1
- data/lib/avalara_sdk/api/EInvoicing/V1/trading_partners_api.rb +1 -1
- data/lib/avalara_sdk/models/A1099/V2/covered_individual.rb +1 -12
- data/lib/avalara_sdk/models/A1099/V2/form1042_s.rb +2 -2
- data/lib/avalara_sdk/models/A1099/V2/form1095_b.rb +2 -2
- data/lib/avalara_sdk/models/A1099/V2/form1095_c.rb +2 -2
- data/lib/avalara_sdk/models/A1099/V2/form1099_base.rb +2 -2
- data/lib/avalara_sdk/models/A1099/V2/form1099_div.rb +2 -2
- data/lib/avalara_sdk/models/A1099/V2/form1099_int.rb +2 -2
- data/lib/avalara_sdk/models/A1099/V2/form1099_k.rb +2 -2
- data/lib/avalara_sdk/models/A1099/V2/form1099_list_request.rb +3 -2
- data/lib/avalara_sdk/models/A1099/V2/form1099_misc.rb +3 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_nec.rb +14 -3
- data/lib/avalara_sdk/models/A1099/V2/form1099_r.rb +6 -6
- data/lib/avalara_sdk/models/A1099/V2/state_efile_status_detail.rb +15 -5
- data/lib/avalara_sdk/version.rb +1 -1
- 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 +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 63364c45eec445f997fa6d1f41940d4e963003664b6f3a76fac392ac297ab88f
|
|
4
|
+
data.tar.gz: 801721fb035cd9ad7d0204e082896e0656a8b1053f12aa457ffb54a692dc1214
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c21f3e2e15c7fc739fbc20580bb4fe35e2de30a2f15c9883e1cbfe9b83787b0200b26d5d0654922298e637eb32da7e491ca1520ac9afe31bbf3160ea4ac3f283
|
|
7
|
+
data.tar.gz: 6f10cf2004b1e1c6ed453ed1b4440b5e0abb2ac302d30f2f7412be023a287002f4edf3071eb9ec0749576535fca05e731e6c48dd96ee72708772f0ae65f05540
|
data/Gemfile.lock
CHANGED
|
@@ -39,7 +39,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
|
|
|
39
39
|
|
|
40
40
|
avalara_version = '2.0.0' # String | API version
|
|
41
41
|
opts = {
|
|
42
|
-
x_correlation_id: '
|
|
42
|
+
x_correlation_id: '7c95bc18-e364-4e63-aab4-9260cdc4c00a', # String | Unique correlation Id in a GUID format
|
|
43
43
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
44
44
|
company_request: AvalaraSdk::A1099::V2::CompanyRequest.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CompanyRequest | The company to create
|
|
45
45
|
}
|
|
@@ -123,7 +123,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
|
|
|
123
123
|
id = 'id_example' # String | The company to delete
|
|
124
124
|
avalara_version = '2.0.0' # String | API version
|
|
125
125
|
opts = {
|
|
126
|
-
x_correlation_id: '
|
|
126
|
+
x_correlation_id: 'f5ef0c70-61e2-4454-b9ef-8bfde6bc6bb8', # String | Unique correlation Id in a GUID format
|
|
127
127
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -210,7 +210,7 @@ opts = {
|
|
|
210
210
|
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
|
211
211
|
count: true, # Boolean | If true, return the global count of elements in the collection.
|
|
212
212
|
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
|
213
|
-
x_correlation_id: '
|
|
213
|
+
x_correlation_id: 'aa61595a-1a76-4245-ba16-fd1d202d84a9', # String | Unique correlation Id in a GUID format
|
|
214
214
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
215
215
|
}
|
|
216
216
|
|
|
@@ -298,7 +298,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
|
|
|
298
298
|
id = 'id_example' # String | Id of the company
|
|
299
299
|
avalara_version = '2.0.0' # String | API version
|
|
300
300
|
opts = {
|
|
301
|
-
x_correlation_id: '
|
|
301
|
+
x_correlation_id: 'e2bddbfd-bef8-4dbd-a0b8-db8773b8848e', # String | Unique correlation Id in a GUID format
|
|
302
302
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
303
303
|
}
|
|
304
304
|
|
|
@@ -381,7 +381,7 @@ api_instance = AvalaraSdk::A1099::V2::CompaniesW9Api.new api_client
|
|
|
381
381
|
id = 'id_example' # String | The ID of the company to update
|
|
382
382
|
avalara_version = '2.0.0' # String | API version
|
|
383
383
|
opts = {
|
|
384
|
-
x_correlation_id: '
|
|
384
|
+
x_correlation_id: '8579d504-d27d-495e-8c27-a2ab95610b10', # String | Unique correlation Id in a GUID format
|
|
385
385
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
386
386
|
company_request: AvalaraSdk::A1099::V2::CompanyRequest.new({name: 'name_example', email: 'email_example', address: 'address_example', city: 'city_example', zip: 'zip_example', telephone: 'telephone_example', tin: 'tin_example', country_code: 'country_code_example'}) # CompanyRequest | The updated company data
|
|
387
387
|
}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
| **name_suffix** | **String** | Covered individual's name suffix | [optional] |
|
|
12
12
|
| **tin** | **String** | Covered individual's Federal Tax Identification Number (TIN).. SSN or ITIN. Required unless unavailable. | [optional] |
|
|
13
13
|
| **birth_date** | **Date** | Covered individual's date of birth - Required when SSN is missing. | [optional] |
|
|
14
|
-
| **covered_all_months** | **Boolean** | Coverage indicator for all 12 months | [optional] |
|
|
15
14
|
| **covered_january** | **Boolean** | Coverage indicator for January | [optional] |
|
|
16
15
|
| **covered_february** | **Boolean** | Coverage indicator for February | [optional] |
|
|
17
16
|
| **covered_march** | **Boolean** | Coverage indicator for March | [optional] |
|
|
@@ -38,7 +37,6 @@ instance = AvalaraSdk::A1099::V2::CoveredIndividual.new(
|
|
|
38
37
|
name_suffix: null,
|
|
39
38
|
tin: null,
|
|
40
39
|
birth_date: null,
|
|
41
|
-
covered_all_months: null,
|
|
42
40
|
covered_january: null,
|
|
43
41
|
covered_february: null,
|
|
44
42
|
covered_march: null,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **type** | **String** | | [optional] |
|
|
7
|
+
| **type** | **String** | Available form types: * `1042-S` * `1095-B` * `1095-C` * `1099-DIV` * `1099-INT` * `1099-K` * `1099-MISC` * `1099-NEC` * `1099-R` | [optional] |
|
|
8
8
|
| **forms** | [**Array<Get1099Form200Response>**](Get1099Form200Response.md) | | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
| **gross_proceeds_paid_to_attorney** | **Float** | Gross proceeds paid to an attorney | [optional] |
|
|
17
17
|
| **fish_purchased_for_resale** | **Float** | Fish purchased for resale | [optional] |
|
|
18
18
|
| **section409_a_deferrals** | **Float** | Section 409A deferrals | [optional] |
|
|
19
|
-
| **excess_golden_parachute_payments** | **Float** |
|
|
19
|
+
| **excess_golden_parachute_payments** | **Float** | Excess golden parachute payments - Available only for tax year 2024 and earlier | [optional] |
|
|
20
20
|
| **nonqualified_deferred_compensation** | **Float** | Nonqualified deferred compensation | [optional] |
|
|
21
21
|
| **fatca_filing_requirement** | **Boolean** | FATCA filing requirement. | [optional] |
|
|
22
22
|
| **type** | **String** | Form type. | |
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **nonemployee_compensation** | **Float** | Nonemployee compensation. Required if DirectSalesIndicator is false. | |
|
|
8
8
|
| **direct_sales_indicator** | **Boolean** | Payer made direct sales totaling $5,000 or more of consumer products to recipient for resale. Should be true if Nonemployee compensation is not provided. | [optional] |
|
|
9
|
+
| **excess_golden_parachute_payments** | **Float** | Excess golden parachute payments - Available only for tax year 2025 and later | [optional] |
|
|
9
10
|
| **federal_income_tax_withheld** | **Float** | Federal income tax withheld. | [optional] |
|
|
10
11
|
| **type** | **String** | Form type. | |
|
|
11
12
|
| **id** | **String** | Form ID. Unique identifier set when the record is created. | [optional][readonly] |
|
|
@@ -55,6 +56,7 @@ require 'avalara_sdk'
|
|
|
55
56
|
instance = AvalaraSdk::A1099::V2::Form1099Nec.new(
|
|
56
57
|
nonemployee_compensation: null,
|
|
57
58
|
direct_sales_indicator: null,
|
|
59
|
+
excess_golden_parachute_payments: null,
|
|
58
60
|
federal_income_tax_withheld: null,
|
|
59
61
|
type: null,
|
|
60
62
|
id: null,
|
data/docs/A1099/V2/Form1099R.md
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
| **federal_income_tax_withheld** | **Float** | Federal income tax withheld | [optional] |
|
|
13
13
|
| **employee_contributions_or_designated_roth_or_insurance_premiums** | **Float** | Employee contributions/Designated Roth contributions or insurance premiums | [optional] |
|
|
14
14
|
| **net_unrealized_appreciation_in_employer_securities** | **Float** | Net unrealized appreciation in employer's securities | [optional] |
|
|
15
|
-
| **distribution_code** | **String** | Distribution code. Available values: - 1: Early distribution, no known exception (in most cases, under age 59½) - 2: Early distribution, exception applies (under age 59½) - 3: Disability - 4: Death - 5: Prohibited transaction - 6: Section 1035 exchange (a tax-free exchange of life insurance, annuity, qualified long-term care insurance, or endowment contracts) - 7: Normal distribution - 8: Excess contributions plus earnings/excess deferrals (and/or earnings) taxable in payment year - 9: Cost of current life insurance protection (premiums paid by a trustee or custodian for current insurance protection) - A: May be eligible for 10-year tax option - B: Designated Roth account distribution - C: Reportable Death Benefits Under Section 6050Y(c) - D: Annuity payments from nonqualified annuity payments and distributions from life insurance contracts that may be subject to tax under section 1411 - E: Distribution under Employee Plans Compliance Resolution System (EPCRS) - F: Charitable gift annuity - G: Direct rollover and rollover contribution - H: Direct rollover of distribution from a designated Roth account to a Roth IRA - J: Early distribution from a Roth IRA (This code may be used with a Code 8 or P) - K: Distribution of IRA Assets Not Having A Readily Available FMV - L: Loans treated as deemed distributions under section 72(p) - M: Qualified Plan Loan Offsets - N: Recharacterized IRA contribution made for year following payment year - P: Excess contributions plus earnings/excess deferrals taxable for year prior to payment year - Q: Qualified distribution from a Roth IRA (Distribution from a Roth IRA when the 5-year holding period has been met, and the recipient has reached 59½, has died, or is disabled) - R: Recharacterized IRA contribution made for year prior to payment year - S: Early distribution from a SIMPLE IRA in first 2 years no known exceptions - T: Roth IRA distribution exception applies because participant has reached 59½, died or is disabled, but it is unknown if the 5-year period has been met - U: Distribution from ESOP under Section 404(k) - W: Charges or payments for purchasing qualified long-term care insurance contracts under combined arrangements | |
|
|
16
|
-
| **second_distribution_code** | **String** | Second distribution code. Must be a valid combination with the first distribution code. See DistributionCode property documentation for code descriptions. Valid combinations based on first distribution code: - 1: _, 8, B, D, K, L, M, P - 2: _, 8, B, D, K, L, M, P - 3: _, D - 4: _, 8, A, B, D, G, H, K, L, M, P - 5: _ - 6: _, W - 7: _, A, B, D, K, L, M - 8: _, 1, 2, 4, B, J, K - 9: _ - A: 4, 7 - B: _, 1, 2, 4, 7, 8, G, L, M, P, U - C: _, D - D: 1, 2, 3, 4, 7, C - E: _ - F: _ - G: _, 4, B, K - H: _, 4 - J: _, 8, P - K: 1, 2, 4, 7, 8, G - L: _, 1, 2, 4, 7, B - M: _, 1, 2, 4, 7, B - N: _ - P: _, 1, 2, 4, B, J - Q: _ - R: _ - S: _ - T: _ - U: _, B - W: _, 6 (_ indicates no second distribution code) (format: firstDistributionCode: availableSecondDistributionCodes) | [optional] |
|
|
15
|
+
| **distribution_code** | **String** | Distribution code. Available values: - 1: Early distribution, no known exception (in most cases, under age 59½) - 2: Early distribution, exception applies (under age 59½) - 3: Disability - 4: Death - 5: Prohibited transaction - 6: Section 1035 exchange (a tax-free exchange of life insurance, annuity, qualified long-term care insurance, or endowment contracts) - 7: Normal distribution - 8: Excess contributions plus earnings/excess deferrals (and/or earnings) taxable in payment year - 9: Cost of current life insurance protection (premiums paid by a trustee or custodian for current insurance protection) - A: May be eligible for 10-year tax option - B: Designated Roth account distribution - C: Reportable Death Benefits Under Section 6050Y(c) - D: Annuity payments from nonqualified annuity payments and distributions from life insurance contracts that may be subject to tax under section 1411 - E: Distribution under Employee Plans Compliance Resolution System (EPCRS) - F: Charitable gift annuity - G: Direct rollover and rollover contribution - H: Direct rollover of distribution from a designated Roth account to a Roth IRA - J: Early distribution from a Roth IRA (This code may be used with a Code 8 or P) - K: Distribution of IRA Assets Not Having A Readily Available FMV - L: Loans treated as deemed distributions under section 72(p) - M: Qualified Plan Loan Offsets - N: Recharacterized IRA contribution made for year following payment year - P: Excess contributions plus earnings/excess deferrals taxable for year prior to payment year - Q: Qualified distribution from a Roth IRA (Distribution from a Roth IRA when the 5-year holding period has been met, and the recipient has reached 59½, has died, or is disabled) - R: Recharacterized IRA contribution made for year prior to payment year - S: Early distribution from a SIMPLE IRA in first 2 years no known exceptions - T: Roth IRA distribution exception applies because participant has reached 59½, died or is disabled, but it is unknown if the 5-year period has been met - U: Distribution from ESOP under Section 404(k) - W: Charges or payments for purchasing qualified long-term care insurance contracts under combined arrangements - Y: Qualified charitable distribution (QCD) claimed under section 408(d)(8) (Available for 2025 on) | |
|
|
16
|
+
| **second_distribution_code** | **String** | Second distribution code. Must be a valid combination with the first distribution code. See DistributionCode property documentation for code descriptions. Valid combinations based on first distribution code: - 1: _, 8, B, D, K, L, M, P - 2: _, 8, B, D, K, L, M, P - 3: _, D - 4: _, 8, A, B, D, G, H, K, L, M, P - 5: _ - 6: _, W - 7: _, A, B, D, K, L, M - 8: _, 1, 2, 4, B, J, K - 9: _ - A: 4, 7 - B: _, 1, 2, 4, 7, 8, G, L, M, P, U - C: _, D - D: 1, 2, 3, 4, 7, C - E: _ - F: _ - G: _, 4, B, K - H: _, 4 - J: _, 8, P - K: 1, 2, 4, 7, 8, G - L: _, 1, 2, 4, 7, B - M: _, 1, 2, 4, 7, B - N: _ - P: _, 1, 2, 4, B, J - Q: _ - R: _ - S: _ - T: _ - U: _, B - W: _, 6 - Y: 4, 7, K (_ indicates no second distribution code) (format: firstDistributionCode: availableSecondDistributionCodes) | [optional] |
|
|
17
17
|
| **ira_sep_simple** | **Boolean** | IRA/SEP/SIMPLE | [optional] |
|
|
18
18
|
| **traditional_ira_sep_simple_or_roth_conversion_amount** | **Float** | Traditional IRA/SEP/SIMPLE or Roth conversion amount | [optional] |
|
|
19
19
|
| **other_amount** | **Float** | Other amount | [optional] |
|
|
@@ -42,7 +42,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
|
42
42
|
avalara_version = '2.0.0' # String | API version
|
|
43
43
|
opts = {
|
|
44
44
|
dry_run: true, # Boolean | defaults to false. If true, it will NOT change the DB. It will just return a report of what would've have been changed in the DB
|
|
45
|
-
x_correlation_id: '
|
|
45
|
+
x_correlation_id: '0a003f2f-5501-4250-ab7b-8d19badbfc37', # String | Unique correlation Id in a GUID format
|
|
46
46
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
47
47
|
form1099_list_request: AvalaraSdk::A1099::V2::Form1099ListRequest.new # Form1099ListRequest |
|
|
48
48
|
}
|
|
@@ -126,9 +126,9 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
|
126
126
|
|
|
127
127
|
avalara_version = '2.0.0' # String | API version
|
|
128
128
|
opts = {
|
|
129
|
-
x_correlation_id: '
|
|
129
|
+
x_correlation_id: '57792295-a7b1-4533-b84b-80801d8a3029', # String | Unique correlation Id in a GUID format
|
|
130
130
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
131
|
-
get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: '
|
|
131
|
+
get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: '1042-S', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
begin
|
|
@@ -210,7 +210,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
|
210
210
|
id = 'id_example' # String | The unique identifier of the desired form to delete.
|
|
211
211
|
avalara_version = '2.0.0' # String | API version
|
|
212
212
|
opts = {
|
|
213
|
-
x_correlation_id: '
|
|
213
|
+
x_correlation_id: '09b8e2c9-03af-4e93-a089-3815a9772bff', # String | Unique correlation Id in a GUID format
|
|
214
214
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
215
215
|
}
|
|
216
216
|
|
|
@@ -292,7 +292,7 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
|
292
292
|
id = 'id_example' # String |
|
|
293
293
|
avalara_version = '2.0.0' # String | API version
|
|
294
294
|
opts = {
|
|
295
|
-
x_correlation_id: '
|
|
295
|
+
x_correlation_id: '82187008-2768-4604-ab7e-c85895698b44', # String | Unique correlation Id in a GUID format
|
|
296
296
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
297
297
|
}
|
|
298
298
|
|
|
@@ -376,7 +376,7 @@ id = 'id_example' # String | The ID of the form
|
|
|
376
376
|
avalara_version = '2.0.0' # String | API version
|
|
377
377
|
opts = {
|
|
378
378
|
mark_edelivered: true, # Boolean | Optional boolean that if set indicates that the form should be marked as having been successfully edelivered
|
|
379
|
-
x_correlation_id: '
|
|
379
|
+
x_correlation_id: 'b394da48-4847-404d-9b08-ba462c76558a', # String | Unique correlation Id in a GUID format
|
|
380
380
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
381
381
|
}
|
|
382
382
|
|
|
@@ -465,7 +465,7 @@ opts = {
|
|
|
465
465
|
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
|
466
466
|
count: true, # Boolean | If true, return the global count of elements in the collection.
|
|
467
467
|
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
|
468
|
-
x_correlation_id: '
|
|
468
|
+
x_correlation_id: 'e0a2a426-d793-43ac-b268-ffc5de391e38', # String | Unique correlation Id in a GUID format
|
|
469
469
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
470
470
|
}
|
|
471
471
|
|
|
@@ -553,9 +553,9 @@ api_instance = AvalaraSdk::A1099::V2::Forms1099Api.new api_client
|
|
|
553
553
|
id = 'id_example' # String |
|
|
554
554
|
avalara_version = '2.0.0' # String | API version
|
|
555
555
|
opts = {
|
|
556
|
-
x_correlation_id: '
|
|
556
|
+
x_correlation_id: '4ce0c187-5acb-4d13-98dd-5027249b2bae', # String | Unique correlation Id in a GUID format
|
|
557
557
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
558
|
-
get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: '
|
|
558
|
+
get1099_form200_response: AvalaraSdk::A1099::V2::Form1042S.new({unique_form_id: 'unique_form_id_example', income_code: '01', gross_income: 3.56, withholding_indicator: '3', tax_country_code: 'tax_country_code_example', type: '1042-S', recipient_name: 'recipient_name_example', address: 'address_example', city: 'city_example', country_code: 'country_code_example'}) # Get1099Form200Response |
|
|
559
559
|
}
|
|
560
560
|
|
|
561
561
|
begin
|
data/docs/A1099/V2/FormsW9Api.md
CHANGED
|
@@ -43,7 +43,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
43
43
|
|
|
44
44
|
avalara_version = '2.0.0' # String | API version
|
|
45
45
|
opts = {
|
|
46
|
-
x_correlation_id: '
|
|
46
|
+
x_correlation_id: 'c38d2382-701f-45cd-a8f6-1266dffa2568', # String | Unique correlation Id in a GUID format
|
|
47
47
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
48
48
|
create_and_send_w9_form_email_request: AvalaraSdk::A1099::V2::W4FormMinimalRequest.new({email: 'email_example', employee_first_name: 'employee_first_name_example', employee_last_name: 'employee_last_name_example'}) # CreateAndSendW9FormEmailRequest | Form to be created
|
|
49
49
|
}
|
|
@@ -126,7 +126,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
126
126
|
|
|
127
127
|
avalara_version = '2.0.0' # String | API version
|
|
128
128
|
opts = {
|
|
129
|
-
x_correlation_id: '
|
|
129
|
+
x_correlation_id: 'b9de84ae-a81f-4bea-8e20-636f527a793a', # String | Unique correlation Id in a GUID format
|
|
130
130
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
131
131
|
create_w9_form_request: AvalaraSdk::A1099::V2::W4FormRequest.new({employee_first_name: 'employee_first_name_example', employee_last_name: 'employee_last_name_example', tin_type: 'tin_type_example', tin: 'tin_example'}) # CreateW9FormRequest | Form to be created
|
|
132
132
|
}
|
|
@@ -210,7 +210,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
210
210
|
id = 'id_example' # String | ID of the form to delete
|
|
211
211
|
avalara_version = '2.0.0' # String | API version
|
|
212
212
|
opts = {
|
|
213
|
-
x_correlation_id: '
|
|
213
|
+
x_correlation_id: '7c3b1d91-24b2-4837-81f3-53dfee39af27', # String | Unique correlation Id in a GUID format
|
|
214
214
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
215
215
|
}
|
|
216
216
|
|
|
@@ -292,7 +292,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
292
292
|
id = 'id_example' # String | ID of the form
|
|
293
293
|
avalara_version = '2.0.0' # String | API version
|
|
294
294
|
opts = {
|
|
295
|
-
x_correlation_id: '
|
|
295
|
+
x_correlation_id: '762f55d1-2a73-4d5b-bf72-8cfe3eeb88a2', # String | Unique correlation Id in a GUID format
|
|
296
296
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
297
297
|
}
|
|
298
298
|
|
|
@@ -348,7 +348,7 @@ end
|
|
|
348
348
|
|
|
349
349
|
## get_w9_form_pdf
|
|
350
350
|
|
|
351
|
-
> get_w9_form_pdf(id, avalara_version, opts)
|
|
351
|
+
> File get_w9_form_pdf(id, avalara_version, opts)
|
|
352
352
|
|
|
353
353
|
Download the PDF for a W9/W4/W8 form.
|
|
354
354
|
|
|
@@ -375,13 +375,14 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
375
375
|
id = 'id_example' # String | Id of the form
|
|
376
376
|
avalara_version = '2.0.0' # String | API version
|
|
377
377
|
opts = {
|
|
378
|
-
x_correlation_id: '
|
|
378
|
+
x_correlation_id: '89d3ec3b-0f67-45c9-a2ca-4962052f518c', # String | Unique correlation Id in a GUID format
|
|
379
379
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
begin
|
|
383
383
|
# Download the PDF for a W9/W4/W8 form.
|
|
384
|
-
api_instance.get_w9_form_pdf(id, avalara_version, opts)
|
|
384
|
+
result = api_instance.get_w9_form_pdf(id, avalara_version, opts)
|
|
385
|
+
p result
|
|
385
386
|
rescue AvalaraSdk::ApiError => e
|
|
386
387
|
puts "Error when calling FormsW9Api->get_w9_form_pdf: #{e}"
|
|
387
388
|
end
|
|
@@ -389,9 +390,9 @@ end
|
|
|
389
390
|
|
|
390
391
|
#### Using the get_w9_form_pdf_with_http_info variant
|
|
391
392
|
|
|
392
|
-
This returns an Array which contains the response data
|
|
393
|
+
This returns an Array which contains the response data, status code and headers.
|
|
393
394
|
|
|
394
|
-
> <Array(
|
|
395
|
+
> <Array(File, Integer, Hash)> get_w9_form_pdf_with_http_info(id, avalara_version, opts)
|
|
395
396
|
|
|
396
397
|
```ruby
|
|
397
398
|
begin
|
|
@@ -399,7 +400,7 @@ begin
|
|
|
399
400
|
data, status_code, headers = api_instance.get_w9_form_pdf_with_http_info(id, avalara_version, opts)
|
|
400
401
|
p status_code # => 2xx
|
|
401
402
|
p headers # => { ... }
|
|
402
|
-
p data # =>
|
|
403
|
+
p data # => File
|
|
403
404
|
rescue AvalaraSdk::A1099::V2::ApiError => e
|
|
404
405
|
puts "Error when calling FormsW9Api->get_w9_form_pdf_with_http_info: #{e}"
|
|
405
406
|
end
|
|
@@ -416,7 +417,7 @@ end
|
|
|
416
417
|
|
|
417
418
|
### Return type
|
|
418
419
|
|
|
419
|
-
|
|
420
|
+
**File**
|
|
420
421
|
|
|
421
422
|
### Authorization
|
|
422
423
|
|
|
@@ -462,7 +463,7 @@ opts = {
|
|
|
462
463
|
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
|
463
464
|
count: true, # Boolean | If true, return the global count of elements in the collection.
|
|
464
465
|
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
|
465
|
-
x_correlation_id: '
|
|
466
|
+
x_correlation_id: 'ce3e18ce-6c27-4e4d-8d1f-86e3c4edb2f8', # String | Unique correlation Id in a GUID format
|
|
466
467
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
467
468
|
}
|
|
468
469
|
|
|
@@ -550,7 +551,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
550
551
|
id = 'id_example' # String | The ID of the W9/W4/W8 form.
|
|
551
552
|
avalara_version = '2.0.0' # String | API version
|
|
552
553
|
opts = {
|
|
553
|
-
x_correlation_id: '
|
|
554
|
+
x_correlation_id: '0984d2ea-40e7-4c14-8df6-4fb38d7b58bf', # String | Unique correlation Id in a GUID format
|
|
554
555
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
555
556
|
}
|
|
556
557
|
|
|
@@ -633,7 +634,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
633
634
|
id = 'id_example' # String | ID of the form to update
|
|
634
635
|
avalara_version = '2.0.0' # String | API version
|
|
635
636
|
opts = {
|
|
636
|
-
x_correlation_id: '
|
|
637
|
+
x_correlation_id: 'a9ecdca0-c53b-475a-b5b2-2bab07d1a4ae', # String | Unique correlation Id in a GUID format
|
|
637
638
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
638
639
|
create_w9_form_request: AvalaraSdk::A1099::V2::W4FormRequest.new({employee_first_name: 'employee_first_name_example', employee_last_name: 'employee_last_name_example', tin_type: 'tin_type_example', tin: 'tin_example'}) # CreateW9FormRequest | Form to be updated
|
|
639
640
|
}
|
|
@@ -718,7 +719,7 @@ api_instance = AvalaraSdk::A1099::V2::FormsW9Api.new api_client
|
|
|
718
719
|
id = 'id_example' # String | Id of the form
|
|
719
720
|
avalara_version = '2.0.0' # String | API version
|
|
720
721
|
opts = {
|
|
721
|
-
x_correlation_id: '
|
|
722
|
+
x_correlation_id: 'e92920ea-0dfb-498f-a01c-b883102a2868', # String | Unique correlation Id in a GUID format
|
|
722
723
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
723
724
|
file: File.new('/path/to/some/file') # File |
|
|
724
725
|
}
|
|
@@ -39,7 +39,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client
|
|
|
39
39
|
|
|
40
40
|
avalara_version = '2.0.0' # String | API version
|
|
41
41
|
opts = {
|
|
42
|
-
x_correlation_id: '
|
|
42
|
+
x_correlation_id: '0728787f-f85c-4e15-ba07-25253a945623', # String | Unique correlation Id in a GUID format
|
|
43
43
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
44
44
|
issuer_request: AvalaraSdk::A1099::V2::IssuerRequest.new({name: 'name_example', telephone: 'telephone_example', tax_year: 37, email: 'email_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to create
|
|
45
45
|
}
|
|
@@ -123,7 +123,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client
|
|
|
123
123
|
id = 'id_example' # String | Id of the issuer to delete
|
|
124
124
|
avalara_version = '2.0.0' # String | API version
|
|
125
125
|
opts = {
|
|
126
|
-
x_correlation_id: '
|
|
126
|
+
x_correlation_id: '8c2fac3b-c278-4322-a578-64155b016fa4', # String | Unique correlation Id in a GUID format
|
|
127
127
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -205,7 +205,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client
|
|
|
205
205
|
id = 'id_example' # String | Id of the issuer to retrieve
|
|
206
206
|
avalara_version = '2.0.0' # String | API version
|
|
207
207
|
opts = {
|
|
208
|
-
x_correlation_id: '
|
|
208
|
+
x_correlation_id: 'e2dfb3b2-e280-4c1e-aedb-4beef717f272', # String | Unique correlation Id in a GUID format
|
|
209
209
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
210
210
|
}
|
|
211
211
|
|
|
@@ -287,13 +287,13 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client
|
|
|
287
287
|
|
|
288
288
|
avalara_version = '2.0.0' # String | API version
|
|
289
289
|
opts = {
|
|
290
|
-
filter: 'taxYear eq
|
|
290
|
+
filter: 'taxYear eq 2025', # String | A filter statement to identify specific records to retrieve. For more information on filtering, see <a href=\"https://developer.avalara.com/avatax/filtering-in-rest/\">Filtering in REST</a>.
|
|
291
291
|
top: 56, # 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.
|
|
292
292
|
skip: 56, # Integer | If nonzero, skip this number of results before returning data. Used with top to provide pagination for large datasets.
|
|
293
293
|
order_by: 'order_by_example', # String | A comma separated list of sort statements in the format (fieldname) [ASC|DESC], for example id ASC.
|
|
294
294
|
count: true, # Boolean | If true, return the global count of elements in the collection.
|
|
295
295
|
count_only: true, # Boolean | If true, return ONLY the global count of elements in the collection. It only applies when count=true.
|
|
296
|
-
x_correlation_id: '
|
|
296
|
+
x_correlation_id: '9b820982-4b99-47ce-a52a-9d9fb13ca71c', # String | Unique correlation Id in a GUID format
|
|
297
297
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
298
298
|
}
|
|
299
299
|
|
|
@@ -381,7 +381,7 @@ api_instance = AvalaraSdk::A1099::V2::Issuers1099Api.new api_client
|
|
|
381
381
|
id = 'id_example' # String | Id of the issuer to update
|
|
382
382
|
avalara_version = '2.0.0' # String | API version
|
|
383
383
|
opts = {
|
|
384
|
-
x_correlation_id: '
|
|
384
|
+
x_correlation_id: 'e4f25699-cd85-43eb-929a-f4ce7a5c91b5', # String | Unique correlation Id in a GUID format
|
|
385
385
|
x_avalara_client: 'Swagger UI; 22.1.0', # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
386
386
|
issuer_request: AvalaraSdk::A1099::V2::IssuerRequest.new({name: 'name_example', telephone: 'telephone_example', tax_year: 37, email: 'email_example', address: 'address_example', city: 'city_example', state: 'state_example', zip: 'zip_example', last_filing: false}) # IssuerRequest | The issuer to update
|
|
387
387
|
}
|
data/docs/A1099/V2/JobsApi.md
CHANGED
|
@@ -36,7 +36,7 @@ api_instance = AvalaraSdk::A1099::V2::JobsApi.new api_client
|
|
|
36
36
|
id = 'id_example' # String | Job id obtained from other API responses, like `/1099/bulk-upsert`.
|
|
37
37
|
avalara_version = '2.0.0' # String | API version
|
|
38
38
|
opts = {
|
|
39
|
-
x_correlation_id: '
|
|
39
|
+
x_correlation_id: '120bb5f5-b0ca-4c10-8790-142f997e8336', # String | Unique correlation Id in a GUID format
|
|
40
40
|
x_avalara_client: 'Swagger UI; 22.1.0' # String | Identifies the software you are using to call this API. For more information on the client header, see [Client Headers](https://developer.avalara.com/avatax/client-headers/) .
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **status** | **String** | | [optional] |
|
|
8
8
|
| **time** | **String** | | [optional] |
|
|
9
9
|
| **jurisdiction** | **String** | | [optional] |
|
|
10
|
+
| **rejected_reason** | **String** | | [optional] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'avalara_sdk'
|
|
|
16
17
|
instance = AvalaraSdk::A1099::V2::StateEfileStatusDetail.new(
|
|
17
18
|
status: null,
|
|
18
19
|
time: null,
|
|
19
|
-
jurisdiction: null
|
|
20
|
+
jurisdiction: null,
|
|
21
|
+
rejected_reason: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -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.11.1")
|
|
21
21
|
@api_client = api_client
|
|
22
22
|
end
|
|
23
23
|
|
|
@@ -574,10 +574,10 @@ module AvalaraSdk::A1099
|
|
|
574
574
|
# Download the PDF for a W9/W4/W8 form.
|
|
575
575
|
# Returns the PDF file for a W9/W4/W8 form.
|
|
576
576
|
# @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/) .
|
|
577
|
-
# @return [
|
|
577
|
+
# @return [File]
|
|
578
578
|
def get_w9_form_pdf(request_parameters)
|
|
579
|
-
get_w9_form_pdf_with_http_info(request_parameters)
|
|
580
|
-
|
|
579
|
+
data, _status_code, _headers = get_w9_form_pdf_with_http_info(request_parameters)
|
|
580
|
+
data
|
|
581
581
|
end
|
|
582
582
|
|
|
583
583
|
# Download the PDF for a W9/W4/W8 form.
|
|
@@ -587,7 +587,7 @@ module AvalaraSdk::A1099
|
|
|
587
587
|
# @param avalara_version [String] API version
|
|
588
588
|
# @param x_correlation_id [String] Unique correlation Id in a GUID format
|
|
589
589
|
# @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/) .
|
|
590
|
-
# @return [Array<(
|
|
590
|
+
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
|
|
591
591
|
def get_w9_form_pdf_with_http_info(request_parameters)
|
|
592
592
|
# OAuth2 Scopes
|
|
593
593
|
required_scopes = ''
|
|
@@ -631,7 +631,7 @@ module AvalaraSdk::A1099
|
|
|
631
631
|
post_body = {}
|
|
632
632
|
|
|
633
633
|
# return_type
|
|
634
|
-
return_type = ''
|
|
634
|
+
return_type = 'File'
|
|
635
635
|
|
|
636
636
|
# auth_names
|
|
637
637
|
auth_names = ['bearer']
|