Discussions
Cannot use rest api to create other charge purchase item
I've been using SOAP to create these for a data integration.
When I try to do it with REST, it says "Error while accessing a resource. Please enter value(s) for: Tax Schedule."
The REST API docs do not have a property for tax schedule: https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2023.1/index.html#/definitions/otherChargePurchaseItem
The OpenAPI schema seems to confirm this and has no tax schedule property.
Is this an error that NetSuite must fix or am I missing something here?
Appears that you may need either SuiteTax enabled, or without that, a user event beforeSubmit script, or a restlet as a workaround. If this is true, it makes it unfeasible to migrate to REST since we have many clients with a mix of legacy and SuiteTax, and would have to install/maintain scripts for every client without SuiteTax.