avatax 22.8.0 → 22.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/avatax.gemspec +2 -2
- data/lib/avatax/client/accounts.rb +11 -11
- data/lib/avatax/client/addresses.rb +2 -2
- data/lib/avatax/client/advancedrules.rb +5 -5
- data/lib/avatax/client/avafileforms.rb +5 -5
- data/lib/avatax/client/batches.rb +8 -8
- data/lib/avatax/client/certexpressinvites.rb +3 -3
- data/lib/avatax/client/certificates.rb +15 -15
- data/lib/avatax/client/companies.rb +22 -22
- data/lib/avatax/client/compliance.rb +1 -1
- data/lib/avatax/client/contacts.rb +6 -6
- data/lib/avatax/client/customers.rb +13 -13
- data/lib/avatax/client/datasources.rb +6 -6
- data/lib/avatax/client/definitions.rb +71 -71
- data/lib/avatax/client/distancethresholds.rb +6 -6
- data/lib/avatax/client/ecommercetoken.rb +2 -2
- data/lib/avatax/client/firmclientlinkages.rb +9 -9
- data/lib/avatax/client/free.rb +1 -1
- data/lib/avatax/client/fundingrequests.rb +2 -2
- data/lib/avatax/client/items.rb +32 -32
- data/lib/avatax/client/jurisdictionoverrides.rb +6 -6
- data/lib/avatax/client/locations.rb +12 -12
- data/lib/avatax/client/multidocument.rb +10 -10
- data/lib/avatax/client/nexus.rb +15 -15
- data/lib/avatax/client/notices.rb +4 -4
- data/lib/avatax/client/notifications.rb +3 -3
- data/lib/avatax/client/provisioning.rb +2 -2
- data/lib/avatax/client/registrar.rb +88 -10
- data/lib/avatax/client/reports.rb +4 -4
- data/lib/avatax/client/settings.rb +6 -6
- data/lib/avatax/client/subscriptions.rb +3 -3
- data/lib/avatax/client/taxcodes.rb +6 -6
- data/lib/avatax/client/taxcontent.rb +5 -5
- data/lib/avatax/client/taxrules.rb +6 -6
- data/lib/avatax/client/transactions.rb +21 -21
- data/lib/avatax/client/upcs.rb +6 -6
- data/lib/avatax/client/userdefinedfields.rb +3 -3
- data/lib/avatax/client/users.rb +8 -8
- data/lib/avatax/client/utilities.rb +3 -3
- data/lib/avatax/client.rb +1 -0
- data/lib/avatax/version.rb +1 -1
- metadata +4 -4
@@ -24,7 +24,7 @@ module AvaTax
|
|
24
24
|
# @param hsCode [String] The partial or full HS Code for which you would like to view all of the parents.
|
25
25
|
# @return [FetchResult]
|
26
26
|
def get_cross_border_code(country, hsCode) path = "/api/v2/definitions/crossborder/#{country}/#{hsCode}/hierarchy"
|
27
|
-
get(path, {}, "22.
|
27
|
+
get(path, {}, "22.10.0") end
|
28
28
|
|
29
29
|
# Test whether a form supports online login verification
|
30
30
|
#
|
@@ -38,7 +38,7 @@ module AvaTax
|
|
38
38
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
39
39
|
# @return [FetchResult]
|
40
40
|
def get_login_verifier_by_form(form, options={}) path = "/api/v2/definitions/filingcalendars/loginverifiers/#{form}"
|
41
|
-
get(path, options, "22.
|
41
|
+
get(path, options, "22.10.0") end
|
42
42
|
|
43
43
|
# List all market place locations.
|
44
44
|
#
|
@@ -50,7 +50,7 @@ module AvaTax
|
|
50
50
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
51
51
|
# @return [FetchResult]
|
52
52
|
def list_all_marketplace_locations(options={}) path = "/api/v2/definitions/listallmarketplacelocations"
|
53
|
-
get(path, options, "22.
|
53
|
+
get(path, options, "22.10.0") end
|
54
54
|
|
55
55
|
# Retrieve the full list of the AvaFile Forms available
|
56
56
|
#
|
@@ -67,7 +67,7 @@ module AvaTax
|
|
67
67
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
68
68
|
# @return [FetchResult]
|
69
69
|
def list_ava_file_forms(options={}) path = "/api/v2/definitions/avafileforms"
|
70
|
-
get(path, options, "22.
|
70
|
+
get(path, options, "22.10.0") end
|
71
71
|
|
72
72
|
# List certificate attributes used by a company
|
73
73
|
#
|
@@ -86,7 +86,7 @@ module AvaTax
|
|
86
86
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
87
87
|
# @return [FetchResult]
|
88
88
|
def list_certificate_attributes(options={}) path = "/api/v2/definitions/certificateattributes"
|
89
|
-
get(path, options, "22.
|
89
|
+
get(path, options, "22.10.0") end
|
90
90
|
|
91
91
|
# List the certificate exempt reasons defined by a company
|
92
92
|
#
|
@@ -104,7 +104,7 @@ module AvaTax
|
|
104
104
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
105
105
|
# @return [FetchResult]
|
106
106
|
def list_certificate_exempt_reasons(options={}) path = "/api/v2/definitions/certificateexemptreasons"
|
107
|
-
get(path, options, "22.
|
107
|
+
get(path, options, "22.10.0") end
|
108
108
|
|
109
109
|
# List certificate exposure zones used by a company
|
110
110
|
#
|
@@ -122,7 +122,7 @@ module AvaTax
|
|
122
122
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
123
123
|
# @return [FetchResult]
|
124
124
|
def list_certificate_exposure_zones(options={}) path = "/api/v2/definitions/certificateexposurezones"
|
125
|
-
get(path, options, "22.
|
125
|
+
get(path, options, "22.10.0") end
|
126
126
|
|
127
127
|
# Retrieve the full list of Avalara-supported usage of extra parameters for classification of a item.
|
128
128
|
#
|
@@ -136,7 +136,7 @@ module AvaTax
|
|
136
136
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
137
137
|
# @return [FetchResult]
|
138
138
|
def list_classification_parameters_usage(options={}) path = "/api/v2/definitions/classification/parametersusage"
|
139
|
-
get(path, options, "22.
|
139
|
+
get(path, options, "22.10.0") end
|
140
140
|
|
141
141
|
# Retrieve the full list of communications service types
|
142
142
|
#
|
@@ -149,7 +149,7 @@ module AvaTax
|
|
149
149
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
150
150
|
# @return [FetchResult]
|
151
151
|
def list_communications_service_types(id, options={}) path = "/api/v2/definitions/communications/transactiontypes/#{id}/servicetypes"
|
152
|
-
get(path, options, "22.
|
152
|
+
get(path, options, "22.10.0") end
|
153
153
|
|
154
154
|
# Retrieve the full list of communications transactiontypes
|
155
155
|
#
|
@@ -162,7 +162,7 @@ module AvaTax
|
|
162
162
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
163
163
|
# @return [FetchResult]
|
164
164
|
def list_communications_transaction_types(options={}) path = "/api/v2/definitions/communications/transactiontypes"
|
165
|
-
get(path, options, "22.
|
165
|
+
get(path, options, "22.10.0") end
|
166
166
|
|
167
167
|
# Retrieve the full list of communications transaction/service type pairs
|
168
168
|
#
|
@@ -175,7 +175,7 @@ module AvaTax
|
|
175
175
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
176
176
|
# @return [FetchResult]
|
177
177
|
def list_communications_t_s_pairs(options={}) path = "/api/v2/definitions/communications/tspairs"
|
178
|
-
get(path, options, "22.
|
178
|
+
get(path, options, "22.10.0") end
|
179
179
|
|
180
180
|
# List all ISO 3166 countries
|
181
181
|
#
|
@@ -189,7 +189,7 @@ module AvaTax
|
|
189
189
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
190
190
|
# @return [FetchResult]
|
191
191
|
def list_countries(options={}) path = "/api/v2/definitions/countries"
|
192
|
-
get(path, options, "22.
|
192
|
+
get(path, options, "22.10.0") end
|
193
193
|
|
194
194
|
# List certificate exposure zones used by a company
|
195
195
|
#
|
@@ -208,7 +208,7 @@ module AvaTax
|
|
208
208
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
209
209
|
# @return [FetchResult]
|
210
210
|
def list_cover_letters(options={}) path = "/api/v2/definitions/coverletters"
|
211
|
-
get(path, options, "22.
|
211
|
+
get(path, options, "22.10.0") end
|
212
212
|
|
213
213
|
# Lists the next level of HS Codes given a destination country and HS Code prefix.
|
214
214
|
#
|
@@ -233,7 +233,7 @@ module AvaTax
|
|
233
233
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
234
234
|
# @return [FetchResult]
|
235
235
|
def list_cross_border_codes(country, hsCode, options={}) path = "/api/v2/definitions/crossborder/#{country}/#{hsCode}"
|
236
|
-
get(path, options, "22.
|
236
|
+
get(path, options, "22.10.0") end
|
237
237
|
|
238
238
|
# List top level HS Code Sections.
|
239
239
|
#
|
@@ -250,7 +250,7 @@ module AvaTax
|
|
250
250
|
# Swagger Name: AvaTaxClient
|
251
251
|
# @return [FetchResult]
|
252
252
|
def list_cross_border_sections() path = "/api/v2/definitions/crossborder/sections"
|
253
|
-
get(path, {}, "22.
|
253
|
+
get(path, {}, "22.10.0") end
|
254
254
|
|
255
255
|
# List all ISO 4217 currencies supported by AvaTax.
|
256
256
|
#
|
@@ -265,7 +265,7 @@ module AvaTax
|
|
265
265
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
266
266
|
# @return [FetchResult]
|
267
267
|
def list_currencies(options={}) path = "/api/v2/definitions/currencies"
|
268
|
-
get(path, options, "22.
|
268
|
+
get(path, options, "22.10.0") end
|
269
269
|
|
270
270
|
# Retrieve the full list of Avalara-supported entity use codes
|
271
271
|
#
|
@@ -281,7 +281,7 @@ module AvaTax
|
|
281
281
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
282
282
|
# @return [FetchResult]
|
283
283
|
def list_entity_use_codes(options={}) path = "/api/v2/definitions/entityusecodes"
|
284
|
-
get(path, options, "22.
|
284
|
+
get(path, options, "22.10.0") end
|
285
285
|
|
286
286
|
# Retrieve the full list of Avalara-supported filing frequencies.
|
287
287
|
#
|
@@ -294,7 +294,7 @@ module AvaTax
|
|
294
294
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
295
295
|
# @return [FetchResult]
|
296
296
|
def list_filing_frequencies(options={}) path = "/api/v2/definitions/filingfrequencies"
|
297
|
-
get(path, options, "22.
|
297
|
+
get(path, options, "22.10.0") end
|
298
298
|
|
299
299
|
# List jurisdictions based on the filter provided
|
300
300
|
#
|
@@ -311,7 +311,7 @@ module AvaTax
|
|
311
311
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
312
312
|
# @return [FetchResult]
|
313
313
|
def list_jurisdictions(options={}) path = "/api/v2/definitions/jurisdictions"
|
314
|
-
get(path, options, "22.
|
314
|
+
get(path, options, "22.10.0") end
|
315
315
|
|
316
316
|
# List jurisdictions near a specific address
|
317
317
|
#
|
@@ -336,7 +336,7 @@ module AvaTax
|
|
336
336
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
337
337
|
# @return [FetchResult]
|
338
338
|
def list_jurisdictions_by_address(options={}) path = "/api/v2/definitions/jurisdictionsnearaddress"
|
339
|
-
get(path, options, "22.
|
339
|
+
get(path, options, "22.10.0") end
|
340
340
|
|
341
341
|
# List jurisdictions based on the provided taxTypeId, taxSubTypeId, country, and rateTypeId
|
342
342
|
#
|
@@ -360,7 +360,7 @@ module AvaTax
|
|
360
360
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
361
361
|
# @return [FetchResult]
|
362
362
|
def list_jurisdictions_by_rate_type_tax_type_mapping(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/jurisdictions/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}"
|
363
|
-
get(path, options, "22.
|
363
|
+
get(path, options, "22.10.0") end
|
364
364
|
|
365
365
|
# List jurisdiction types based on the provided taxTypeId, taxSubTypeId, country, and rateTypeId
|
366
366
|
#
|
@@ -372,7 +372,7 @@ module AvaTax
|
|
372
372
|
# @param rateTypeId [String] The ratetype for which you want to retrieve the jurisdiction information
|
373
373
|
# @return [string[]]
|
374
374
|
def list_jurisdiction_types_by_rate_type_tax_type_mapping(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/jurisdictionTypes/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}"
|
375
|
-
get(path, options, "22.
|
375
|
+
get(path, options, "22.10.0") end
|
376
376
|
|
377
377
|
# Retrieve the list of questions that are required for a tax location
|
378
378
|
#
|
@@ -398,7 +398,7 @@ module AvaTax
|
|
398
398
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
399
399
|
# @return [FetchResult]
|
400
400
|
def list_location_questions_by_address(options={}) path = "/api/v2/definitions/locationquestions"
|
401
|
-
get(path, options, "22.
|
401
|
+
get(path, options, "22.10.0") end
|
402
402
|
|
403
403
|
# List all forms where logins can be verified automatically
|
404
404
|
#
|
@@ -412,7 +412,7 @@ module AvaTax
|
|
412
412
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
413
413
|
# @return [FetchResult]
|
414
414
|
def list_login_verifiers(options={}) path = "/api/v2/definitions/filingcalendars/loginverifiers"
|
415
|
-
get(path, options, "22.
|
415
|
+
get(path, options, "22.10.0") end
|
416
416
|
|
417
417
|
# Retrieve the list of locations for a marketplace.
|
418
418
|
#
|
@@ -424,7 +424,7 @@ module AvaTax
|
|
424
424
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
425
425
|
# @return [FetchResult]
|
426
426
|
def list_marketplace_locations(options={}) path = "/api/v2/definitions/marketplacelocations"
|
427
|
-
get(path, options, "22.
|
427
|
+
get(path, options, "22.10.0") end
|
428
428
|
|
429
429
|
# Retrieve the full list of Avalara-supported nexus for all countries and regions.
|
430
430
|
#
|
@@ -438,7 +438,7 @@ module AvaTax
|
|
438
438
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
439
439
|
# @return [FetchResult]
|
440
440
|
def list_nexus(options={}) path = "/api/v2/definitions/nexus"
|
441
|
-
get(path, options, "22.
|
441
|
+
get(path, options, "22.10.0") end
|
442
442
|
|
443
443
|
# List all nexus that apply to a specific address.
|
444
444
|
#
|
@@ -461,7 +461,7 @@ module AvaTax
|
|
461
461
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
462
462
|
# @return [FetchResult]
|
463
463
|
def list_nexus_by_address(options={}) path = "/api/v2/definitions/nexus/byaddress"
|
464
|
-
get(path, options, "22.
|
464
|
+
get(path, options, "22.10.0") end
|
465
465
|
|
466
466
|
# Retrieve the full list of Avalara-supported nexus for a country.
|
467
467
|
#
|
@@ -476,7 +476,7 @@ module AvaTax
|
|
476
476
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
477
477
|
# @return [FetchResult]
|
478
478
|
def list_nexus_by_country(country, options={}) path = "/api/v2/definitions/nexus/#{country}"
|
479
|
-
get(path, options, "22.
|
479
|
+
get(path, options, "22.10.0") end
|
480
480
|
|
481
481
|
# Retrieve the full list of Avalara-supported nexus for a country and region.
|
482
482
|
#
|
@@ -492,7 +492,7 @@ module AvaTax
|
|
492
492
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
493
493
|
# @return [FetchResult]
|
494
494
|
def list_nexus_by_country_and_region(country, region, options={}) path = "/api/v2/definitions/nexus/#{country}/#{region}"
|
495
|
-
get(path, options, "22.
|
495
|
+
get(path, options, "22.10.0") end
|
496
496
|
|
497
497
|
# List nexus related to a tax form
|
498
498
|
#
|
@@ -515,7 +515,7 @@ module AvaTax
|
|
515
515
|
# @param formCode [String] The form code that we are looking up the nexus for
|
516
516
|
# @return [Object]
|
517
517
|
def list_nexus_by_form_code(formCode) path = "/api/v2/definitions/nexus/byform/#{formCode}"
|
518
|
-
get(path, {}, "22.
|
518
|
+
get(path, {}, "22.10.0") end
|
519
519
|
|
520
520
|
# Retrieve the full list of Avalara-supported nexus for a tax type group.
|
521
521
|
#
|
@@ -530,7 +530,7 @@ module AvaTax
|
|
530
530
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
531
531
|
# @return [FetchResult]
|
532
532
|
def list_nexus_by_tax_type_group(taxTypeGroup, options={}) path = "/api/v2/definitions/nexus/bytaxtypegroup/#{taxTypeGroup}"
|
533
|
-
get(path, options, "22.
|
533
|
+
get(path, options, "22.10.0") end
|
534
534
|
|
535
535
|
# Retrieve the full list of nexus tax type groups
|
536
536
|
#
|
@@ -543,7 +543,7 @@ module AvaTax
|
|
543
543
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
544
544
|
# @return [FetchResult]
|
545
545
|
def list_nexus_tax_type_groups(options={}) path = "/api/v2/definitions/nexustaxtypegroups"
|
546
|
-
get(path, options, "22.
|
546
|
+
get(path, options, "22.10.0") end
|
547
547
|
|
548
548
|
# Retrieve the full list of Avalara-supported tax notice customer funding options.
|
549
549
|
#
|
@@ -556,7 +556,7 @@ module AvaTax
|
|
556
556
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
557
557
|
# @return [FetchResult]
|
558
558
|
def list_notice_customer_funding_options(options={}) path = "/api/v2/definitions/noticecustomerfundingoptions"
|
559
|
-
get(path, options, "22.
|
559
|
+
get(path, options, "22.10.0") end
|
560
560
|
|
561
561
|
# Retrieve the full list of Avalara-supported tax notice customer types.
|
562
562
|
#
|
@@ -569,7 +569,7 @@ module AvaTax
|
|
569
569
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
570
570
|
# @return [FetchResult]
|
571
571
|
def list_notice_customer_types(options={}) path = "/api/v2/definitions/noticecustomertypes"
|
572
|
-
get(path, options, "22.
|
572
|
+
get(path, options, "22.10.0") end
|
573
573
|
|
574
574
|
# Retrieve the full list of Avalara-supported tax notice filing types.
|
575
575
|
#
|
@@ -582,7 +582,7 @@ module AvaTax
|
|
582
582
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
583
583
|
# @return [FetchResult]
|
584
584
|
def list_notice_filingtypes(options={}) path = "/api/v2/definitions/noticefilingtypes"
|
585
|
-
get(path, options, "22.
|
585
|
+
get(path, options, "22.10.0") end
|
586
586
|
|
587
587
|
# Retrieve the full list of Avalara-supported tax notice priorities.
|
588
588
|
#
|
@@ -595,7 +595,7 @@ module AvaTax
|
|
595
595
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
596
596
|
# @return [FetchResult]
|
597
597
|
def list_notice_priorities(options={}) path = "/api/v2/definitions/noticepriorities"
|
598
|
-
get(path, options, "22.
|
598
|
+
get(path, options, "22.10.0") end
|
599
599
|
|
600
600
|
# Retrieve the full list of Avalara-supported tax notice reasons.
|
601
601
|
#
|
@@ -608,7 +608,7 @@ module AvaTax
|
|
608
608
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
609
609
|
# @return [FetchResult]
|
610
610
|
def list_notice_reasons(options={}) path = "/api/v2/definitions/noticereasons"
|
611
|
-
get(path, options, "22.
|
611
|
+
get(path, options, "22.10.0") end
|
612
612
|
|
613
613
|
# Retrieve the full list of Avalara-supported tax notice responsibility ids
|
614
614
|
#
|
@@ -621,7 +621,7 @@ module AvaTax
|
|
621
621
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
622
622
|
# @return [FetchResult]
|
623
623
|
def list_notice_responsibilities(options={}) path = "/api/v2/definitions/noticeresponsibilities"
|
624
|
-
get(path, options, "22.
|
624
|
+
get(path, options, "22.10.0") end
|
625
625
|
|
626
626
|
# Retrieve the full list of Avalara-supported tax notice root causes
|
627
627
|
#
|
@@ -634,7 +634,7 @@ module AvaTax
|
|
634
634
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
635
635
|
# @return [FetchResult]
|
636
636
|
def list_notice_root_causes(options={}) path = "/api/v2/definitions/noticerootcauses"
|
637
|
-
get(path, options, "22.
|
637
|
+
get(path, options, "22.10.0") end
|
638
638
|
|
639
639
|
# Retrieve the full list of Avalara-supported tax notice statuses.
|
640
640
|
#
|
@@ -647,7 +647,7 @@ module AvaTax
|
|
647
647
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
648
648
|
# @return [FetchResult]
|
649
649
|
def list_notice_statuses(options={}) path = "/api/v2/definitions/noticestatuses"
|
650
|
-
get(path, options, "22.
|
650
|
+
get(path, options, "22.10.0") end
|
651
651
|
|
652
652
|
# Retrieve the full list of Avalara-supported tax notice types.
|
653
653
|
#
|
@@ -660,7 +660,7 @@ module AvaTax
|
|
660
660
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
661
661
|
# @return [FetchResult]
|
662
662
|
def list_notice_types(options={}) path = "/api/v2/definitions/noticetypes"
|
663
|
-
get(path, options, "22.
|
663
|
+
get(path, options, "22.10.0") end
|
664
664
|
|
665
665
|
# Retrieve the full list of Avalara-supported extra parameters for creating transactions.
|
666
666
|
#
|
@@ -674,7 +674,7 @@ module AvaTax
|
|
674
674
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
675
675
|
# @return [FetchResult]
|
676
676
|
def list_parameters(options={}) path = "/api/v2/definitions/parameters"
|
677
|
-
get(path, options, "22.
|
677
|
+
get(path, options, "22.10.0") end
|
678
678
|
|
679
679
|
# Retrieve the parameters by companyCode and itemCode.
|
680
680
|
#
|
@@ -705,7 +705,7 @@ module AvaTax
|
|
705
705
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
706
706
|
# @return [FetchResult]
|
707
707
|
def list_parameters_by_item(companyCode, itemCode, options={}) path = "/api/v2/definitions/parameters/byitem/#{companyCode}/#{itemCode}"
|
708
|
-
get(path, options, "22.
|
708
|
+
get(path, options, "22.10.0") end
|
709
709
|
|
710
710
|
# Retrieve the full list of Avalara-supported usage of extra parameters for creating transactions.
|
711
711
|
#
|
@@ -719,7 +719,7 @@ module AvaTax
|
|
719
719
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
720
720
|
# @return [FetchResult]
|
721
721
|
def list_parameters_usage(options={}) path = "/api/v2/definitions/parametersusage"
|
722
|
-
get(path, options, "22.
|
722
|
+
get(path, options, "22.10.0") end
|
723
723
|
|
724
724
|
# Retrieve the full list of Avalara-supported permissions
|
725
725
|
#
|
@@ -730,7 +730,7 @@ module AvaTax
|
|
730
730
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
731
731
|
# @return [FetchResult]
|
732
732
|
def list_permissions(options={}) path = "/api/v2/definitions/permissions"
|
733
|
-
get(path, options, "22.
|
733
|
+
get(path, options, "22.10.0") end
|
734
734
|
|
735
735
|
# Retrieve the full list of Avalara-supported postal codes.
|
736
736
|
#
|
@@ -742,7 +742,7 @@ module AvaTax
|
|
742
742
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
743
743
|
# @return [FetchResult]
|
744
744
|
def list_postal_codes(options={}) path = "/api/v2/definitions/postalcodes"
|
745
|
-
get(path, options, "22.
|
745
|
+
get(path, options, "22.10.0") end
|
746
746
|
|
747
747
|
# List all customs duty programs recognized by AvaTax
|
748
748
|
#
|
@@ -762,7 +762,7 @@ module AvaTax
|
|
762
762
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
763
763
|
# @return [FetchResult]
|
764
764
|
def list_preferred_programs(options={}) path = "/api/v2/definitions/preferredprograms"
|
765
|
-
get(path, options, "22.
|
765
|
+
get(path, options, "22.10.0") end
|
766
766
|
|
767
767
|
# List all available product classification systems.
|
768
768
|
#
|
@@ -778,7 +778,7 @@ module AvaTax
|
|
778
778
|
# @param countryCode [String] If not null, return all records with this code.
|
779
779
|
# @return [FetchResult]
|
780
780
|
def list_product_classification_systems(options={}) path = "/api/v2/definitions/productclassificationsystems"
|
781
|
-
get(path, options, "22.
|
781
|
+
get(path, options, "22.10.0") end
|
782
782
|
|
783
783
|
# List all product classification systems available to a company based on its nexus.
|
784
784
|
#
|
@@ -803,7 +803,7 @@ module AvaTax
|
|
803
803
|
# @param countryCode [String] If not null, return all records with this code.
|
804
804
|
# @return [FetchResult]
|
805
805
|
def list_product_classification_systems_by_company(companyCode, options={}) path = "/api/v2/definitions/productclassificationsystems/bycompany/#{companyCode}"
|
806
|
-
get(path, options, "22.
|
806
|
+
get(path, options, "22.10.0") end
|
807
807
|
|
808
808
|
# Retrieve the full list of rate types for each country
|
809
809
|
#
|
@@ -817,7 +817,7 @@ module AvaTax
|
|
817
817
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
818
818
|
# @return [FetchResult]
|
819
819
|
def list_rate_types_by_country(country, options={}) path = "/api/v2/definitions/countries/#{country}/ratetypes"
|
820
|
-
get(path, options, "22.
|
820
|
+
get(path, options, "22.10.0") end
|
821
821
|
|
822
822
|
# Retrieve the list of rate types by country, TaxType and by TaxSubType
|
823
823
|
#
|
@@ -833,7 +833,7 @@ module AvaTax
|
|
833
833
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
834
834
|
# @return [FetchResult]
|
835
835
|
def list_rate_types_by_country_tax_type_tax_sub_type(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}/ratetypes"
|
836
|
-
get(path, options, "22.
|
836
|
+
get(path, options, "22.10.0") end
|
837
837
|
|
838
838
|
# List all ISO 3166 regions
|
839
839
|
#
|
@@ -847,7 +847,7 @@ module AvaTax
|
|
847
847
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
848
848
|
# @return [FetchResult]
|
849
849
|
def list_regions(options={}) path = "/api/v2/definitions/regions"
|
850
|
-
get(path, options, "22.
|
850
|
+
get(path, options, "22.10.0") end
|
851
851
|
|
852
852
|
# List all ISO 3166 regions for a country
|
853
853
|
#
|
@@ -862,7 +862,7 @@ module AvaTax
|
|
862
862
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
863
863
|
# @return [FetchResult]
|
864
864
|
def list_regions_by_country(country, options={}) path = "/api/v2/definitions/countries/#{country}/regions"
|
865
|
-
get(path, options, "22.
|
865
|
+
get(path, options, "22.10.0") end
|
866
866
|
|
867
867
|
# Retrieve the full list of Avalara-supported resource file types
|
868
868
|
#
|
@@ -875,7 +875,7 @@ module AvaTax
|
|
875
875
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
876
876
|
# @return [FetchResult]
|
877
877
|
def list_resource_file_types(options={}) path = "/api/v2/definitions/resourcefiletypes"
|
878
|
-
get(path, options, "22.
|
878
|
+
get(path, options, "22.10.0") end
|
879
879
|
|
880
880
|
# Retrieve the full list of Avalara-supported usage of parameters used for returns.
|
881
881
|
#
|
@@ -889,7 +889,7 @@ module AvaTax
|
|
889
889
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
890
890
|
# @return [FetchResult]
|
891
891
|
def list_returns_parameters_usage(options={}) path = "/api/v2/definitions/returns/parametersusage"
|
892
|
-
get(path, options, "22.
|
892
|
+
get(path, options, "22.10.0") end
|
893
893
|
|
894
894
|
# Retrieve the full list of Avalara-supported permissions
|
895
895
|
#
|
@@ -903,7 +903,7 @@ module AvaTax
|
|
903
903
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
904
904
|
# @return [FetchResult]
|
905
905
|
def list_security_roles(options={}) path = "/api/v2/definitions/securityroles"
|
906
|
-
get(path, options, "22.
|
906
|
+
get(path, options, "22.10.0") end
|
907
907
|
|
908
908
|
# Retrieve the full list of Avalara-supported subscription types
|
909
909
|
#
|
@@ -918,7 +918,7 @@ module AvaTax
|
|
918
918
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
919
919
|
# @return [FetchResult]
|
920
920
|
def list_subscription_types(options={}) path = "/api/v2/definitions/subscriptiontypes"
|
921
|
-
get(path, options, "22.
|
921
|
+
get(path, options, "22.10.0") end
|
922
922
|
|
923
923
|
# Retrieve the list all tags supported by avalara
|
924
924
|
#
|
@@ -930,7 +930,7 @@ module AvaTax
|
|
930
930
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
931
931
|
# @return [FetchResult]
|
932
932
|
def list_tags(options={}) path = "/api/v2/definitions/tags"
|
933
|
-
get(path, options, "22.
|
933
|
+
get(path, options, "22.10.0") end
|
934
934
|
|
935
935
|
# Retrieve the full list of Avalara-supported tax authorities.
|
936
936
|
#
|
@@ -943,7 +943,7 @@ module AvaTax
|
|
943
943
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
944
944
|
# @return [FetchResult]
|
945
945
|
def list_tax_authorities(options={}) path = "/api/v2/definitions/taxauthorities"
|
946
|
-
get(path, options, "22.
|
946
|
+
get(path, options, "22.10.0") end
|
947
947
|
|
948
948
|
# Retrieve the full list of Avalara-supported forms for each tax authority.
|
949
949
|
#
|
@@ -958,7 +958,7 @@ module AvaTax
|
|
958
958
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
959
959
|
# @return [FetchResult]
|
960
960
|
def list_tax_authority_forms(options={}) path = "/api/v2/definitions/taxauthorityforms"
|
961
|
-
get(path, options, "22.
|
961
|
+
get(path, options, "22.10.0") end
|
962
962
|
|
963
963
|
# Retrieve the full list of Avalara-supported tax authority types.
|
964
964
|
#
|
@@ -971,7 +971,7 @@ module AvaTax
|
|
971
971
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
972
972
|
# @return [FetchResult]
|
973
973
|
def list_tax_authority_types(options={}) path = "/api/v2/definitions/taxauthoritytypes"
|
974
|
-
get(path, options, "22.
|
974
|
+
get(path, options, "22.10.0") end
|
975
975
|
|
976
976
|
# Retrieve the full list of Avalara-supported tax codes.
|
977
977
|
#
|
@@ -991,7 +991,7 @@ module AvaTax
|
|
991
991
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
992
992
|
# @return [FetchResult]
|
993
993
|
def list_tax_codes(options={}) path = "/api/v2/definitions/taxcodes"
|
994
|
-
get(path, options, "22.
|
994
|
+
get(path, options, "22.10.0") end
|
995
995
|
|
996
996
|
# Retrieve the full list of Avalara-supported tax code types.
|
997
997
|
#
|
@@ -1003,7 +1003,7 @@ module AvaTax
|
|
1003
1003
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
1004
1004
|
# @return [Object]
|
1005
1005
|
def list_tax_code_types(options={}) path = "/api/v2/definitions/taxcodetypes"
|
1006
|
-
get(path, options, "22.
|
1006
|
+
get(path, options, "22.10.0") end
|
1007
1007
|
|
1008
1008
|
# Retrieve the full list of the Tax Forms available
|
1009
1009
|
#
|
@@ -1016,7 +1016,7 @@ module AvaTax
|
|
1016
1016
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
1017
1017
|
# @return [FetchResult]
|
1018
1018
|
def list_tax_forms(options={}) path = "/api/v2/definitions/taxforms"
|
1019
|
-
get(path, options, "22.
|
1019
|
+
get(path, options, "22.10.0") end
|
1020
1020
|
|
1021
1021
|
# Retrieve the full list of tax sub types
|
1022
1022
|
#
|
@@ -1029,7 +1029,7 @@ module AvaTax
|
|
1029
1029
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
1030
1030
|
# @return [FetchResult]
|
1031
1031
|
def list_tax_sub_types(options={}) path = "/api/v2/definitions/taxsubtypes"
|
1032
|
-
get(path, options, "22.
|
1032
|
+
get(path, options, "22.10.0") end
|
1033
1033
|
|
1034
1034
|
# Retrieve the full list of tax sub types by Country and TaxType
|
1035
1035
|
#
|
@@ -1044,7 +1044,7 @@ module AvaTax
|
|
1044
1044
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
1045
1045
|
# @return [FetchResult]
|
1046
1046
|
def list_tax_sub_types_by_country_and_tax_type(country, taxTypeId, options={}) path = "/api/v2/definitions/taxsubtypes/countries/#{country}/taxtypes/#{taxTypeId}"
|
1047
|
-
get(path, options, "22.
|
1047
|
+
get(path, options, "22.10.0") end
|
1048
1048
|
|
1049
1049
|
# Retrieve the full list of tax sub types by jurisdiction code and region
|
1050
1050
|
#
|
@@ -1059,7 +1059,7 @@ module AvaTax
|
|
1059
1059
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
1060
1060
|
# @return [FetchResult]
|
1061
1061
|
def list_tax_sub_types_by_jurisdiction_and_region(jurisdictionCode, region, options={}) path = "/api/v2/definitions/taxsubtypes/#{jurisdictionCode}/#{region}"
|
1062
|
-
get(path, options, "22.
|
1062
|
+
get(path, options, "22.10.0") end
|
1063
1063
|
|
1064
1064
|
# Retrieve the full list of tax type groups
|
1065
1065
|
#
|
@@ -1072,7 +1072,7 @@ module AvaTax
|
|
1072
1072
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
1073
1073
|
# @return [FetchResult]
|
1074
1074
|
def list_tax_type_groups(options={}) path = "/api/v2/definitions/taxtypegroups"
|
1075
|
-
get(path, options, "22.
|
1075
|
+
get(path, options, "22.10.0") end
|
1076
1076
|
|
1077
1077
|
# Retrieve the list of applicable TaxTypes
|
1078
1078
|
#
|
@@ -1085,7 +1085,7 @@ module AvaTax
|
|
1085
1085
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
1086
1086
|
# @return [FetchResult]
|
1087
1087
|
def list_tax_types_by_nexus_and_country(country, options={}) path = "/api/v2/definitions/taxtypes/countries/#{country}"
|
1088
|
-
get(path, options, "22.
|
1088
|
+
get(path, options, "22.10.0") end
|
1089
1089
|
|
1090
1090
|
# Retrieve the list of applicable UnitOfBasis
|
1091
1091
|
#
|
@@ -1100,7 +1100,7 @@ module AvaTax
|
|
1100
1100
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
1101
1101
|
# @return [FetchResult]
|
1102
1102
|
def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/unitofbasis/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}"
|
1103
|
-
get(path, options, "22.
|
1103
|
+
get(path, options, "22.10.0") end
|
1104
1104
|
|
1105
1105
|
# List all defined units of measurement
|
1106
1106
|
#
|
@@ -1114,7 +1114,7 @@ module AvaTax
|
|
1114
1114
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
1115
1115
|
# @return [FetchResult]
|
1116
1116
|
def list_unit_of_measurement(options={}) path = "/api/v2/definitions/unitofmeasurements"
|
1117
|
-
get(path, options, "22.
|
1117
|
+
get(path, options, "22.10.0") end
|
1118
1118
|
end
|
1119
1119
|
end
|
1120
1120
|
end
|