Skip to main content
Avalara Help Center

Can you change the DocCode in Avatax to be the invoice number instead of internal ID in Netsuite?

Overview

I would like to change the DocCode value sent to AvaTax to be the actual invoce number and not the internal ID in Netsuite.

Environment

Avalara Avatax

NetSuite

Resolution

This is currently not possible.

The reasoning is that in NetSuite you can actually delete invoices, and possibly have duplicates. This would result in error with the AvaTax engine as there can be no duplicate DocCodes, so the decision was made that the DocCode would be the internal ID as that will always be unique regardless of whether an invoice is deleted or not in NetSuite.