avatax 26.10.1 → 26.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/lib/avatax/client/batches.rb +1 -1
- data/lib/avatax/client/certificates.rb +29 -3
- data/lib/avatax/client/companies.rb +11 -8
- data/lib/avatax/client/customers.rb +3 -3
- data/lib/avatax/client/definitions.rb +24 -0
- data/lib/avatax/client/globalcompliance.rb +85 -0
- data/lib/avatax/client/items.rb +102 -23
- data/lib/avatax/client/multidocument.rb +3 -3
- data/lib/avatax/client/reports.rb +8 -3
- data/lib/avatax/client/transactions.rb +6 -6
- data/lib/avatax/client/vendorcertificates.rb +1 -1
- data/lib/avatax/client/vendors.rb +2 -2
- data/lib/avatax/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 97e91d54eae0462d5fc497912f4133e2268b9f93d7a226be357d2179ca8858cc
|
|
4
|
+
data.tar.gz: 58397246c453bf5665e2182405a9ab5e32540764397dd36ce04846e19e7e4257
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23e8384c0a8f909dc7f5d164fbee347d8534fe57c7997f280c7895a5d619b652734cc8c1ce4ea4eb6796ca6da4d2e0b1bc6421f294b06bbec55476a60a8e0a4f
|
|
7
|
+
data.tar.gz: 5cd0316a0fd6b0ff677495551892ce7b3aa825cb8863e70302b7fc5b895b5902f020870d7c2898c8277b825af78992776365a0f3147cba523f2c8bec28387c6f
|
|
@@ -164,7 +164,7 @@ module AvaTax
|
|
|
164
164
|
#
|
|
165
165
|
# ### Security Policies
|
|
166
166
|
#
|
|
167
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AvaTaxOnlyAccountAdmin, AvaTaxOnlyCompanyAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, FirmAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
|
|
167
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, FirmAdmin, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
168
168
|
# Swagger Name: AvaTaxClient
|
|
169
169
|
# @param companyId [Integer] The ID of the company that owns this batch.
|
|
170
170
|
# @param model [Object] The transaction batch you wish to create.
|
|
@@ -87,6 +87,30 @@ module AvaTax
|
|
|
87
87
|
def delete_certificate_custom_fields(companyId, id, model) path = "/api/v2/companies/#{companyId}/certificates/#{id}/custom-fields"
|
|
88
88
|
delete(path, model, {}, AvaTax::VERSION) end
|
|
89
89
|
|
|
90
|
+
# Delete purchase order numbers from a certificate
|
|
91
|
+
#
|
|
92
|
+
# Delete one or more purchase order numbers from this certificate.
|
|
93
|
+
#
|
|
94
|
+
# Send the PO number id returned by `$include=po_numbers`, or the PO number itself when that value appears only once on the certificate.
|
|
95
|
+
# When the same PO number is stored more than once, delete by id.
|
|
96
|
+
#
|
|
97
|
+
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
|
98
|
+
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
|
99
|
+
# certificate related APIs. To check if this is set up for a company, call `GetCertificateSetup`. To request setup of exemption
|
|
100
|
+
# certificate storage for this company, call `RequestCertificateSetup`.
|
|
101
|
+
#
|
|
102
|
+
# ### Security Policies
|
|
103
|
+
#
|
|
104
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
|
105
|
+
# * This API depends on the following active services:*Required* (all): AvaTaxPro, ECMEssentials, ECMPro, ECMPremium, VEMPro, VEMPremium, ECMProComms, ECMPremiumComms.
|
|
106
|
+
# Swagger Name: AvaTaxClient
|
|
107
|
+
# @param companyId [Integer] The unique ID number of the company that recorded this certificate
|
|
108
|
+
# @param id [Integer] The unique ID number of this certificate
|
|
109
|
+
# @param model [DeletePoNumberModel[]] The purchase order numbers to delete. Each item supplies an id or a poNumber. When id is present, it is used.
|
|
110
|
+
# @return []
|
|
111
|
+
def delete_certificate_po_numbers(companyId, id, model) path = "/api/v2/companies/#{companyId}/certificates/#{id}/po-numbers"
|
|
112
|
+
delete(path, model, {}, AvaTax::VERSION) end
|
|
113
|
+
|
|
90
114
|
# Download an image for this certificate
|
|
91
115
|
#
|
|
92
116
|
# Download an image or PDF file for this certificate.
|
|
@@ -139,6 +163,7 @@ module AvaTax
|
|
|
139
163
|
# * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid
|
|
140
164
|
# * custom_fields - Retrieves custom fields set for this certificate
|
|
141
165
|
# * jurisdictions - Retrieves the list of jurisdictions associated with the certificate
|
|
166
|
+
# * product_exemptions - Retrieves the product exemption categories the certificate is limited to
|
|
142
167
|
#
|
|
143
168
|
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
|
144
169
|
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
|
@@ -152,7 +177,7 @@ module AvaTax
|
|
|
152
177
|
# Swagger Name: AvaTaxClient
|
|
153
178
|
# @param companyId [Integer] The ID number of the company that recorded this certificate
|
|
154
179
|
# @param id [Integer] The unique ID number of this certificate
|
|
155
|
-
# @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. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * jobs.phases - Retrieves the jobs along with their phases * jobs.tasks - Retrieves the jobs along with their phases and the tasks within each phase * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate * jurisdictions - Retrieves the list of jurisdictions associated with the certificate
|
|
180
|
+
# @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. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * jobs.phases - Retrieves the jobs along with their phases * jobs.tasks - Retrieves the jobs along with their phases and the tasks within each phase * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate * jurisdictions - Retrieves the list of jurisdictions associated with the certificate * product_exemptions - Retrieves the product exemption categories the certificate is limited to
|
|
156
181
|
# @return [Object]
|
|
157
182
|
def get_certificate(companyId, id, options={}) path = "/api/v2/companies/#{companyId}/certificates/#{id}"
|
|
158
183
|
get(path, options, AvaTax::VERSION) end
|
|
@@ -435,6 +460,7 @@ module AvaTax
|
|
|
435
460
|
# * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid
|
|
436
461
|
# * custom_fields - Retrieves custom fields set for this certificate
|
|
437
462
|
# * jurisdictions - Retrieves the list of jurisdictions associated with the certificate
|
|
463
|
+
# * product_exemptions - Retrieves the product exemption categories the certificate is limited to
|
|
438
464
|
#
|
|
439
465
|
# Before you can use any exemption certificates endpoints, you must set up your company for exemption certificate data storage.
|
|
440
466
|
# Companies that do not have this storage system set up will see `CertCaptureNotConfiguredError` when they call exemption
|
|
@@ -447,8 +473,8 @@ module AvaTax
|
|
|
447
473
|
# * This API depends on the following active services:*Required* (all): AvaTaxPro, ECMEssentials, ECMPro, ECMPremium, VEMPro, VEMPremium, ECMProComms, ECMPremiumComms.
|
|
448
474
|
# Swagger Name: AvaTaxClient
|
|
449
475
|
# @param companyId [Integer] The ID number of the company to search
|
|
450
|
-
# @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. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * jobs.phases - Retrieves the jobs along with their phases * jobs.tasks - Retrieves the jobs along with their phases and the tasks within each phase * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate * jurisdictions - Retrieves the list of jurisdictions associated with the certificate
|
|
451
|
-
# @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:* originalFilename, exemptionNumber, jurisdictions, ecmsId, ecmsStatus, pdf, pages
|
|
476
|
+
# @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. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * jobs.phases - Retrieves the jobs along with their phases * jobs.tasks - Retrieves the jobs along with their phases and the tasks within each phase * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate * jurisdictions - Retrieves the list of jurisdictions associated with the certificate * product_exemptions - Retrieves the product exemption categories the certificate is limited to
|
|
477
|
+
# @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:* originalFilename, exemptionNumber, jurisdictions, productExemptionCategories, ecmsId, ecmsStatus, pdf, pages
|
|
452
478
|
# @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.
|
|
453
479
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
454
480
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
@@ -158,8 +158,9 @@ module AvaTax
|
|
|
158
158
|
# Create VAT Numbers for a company
|
|
159
159
|
#
|
|
160
160
|
# Create one or more VAT number records for a company.
|
|
161
|
-
# Each record is validated synchronously against the
|
|
162
|
-
# (
|
|
161
|
+
# Each record is validated synchronously through ELR against the relevant tax authority
|
|
162
|
+
# (VIES for EU/NI, ABR for Australia, GSTN for India, Israel Tax Authority for Israel).
|
|
163
|
+
# The response includes validation results:
|
|
163
164
|
# `vatNumberStatus`, `registeredBusinessName`, `businessNameStatus`, `validationDate`,
|
|
164
165
|
# and `validationSource`.
|
|
165
166
|
#
|
|
@@ -463,7 +464,8 @@ module AvaTax
|
|
|
463
464
|
# Retrieve all VAT Numbers associated with this company.
|
|
464
465
|
#
|
|
465
466
|
# A VAT Number represents a customer's VAT identification number that has been validated
|
|
466
|
-
# against
|
|
467
|
+
# through ELR against the relevant tax authority (VIES for EU/NI, ABR for Australia,
|
|
468
|
+
# GSTN for India, Israel Tax Authority for Israel).
|
|
467
469
|
#
|
|
468
470
|
# Search for specific records using the `$filter` parameter. Supported filters include:
|
|
469
471
|
# * `vatNumber` - Filter by VAT number
|
|
@@ -471,7 +473,7 @@ module AvaTax
|
|
|
471
473
|
# * `vatNumberStatus` - Filter by VAT number validation status (0=NotValidated, 1=Valid, 2=Invalid, 3=Error)
|
|
472
474
|
# * `businessNameStatus` - Filter by business name comparison status (0=NotValidated, 1=Valid, 2=Invalid, 3=Error)
|
|
473
475
|
# * `businessName` - Filter by business name
|
|
474
|
-
# * `validationSource` - Filter by validation source ('VIES' or '
|
|
476
|
+
# * `validationSource` - Filter by validation source ('VIES', 'ABN', 'GSTIN', or 'ITA')
|
|
475
477
|
# * `validationDate` - Filter by last validation timestamp (e.g., `validationDate gt 2026-01-01`)
|
|
476
478
|
# * `createdDate` - Filter by record creation timestamp (e.g., `createdDate ge 2026-01-01`)
|
|
477
479
|
# * `modifiedDate` - Filter by record modification timestamp (e.g., `modifiedDate gt 2026-05-01T00:00:00Z`)
|
|
@@ -605,8 +607,8 @@ module AvaTax
|
|
|
605
607
|
# validation-related fields (`vatNumberStatus`, `registeredBusinessName`,
|
|
606
608
|
# `businessNameStatus`, `validationDate`, `validationSource`) are managed by the
|
|
607
609
|
# system and are refreshed automatically: every successful PUT re-triggers a
|
|
608
|
-
# synchronous VAT validation against the
|
|
609
|
-
#
|
|
610
|
+
# synchronous VAT validation through ELR against the relevant tax authority (VIES for EU/NI,
|
|
611
|
+
# ABR for Australia, GSTN for India, Israel Tax Authority for Israel). This makes "Fix" flows work as expected — correcting an
|
|
610
612
|
# invalid VAT number immediately updates its status.
|
|
611
613
|
#
|
|
612
614
|
# ### Security Policies
|
|
@@ -622,8 +624,9 @@ module AvaTax
|
|
|
622
624
|
|
|
623
625
|
# Validate a VAT Number without storing it
|
|
624
626
|
#
|
|
625
|
-
# Performs a synchronous VAT number validation against the
|
|
626
|
-
# (
|
|
627
|
+
# Performs a synchronous VAT number validation through ELR against the relevant tax authority
|
|
628
|
+
# (VIES for EU/NI, ABR for Australia, GSTN for India, Israel Tax Authority for Israel)
|
|
629
|
+
# without persisting any record in the `CustomerVatNumber` table.
|
|
627
630
|
#
|
|
628
631
|
# This is useful for UI flows that allow the user to "test" a VAT number before
|
|
629
632
|
# deciding whether to add it. The response payload mirrors the shape returned by
|
|
@@ -296,8 +296,8 @@ module AvaTax
|
|
|
296
296
|
# Swagger Name: AvaTaxClient
|
|
297
297
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
|
298
298
|
# @param customerCode [String] The unique code representing this customer
|
|
299
|
-
# @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. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate * jurisdictions - Retrieves the list of jurisdictions associated with the certificate
|
|
300
|
-
# @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:* originalFilename, exemptionNumber, jurisdictions, ecmsId, ecmsStatus, pdf, pages
|
|
299
|
+
# @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. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate * jurisdictions - Retrieves the list of jurisdictions associated with the certificate * product_exemptions - Retrieves the product exemption categories the certificate is limited to
|
|
300
|
+
# @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:* originalFilename, exemptionNumber, jurisdictions, productExemptionCategories, ecmsId, ecmsStatus, pdf, pages
|
|
301
301
|
# @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.
|
|
302
302
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
303
303
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
@@ -431,7 +431,7 @@ module AvaTax
|
|
|
431
431
|
# Swagger Name: AvaTaxClient
|
|
432
432
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
|
433
433
|
# @param include [String] OPTIONAL - You can specify any of the values in `certificates`, `attributes`, `active_certificates`, `histories`, `logs`, `jobs`, `billTos`, `shipTos`, `shipToStates`, and `custom_fields` to fetch additional information for this certificate.
|
|
434
|
-
# @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/)
|
|
434
|
+
# @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:* isoCode
|
|
435
435
|
# @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.
|
|
436
436
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
437
437
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
@@ -122,6 +122,30 @@ module AvaTax
|
|
|
122
122
|
def list_certificate_exposure_zones(options={}) path = "/api/v2/definitions/certificateexposurezones"
|
|
123
123
|
get(path, options, AvaTax::VERSION) end
|
|
124
124
|
|
|
125
|
+
# List product exemption categories defined by a company
|
|
126
|
+
#
|
|
127
|
+
# List the product exemption categories defined by a company either specified by the user or the user's default company.
|
|
128
|
+
#
|
|
129
|
+
# A product exemption category groups the tax codes an exemption certificate can be limited to. A certificate
|
|
130
|
+
# limited to one or more categories is only exempt for transaction lines whose tax code belongs to one of
|
|
131
|
+
# those categories. Categories are configured in the exemption certificate management portal and are
|
|
132
|
+
# identified by name.
|
|
133
|
+
#
|
|
134
|
+
# To see the categories a certificate is limited to, specify `$include=product_exemptions` when calling
|
|
135
|
+
# `GetCertificate` or `QueryCertificates`.
|
|
136
|
+
#
|
|
137
|
+
# If you see the 'CertCaptureNotConfiguredError', please use CheckProvision and RequestProvision endpoints to
|
|
138
|
+
# check and provision account.
|
|
139
|
+
# Swagger Name: AvaTaxClient
|
|
140
|
+
# @param companyid [Integer] Id of the company the user wish to fetch the product exemption categories from. If not specified the API will use user's default company.
|
|
141
|
+
# @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:* taxCodes
|
|
142
|
+
# @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.
|
|
143
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
144
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
145
|
+
# @return [FetchResult]
|
|
146
|
+
def list_certificate_product_exemption_categories(options={}) path = "/api/v2/definitions/certificateproductexemptioncategories"
|
|
147
|
+
get(path, options, AvaTax::VERSION) end
|
|
148
|
+
|
|
125
149
|
# Retrieve the full list of Avalara-supported usage of extra parameters for classification of a item.
|
|
126
150
|
#
|
|
127
151
|
# Returns the full list of Avalara-supported usage of extra parameters for item classification.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
module AvaTax
|
|
2
|
+
class Client
|
|
3
|
+
module GlobalCompliance
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Retrieve a single tax region from the AvaTaxGlobal database.
|
|
7
|
+
#
|
|
8
|
+
# This API is restricted to compliance, tech support, and firm-level users. Data is sourced from the AvaTaxGlobal database.
|
|
9
|
+
#
|
|
10
|
+
# ### Security Policies
|
|
11
|
+
#
|
|
12
|
+
# * 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.
|
|
13
|
+
# Swagger Name: AvaTaxClient
|
|
14
|
+
# @param id [Integer] The ID of the tax region to retrieve.
|
|
15
|
+
# @return [Object]
|
|
16
|
+
def get_global_tax_region(id) path = "/api/v2/compliance/global/taxregions/#{id}"
|
|
17
|
+
get(path, {}, AvaTax::VERSION) end
|
|
18
|
+
|
|
19
|
+
# Retrieve StateConfig information from the AvaTaxGlobal database.
|
|
20
|
+
#
|
|
21
|
+
# This API is restricted to compliance, tech support, and firm-level users. Data is sourced from the AvaTaxGlobal database.
|
|
22
|
+
#
|
|
23
|
+
# ### Security Policies
|
|
24
|
+
#
|
|
25
|
+
# * 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.
|
|
26
|
+
# Swagger Name: AvaTaxClient
|
|
27
|
+
# @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:* endDate, hasBoundary, createDate
|
|
28
|
+
# @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.
|
|
29
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
30
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
31
|
+
# @return [FetchResult]
|
|
32
|
+
def query_global_state_config(options={}) path = "/api/v2/compliance/global/stateconfig"
|
|
33
|
+
get(path, options, AvaTax::VERSION) end
|
|
34
|
+
|
|
35
|
+
# Retrieve all tax rates from the AvaTaxGlobal database.
|
|
36
|
+
#
|
|
37
|
+
# This API is restricted to compliance, tech support, and firm-level users. Data is sourced from the AvaTaxGlobal database.
|
|
38
|
+
#
|
|
39
|
+
# ### Security Policies
|
|
40
|
+
#
|
|
41
|
+
# * 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.
|
|
42
|
+
# Swagger Name: AvaTaxClient
|
|
43
|
+
# @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:* createDate, source, currencyCode, uomId
|
|
44
|
+
# @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.
|
|
45
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
46
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
47
|
+
# @return [FetchResult]
|
|
48
|
+
def query_global_tax_rates(options={}) path = "/api/v2/compliance/global/taxrates"
|
|
49
|
+
get(path, options, AvaTax::VERSION) end
|
|
50
|
+
|
|
51
|
+
# Retrieve all tax region jurisdictions from the AvaTaxGlobal database.
|
|
52
|
+
#
|
|
53
|
+
# This API is restricted to compliance, tech support, and firm-level users. Data is sourced from the AvaTaxGlobal database.
|
|
54
|
+
#
|
|
55
|
+
# ### Security Policies
|
|
56
|
+
#
|
|
57
|
+
# * 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.
|
|
58
|
+
# Swagger Name: AvaTaxClient
|
|
59
|
+
# @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:* createDate
|
|
60
|
+
# @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.
|
|
61
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
62
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
63
|
+
# @return [FetchResult]
|
|
64
|
+
def query_global_tax_region_jurisdictions(options={}) path = "/api/v2/compliance/global/taxregionjurisdictions"
|
|
65
|
+
get(path, options, AvaTax::VERSION) end
|
|
66
|
+
|
|
67
|
+
# Retrieve all tax regions from the AvaTaxGlobal database.
|
|
68
|
+
#
|
|
69
|
+
# This API is restricted to compliance, tech support, and firm-level users. Data is sourced from the AvaTaxGlobal database.
|
|
70
|
+
#
|
|
71
|
+
# ### Security Policies
|
|
72
|
+
#
|
|
73
|
+
# * 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.
|
|
74
|
+
# Swagger Name: AvaTaxClient
|
|
75
|
+
# @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:* county, city, taxRegionSignatureCode, effDate, endDate, createDate, jurisdictions
|
|
76
|
+
# @param include [String] A comma separated list of objects to fetch underneath this tax region. Supports "Jurisdictions".
|
|
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
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
79
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
80
|
+
# @return [FetchResult]
|
|
81
|
+
def query_global_tax_regions(options={}) path = "/api/v2/compliance/global/taxregions"
|
|
82
|
+
get(path, options, AvaTax::VERSION) end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
data/lib/avatax/client/items.rb
CHANGED
|
@@ -128,6 +128,19 @@ module AvaTax
|
|
|
128
128
|
headers["x-Avalara-Tax-Mode"]=x_Avalara_Tax_Mode;
|
|
129
129
|
post(path, model, {}, AvaTax::VERSION, headers) end
|
|
130
130
|
|
|
131
|
+
# Save the HS Duty Detail for an item into the database.
|
|
132
|
+
#
|
|
133
|
+
# ### Security Policies
|
|
134
|
+
#
|
|
135
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AvaTaxOnlyAccountAdmin, AvaTaxOnlyCompanyAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
|
136
|
+
# Swagger Name: AvaTaxClient
|
|
137
|
+
# @param companyId [Integer] The ID of the company for which you want to create these duty quotes.
|
|
138
|
+
# @param itemId [Integer] The ID of the item for which you want to create duty quotes.
|
|
139
|
+
# @param model [ItemHSDutyDetailModel[]] Item HS Duty Quote pass-through envelope input Model
|
|
140
|
+
# @return [ItemHSDutyDetailModel[]]
|
|
141
|
+
def create_h_s_duty_detail(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/hscode/dutydetails"
|
|
142
|
+
post(path, model, {}, AvaTax::VERSION) end
|
|
143
|
+
|
|
131
144
|
# Add classifications to an item.
|
|
132
145
|
#
|
|
133
146
|
# Add classifications to an item.
|
|
@@ -250,9 +263,15 @@ module AvaTax
|
|
|
250
263
|
# Creates a batch to generate tax code recommendations asynchronously.
|
|
251
264
|
#
|
|
252
265
|
# Creates a new batch for asynchronous tax code recommendations processing.
|
|
253
|
-
# The batch is processed asynchronously
|
|
266
|
+
# The batch is processed asynchronously; check its status with the GetBatchTaxCodeRecommendations endpoint.
|
|
267
|
+
# Recommendations (and data quality) are returned from that endpoint, not from this response.
|
|
254
268
|
#
|
|
255
|
-
#
|
|
269
|
+
# The `thinkingMode` query parameter applies to the whole batch and is fixed at batch-creation time.
|
|
270
|
+
# A batch created with `thinkingMode=high` can contain only one item.
|
|
271
|
+
#
|
|
272
|
+
# The `X-Avalara-Client` header is required for this API; a missing header returns 400 Bad Request.
|
|
273
|
+
#
|
|
274
|
+
# The maximum number of items that can be created in a single call is 2,000 (This limit is subject to change).
|
|
256
275
|
#
|
|
257
276
|
# Batches are automatically deleted after 1 day.
|
|
258
277
|
#
|
|
@@ -260,11 +279,12 @@ module AvaTax
|
|
|
260
279
|
#
|
|
261
280
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
262
281
|
# Swagger Name: AvaTaxClient
|
|
263
|
-
# @param companyId [Integer] The
|
|
264
|
-
# @param
|
|
282
|
+
# @param companyId [Integer] The ID of the company to get tax code recommendations for.
|
|
283
|
+
# @param thinkingMode [String] Controls how thorough the tax code recommendation is. `low` is the fastest. `medium` is slower and more thorough. `high` is the slowest and most thorough, can take up to 36 seconds, and accepts only one item per request (more than one returns 400 Bad Request). An unrecognized value returns 400 Bad Request.
|
|
284
|
+
# @param model [ItemTaxcodeRecommendationBatchesInputModel[]] Array of items to process (maximum 2,000).
|
|
265
285
|
# @return [TaxcodeBatchOutputModel[]]
|
|
266
|
-
def create_taxcode_batch(companyId, model) path = "/api/v2/companies/#{companyId}/taxcode-recommendations/batches"
|
|
267
|
-
post(path, model,
|
|
286
|
+
def create_taxcode_batch(companyId, model, options={}) path = "/api/v2/companies/#{companyId}/taxcode-recommendations/batches"
|
|
287
|
+
post(path, model, options, AvaTax::VERSION) end
|
|
268
288
|
|
|
269
289
|
# Create a new tax code classification request
|
|
270
290
|
#
|
|
@@ -341,6 +361,19 @@ module AvaTax
|
|
|
341
361
|
def delete_h_s_code_classification_status(companyId, itemId, id) path = "/api/v2/companies/#{companyId}/items/#{itemId}/hscode-classifications-status/#{id}"
|
|
342
362
|
delete(path, {}, AvaTax::VERSION) end
|
|
343
363
|
|
|
364
|
+
# Delete HS Duty Detail for the CompanyId, ItemId and CountryOfImport
|
|
365
|
+
#
|
|
366
|
+
# ### Security Policies
|
|
367
|
+
#
|
|
368
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AvaTaxOnlyAccountAdmin, AvaTaxOnlyCompanyAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
|
369
|
+
# Swagger Name: AvaTaxClient
|
|
370
|
+
# @param companyId [Integer] The ID of the company.
|
|
371
|
+
# @param itemId [Integer] The ID of the item.
|
|
372
|
+
# @param countryOfImport [String] The country of import (required).
|
|
373
|
+
# @return [ObjectDeletedErrorModel[]]
|
|
374
|
+
def delete_h_s_duty_detail(companyId, itemId, options={}) path = "/api/v2/companies/#{companyId}/items/#{itemId}/hscode/dutydetails"
|
|
375
|
+
delete(path, options, AvaTax::VERSION) end
|
|
376
|
+
|
|
344
377
|
# Delete a single item
|
|
345
378
|
#
|
|
346
379
|
# Deletes the item object at this URL.
|
|
@@ -489,6 +522,7 @@ module AvaTax
|
|
|
489
522
|
# @param companyId [Integer] The ID of the company to which this item belongs.
|
|
490
523
|
# @param itemId [Integer] The ID of the item whose classification status you want to update.
|
|
491
524
|
# @param country [String] The country of the HS code classification request status record that is to be updated.
|
|
525
|
+
# @param isExport [Boolean] If true, operate against the Schedule B / HTSB (export) code set instead of the default HTS (import) code set.
|
|
492
526
|
# @return [Object]
|
|
493
527
|
def dismiss_h_s_code_classification_status(companyId, itemId, options={}) path = "/api/v2/companies/#{companyId}/items/#{itemId}/hscode-classifications-status/$dismiss"
|
|
494
528
|
put(path, options, AvaTax::VERSION) end
|
|
@@ -506,12 +540,28 @@ module AvaTax
|
|
|
506
540
|
def fetch_additional_h_s_code_duty_details(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/hsdutydetails/$fetch-additional-hsdutydetails"
|
|
507
541
|
post(path, model, {}, AvaTax::VERSION) end
|
|
508
542
|
|
|
543
|
+
# Fetch the HS Duty Detail from quoting/MTCC, no database persistence.
|
|
544
|
+
#
|
|
545
|
+
# This endpoint does not save data. Use the CreateHSDutyDetail endpoint to save it.
|
|
546
|
+
#
|
|
547
|
+
# ### Security Policies
|
|
548
|
+
#
|
|
549
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
550
|
+
# Swagger Name: AvaTaxClient
|
|
551
|
+
# @param companyId [Integer] The ID of the company for which you want to get additional HS Duty Details.
|
|
552
|
+
# @param itemId [Integer] The unique ID of the item for which you want to get additional HS Duty Details.
|
|
553
|
+
# @param model [ItemHSDutyDetailFetchInputModel[]] Item HS Duty Detail fetch input Model
|
|
554
|
+
# @return [ItemHSDutyDetailModel[]]
|
|
555
|
+
def fetch_h_s_duty_detail(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/hscode/dutydetails/$fetch"
|
|
556
|
+
post(path, model, {}, AvaTax::VERSION) end
|
|
557
|
+
|
|
509
558
|
# Retrieves the status and results of a tax code recommendation batch.
|
|
510
559
|
#
|
|
511
|
-
# Retrieves the status
|
|
512
|
-
#
|
|
513
|
-
#
|
|
514
|
-
#
|
|
560
|
+
# Retrieves the status of a tax code recommendation batch created with CreateTaxcodeBatch.
|
|
561
|
+
# When the batch status is `Completed`, the response also includes the tax code recommendations, and the data quality (`dqLabel` / `dqIssues`) of each item, for all items in the batch.
|
|
562
|
+
# For any other status only the status information is returned.
|
|
563
|
+
#
|
|
564
|
+
# Returns '404 Not Found' if the company or the batch does not exist, or the batch has been deleted.
|
|
515
565
|
#
|
|
516
566
|
# Batches are automatically deleted after 1 day.
|
|
517
567
|
#
|
|
@@ -519,8 +569,8 @@ module AvaTax
|
|
|
519
569
|
#
|
|
520
570
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
521
571
|
# Swagger Name: AvaTaxClient
|
|
522
|
-
# @param companyId [Integer] The
|
|
523
|
-
# @param batchId [Integer] The
|
|
572
|
+
# @param companyId [Integer] The ID of the company that owns the batch.
|
|
573
|
+
# @param batchId [Integer] The ID of the batch, as returned by CreateTaxcodeBatch.
|
|
524
574
|
# @return [Object]
|
|
525
575
|
def get_batch_tax_code_recommendations(companyId, batchId) path = "/api/v2/companies/#{companyId}/taxcode-recommendations/batches/#{batchId}"
|
|
526
576
|
get(path, {}, AvaTax::VERSION) end
|
|
@@ -540,6 +590,19 @@ module AvaTax
|
|
|
540
590
|
def get_h_s_code_classification_s_l_a(companyId) path = "/api/v2/companies/#{companyId}/items/hscode-classification/$get-sla"
|
|
541
591
|
get(path, {}, AvaTax::VERSION) end
|
|
542
592
|
|
|
593
|
+
# Fetches the HS Duty Detail for the given CompanyId, ItemId and CountryOfImport
|
|
594
|
+
#
|
|
595
|
+
# ### Security Policies
|
|
596
|
+
#
|
|
597
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
598
|
+
# Swagger Name: AvaTaxClient
|
|
599
|
+
# @param companyId [Integer] The ID of the company.
|
|
600
|
+
# @param itemId [Integer] The ID of the item.
|
|
601
|
+
# @param countryOfImport [String] The country of import (required).
|
|
602
|
+
# @return [Object]
|
|
603
|
+
def get_h_s_duty_detail(companyId, itemId, options={}) path = "/api/v2/companies/#{companyId}/items/#{itemId}/hscode/dutydetails"
|
|
604
|
+
get(path, options, AvaTax::VERSION) end
|
|
605
|
+
|
|
543
606
|
# Retrieve a single item
|
|
544
607
|
#
|
|
545
608
|
# Get the `Item` object identified by this URL.
|
|
@@ -700,22 +763,24 @@ module AvaTax
|
|
|
700
763
|
|
|
701
764
|
# Get the real-time tax code recommendations for the specified items without saving item data.
|
|
702
765
|
#
|
|
703
|
-
#
|
|
766
|
+
# Generates real-time tax code recommendations for provided item details.
|
|
704
767
|
#
|
|
705
|
-
#
|
|
768
|
+
# For callers that identify themselves via X-Avalara-Client: AVATAXUI, each item in the request must include itemId (the primary key of an existing item within this company); the recommendation is persisted against that item. For every other caller, itemId is optional and ignored — no data is stored and behavior is unchanged from before.
|
|
769
|
+
#
|
|
770
|
+
# The maximum number of items that can be processed in a single call is 50 (This limit is subject to change).
|
|
771
|
+
#
|
|
772
|
+
# The recommendation depth is controlled by the `thinkingMode` query parameter. Response time grows with the mode and the number of items; a request that does not complete in time returns 504 Gateway Timeout. The timeout is 20 seconds, or 36 seconds for callers that identify themselves as AVATAXUI. If a request with several items times out, retry with fewer items. If a request with `thinkingMode=high` times out, it is already limited to one item, so use CreateTaxcodeBatch instead. Data quality (`dqLabel` / `dqIssues`) is returned for any mode whenever downstream services report it for the item.
|
|
706
773
|
#
|
|
707
774
|
# ### Security Policies
|
|
708
775
|
#
|
|
709
776
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
710
777
|
# Swagger Name: AvaTaxClient
|
|
711
|
-
# @param companyId [Integer] The
|
|
712
|
-
# @param
|
|
713
|
-
# @param model [ItemTaxcodeRecommendationBatchesInputModel[]]
|
|
778
|
+
# @param companyId [Integer] The ID of the company to get tax code recommendations for.
|
|
779
|
+
# @param thinkingMode [String] Controls how thorough the tax code recommendation is. `low` is the fastest. `medium` is slower and more thorough. `high` is the slowest and most thorough, can take up to 36 seconds, and accepts only one item per request (more than one returns 400 Bad Request). An unrecognized value returns 400 Bad Request.
|
|
780
|
+
# @param model [ItemTaxcodeRecommendationBatchesInputModel[]] Array of items for which to get tax code recommendations (maximum 50).
|
|
714
781
|
# @return [ItemTaxcodeRecommendationBatchesOutputModel[]]
|
|
715
|
-
def get_sync_tax_code_recommendations(companyId, model,
|
|
716
|
-
|
|
717
|
-
headers["x-Avalara-Tax-Mode"]=x_Avalara_Tax_Mode;
|
|
718
|
-
post(path, model, {}, AvaTax::VERSION, headers) end
|
|
782
|
+
def get_sync_tax_code_recommendations(companyId, model, options={}) path = "/api/v2/companies/#{companyId}/$taxcode-recommendations"
|
|
783
|
+
post(path, model, options, AvaTax::VERSION) end
|
|
719
784
|
|
|
720
785
|
# Create an HS code classification request.
|
|
721
786
|
#
|
|
@@ -1117,6 +1182,19 @@ module AvaTax
|
|
|
1117
1182
|
def update_h_s_code_duty_details(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/hsdutydetails"
|
|
1118
1183
|
put(path, model, {}, AvaTax::VERSION) end
|
|
1119
1184
|
|
|
1185
|
+
# Update the HS Duty detail already saved in the database.
|
|
1186
|
+
#
|
|
1187
|
+
# ### Security Policies
|
|
1188
|
+
#
|
|
1189
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AvaTaxOnlyAccountAdmin, AvaTaxOnlyCompanyAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
|
1190
|
+
# Swagger Name: AvaTaxClient
|
|
1191
|
+
# @param companyId [Integer] The ID of the company for which you want to update these duty quotes.
|
|
1192
|
+
# @param itemId [Integer] The ID of the item for which you want to update duty quotes.
|
|
1193
|
+
# @param model [ItemHSDutyDetailModel[]] Item HS Duty Quote pass-through envelope input Model
|
|
1194
|
+
# @return [ItemHSDutyDetailModel[]]
|
|
1195
|
+
def update_h_s_duty_detail(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/hscode/dutydetails"
|
|
1196
|
+
put(path, model, {}, AvaTax::VERSION) end
|
|
1197
|
+
|
|
1120
1198
|
# Update an existing image for an item.
|
|
1121
1199
|
#
|
|
1122
1200
|
# This endpoint allows users to update the existing image associated with a specific item by uploading a new image file.
|
|
@@ -1267,10 +1345,11 @@ module AvaTax
|
|
|
1267
1345
|
# Swagger Name: AvaTaxClient
|
|
1268
1346
|
# @param companyId [Integer] The company ID.
|
|
1269
1347
|
# @param itemId [Integer] The item ID.
|
|
1348
|
+
# @param isExport [Boolean] If true, classify against the Schedule B / HTSB (export) code set instead of the default HTS (import) code set.
|
|
1270
1349
|
# @param model [ItemClassificationInputModel[]] The item classifications you want to create.
|
|
1271
1350
|
# @return [ItemClassificationOutputModel[]]
|
|
1272
|
-
def upsert_item_classifications(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications"
|
|
1273
|
-
put(path, model,
|
|
1351
|
+
def upsert_item_classifications(companyId, itemId, model, options={}) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications"
|
|
1352
|
+
put(path, model, options, AvaTax::VERSION) end
|
|
1274
1353
|
|
|
1275
1354
|
# Add/update an item custom parameter
|
|
1276
1355
|
#
|
|
@@ -147,7 +147,7 @@ module AvaTax
|
|
|
147
147
|
#
|
|
148
148
|
# ### Security Policies
|
|
149
149
|
#
|
|
150
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
150
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, FirmAdmin, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
151
151
|
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
|
152
152
|
# Swagger Name: AvaTaxClient
|
|
153
153
|
# @param include [String] Specifies objects to include in the response after transaction is created
|
|
@@ -327,7 +327,7 @@ module AvaTax
|
|
|
327
327
|
#
|
|
328
328
|
# ### Security Policies
|
|
329
329
|
#
|
|
330
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
330
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, FirmAdmin, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
331
331
|
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
|
332
332
|
# Swagger Name: AvaTaxClient
|
|
333
333
|
# @param code [String] The code of this MultiDocument transaction
|
|
@@ -357,7 +357,7 @@ module AvaTax
|
|
|
357
357
|
#
|
|
358
358
|
# ### Security Policies
|
|
359
359
|
#
|
|
360
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser,
|
|
360
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
|
|
361
361
|
# * This API depends on the following active services:*Required* (all): AvaTaxPro.
|
|
362
362
|
# Swagger Name: AvaTaxClient
|
|
363
363
|
# @param model [Object] Information from your accounting system to verify against this MultiDocument transaction as it is stored in AvaTax
|
|
@@ -78,7 +78,7 @@ module AvaTax
|
|
|
78
78
|
#
|
|
79
79
|
# When `reportType` is `audit`, the `reportSubType` field supports the following valid table names:
|
|
80
80
|
# `NEXUS`, `USER`, `COMPANY`, `ACCOUNT`, `COMPANYLOCATION`, `ACCOUNTSETTING`, `COMPANYLOCATIONSETTING`,
|
|
81
|
-
# `COMPANYSETTING`, `TAXCODE`, `TAXRULE`, `ADDRESSSERVICECONFIG`, `
|
|
81
|
+
# `COMPANYSETTING`, `TAXCODE`, `TAXRULE`, `ADDRESSSERVICECONFIG`, `CUSTOMRULE`, `COMPANYCONTACT`,
|
|
82
82
|
# `COMPANYLOCATIONPARAMETERDETAIL`, `COMPANYLOCATIONSETTINGCONFIG`, `COMPANYPARAMETERDETAIL`, `COMPANYRETURN`,
|
|
83
83
|
# `COMPANYRETURNSETTING`, `ITEM`, `SERVICE`, `EXEMPTCERT`, `AVACERTSERVICECONFIG`, `JURISDICTIONOVERRIDE`, `COSTCENTER`,
|
|
84
84
|
# `FILINGTASKSTATUSHISTORY`, `COMPANYSTATUSHISTORY`.
|
|
@@ -158,11 +158,16 @@ module AvaTax
|
|
|
158
158
|
#
|
|
159
159
|
# Set `compression` to `GZIP` to reduce the size of the report file and increase download speed.
|
|
160
160
|
#
|
|
161
|
-
# The currently supported reports are: **Document**, **Document Summary**, **Document Line**, **Document Line Detail**, **Multitax Line Detail**, **Liability**, **Tax Region**, **AP Document**, **AP Document Detail**,
|
|
161
|
+
# The currently supported reports are: **Document**, **Document Summary**, **Document Line**, **Document Line Detail**, **Multitax Line Detail**, **Liability**, **Tax Region**, **AP Document**, **AP Document Detail**, **Document Line Detail All Taxes**, and **SVR Export**.
|
|
162
|
+
#
|
|
163
|
+
# The **SVR Export** (`reportSource` = `SVREXPORT`) sends committed document lines to the SVR platform instead of producing a file,
|
|
164
|
+
# so it reaches `Completed` without a file to download. It requires `startDate` and `endDate`; `dateFilter` must be
|
|
165
|
+
# `ModifiedDate` (the default) or `DocumentDate`, and a `DocumentDate` range can be at most 7 days. A window that was already
|
|
166
|
+
# exported is skipped unless `isOverwrite` is `true`.
|
|
162
167
|
#
|
|
163
168
|
# ### Security Policies
|
|
164
169
|
#
|
|
165
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
170
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, FirmAdmin, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
166
171
|
# Swagger Name: AvaTaxClient
|
|
167
172
|
# @param companyId [Integer] The unique ID number of the company to report on.
|
|
168
173
|
# @param model [Object] Options that may be configured to customize the report.
|
|
@@ -313,7 +313,7 @@ module AvaTax
|
|
|
313
313
|
#
|
|
314
314
|
# ### Security Policies
|
|
315
315
|
#
|
|
316
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
316
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, FirmAdmin, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
317
317
|
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
|
318
318
|
# Swagger Name: AvaTaxClient
|
|
319
319
|
# @param include [String] Specifies objects to include in the response after transaction is created
|
|
@@ -370,7 +370,7 @@ module AvaTax
|
|
|
370
370
|
#
|
|
371
371
|
# ### Security Policies
|
|
372
372
|
#
|
|
373
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
373
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, FirmAdmin, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
374
374
|
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
|
375
375
|
# Swagger Name: AvaTaxClient
|
|
376
376
|
# @param include [String] Specifies objects to include in the response after transaction is created
|
|
@@ -576,7 +576,7 @@ module AvaTax
|
|
|
576
576
|
# @param companyCode [String] The company code of the company that recorded this transaction
|
|
577
577
|
# @param dataSourceId [Integer] Optionally filter transactions to those from a specific data source.
|
|
578
578
|
# @param include [String] Specifies objects to include in this fetch call
|
|
579
|
-
# @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:* exchangeRateCurrencyCode, exchangeRateProvider, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms, apStatusCode, apStatus, vendorName, varianceAmount, customClearanceFees
|
|
579
|
+
# @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:* exchangeRateCurrencyCode, exchangeRateProvider, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms, apStatusCode, apStatus, vendorName, varianceAmount, customClearanceFees, taxReconciliation
|
|
580
580
|
# @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.
|
|
581
581
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
582
582
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
@@ -619,7 +619,7 @@ module AvaTax
|
|
|
619
619
|
#
|
|
620
620
|
# ### Security Policies
|
|
621
621
|
#
|
|
622
|
-
# * This API requires
|
|
622
|
+
# * This API requires the user role Compliance Root User.
|
|
623
623
|
# * 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.
|
|
624
624
|
# Swagger Name: AvaTaxClient
|
|
625
625
|
# @param companyCode [String] The company code of the company that recorded this transaction
|
|
@@ -676,7 +676,7 @@ module AvaTax
|
|
|
676
676
|
#
|
|
677
677
|
# ### Security Policies
|
|
678
678
|
#
|
|
679
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
679
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, FirmAdmin, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
680
680
|
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
|
681
681
|
# Swagger Name: AvaTaxClient
|
|
682
682
|
# @param companyCode [String] The code of the company that made the original sale
|
|
@@ -813,7 +813,7 @@ module AvaTax
|
|
|
813
813
|
#
|
|
814
814
|
# ### Security Policies
|
|
815
815
|
#
|
|
816
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser,
|
|
816
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPTester, FirmAdmin, ReturnsOnlyAccountAdmin, ReturnsOnlyCompanyAdmin, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
817
817
|
# * This API depends on the following active services:*Required* (all): AvaTaxPro, BasicReturns.
|
|
818
818
|
# Swagger Name: AvaTaxClient
|
|
819
819
|
# @param companyCode [String]
|
|
@@ -37,7 +37,7 @@ module AvaTax
|
|
|
37
37
|
# Swagger Name: AvaTaxClient
|
|
38
38
|
# @param companyId [Integer] The ID number of the company to search
|
|
39
39
|
# @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 vendors linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate
|
|
40
|
-
# @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:* documentTypeId, documentTypeDescription, originalFilename, exemptionNumber, jurisdictions, ecmsId, ecmsStatus, pdf, pages
|
|
40
|
+
# @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:* documentTypeId, documentTypeDescription, originalFilename, exemptionNumber, jurisdictions, productExemptionCategories, ecmsId, ecmsStatus, pdf, pages
|
|
41
41
|
# @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.
|
|
42
42
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
43
43
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
@@ -121,7 +121,7 @@ module AvaTax
|
|
|
121
121
|
# @param companyId [Integer] The unique ID number of the company that recorded this vendor
|
|
122
122
|
# @param vendorCode [String] The unique code representing this vendor
|
|
123
123
|
# @param include [String] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * vendors - Retrieves the list of vendors linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate. * histories - Retrieves the certificate update history * jobs - Retrieves the jobs for this certificate * logs - Retrieves the certificate log * invalid_reasons - Retrieves invalid reasons for this certificate if the certificate is invalid * custom_fields - Retrieves custom fields set for this certificate
|
|
124
|
-
# @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:* documentTypeId, documentTypeDescription, originalFilename, exemptionNumber, jurisdictions, ecmsId, ecmsStatus, pdf, pages
|
|
124
|
+
# @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:* documentTypeId, documentTypeDescription, originalFilename, exemptionNumber, jurisdictions, productExemptionCategories, ecmsId, ecmsStatus, pdf, pages
|
|
125
125
|
# @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.
|
|
126
126
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
127
127
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
@@ -167,7 +167,7 @@ module AvaTax
|
|
|
167
167
|
# Swagger Name: AvaTaxClient
|
|
168
168
|
# @param companyId [Integer] The unique ID number of the company that recorded this vendor
|
|
169
169
|
# @param include [String] OPTIONAL - You can specify any of the values in `certificates`, `attributes`, `active_certificates`, `histories`, `logs`, `jobs`, `billTos`, `shipTos`, `shipToStates`, and `custom_fields` to fetch additional information for this certificate.
|
|
170
|
-
# @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:* VendorAdditionalInfo
|
|
170
|
+
# @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:* VendorAdditionalInfo, isoCode
|
|
171
171
|
# @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.
|
|
172
172
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
173
173
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
data/lib/avatax/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: avatax
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 26.
|
|
4
|
+
version: 26.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcus Vorwaller
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -154,6 +154,7 @@ files:
|
|
|
154
154
|
- lib/avatax/client/free.rb
|
|
155
155
|
- lib/avatax/client/fundingrequests.rb
|
|
156
156
|
- lib/avatax/client/glaccount.rb
|
|
157
|
+
- lib/avatax/client/globalcompliance.rb
|
|
157
158
|
- lib/avatax/client/items.rb
|
|
158
159
|
- lib/avatax/client/itemsreversesync.rb
|
|
159
160
|
- lib/avatax/client/jobs.rb
|