Hi,
When creating otherChargePurchaseItems with the SOAP API, you are able to set a required field for taxSchedule.
REST does not have this field.
If I try to use REST to create the item in a legacy tax account and just not set the taxSchedule field because it doesn't exist in REST, the API request is rejected due to the field being required.
What is the solution here? You can only use REST to do this for clients that have SuiteTax? Is legacy tax going to be deprecated at some point and clients forced to SuiteTax before the SOAP endpoint is deprecated? Are they going to add this field to REST so things don't get completely broken?
You could probably use a before submit user event script to set this, but it seems pretty hacky and shoddy to have to make the REST call, but also run a script in the client's account to set a required field not supported by REST…
Thanks