avatax 20.9.0 → 21.6.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/.vs/slnx.sqlite +0 -0
- data/lib/avatax/client/addresses.rb +3 -3
- data/lib/avatax/client/advancedrules.rb +0 -10
- data/lib/avatax/client/avafileforms.rb +5 -5
- data/lib/avatax/client/certexpressinvites.rb +15 -15
- data/lib/avatax/client/certificates.rb +67 -67
- data/lib/avatax/client/companies.rb +6 -5
- data/lib/avatax/client/customers.rb +61 -61
- data/lib/avatax/client/datasources.rb +6 -6
- data/lib/avatax/client/definitions.rb +62 -8
- data/lib/avatax/client/ecms.rb +26 -31
- data/lib/avatax/client/ecommercetoken.rb +1 -1
- data/lib/avatax/client/errortransactions.rb +27 -15
- data/lib/avatax/client/filingcalendars.rb +15 -0
- data/lib/avatax/client/filings.rb +2 -2
- data/lib/avatax/client/free.rb +0 -73
- data/lib/avatax/client/fundingrequests.rb +2 -2
- data/lib/avatax/client/items.rb +117 -3
- data/lib/avatax/client/locations.rb +2 -2
- data/lib/avatax/client/multidocument.rb +12 -12
- data/lib/avatax/client/nexus.rb +2 -2
- data/lib/avatax/client/notices.rb +28 -489
- data/lib/avatax/client/reports.rb +10 -1
- data/lib/avatax/client/settings.rb +7 -2
- data/lib/avatax/client/taxcontent.rb +65 -2
- data/lib/avatax/client/taxprofiles.rb +14 -10
- data/lib/avatax/client/transactions.rb +21 -21
- data/lib/avatax/client/upcs.rb +6 -6
- data/lib/avatax/client/users.rb +2 -2
- data/lib/avatax/configuration.rb +1 -1
- data/lib/avatax/request.rb +0 -2
- data/lib/avatax/version.rb +1 -1
- data/spec/avatax/request_spec.rb +25 -0
- metadata +3 -2
@@ -139,7 +139,7 @@ module AvaTax
|
|
139
139
|
#
|
140
140
|
# ### Security Policies
|
141
141
|
#
|
142
|
-
# * This API depends on the following active services
|
142
|
+
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.
|
143
143
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
144
144
|
# @param id [Integer] The unique identifier of the company
|
145
145
|
# @param model [Object] The funding initialization request
|
@@ -187,7 +187,7 @@ module AvaTax
|
|
187
187
|
# ### Security Policies
|
188
188
|
#
|
189
189
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
190
|
-
# * This API depends on the following active services
|
190
|
+
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
|
191
191
|
# @param companyId [Integer] The unique identifier of the company
|
192
192
|
# @return [Object]
|
193
193
|
def funding_configuration_by_company(companyId) path = "/api/v2/companies/#{companyId}/funding/configuration"
|
@@ -203,7 +203,7 @@ module AvaTax
|
|
203
203
|
# ### Security Policies
|
204
204
|
#
|
205
205
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
206
|
-
# * This API depends on the following active services
|
206
|
+
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
|
207
207
|
# @param companyId [Integer] The unique identifier of the company
|
208
208
|
# @param currency [String] The currency of the funding. USD and CAD are the only valid currencies
|
209
209
|
# @return [FundingConfigurationModel[]]
|
@@ -292,6 +292,7 @@ module AvaTax
|
|
292
292
|
# * `FilingRequested` - The company has requested to begin filing tax returns, but Avalara's compliance team has not yet begun filing.
|
293
293
|
# * `FirstFiling` - The company has recently filing tax returns and is in a new status.
|
294
294
|
# * `Active` - The company is currently active and is filing tax returns via Avalara Managed Returns.
|
295
|
+
# * `Inactive` - The company is currently inactive.
|
295
296
|
#
|
296
297
|
# ### Security Policies
|
297
298
|
#
|
@@ -335,7 +336,7 @@ module AvaTax
|
|
335
336
|
#
|
336
337
|
# ### Security Policies
|
337
338
|
#
|
338
|
-
# * This API depends on the following active services
|
339
|
+
# * This API depends on the following active services:*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.
|
339
340
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
340
341
|
# @param id [Integer] The unique identifier of the company
|
341
342
|
# @return [FundingStatusModel[]]
|
@@ -379,7 +380,7 @@ module AvaTax
|
|
379
380
|
#
|
380
381
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
381
382
|
# @param include [String] A comma separated list of objects to fetch underneath this company. Any object with a URL path underneath this company can be fetched by specifying its name.
|
382
|
-
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* IsFein, contacts, items, locations, nexus, settings, taxCodes, taxRules, upcs, nonReportingChildCompanies, exemptCerts, parameters
|
383
|
+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* IsFein, contacts, items, locations, nexus, settings, taxCodes, taxRules, upcs, nonReportingChildCompanies, exemptCerts, parameters, supplierandcustomers
|
383
384
|
# @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.
|
384
385
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
385
386
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
@@ -16,15 +16,15 @@ module AvaTax
|
|
16
16
|
# A nested object such as CustomFields could be specified and created along with the customer object. To fetch the
|
17
17
|
# nested object, please call 'GetCustomer' API with appropriate $include parameters.
|
18
18
|
#
|
19
|
-
#
|
20
|
-
# Companies that do not have this storage system set up will
|
21
|
-
# certificate related APIs. To check if this
|
22
|
-
# storage for this company, call `RequestCertificateSetup`.
|
19
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
20
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
21
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
22
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
23
23
|
#
|
24
24
|
# ### Security Policies
|
25
25
|
#
|
26
26
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
27
|
-
# * This API depends on the following active services
|
27
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
28
28
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
29
29
|
# @param model [CustomerModel[]] The list of customer objects to be created
|
30
30
|
# @return [CustomerModel[]]
|
@@ -41,15 +41,15 @@ module AvaTax
|
|
41
41
|
# identify any certificates linked to this `customer` object. If any certificate applies to the transaction,
|
42
42
|
# AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
|
43
43
|
#
|
44
|
-
#
|
45
|
-
# Companies that do not have this storage system set up will
|
46
|
-
# certificate related APIs. To check if this
|
47
|
-
# storage for this company, call `RequestCertificateSetup`.
|
44
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
45
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
46
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
47
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
48
48
|
#
|
49
49
|
# ### Security Policies
|
50
50
|
#
|
51
51
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
52
|
-
# * This API depends on the following active services
|
52
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
53
53
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
54
54
|
# @param customerCode [String] The unique code representing this customer
|
55
55
|
# @return [Object]
|
@@ -72,15 +72,15 @@ module AvaTax
|
|
72
72
|
# * CustomFields - Fetch a list of custom fields associated to this customer.
|
73
73
|
# * attributes - Retrieves all attributes applied to the customer.
|
74
74
|
#
|
75
|
-
#
|
76
|
-
# Companies that do not have this storage system set up will
|
77
|
-
# certificate related APIs. To check if this
|
78
|
-
# storage for this company, call `RequestCertificateSetup`.
|
75
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
76
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
77
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
78
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
79
79
|
#
|
80
80
|
# ### Security Policies
|
81
81
|
#
|
82
82
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
83
|
-
# * This API depends on the following active services
|
83
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
84
84
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
85
85
|
# @param customerCode [String] The unique code representing this customer
|
86
86
|
# @param include [String] Specify optional additional objects to include in this fetch request
|
@@ -101,15 +101,15 @@ module AvaTax
|
|
101
101
|
# identify any certificates linked to this customer object. If any certificate applies to the transaction,
|
102
102
|
# AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
|
103
103
|
#
|
104
|
-
#
|
105
|
-
# Companies that do not have this storage system set up will
|
106
|
-
# certificate related APIs. To check if this
|
107
|
-
# storage for this company, call `RequestCertificateSetup`.
|
104
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
105
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
106
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
107
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
108
108
|
#
|
109
109
|
# ### Security Policies
|
110
110
|
#
|
111
111
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
112
|
-
# * This API depends on the following active services
|
112
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
113
113
|
# @param companyId [Integer] The unique ID number of the company that recorded the provided customer
|
114
114
|
# @param customerCode [String] The unique code representing the current customer
|
115
115
|
# @param model [CustomerAttributeModel[]] The list of attributes to link to the customer.
|
@@ -127,15 +127,15 @@ module AvaTax
|
|
127
127
|
# identify any certificates linked to this `customer` object. If any certificate applies to the transaction,
|
128
128
|
# AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
|
129
129
|
#
|
130
|
-
#
|
131
|
-
# Companies that do not have this storage system set up will
|
132
|
-
# certificate related APIs. To check if this
|
133
|
-
# storage for this company, call `RequestCertificateSetup`.
|
130
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
131
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
132
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
133
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
134
134
|
#
|
135
135
|
# ### Security Policies
|
136
136
|
#
|
137
137
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
138
|
-
# * This API depends on the following active services
|
138
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
139
139
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
140
140
|
# @param customerCode [String] The unique code representing this customer
|
141
141
|
# @param model [Object] The list of certificates to link to this customer
|
@@ -162,7 +162,7 @@ module AvaTax
|
|
162
162
|
# ### Security Policies
|
163
163
|
#
|
164
164
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
165
|
-
# * This API depends on the following active services
|
165
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
166
166
|
# @param companyId [Integer] The unique ID number of the company defining customers.
|
167
167
|
# @param code [String] The code of the bill-to customer to link.
|
168
168
|
# @param model [Object] A list of information about ship-to customers to link to this bill-to customer.
|
@@ -183,15 +183,15 @@ module AvaTax
|
|
183
183
|
# identify any certificates linked to this customer object. If any certificate applies to the transaction,
|
184
184
|
# AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
|
185
185
|
#
|
186
|
-
#
|
187
|
-
# Companies that do not have this storage system set up will
|
188
|
-
# certificate related APIs. To check if this
|
189
|
-
# storage for this company, call `RequestCertificateSetup`.
|
186
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
187
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
188
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
189
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
190
190
|
#
|
191
191
|
# ### Security Policies
|
192
192
|
#
|
193
193
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
194
|
-
# * This API depends on the following active services
|
194
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
195
195
|
# @param companyId [Integer] The unique ID number of the company that recorded the provided customer
|
196
196
|
# @param customerCode [String] The unique code representing the current customer
|
197
197
|
# @return [FetchResult]
|
@@ -208,15 +208,15 @@ module AvaTax
|
|
208
208
|
# identify any certificates linked to this `customer` object. If any certificate applies to the transaction,
|
209
209
|
# AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
|
210
210
|
#
|
211
|
-
#
|
212
|
-
# Companies that do not have this storage system set up will
|
213
|
-
# certificate related APIs. To check if this
|
214
|
-
# storage for this company, call `RequestCertificateSetup`.
|
211
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
212
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
213
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
214
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
215
215
|
#
|
216
216
|
# ### Security Policies
|
217
217
|
#
|
218
218
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
219
|
-
# * This API depends on the following active services
|
219
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
220
220
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
221
221
|
# @param customerCode [String] The unique code representing this customer
|
222
222
|
# @param include [String] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.
|
@@ -241,15 +241,15 @@ module AvaTax
|
|
241
241
|
# a CertExpress invitation link so that the customer can upload proof of their exemption certificate. Please
|
242
242
|
# see the `CreateCertExpressInvitation` API to create an invitation link for this customer.
|
243
243
|
#
|
244
|
-
#
|
245
|
-
# Companies that do not have this storage system set up will
|
246
|
-
# certificate related APIs. To check if this
|
247
|
-
# storage for this company, call `RequestCertificateSetup`.
|
244
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
245
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
246
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
247
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
248
248
|
#
|
249
249
|
# ### Security Policies
|
250
250
|
#
|
251
251
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
252
|
-
# * This API depends on the following active services
|
252
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
253
253
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
254
254
|
# @param customerCode [String] The unique code representing this customer
|
255
255
|
# @param country [String] Search for certificates matching this country. Uses the ISO 3166 two character country code.
|
@@ -273,15 +273,15 @@ module AvaTax
|
|
273
273
|
# * Certificates - Fetch a list of certificates linked to this customer.
|
274
274
|
# * attributes - Retrieves all attributes applied to the customer.
|
275
275
|
#
|
276
|
-
#
|
277
|
-
# Companies that do not have this storage system set up will
|
278
|
-
# certificate related APIs. To check if this
|
279
|
-
# storage for this company, call `RequestCertificateSetup`.
|
276
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
277
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
278
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
279
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
280
280
|
#
|
281
281
|
# ### Security Policies
|
282
282
|
#
|
283
283
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
284
|
-
# * This API depends on the following active services
|
284
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
285
285
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
286
286
|
# @param include [String] OPTIONAL - You can specify the value `certificates` to fetch information about certificates linked to the customer.
|
287
287
|
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* shipTos
|
@@ -305,15 +305,15 @@ module AvaTax
|
|
305
305
|
# identify any certificates linked to this customer object. If any certificate applies to the transaction,
|
306
306
|
# AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
|
307
307
|
#
|
308
|
-
#
|
309
|
-
# Companies that do not have this storage system set up will
|
310
|
-
# certificate related APIs. To check if this
|
311
|
-
# storage for this company, call `RequestCertificateSetup`.
|
308
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
309
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
310
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
311
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
312
312
|
#
|
313
313
|
# ### Security Policies
|
314
314
|
#
|
315
315
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
316
|
-
# * This API depends on the following active services
|
316
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
317
317
|
# @param companyId [Integer] The unique ID number of the company that recorded the customer
|
318
318
|
# @param customerCode [String] The unique code representing the current customer
|
319
319
|
# @param model [CustomerAttributeModel[]] The list of attributes to unlink from the customer.
|
@@ -331,15 +331,15 @@ module AvaTax
|
|
331
331
|
# identify any certificates linked to this `customer` object. If any certificate applies to the transaction,
|
332
332
|
# AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
|
333
333
|
#
|
334
|
-
#
|
335
|
-
# Companies that do not have this storage system set up will
|
336
|
-
# certificate related APIs. To check if this
|
337
|
-
# storage for this company, call `RequestCertificateSetup`.
|
334
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
335
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
336
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
337
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
338
338
|
#
|
339
339
|
# ### Security Policies
|
340
340
|
#
|
341
341
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
342
|
-
# * This API depends on the following active services
|
342
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
343
343
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
344
344
|
# @param customerCode [String] The unique code representing this customer
|
345
345
|
# @param model [Object] The list of certificates to link to this customer
|
@@ -357,15 +357,15 @@ module AvaTax
|
|
357
357
|
# identify any certificates linked to this `customer` object. If any certificate applies to the transaction,
|
358
358
|
# AvaTax will record the appropriate elements of the transaction as exempt and link it to the `certificate`.
|
359
359
|
#
|
360
|
-
#
|
361
|
-
# Companies that do not have this storage system set up will
|
362
|
-
# certificate related APIs. To check if this
|
363
|
-
# storage for this company, call `RequestCertificateSetup`.
|
360
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
361
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
362
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
363
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
364
364
|
#
|
365
365
|
# ### Security Policies
|
366
366
|
#
|
367
367
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
368
|
-
# * This API depends on the following active services
|
368
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
369
369
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
370
370
|
# @param customerCode [String] The unique code representing this customer
|
371
371
|
# @param model [Object] The new customer model that will replace the existing record at this URL
|
@@ -10,7 +10,7 @@ module AvaTax
|
|
10
10
|
# ### Security Policies
|
11
11
|
#
|
12
12
|
# * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
|
13
|
-
# * This API depends on the following active services
|
13
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
14
14
|
# @param companyId [Integer] The id of the company you which to create the datasources
|
15
15
|
# @param model [DataSourceModel[]]
|
16
16
|
# @return [DataSourceModel[]]
|
@@ -24,7 +24,7 @@ module AvaTax
|
|
24
24
|
# ### Security Policies
|
25
25
|
#
|
26
26
|
# * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
|
27
|
-
# * This API depends on the following active services
|
27
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
28
28
|
# @param companyId [Integer] The id of the company the datasource belongs to.
|
29
29
|
# @param id [Integer] The id of the datasource you wish to delete.
|
30
30
|
# @return [ErrorDetail[]]
|
@@ -38,7 +38,7 @@ module AvaTax
|
|
38
38
|
# ### Security Policies
|
39
39
|
#
|
40
40
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
41
|
-
# * This API depends on the following active services
|
41
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
42
42
|
# @param companyId [Integer]
|
43
43
|
# @param id [Integer] data source id
|
44
44
|
# @return [Object]
|
@@ -52,7 +52,7 @@ module AvaTax
|
|
52
52
|
# ### Security Policies
|
53
53
|
#
|
54
54
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
55
|
-
# * This API depends on the following active services
|
55
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
56
56
|
# @param companyId [Integer] The id of the company you wish to retrieve the datasources.
|
57
57
|
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* isEnabled, isSynced, isAuthorized, name, externalState
|
58
58
|
# @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.
|
@@ -72,7 +72,7 @@ module AvaTax
|
|
72
72
|
# ### Security Policies
|
73
73
|
#
|
74
74
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
75
|
-
# * This API depends on the following active services
|
75
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
76
76
|
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* isEnabled, isSynced, isAuthorized, name, externalState
|
77
77
|
# @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.
|
78
78
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
@@ -88,7 +88,7 @@ module AvaTax
|
|
88
88
|
# ### Security Policies
|
89
89
|
#
|
90
90
|
# * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
|
91
|
-
# * This API depends on the following active services
|
91
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
92
92
|
# @param companyId [Integer] The id of the company the datasource belongs to.
|
93
93
|
# @param id [Integer] The id of the datasource you wish to delete.
|
94
94
|
# @param model [Object]
|
@@ -18,7 +18,7 @@ module AvaTax
|
|
18
18
|
#
|
19
19
|
# ### Security Policies
|
20
20
|
#
|
21
|
-
# * This API depends on the following active services
|
21
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxGlobal.
|
22
22
|
# @param country [String] The name or code of the destination country.
|
23
23
|
# @param hsCode [String] The partial or full HS Code for which you would like to view all of the parents.
|
24
24
|
# @return [FetchResult]
|
@@ -106,6 +106,19 @@ module AvaTax
|
|
106
106
|
def list_certificate_exposure_zones(options={}) path = "/api/v2/definitions/certificateexposurezones"
|
107
107
|
get(path, options) end
|
108
108
|
|
109
|
+
# Retrieve the full list of Avalara-supported usage of extra parameters for classification of a item.
|
110
|
+
#
|
111
|
+
# Returns the full list of Avalara-supported usage of extra parameters for item classification.
|
112
|
+
# The list of parameters is available for use with Item Classification.
|
113
|
+
# Some parameters are only available for use if you have subscribed to certain features of AvaTax.
|
114
|
+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* values
|
115
|
+
# @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.
|
116
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
117
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
118
|
+
# @return [FetchResult]
|
119
|
+
def list_classification_parameters_usage(options={}) path = "/api/v2/definitions/classification/parametersusage"
|
120
|
+
get(path, options) end
|
121
|
+
|
109
122
|
# Retrieve the full list of communications service types
|
110
123
|
#
|
111
124
|
# Returns full list of service types for a given transaction type ID.
|
@@ -186,7 +199,7 @@ module AvaTax
|
|
186
199
|
#
|
187
200
|
# ### Security Policies
|
188
201
|
#
|
189
|
-
# * This API depends on the following active services
|
202
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxGlobal.
|
190
203
|
# @param country [String] The name or code of the destination country.
|
191
204
|
# @param hsCode [String] The Section or partial HS Code for which you would like to view the next level of HS Code detail, if more detail is available.
|
192
205
|
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* hsCodeSource, system, destinationCountry, isDecisionNode, zeroPaddingCount, isSystemDefined, isTaxable, effDate, endDate, hsCodeSourceLength
|
@@ -208,7 +221,7 @@ module AvaTax
|
|
208
221
|
#
|
209
222
|
# ### Security Policies
|
210
223
|
#
|
211
|
-
# * This API depends on the following active services
|
224
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxGlobal.
|
212
225
|
# @return [FetchResult]
|
213
226
|
def list_cross_border_sections() path = "/api/v2/definitions/crossborder/sections"
|
214
227
|
get(path) end
|
@@ -348,7 +361,7 @@ module AvaTax
|
|
348
361
|
# Returns the full list of all Avalara-supported nexus for all countries and regions.
|
349
362
|
#
|
350
363
|
# This API is intended to be useful if your user interface needs to display a selectable list of nexus.
|
351
|
-
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters
|
364
|
+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
|
352
365
|
# @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.
|
353
366
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
354
367
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
@@ -370,7 +383,7 @@ module AvaTax
|
|
370
383
|
# @param region [String] Name or ISO 3166 code identifying the region portion of the address. This field supports many different region identifiers: * Two and three character ISO 3166 region codes * Fully spelled out names of the region in ISO supported languages * Common alternative spellings for many regions For a full list of all supported codes and names, please see the Definitions API `ListRegions`.
|
371
384
|
# @param postalCode [String] The postal code or zip code portion of this address.
|
372
385
|
# @param country [String] Name or ISO 3166 code identifying the country portion of this address. This field supports many different country identifiers: * Two character ISO 3166 codes * Three character ISO 3166 codes * Fully spelled out names of the country in ISO supported languages * Common alternative spellings for many countries For a full list of all supported codes and names, please see the Definitions API `ListCountries`.
|
373
|
-
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters
|
386
|
+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
|
374
387
|
# @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.
|
375
388
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
376
389
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
@@ -384,7 +397,7 @@ module AvaTax
|
|
384
397
|
#
|
385
398
|
# This API is intended to be useful if your user interface needs to display a selectable list of nexus filtered by country.
|
386
399
|
# @param country [String] The country in which you want to fetch the system nexus
|
387
|
-
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters
|
400
|
+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
|
388
401
|
# @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.
|
389
402
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
390
403
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
@@ -399,7 +412,7 @@ module AvaTax
|
|
399
412
|
# This API is intended to be useful if your user interface needs to display a selectable list of nexus filtered by country and region.
|
400
413
|
# @param country [String] The two-character ISO-3166 code for the country.
|
401
414
|
# @param region [String] The two or three character region code for the region.
|
402
|
-
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters
|
415
|
+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* streamlinedSalesTax, isSSTActive, taxAuthorityId, taxName, parameters, taxableNexus
|
403
416
|
# @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.
|
404
417
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
405
418
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
@@ -564,7 +577,16 @@ module AvaTax
|
|
564
577
|
|
565
578
|
# Retrieve the parameters by companyCode and itemCode.
|
566
579
|
#
|
567
|
-
# Returns the list of parameters based on the company
|
580
|
+
# Returns the list of parameters based on the company's service types and the item code.
|
581
|
+
# Ignores nexus if a service type is configured in the 'IgnoreNexusForServiceTypes' configuration section.
|
582
|
+
# Ignores nexus for the AvaAlcohol service type.
|
583
|
+
#
|
584
|
+
# NOTE: If your company code or item code contains any of these characters /, +, ? or a space, please use the following encoding before making a request:
|
585
|
+
# * Replace '/' with '\_-ava2f-\_' For example: 'Company/Code' becomes 'Company_-ava2f-_Code'
|
586
|
+
# * Replace '+' with '\_-ava2b-\_' For example: 'Company+Code' becomes 'Company_-ava2b-_Code'
|
587
|
+
# * Replace '?' with '\_-ava3f-\_' For example: 'Company?Code' becomes 'Company_-ava3f-_Code'
|
588
|
+
# * Replace '%' with '\_-ava25-\_' For example: 'Company%Code' becomes 'Company_-ava25-_Code'
|
589
|
+
# * Replace '#' with '\_-ava23-\_' For example: 'Company#Code' becomes 'Company_-ava23-_Code'
|
568
590
|
#
|
569
591
|
# ### Security Policies
|
570
592
|
#
|
@@ -653,6 +675,14 @@ module AvaTax
|
|
653
675
|
#
|
654
676
|
# Tax authorities use product classification systems as a way to identify products and associate them with a tax rate.
|
655
677
|
# More than one tax authority might use the same product classification system, but they might charge different tax rates for products.
|
678
|
+
#
|
679
|
+
#
|
680
|
+
# NOTE: If your company code contains any of these characters /, +, ? or a space, please use the following encoding before making a request:
|
681
|
+
# * Replace '/' with '\_-ava2f-\_' For example: 'Company/Code' becomes 'Company_-ava2f-_Code'
|
682
|
+
# * Replace '+' with '\_-ava2b-\_' For example: 'Company+Code' becomes 'Company_-ava2b-_Code'
|
683
|
+
# * Replace '?' with '\_-ava3f-\_' For example: 'Company?Code' becomes 'Company_-ava3f-_Code'
|
684
|
+
# * Replace '%' with '\_-ava25-\_' For example: 'Company%Code' becomes 'Company_-ava25-_Code'
|
685
|
+
# * Replace '#' with '\_-ava23-\_' For example: 'Company#Code' becomes 'Company_-ava23-_Code'
|
656
686
|
# @param companyCode [String] The company code.
|
657
687
|
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* countries
|
658
688
|
# @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.
|
@@ -715,6 +745,19 @@ module AvaTax
|
|
715
745
|
def list_resource_file_types(options={}) path = "/api/v2/definitions/resourcefiletypes"
|
716
746
|
get(path, options) end
|
717
747
|
|
748
|
+
# Retrieve the full list of Avalara-supported usage of parameters used for returns.
|
749
|
+
#
|
750
|
+
# Returns the full list of Avalara-supported usage of extra parameters for the returns.
|
751
|
+
# This list of parameters is available for use with Returns.
|
752
|
+
# Some parameters are only available for use if you have subscribed to certain features of AvaTax.
|
753
|
+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).<br />*Not filterable:* values
|
754
|
+
# @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.
|
755
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
756
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
757
|
+
# @return [FetchResult]
|
758
|
+
def list_returns_parameters_usage(options={}) path = "/api/v2/definitions/returns/parametersusage"
|
759
|
+
get(path, options) end
|
760
|
+
|
718
761
|
# Retrieve the full list of Avalara-supported permissions
|
719
762
|
#
|
720
763
|
# Returns the full list of Avalara-supported permission types.
|
@@ -742,6 +785,17 @@ module AvaTax
|
|
742
785
|
def list_subscription_types(options={}) path = "/api/v2/definitions/subscriptiontypes"
|
743
786
|
get(path, options) end
|
744
787
|
|
788
|
+
# Retrieve the list all tags supported by avalara
|
789
|
+
#
|
790
|
+
# Retrieves the list of suggested locations for a marketplace.
|
791
|
+
# @param filter [String] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
|
792
|
+
# @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.
|
793
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
794
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
795
|
+
# @return [FetchResult]
|
796
|
+
def list_tags(options={}) path = "/api/v2/definitions/tags"
|
797
|
+
get(path, options) end
|
798
|
+
|
745
799
|
# Retrieve the full list of Avalara-supported tax authorities.
|
746
800
|
#
|
747
801
|
# Returns the full list of Avalara-supported tax authorities.
|