avatax 25.3.3 → 25.5.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/.gitlab-ci.yml +1 -1
- data/lib/avatax/client/companies.rb +1 -1
- data/lib/avatax/client/definitions.rb +4 -4
- data/lib/avatax/client/items.rb +37 -16
- data/lib/avatax/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c82193a15e5a5e85fe1f9abb8436c7f4a4f06346862563271b653f7d22bd1686
|
4
|
+
data.tar.gz: 75f538e692809ba0c935981e353ca0642af4c4eed3de2328ab5f766b503eba89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1f3d4c4c0955b6e019abe7ba1bc3064f3bed4bf513300037684877fcbab040285fe530aa970a78b7ea1659453a87adfb387e86533309764d8593142901de1c6
|
7
|
+
data.tar.gz: 82309e5d6eac52590a708deb13bdeb54645d70926ddc8a524c1324286d716d19d8cb5e867c7cc025e278bd4a78bd57a03462c4c3bd5312fcb452b9274b1b03fc
|
data/.gitlab-ci.yml
CHANGED
@@ -419,7 +419,7 @@ module AvaTax
|
|
419
419
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
420
420
|
# Swagger Name: AvaTaxClient
|
421
421
|
# @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.
|
422
|
-
# @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
|
422
|
+
# @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, isAdvSave
|
423
423
|
# @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.
|
424
424
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
425
425
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
@@ -300,7 +300,7 @@ module AvaTax
|
|
300
300
|
#
|
301
301
|
# ### Security Policies
|
302
302
|
#
|
303
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
303
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
304
304
|
# Swagger Name: AvaTaxClient
|
305
305
|
# @return [ItemHSCodeClassificationStatusOutputModel[]]
|
306
306
|
def list_item_h_s_code_classification_status() path = "/api/v2/definitions/items/hscode-classification-status"
|
@@ -310,7 +310,7 @@ module AvaTax
|
|
310
310
|
#
|
311
311
|
# ### Security Policies
|
312
312
|
#
|
313
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
313
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
314
314
|
# Swagger Name: AvaTaxClient
|
315
315
|
# @return [ItemTaxCodeRecommendationStatusModel[]]
|
316
316
|
def list_items_recommendations_status() path = "/api/v2/definitions/items/recommendationstatus"
|
@@ -320,7 +320,7 @@ module AvaTax
|
|
320
320
|
#
|
321
321
|
# ### Security Policies
|
322
322
|
#
|
323
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
323
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
324
324
|
# Swagger Name: AvaTaxClient
|
325
325
|
# @return [ItemStatusModel[]]
|
326
326
|
def list_items_status() path = "/api/v2/definitions/items/status"
|
@@ -754,7 +754,7 @@ module AvaTax
|
|
754
754
|
#
|
755
755
|
# ### Security Policies
|
756
756
|
#
|
757
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
757
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
758
758
|
# Swagger Name: AvaTaxClient
|
759
759
|
# @param companyCode [String] Company code.
|
760
760
|
# @param itemCode [String] Item code.
|
data/lib/avatax/client/items.rb
CHANGED
@@ -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, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
316
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
317
317
|
# Swagger Name: AvaTaxClient
|
318
318
|
# @param companyId [Integer] The ID of the company for which to retrieve the SLA details.
|
319
319
|
# @return [Object]
|
@@ -332,7 +332,7 @@ module AvaTax
|
|
332
332
|
#
|
333
333
|
# ### Security Policies
|
334
334
|
#
|
335
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
335
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
336
336
|
# Swagger Name: AvaTaxClient
|
337
337
|
# @param companyId [Integer] The ID of the company that owns this item object
|
338
338
|
# @param id [Integer] The primary key of this item
|
@@ -351,7 +351,7 @@ module AvaTax
|
|
351
351
|
#
|
352
352
|
# ### Security Policies
|
353
353
|
#
|
354
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
354
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
355
355
|
# Swagger Name: AvaTaxClient
|
356
356
|
# @param companyId [Integer] The company id.
|
357
357
|
# @param itemId [Integer] The item id.
|
@@ -372,7 +372,7 @@ module AvaTax
|
|
372
372
|
#
|
373
373
|
# ### Security Policies
|
374
374
|
#
|
375
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
375
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
376
376
|
# Swagger Name: AvaTaxClient
|
377
377
|
# @param companyId [Integer] The company id
|
378
378
|
# @param itemId [Integer] The item id
|
@@ -389,7 +389,7 @@ module AvaTax
|
|
389
389
|
#
|
390
390
|
# ### Security Policies
|
391
391
|
#
|
392
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
392
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
393
393
|
# Swagger Name: AvaTaxClient
|
394
394
|
# @param companyId [Integer] The ID of the company that defined these items
|
395
395
|
# @param itemId [Integer] The ID of the item as defined by the company that owns this tag.
|
@@ -406,7 +406,7 @@ module AvaTax
|
|
406
406
|
#
|
407
407
|
# ### Security Policies
|
408
408
|
#
|
409
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
409
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
410
410
|
# Swagger Name: AvaTaxClient
|
411
411
|
# @param companyId [Integer]
|
412
412
|
# @param itemId [Integer]
|
@@ -429,7 +429,7 @@ module AvaTax
|
|
429
429
|
#
|
430
430
|
# ### Security Policies
|
431
431
|
#
|
432
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
432
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
433
433
|
# Swagger Name: AvaTaxClient
|
434
434
|
# @param companyId [Integer] The ID of the company that owns this item object
|
435
435
|
# @param itemCode [String] The ItemCode of the item for which you want to retrieve premium classification
|
@@ -466,7 +466,7 @@ module AvaTax
|
|
466
466
|
#
|
467
467
|
# ### Security Policies
|
468
468
|
#
|
469
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
469
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
470
470
|
# Swagger Name: AvaTaxClient
|
471
471
|
# @param companyId [Integer] The ID of the company that owns this item object
|
472
472
|
# @param itemCode [String] ItemCode for the item
|
@@ -491,7 +491,7 @@ module AvaTax
|
|
491
491
|
#
|
492
492
|
# ### Security Policies
|
493
493
|
#
|
494
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
494
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
495
495
|
# Swagger Name: AvaTaxClient
|
496
496
|
# @param companyId [Integer] The company id.
|
497
497
|
# @param itemId [Integer] The item id.
|
@@ -518,7 +518,7 @@ module AvaTax
|
|
518
518
|
#
|
519
519
|
# ### Security Policies
|
520
520
|
#
|
521
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
521
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
522
522
|
# Swagger Name: AvaTaxClient
|
523
523
|
# @param companyId [Integer] The company id
|
524
524
|
# @param itemId [Integer] The item id
|
@@ -545,7 +545,7 @@ module AvaTax
|
|
545
545
|
#
|
546
546
|
# ### Security Policies
|
547
547
|
#
|
548
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
548
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
549
549
|
# Swagger Name: AvaTaxClient
|
550
550
|
# @param companyId [Integer] The ID of the company that owns this item object.
|
551
551
|
# @param itemCode [String] The item code of the item for which you want to retrieve premium classification.
|
@@ -595,7 +595,7 @@ module AvaTax
|
|
595
595
|
#
|
596
596
|
# ### Security Policies
|
597
597
|
#
|
598
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
598
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
599
599
|
# Swagger Name: AvaTaxClient
|
600
600
|
# @param companyId [Integer] The ID of the company that defined these items
|
601
601
|
# @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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails, hsCodeClassificationStatus
|
@@ -621,7 +621,7 @@ module AvaTax
|
|
621
621
|
#
|
622
622
|
# ### Security Policies
|
623
623
|
#
|
624
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
624
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
625
625
|
# Swagger Name: AvaTaxClient
|
626
626
|
# @param companyId [Integer] Company Identifier.
|
627
627
|
# @param itemId [Integer] Item Identifier.
|
@@ -675,7 +675,7 @@ module AvaTax
|
|
675
675
|
#
|
676
676
|
# ### Security Policies
|
677
677
|
#
|
678
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
678
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
679
679
|
# Swagger Name: AvaTaxClient
|
680
680
|
# @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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails, hsCodeClassificationStatus
|
681
681
|
# @param include [String] A comma separated list of additional data to retrieve.
|
@@ -702,7 +702,7 @@ module AvaTax
|
|
702
702
|
#
|
703
703
|
# ### Security Policies
|
704
704
|
#
|
705
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
705
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
706
706
|
# Swagger Name: AvaTaxClient
|
707
707
|
# @param companyId [Integer] The ID of the company that defined these items
|
708
708
|
# @param systemCode [String] System code on the basis of which you want to filter Items
|
@@ -730,7 +730,7 @@ module AvaTax
|
|
730
730
|
#
|
731
731
|
# ### Security Policies
|
732
732
|
#
|
733
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
733
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
734
734
|
# Swagger Name: AvaTaxClient
|
735
735
|
# @param companyId [Integer] The ID of the company that defined these items.
|
736
736
|
# @param tag [String] The master tag to be associated with item.
|
@@ -880,6 +880,27 @@ module AvaTax
|
|
880
880
|
# @return [ItemClassificationOutputModel[]]
|
881
881
|
def upsert_item_classifications(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/classifications"
|
882
882
|
put(path, model, {}, AvaTax::VERSION) end
|
883
|
+
|
884
|
+
# Add/update an item parameter.
|
885
|
+
#
|
886
|
+
# Add/update an item parameter.
|
887
|
+
#
|
888
|
+
# Some items can be taxed differently depending on the properties of that item, such as the item grade or by a particular measurement of that item. In AvaTax, these tax-affecting properties are called "parameters".
|
889
|
+
#
|
890
|
+
# A parameter added to an item will be used by default in tax calculation but will not show on the transaction line referencing the item .
|
891
|
+
#
|
892
|
+
# A parameter specified on a transaction line will override an item parameter if they share the same parameter name.
|
893
|
+
#
|
894
|
+
# ### Security Policies
|
895
|
+
#
|
896
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
897
|
+
# Swagger Name: AvaTaxClient
|
898
|
+
# @param companyId [Integer] The ID of the company that this item belongs to.
|
899
|
+
# @param itemId [Integer] The ID of the item you want to update.
|
900
|
+
# @param model [ItemParameterModel[]] The item parameter object you want to upsert.
|
901
|
+
# @return [ItemParameterModel[]]
|
902
|
+
def upsert_item_parameter(companyId, itemId, model) path = "/api/v2/companies/#{companyId}/items/#{itemId}/parameters"
|
903
|
+
put(path, model, {}, AvaTax::VERSION) end
|
883
904
|
end
|
884
905
|
end
|
885
906
|
end
|
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: 25.
|
4
|
+
version: 25.5.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: 2025-
|
11
|
+
date: 2025-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|