Skip to main content
Avalara Help Center

How to resolve "initAvatax is not defined" errors on Sales Orders


You are trying to click on the Calculate Tax button and are receiving an error stating that "initAvaTax is not defined"


AvaTax for NetSuite


  • Go to Customization > Scripting > Scripts
  • Expand the filters and set the Type to Client
  • Look for the AVA_Transaction_Client script and click View
  • Click the Deployments
  • Under the APPLIES TO column click Sales Order
  • Under the Audience tab make sure that the ALL ROLES check box is checked.  If it's not, you will need to click Edit, check the box next to ALL ROLES and then Save