tax schedule is giving an error even with the corr...
# ask-stanley-ai
h
tax schedule is giving an error even with the correct value added when posting an item using apis
c
AI generated answer (using internal Slack threads):
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** The error you're encountering when trying to post an item using APIs and setting the tax schedule seems to be related to the deprecation of the Tax Schedule field as part of the Legacy Tax feature in the REST API with the 2021.1 upgrade. This was confirmed by a user who got this information directly from NetSuite Support. Furthermore, it's important to note that REST web services do not support legacy tax features. To work with taxation through REST web services, you must have the SuiteTax feature enabled. If your account does not have SuiteTax enabled and is using advanced taxes (which is a legacy tax), you might encounter issues. As a workaround, some users have mentioned using a workflow to set the tax schedule. However, please note that this might not work in all cases and it's recommended to review the limitations of REST Web Services in the NetSuite documentation. For the SKU field, it corresponds to the
upcCode
in the API. The tax schedule field might be missing from the documentation because it's not available in all accounts.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.840502
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838400066
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832608461
Please provide your feedback on this answer.