SuiteTax installed and enabled. I try to import vendor bill via SOAP web service. Vendor bill has tax details overridden.
I always have an error: [USER_ERROR] Please enter value(s) for: Tax Details Reference, Tax Type, Tax Code, Tax Basis, Tax Rate, Tax Amount (ERROR)
I can import vendor bill via SOAP web service with 1 line of items, for instance. It works well. I can use tax details overriding via NetSuite UI:
- check tax details override checkbox.
- set Tax Details Reference, Tax Type, Tax Code, Tax Basis, Tax Rate, Tax Amount
- NetSuite accept this. Everything is OK.
BUT! When I try to use SOAP web service to import vendor bill with tax details overridden, I always get an error:
[USER_ERROR] Please enter value(s) for: Tax Details Reference, Tax Type, Tax Code, Tax Basis, Tax Rate, Tax Amount (ERROR)
All fields were filled in. Tax Details Reference was set the same in item and in tax details line. I tried SOAP update procedure to add overridden tax details to well formed vendor bill - the same error.
Question: How to send vendor bill with tax details overridden to NetSuite via SOAP webservice. Example of correct SOAP request will be the best answer. ))