Could anyone help me to resolve to the below exception that we get when we try to update the TaxDetails in an existing invoice?
Tax Details already contain the Tax Code value that you chose for the selected Tax Details Reference
b
battk
07/26/2021, 5:56 AM
netsuite thinks your tax code is a duplicate
battk
07/26/2021, 5:56 AM
you probably need to check the request to make sure it isnt
k
Krishnaraj
07/27/2021, 7:56 AM
Thanks @battk for your response. I was trying to understand why NetSuite thinks it as a duplicate though I send only one taxDetailLine.
Krishnaraj
07/27/2021, 7:57 AM
I figured out the cause, NetSuite appends the taxDetails lines that I send to the existing lines. After setting the flag replaceAll to true, it worked.