Could anyone help me to resolve to the below excep...
# suitetalkapi
k
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
netsuite thinks your tax code is a duplicate
you probably need to check the request to make sure it isnt
k
Thanks @battk for your response. I was trying to understand why NetSuite thinks it as a duplicate though I send only one taxDetailLine.
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.