Skip to main content
Avalara Help Center

Why do I get the error "TypeError: cannot call method "substr" of null (AVA_Functions.js$6503#3255)" when saving my transaction?

Overview

This error (and ones similar to it) are usually cause by missing information on the transaction or hidden fields that our scripts need to read from.

Environment

Netsuite

Resolution​

  • Try using the standard form that came with your Netsuite instance, as a test, to see if your issue is the same as this one.
  • If that works, try to determine which field was hidden on your custom form that causes the error.
  • All tax related fields must be exposed at this time, including the "Tax" transaction column field.